author | paule <paule> | 2007-01-14 03:01:16 (UTC) |
---|---|---|
committer | paule <paule> | 2007-01-14 03:01:16 (UTC) |
commit | 81de0baf254bd2d935d0fdf035143e5510354fa7 (patch) (unidiff) | |
tree | c80e1903bc4b7e5c93ba2bfd70a75c5e5ae44036 /noncore/settings/netsystemtime/settingstabwidget.h | |
parent | 2e26f72390e18260c6fc3fedc5378a6ca9ddfffb (diff) | |
download | opie-81de0baf254bd2d935d0fdf035143e5510354fa7.zip opie-81de0baf254bd2d935d0fdf035143e5510354fa7.tar.gz opie-81de0baf254bd2d935d0fdf035143e5510354fa7.tar.bz2 |
Add setting to show date/time settings on every restart (useful on devices where the date/time slips or is reset when the device is reset)
Diffstat (limited to 'noncore/settings/netsystemtime/settingstabwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/settingstabwidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/netsystemtime/settingstabwidget.h b/noncore/settings/netsystemtime/settingstabwidget.h index 9578245..17e7989 100644 --- a/noncore/settings/netsystemtime/settingstabwidget.h +++ b/noncore/settings/netsystemtime/settingstabwidget.h | |||
@@ -31,34 +31,35 @@ | |||
31 | #ifndef SETTINGSTABWIDGET_H | 31 | #ifndef SETTINGSTABWIDGET_H |
32 | #define SETTINGSTABWIDGET_H | 32 | #define SETTINGSTABWIDGET_H |
33 | 33 | ||
34 | #include <qwidget.h> | 34 | #include <qwidget.h> |
35 | 35 | ||
36 | class QCheckBox; | 36 | class QCheckBox; |
37 | class QComboBox; | 37 | class QComboBox; |
38 | class QSpinBox; | 38 | class QSpinBox; |
39 | 39 | ||
40 | class SettingsTabWidget : public QWidget | 40 | class SettingsTabWidget : public QWidget |
41 | { | 41 | { |
42 | Q_OBJECT | 42 | Q_OBJECT |
43 | 43 | ||
44 | public: | 44 | public: |
45 | SettingsTabWidget( QWidget * = 0x0 ); | 45 | SettingsTabWidget( QWidget * = 0x0 ); |
46 | ~SettingsTabWidget(); | 46 | ~SettingsTabWidget(); |
47 | 47 | ||
48 | void saveSettings(); | 48 | void saveSettings(); |
49 | QString ntpServer(); | 49 | QString ntpServer(); |
50 | 50 | ||
51 | private: | 51 | private: |
52 | QComboBox *cbTimeServer; | 52 | QComboBox *cbTimeServer; |
53 | QSpinBox *sbNtpDelay; | 53 | QSpinBox *sbNtpDelay; |
54 | QSpinBox *sbPredictDelay; | 54 | QSpinBox *sbPredictDelay; |
55 | QCheckBox *chShowOnRestart; | ||
55 | QCheckBox *chNtpTab; | 56 | QCheckBox *chNtpTab; |
56 | QCheckBox *chPredictTab; | 57 | QCheckBox *chPredictTab; |
57 | 58 | ||
58 | signals: | 59 | signals: |
59 | void ntpDelayChanged( int ); | 60 | void ntpDelayChanged( int ); |
60 | void displayNTPTab( bool ); | 61 | void displayNTPTab( bool ); |
61 | void displayPredictTab( bool ); | 62 | void displayPredictTab( bool ); |
62 | }; | 63 | }; |
63 | 64 | ||
64 | #endif | 65 | #endif |