summaryrefslogtreecommitdiff
path: root/noncore/settings/netsystemtime/settime.h
authortille <tille>2002-11-16 16:43:02 (UTC)
committer tille <tille>2002-11-16 16:43:02 (UTC)
commit0633fb26123857509c9eb0e0a013b654667ca9ce (patch) (side-by-side diff)
tree9187213cc22830c65dcba1923be9a8355c673b5a /noncore/settings/netsystemtime/settime.h
parent88435a3192f09453e035a7f1cf73bbc8c24245c9 (diff)
downloadopie-0633fb26123857509c9eb0e0a013b654667ca9ce.zip
opie-0633fb26123857509c9eb0e0a013b654667ca9ce.tar.gz
opie-0633fb26123857509c9eb0e0a013b654667ca9ce.tar.bz2
usability:
made it a dialog that saves when exiting clock now running
Diffstat (limited to 'noncore/settings/netsystemtime/settime.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/settime.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/settings/netsystemtime/settime.h b/noncore/settings/netsystemtime/settime.h
index 778cb9c..3c3a162 100644
--- a/noncore/settings/netsystemtime/settime.h
+++ b/noncore/settings/netsystemtime/settime.h
@@ -41,12 +41,14 @@ public:
SetTime( QWidget *parent=0, const char *name=0 );
QTime time() const;
+ void setTime( QDateTime );
public slots:
void slotTzChange( const QString& tz );
void show12hourTime( int );
protected slots:
+ void slotClockTick();
void hourChanged( int value );
void minuteChanged( int value );
@@ -56,6 +58,8 @@ protected:
int hour;
int minute;
bool use12hourTime;
+ QDateTime _time;
+ QTimer *clock;
QComboBox *ampm;
QSpinBox *sbHour;
QSpinBox *sbMin;
@@ -74,7 +78,7 @@ protected slots:
void commitTime();
void tzChange( const QString &tz );
void formatChanged(int);
- void updateSystem(int i=0);
+ void updateSystem();
protected:
void setTime(QDateTime dt);
@@ -88,7 +92,7 @@ protected:
QComboBox *dateFormatCombo;
QComboBox *clockAppletCombo;
QPushButton *ButtonSetTime;
- QLabel *TextLabelMainPredTime;
+ // QLabel *TextLabelMainPredTime;
DateFormat date_formats[4];
};