kexiutils/utils_p.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KEXIUTILS_P_H
00021 #define KEXIUTILS_P_H
00022
00023 #include <qtimer.h>
00024 #include <qapplication.h>
00025 #include <qdialog.h>
00026
00028 class DelayedCursorHandler : public QObject
00029 {
00030 Q_OBJECT
00031 public:
00032 DelayedCursorHandler();
00033 void start(bool noDelay);
00034 void stop();
00035 bool startedOrActive : 1;
00036 protected slots:
00037 void show();
00038 protected:
00039 QTimer timer;
00040 };
00041
00043 class DebugWindowDialog : public QDialog
00044 {
00045 public:
00046 explicit DebugWindowDialog( QWidget * parent )
00047 : QDialog(parent, 0, false, Qt::WType_Dialog|Qt::WStyle_MinMax|Qt::WStyle_StaysOnTop)
00048 {
00049 setWindowState( Qt::WindowMinimized );
00050 }
00051 };
00052
00053 #endif
00054
This file is part of the documentation for Kexi 2.0 alpha.