kcursor.h
/* This file is part of the KDE libraries
Copyright (C) 1998 Kurt Granroth (granroth@kde.org)
2000 Carsten Pfeiffer <pfeiffer@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
/*
* $Id: kcursor.h 465272 2005-09-29 09:47:40Z mueller $
*
*/
#ifndef _KCURSOR_H
#define _KCURSOR_H
#include <qcursor.h>
#include <kdelibs_export.h>
class QWidget;
class KDEUI_EXPORT KCursor : public Qt
{
public:
KCursor();
static QCursor handCursor();
static QCursor workingCursor();
static QCursor arrowCursor();
static QCursor upArrowCursor();
static QCursor crossCursor();
static QCursor waitCursor();
static QCursor ibeamCursor();
static QCursor sizeVerCursor();
static QCursor sizeHorCursor();
static QCursor sizeBDiagCursor();
static QCursor sizeFDiagCursor();
static QCursor sizeAllCursor();
static QCursor blankCursor();
static QCursor whatsThisCursor();
static void setAutoHideCursor( QWidget *w, bool enable );
static void setAutoHideCursor( QWidget *w, bool enable,
bool customEventFilter );
static void setHideCursorDelay( int ms );
static int hideCursorDelay();
static void autoHideEventFilter( QObject *, QEvent * );
private:
static QCursor *s_handCursor;
};
#endif // _KCURSOR_H
KCursor
A QCursor wrapper allowing "themed" cursors and auto-hiding cursors.
Definition: kcursor.h:45

KDE Home | KDE Accessibility Home | Description of Access Keys