summaryrefslogtreecommitdiff
path: root/noncore/settings/netsystemtime/settime.h
Unidiff
Diffstat (limited to 'noncore/settings/netsystemtime/settime.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/settime.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/noncore/settings/netsystemtime/settime.h b/noncore/settings/netsystemtime/settime.h
index 729bf4b..60423e7 100644
--- a/noncore/settings/netsystemtime/settime.h
+++ b/noncore/settings/netsystemtime/settime.h
@@ -30,13 +30,12 @@
30class QToolButton; 30class QToolButton;
31class QSpinBox; 31class QSpinBox;
32class QLabel; 32class QLabel;
33class TimeZoneSelector; 33class TimeZoneSelector;
34class DateBookMonth; 34class DateBookMonth;
35class QComboBox; 35class QComboBox;
36//class QPEDialogListener;
37 36
38class SetTime : public QWidget 37class SetTime : public QWidget
39{ 38{
40 Q_OBJECT 39 Q_OBJECT
41public: 40public:
42 SetTime( QWidget *parent=0, const char *name=0 ); 41 SetTime( QWidget *parent=0, const char *name=0 );
@@ -66,32 +65,31 @@ class DateButton;
66 65
67class SetDateTime : public NtpBase 66class SetDateTime : public NtpBase
68{ 67{
69 Q_OBJECT 68 Q_OBJECT
70public: 69public:
71 SetDateTime( QWidget *parent=0, const char *name=0, WFlags f=0 ); 70 SetDateTime( QWidget *parent=0, const char *name=0, WFlags f=0 );
71 ~SetDateTime();
72 72
73protected slots: 73protected slots:
74 void commitTime();
74 void tzChange( const QString &tz ); 75 void tzChange( const QString &tz );
75 void formatChanged(int); 76 void formatChanged(int);
76 77
77protected: 78protected:
78 void commitTime();
79 void setTime(QDateTime dt); 79 void setTime(QDateTime dt);
80 virtual void accept();
81 virtual void done(int);
82 80
83 SetTime *timeButton; 81 SetTime *timeButton;
84 DateButton *dateButton; 82 DateButton *dateButton;
85 TimeZoneSelector *tz; 83 TimeZoneSelector *tz;
86 QComboBox *weekStartCombo; 84 QComboBox *weekStartCombo;
87 QComboBox *ampmCombo; 85 QComboBox *ampmCombo;
88 QComboBox *dateFormatCombo; 86 QComboBox *dateFormatCombo;
89 QComboBox *clockAppletCombo; 87 QComboBox *clockAppletCombo;
90 88 QPushButton *ButtonSetTime;
91// QPEDialogListener *dl; 89 QLabel *TextLabelMainPredTime;
92 90
93 DateFormat date_formats[4]; 91 DateFormat date_formats[4];
94}; 92};
95 93
96 94
97#endif 95#endif