# kdeui Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# kcursor.h

    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., 59 Temple Place - Suite 330,
    00017    Boston, MA 02111-1307, USA.
    00018 */
    00019 /*
    00020  * $Id: kcursor.h 353316 2004-10-10 10:36:39Z bhards $
    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

This file is part of the documentation for kdeui Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:20:15 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003