• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

  • tdeui
kcursor.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 1998 Kurt Granroth (granroth@kde.org)
3  2000 Carsten Pfeiffer <pfeiffer@kde.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License version 2 as published by the Free Software Foundation.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 /*
20  * $Id$
21  *
22  */
23 #ifndef _KCURSOR_H
24 #define _KCURSOR_H
25 
26 #include <tqcursor.h>
27 #include <tdelibs_export.h>
28 
29 class TQWidget;
30 
45 class TDEUI_EXPORT KCursor : public TQt
46 {
47 public:
53  KCursor();
54 
59  static TQCursor handCursor();
60 
65  static TQCursor workingCursor();
66 
71  static TQCursor arrowCursor();
72 
77  static TQCursor upArrowCursor();
78 
83  static TQCursor crossCursor();
84 
89  static TQCursor waitCursor();
90 
95  static TQCursor ibeamCursor();
96 
101  static TQCursor sizeVerCursor();
102 
107  static TQCursor sizeHorCursor();
108 
113  static TQCursor sizeBDiagCursor();
114 
119  static TQCursor sizeFDiagCursor();
120 
125  static TQCursor sizeAllCursor();
126 
130  static TQCursor blankCursor();
131 
135  static TQCursor whatsThisCursor();
136 
159  static void setAutoHideCursor( TQWidget *w, bool enable );
160 
170  static void setAutoHideCursor( TQWidget *w, bool enable,
171  bool customEventFilter );
172 
179  static void setHideCursorDelay( int ms );
180 
186  static int hideCursorDelay();
187 
217  static void autoHideEventFilter( TQObject *, TQEvent * );
218 
219 private:
220  static TQCursor *s_handCursor;
221 };
222 
223 
224 #endif // _KCURSOR_H
KCursor
A TQCursor wrapper allowing "themed" cursors and auto-hiding cursors.
Definition: kcursor.h:45

tdeui

Skip menu "tdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.8.8
This website is maintained by Timothy Pearson.