Kexi API Documentation (2.0 alpha)

kexiutils/utils_p.h

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002    Copyright (C) 2004,2006 Jaroslaw Staniek <js@iidea.pl>
00003 
00004    This program is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License as published by the Free Software Foundation; either
00007    version 2 of the License, or (at your option) any later version.
00008 
00009    This program 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 program; see the file COPYING.  If not, write to
00016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
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 
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:48:57 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003