summaryrefslogtreecommitdiff
path: root/libopie2/opieui/owait.h
Unidiff
Diffstat (limited to 'libopie2/opieui/owait.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/owait.h67
1 files changed, 38 insertions, 29 deletions
diff --git a/libopie2/opieui/owait.h b/libopie2/opieui/owait.h
index cbfc8d6..3267064 100644
--- a/libopie2/opieui/owait.h
+++ b/libopie2/opieui/owait.h
@@ -1,29 +1,39 @@
1/* This file is part of the OPIE libraries 1/*
2 Copyright (C) 2003 Maximilian Reiss (harlekin@handhelds.org) 2                This file is part of the Opie Project
3              Copyright (C) 2003 Maximilian Reiss <harlekin@handhelds.org>
4 =.
5 .=l.
6           .>+-=
7 _;:,     .>    :=|. This program is free software; you can
8.> <`_,   >  .   <= redistribute it and/or modify it under
9:`=1 )Y*s>-.--   : the terms of the GNU Library General Public
10.="- .-=="i,     .._ License as published by the Free Software
11 - .   .-<_>     .<> Foundation; either version 2 of the License,
12     ._= =}       : or (at your option) any later version.
13    .%`+i>       _;_.
14    .i_,=:_.      -<s. This program is distributed in the hope that
15     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
16    : ..    .:,     . . . without even the implied warranty of
17    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
18  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
19..}^=.=       =       ; Library General Public License for more
20++=   -.     .`     .: details.
21 :     =  ...= . :.=-
22 -.   .:....=;==+<; You should have received a copy of the GNU
23  -_. . .   )=.  = Library General Public License along with
24    --        :-=` this library; see the file COPYING.LIB.
25 If not, write to the Free Software Foundation,
26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA.
3 28
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA.
18*/ 29*/
19 30
31#ifndef OWAIT_H
32#define OWAIT_H
20 33
21 34/* QT */
22#ifndef WAITPOPUP_H
23#define WAITPOPUP_H
24
25#include <qdialog.h> 35#include <qdialog.h>
26#include <qpixmap.h>
27#include <qlabel.h> 36#include <qlabel.h>
37#include <qpixmap.h>
28#include <qtimer.h> 38#include <qtimer.h>
29 39
@@ -35,11 +45,10 @@
35 * @author Maximilian Reiß 45 * @author Maximilian Reiß
36 */ 46 */
37class OWait : public QDialog { 47class OWait : public QDialog
38 48{
39 Q_OBJECT 49 Q_OBJECT
40 50
41public: 51 public:
42 // FIXME Wflags -zecke? 52 OWait( QWidget *parent = 0, const char* name = 0, bool dispIcon = TRUE );
43 OWait(QWidget *parent=0,const char* name=0, bool dispIcon=TRUE);
44 ~OWait(); 53 ~OWait();
45 54
@@ -56,5 +65,5 @@ public:
56 void setTimerLength( int length ); 65 void setTimerLength( int length );
57 66
58 public slots: 67 public slots:
59 /** 68 /**
60 * reimplemented for control reasons 69 * reimplemented for control reasons
@@ -62,6 +71,6 @@ public:
62 void hide(); 71 void hide();
63 72
64 private: 73 private:
65 void timerEvent( QTimerEvent * ) ; 74 void timerEvent( QTimerEvent * );
66 void paintEvent( QPaintEvent * ); 75 void paintEvent( QPaintEvent * );
67 76