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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/netsystemtime/settime.h b/noncore/settings/netsystemtime/settime.h
index 3c3a162..58d1006 100644
--- a/noncore/settings/netsystemtime/settime.h
+++ b/noncore/settings/netsystemtime/settime.h
@@ -42,61 +42,61 @@ public:
42 42
43 QTime time() const; 43 QTime time() const;
44 void setTime( QDateTime ); 44 void setTime( QDateTime );
45 45
46public slots: 46public slots:
47 void slotTzChange( const QString& tz ); 47 void slotTzChange( const QString& tz );
48 void show12hourTime( int ); 48 void show12hourTime( int );
49 49
50protected slots: 50protected slots:
51 void slotClockTick(); 51 void slotClockTick();
52 void hourChanged( int value ); 52 void hourChanged( int value );
53 void minuteChanged( int value ); 53 void minuteChanged( int value );
54 54
55 void checkedPM( int ); 55 void checkedPM( int );
56 56
57protected: 57protected:
58 int hour; 58 int hour;
59 int minute; 59 int minute;
60 bool use12hourTime; 60 bool use12hourTime;
61 QDateTime _time; 61 QDateTime _time;
62 QTimer *clock; 62 QTimer *clock;
63 QComboBox *ampm; 63 QComboBox *ampm;
64 QSpinBox *sbHour; 64 QSpinBox *sbHour;
65 QSpinBox *sbMin; 65 QSpinBox *sbMin;
66}; 66};
67 67
68class DateButton; 68class DateButton;
69 69
70class SetDateTime : public NtpBase 70class SetDateTime : public NtpBase
71{ 71{
72 Q_OBJECT 72 Q_OBJECT
73public: 73public:
74 SetDateTime( QWidget *parent=0, const char *name=0, WFlags f=0 ); 74 SetDateTime( QWidget *parent=0, const char *name=0, WFlags f=0 );
75 ~SetDateTime(); 75 ~SetDateTime();
76 76
77protected slots: 77protected slots:
78 void commitTime(); 78 void commitTime();
79 void tzChange( const QString &tz ); 79 void tzChange( const QString &tz );
80 void formatChanged(int); 80 void formatChanged(int);
81 void updateSystem(); 81 void updateSystem();
82 82
83protected: 83protected:
84 void setTime(QDateTime dt); 84 void setTime(QDateTime dt);
85 void writeSettings(); 85 void writeSettings();
86 86
87 SetTime *timeButton; 87 SetTime *timeButton;
88 DateButton *dateButton; 88 DateButton *dateButton;
89 TimeZoneSelector *tz; 89 TimeZoneSelector *tz;
90 QString _oldTimeZone;
90 QComboBox *weekStartCombo; 91 QComboBox *weekStartCombo;
91 QComboBox *ampmCombo; 92 QComboBox *ampmCombo;
92 QComboBox *dateFormatCombo; 93 QComboBox *dateFormatCombo;
93 QComboBox *clockAppletCombo; 94 QComboBox *clockAppletCombo;
94 QPushButton *ButtonSetTime; 95 QPushButton *ButtonSetTime;
95 // QLabel *TextLabelMainPredTime;
96 96
97 DateFormat date_formats[4]; 97 DateFormat date_formats[4];
98}; 98};
99 99
100 100
101#endif 101#endif
102 102