summaryrefslogtreecommitdiff
path: root/noncore/tools/clock
authormickeyl <mickeyl>2003-10-29 16:45:13 (UTC)
committer mickeyl <mickeyl>2003-10-29 16:45:13 (UTC)
commite8697a4281f7a265b69e6bf5253383c73a38626b (patch) (unidiff)
tree040470f8f5c90c0d72ff5f01a272143571842078 /noncore/tools/clock
parentd5d9b307e950d9038215e4d63e64bc9cd5d85352 (diff)
downloadopie-e8697a4281f7a265b69e6bf5253383c73a38626b.zip
opie-e8697a4281f7a265b69e6bf5253383c73a38626b.tar.gz
opie-e8697a4281f7a265b69e6bf5253383c73a38626b.tar.bz2
merge noncore/tools/*
Diffstat (limited to 'noncore/tools/clock') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/clock/clock.h3
-rw-r--r--noncore/tools/clock/clock.pro5
-rw-r--r--noncore/tools/clock/main.cpp11
3 files changed, 6 insertions, 13 deletions
diff --git a/noncore/tools/clock/clock.h b/noncore/tools/clock/clock.h
index fa12b61..00d097d 100644
--- a/noncore/tools/clock/clock.h
+++ b/noncore/tools/clock/clock.h
@@ -43,4 +43,5 @@ public:
43 void display( const QTime& time ); 43 void display( const QTime& time );
44 44
45
45protected: 46protected:
46 void drawContents( QPainter *p ); 47 void drawContents( QPainter *p );
@@ -68,4 +69,6 @@ public:
68 bool bSound; 69 bool bSound;
69 int hour, minute, snoozeTime; 70 int hour, minute, snoozeTime;
71 static QString appName() { return QString::fromLatin1("clock"); }
72
70private slots: 73private slots:
71 void slotSet(); 74 void slotSet();
diff --git a/noncore/tools/clock/clock.pro b/noncore/tools/clock/clock.pro
index 38ce2f8..9890b3a 100644
--- a/noncore/tools/clock/clock.pro
+++ b/noncore/tools/clock/clock.pro
@@ -1,5 +1,3 @@
1TEMPLATE = app 1CONFIG = qt warn_on release quick-app
2CONFIG = qt warn_on release
3DESTDIR = $(OPIEDIR)/bin
4HEADERS = clock.h setAlarm.h 2HEADERS = clock.h setAlarm.h
5SOURCES = clock.cpp setAlarm.cpp \ 3SOURCES = clock.cpp setAlarm.cpp \
@@ -8,5 +6,4 @@ INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += $(OPIEDIR)/include 6DEPENDPATH += $(OPIEDIR)/include
9LIBS += -lqpe -lopie -lpthread 7LIBS += -lqpe -lopie -lpthread
10INTERFACES =
11TARGET = clock 8TARGET = clock
12 9
diff --git a/noncore/tools/clock/main.cpp b/noncore/tools/clock/main.cpp
index cbfb73b..4a5e523 100644
--- a/noncore/tools/clock/main.cpp
+++ b/noncore/tools/clock/main.cpp
@@ -22,13 +22,6 @@
22 22
23#include <qpe/qpeapplication.h> 23#include <qpe/qpeapplication.h>
24#include <opie/oapplicationfactory.h>
24 25
25int main( int argc, char ** argv )
26{
27 QPEApplication a( argc, argv );
28 26
29 Clock mw; 27OPIE_EXPORT_APP( OApplicationFactory<Clock> )
30 mw.setCaption( Clock::tr("Clock") );
31 a.showMainWidget( &mw );
32
33 return a.exec();
34}