Diffstat (limited to 'noncore/settings/netsystemtime/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/mainwindow.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/noncore/settings/netsystemtime/mainwindow.h b/noncore/settings/netsystemtime/mainwindow.h index d4a9713..8701803 100644 --- a/noncore/settings/netsystemtime/mainwindow.h +++ b/noncore/settings/netsystemtime/mainwindow.h | |||
@@ -37,13 +37,12 @@ | |||
37 | class TimeTabWidget; | 37 | class TimeTabWidget; |
38 | class FormatTabWidget; | 38 | class FormatTabWidget; |
39 | class SettingsTabWidget; | 39 | class SettingsTabWidget; |
40 | class NTPTabWidget; | 40 | class NTPTabWidget; |
41 | class PredictTabWidget; | 41 | class PredictTabWidget; |
42 | 42 | ||
43 | using Opie::OTabWidget; | ||
44 | 43 | ||
45 | class QDateTime; | 44 | class QDateTime; |
46 | class QSocket; | 45 | class QSocket; |
47 | class QTimer; | 46 | class QTimer; |
48 | 47 | ||
49 | class MainWindow : public QDialog | 48 | class MainWindow : public QDialog |
@@ -57,24 +56,24 @@ public: | |||
57 | 56 | ||
58 | protected: | 57 | protected: |
59 | void accept(); | 58 | void accept(); |
60 | void reject(); | 59 | void reject(); |
61 | 60 | ||
62 | private: | 61 | private: |
63 | OTabWidget *mainWidget; | 62 | Opie::Ui::OTabWidget *mainWidget; |
64 | 63 | ||
65 | TimeTabWidget *timeTab; | 64 | TimeTabWidget *timeTab; |
66 | FormatTabWidget *formatTab; | 65 | FormatTabWidget *formatTab; |
67 | SettingsTabWidget *settingsTab; | 66 | SettingsTabWidget *settingsTab; |
68 | NTPTabWidget *ntpTab; | 67 | NTPTabWidget *ntpTab; |
69 | PredictTabWidget *predictTab; | 68 | PredictTabWidget *predictTab; |
70 | 69 | ||
71 | bool ntpTabEnabled; | 70 | bool ntpTabEnabled; |
72 | bool predictTabEnabled; | 71 | bool predictTabEnabled; |
73 | 72 | ||
74 | OProcess *ntpProcess; | 73 | Opie::Core::OProcess *ntpProcess; |
75 | QTimer *ntpTimer; | 74 | QTimer *ntpTimer; |
76 | QSocket *ntpSock; | 75 | QSocket *ntpSock; |
77 | int ntpDelay; | 76 | int ntpDelay; |
78 | bool ntpInteractive; | 77 | bool ntpInteractive; |
79 | QString ntpOutput; | 78 | QString ntpOutput; |
80 | int _lookupDiff; | 79 | int _lookupDiff; |
@@ -87,13 +86,13 @@ private slots: | |||
87 | void slotQCopReceive( const QCString &, const QByteArray & ); | 86 | void slotQCopReceive( const QCString &, const QByteArray & ); |
88 | void slotDisplayNTPTab( bool ); | 87 | void slotDisplayNTPTab( bool ); |
89 | void slotDisplayPredictTab( bool ); | 88 | void slotDisplayPredictTab( bool ); |
90 | void slotGetNTPTime(); | 89 | void slotGetNTPTime(); |
91 | void slotTimerGetNTPTime(); | 90 | void slotTimerGetNTPTime(); |
92 | void slotProbeNTPServer(); | 91 | void slotProbeNTPServer(); |
93 | void slotNtpOutput( OProcess *, char *, int ); | 92 | void slotNtpOutput( Opie::Core::OProcess *, char *, int ); |
94 | void slotNtpFinished( OProcess* ); | 93 | void slotNtpFinished( Opie::Core::OProcess* ); |
95 | void slotNTPDelayChanged( int ); | 94 | void slotNTPDelayChanged( int ); |
96 | void slotCheckNtp( int ); | 95 | void slotCheckNtp( int ); |
97 | }; | 96 | }; |
98 | 97 | ||
99 | #endif | 98 | #endif |