summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/clockapplet/clock.cpp12
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
@@ -11,40 +11,28 @@
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
39LauncherClock::LauncherClock( QWidget *parent ) : QLabel( parent ) 27LauncherClock::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();