author | harlekin <harlekin> | 2003-04-26 19:08:48 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-26 19:08:48 (UTC) |
commit | 9dfeb5f74c0d7f9611ec440e6e7760d2f19f73ae (patch) (unidiff) | |
tree | d2e0d087e684d7df9e1b4ad0c90d877230b1b198 | |
parent | e2d44ce9293a3db6710753c2e7e2c38a54f60faf (diff) | |
download | opie-9dfeb5f74c0d7f9611ec440e6e7760d2f19f73ae.zip opie-9dfeb5f74c0d7f9611ec440e6e7760d2f19f73ae.tar.gz opie-9dfeb5f74c0d7f9611ec440e6e7760d2f19f73ae.tar.bz2 |
- some includes
-rw-r--r-- | core/applets/clockapplet/clock.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/applets/clockapplet/clock.cpp b/core/applets/clockapplet/clock.cpp index bcecab4..5fb8f44 100644 --- a/core/applets/clockapplet/clock.cpp +++ b/core/applets/clockapplet/clock.cpp | |||
@@ -7,48 +7,36 @@ | |||
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "clock.h" | 21 | #include "clock.h" |
22 | 22 | ||
23 | #include <qpe/global.h> | ||
24 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
25 | #include <qpe/qcopenvelope_qws.h> | 24 | #include <qpe/qcopenvelope_qws.h> |
26 | #include <qpe/config.h> | 25 | #include <qpe/config.h> |
27 | 26 | ||
28 | #include <qmainwindow.h> | ||
29 | #include <qlayout.h> | ||
30 | #include <qpushbutton.h> | ||
31 | #include <qmessagebox.h> | ||
32 | #include <qdatetime.h> | ||
33 | #include <qtimer.h> | ||
34 | #include <qpopupmenu.h> | ||
35 | #include <qfile.h> | ||
36 | #include <stdlib.h> | ||
37 | |||
38 | |||
39 | LauncherClock::LauncherClock( QWidget *parent ) : QLabel( parent ) | 27 | LauncherClock::LauncherClock( QWidget *parent ) : QLabel( parent ) |
40 | { | 28 | { |
41 | // If you want a sunken border around the clock do this: | 29 | // If you want a sunken border around the clock do this: |
42 | // setFrameStyle( QFrame::Panel | QFrame::Sunken ); | 30 | // setFrameStyle( QFrame::Panel | QFrame::Sunken ); |
43 | //setFont( QFont( "Helvetica", , QFont::Normal ) ); | 31 | //setFont( QFont( "Helvetica", , QFont::Normal ) ); |
44 | connect( qApp, SIGNAL( timeChanged() ), this, SLOT( updateTime( ) ) ); | 32 | connect( qApp, SIGNAL( timeChanged() ), this, SLOT( updateTime( ) ) ); |
45 | connect( qApp, SIGNAL( clockChanged( bool ) ), | 33 | connect( qApp, SIGNAL( clockChanged( bool ) ), |
46 | this, SLOT( slotClockChanged( bool ) ) ); | 34 | this, SLOT( slotClockChanged( bool ) ) ); |
47 | readConfig(); | 35 | readConfig(); |
48 | timerId = 0; | 36 | timerId = 0; |
49 | timerEvent( 0 ); | 37 | timerEvent( 0 ); |
50 | show(); | 38 | show(); |
51 | } | 39 | } |
52 | 40 | ||
53 | void LauncherClock::readConfig() { | 41 | void LauncherClock::readConfig() { |
54 | Config config( "qpe" ); | 42 | Config config( "qpe" ); |