kcheckaccelerators.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef KCHECKACCELERATORS_H_
00024 #define KCHECKACCELERATORS_H_
00025
00026 #include <qguardedptr.h>
00027 #include <qobject.h>
00028 #include <qkeysequence.h>
00029 #include <qmap.h>
00030 #include <qstring.h>
00031 #include <qtimer.h>
00032
00033 class QMenuData;
00034 class QTextView;
00035
00036 #include "kdelibs_export.h"
00037
00068 class KDECORE_EXPORT KCheckAccelerators : public QObject
00069 {
00070 Q_OBJECT
00071 public:
00076 KCheckAccelerators( QObject* parent );
00080 bool eventFilter( QObject * , QEvent * e);
00081
00082 private:
00083 void checkAccelerators( bool automatic );
00084 int key;
00085 bool alwaysShow;
00086 bool autoCheck;
00087 bool block;
00088 QTimer autoCheckTimer;
00089 void createDialog(QWidget *parent, bool automatic);
00090 QGuardedPtr<QDialog> drklash;
00091 QTextView *drklash_view;
00092
00093 private slots:
00094 void autoCheckSlot();
00095 void slotDisableCheck(bool);
00096 };
00097
00098 #endif
This file is part of the documentation for kdecore Library Version 3.3.90.