• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdeui

kcursor.h

Go to the documentation of this file.
00001 /* This file is part of the KDE libraries
00002    Copyright (C) 1998 Kurt Granroth (granroth@kde.org)
00003                  2000 Carsten Pfeiffer <pfeiffer@kde.org>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License version 2 as published by the Free Software Foundation.
00008 
00009    This library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    along with this library; see the file COPYING.LIB.  If not, write to
00016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017    Boston, MA 02110-1301, USA.
00018 */
00019 /*
00020  * $Id: kcursor.h 465272 2005-09-29 09:47:40Z mueller $
00021  *
00022  */
00023 #ifndef _KCURSOR_H
00024 #define _KCURSOR_H
00025 
00026 #include <qcursor.h>
00027 #include <kdelibs_export.h>
00028 
00029 class QWidget;
00030 
00045 class KDEUI_EXPORT KCursor : public Qt
00046 {
00047 public:
00053     KCursor();
00054 
00059     static QCursor handCursor();
00060 
00065     static QCursor workingCursor();
00066 
00071     static QCursor arrowCursor();
00072 
00077     static QCursor upArrowCursor();
00078 
00083     static QCursor crossCursor();
00084 
00089     static QCursor waitCursor();
00090 
00095     static QCursor ibeamCursor();
00096 
00101     static QCursor sizeVerCursor();
00102 
00107     static QCursor sizeHorCursor();
00108 
00113     static QCursor sizeBDiagCursor();
00114 
00119     static QCursor sizeFDiagCursor();
00120 
00125     static QCursor sizeAllCursor();
00126 
00130     static QCursor blankCursor();
00131 
00135     static QCursor whatsThisCursor();
00136 
00159     static void setAutoHideCursor( QWidget *w, bool enable );
00160 
00170     static void setAutoHideCursor( QWidget *w, bool enable,
00171                    bool customEventFilter );
00172 
00179     static void setHideCursorDelay( int ms );
00180 
00186     static int hideCursorDelay();
00187 
00217     static void autoHideEventFilter( QObject *, QEvent * );
00218 
00219 private:
00220     static QCursor *s_handCursor;
00221 };
00222 
00223 
00224 #endif // _KCURSOR_H

kdeui

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal