author | tille <tille> | 2003-05-30 15:06:17 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-30 15:06:17 (UTC) |
commit | 8699d02f6c152afed9490e7e7a4315044261e6e8 (patch) (unidiff) | |
tree | d2ee2ba401c7a9db0e33beaf0617a1456fe01d50 /noncore/settings/networksettings/ppp/conwindow.h | |
parent | d8cec07fe5e54a68afe4feca574f9f4d2433e0c1 (diff) | |
download | opie-8699d02f6c152afed9490e7e7a4315044261e6e8.zip opie-8699d02f6c152afed9490e7e7a4315044261e6e8.tar.gz opie-8699d02f6c152afed9490e7e7a4315044261e6e8.tar.bz2 |
modem and pppdata is now member of interfaceppp
Diffstat (limited to 'noncore/settings/networksettings/ppp/conwindow.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/conwindow.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/noncore/settings/networksettings/ppp/conwindow.h b/noncore/settings/networksettings/ppp/conwindow.h index 20d3579..42c6f35 100644 --- a/noncore/settings/networksettings/ppp/conwindow.h +++ b/noncore/settings/networksettings/ppp/conwindow.h | |||
@@ -31,34 +31,34 @@ | |||
31 | #include <qlabel.h> | 31 | #include <qlabel.h> |
32 | #include <qdialog.h> | 32 | #include <qdialog.h> |
33 | #include <qframe.h> | 33 | #include <qframe.h> |
34 | #include <qevent.h> | 34 | #include <qevent.h> |
35 | #include <qlayout.h> | 35 | #include <qlayout.h> |
36 | 36 | ||
37 | //class PPPStats; | 37 | class PPPData; |
38 | 38 | ||
39 | class ConWindow : public QWidget { | 39 | class ConWindow : public QWidget { |
40 | Q_OBJECT | 40 | Q_OBJECT |
41 | 41 | ||
42 | public: | 42 | public: |
43 | ConWindow(QWidget *parent, const char *name, QDialog* ); | 43 | ConWindow(PPPData*, QWidget *parent, const char *name, QDialog* ); |
44 | ~ConWindow(); | 44 | ~ConWindow(); |
45 | 45 | ||
46 | protected: | 46 | protected: |
47 | void closeEvent( QCloseEvent *e ); | 47 | void closeEvent( QCloseEvent *e ); |
48 | bool event( QEvent *e ); | 48 | bool event( QEvent *e ); |
49 | 49 | ||
50 | private slots: | 50 | private slots: |
51 | void timeclick(); | 51 | void timeclick(); |
52 | void dock(); | 52 | // void dock(); |
53 | 53 | ||
54 | public: | 54 | public: |
55 | void setConnectionSpeed(const QString&); | 55 | void setConnectionSpeed(const QString&); |
56 | void startClock(); | 56 | void startClock(); |
57 | void stopClock(); | 57 | void stopClock(); |
58 | void accounting(bool); // show/ hide accounting info | 58 | // void accounting(bool); // show/ hide accounting info |
59 | 59 | ||
60 | public slots: | 60 | public slots: |
61 | void slotAccounting(QString, QString); | 61 | void slotAccounting(QString, QString); |
62 | 62 | ||
63 | private: | 63 | private: |
64 | QLabel *info1; | 64 | QLabel *info1; |
@@ -79,15 +79,13 @@ private: | |||
79 | QString time_string2; | 79 | QString time_string2; |
80 | QString time_string; | 80 | QString time_string; |
81 | QTimer *clocktimer; | 81 | QTimer *clocktimer; |
82 | QVBoxLayout *tl1; | 82 | QVBoxLayout *tl1; |
83 | QLabel *vollabel; | 83 | QLabel *vollabel; |
84 | QLabel *volinfo; | 84 | QLabel *volinfo; |
85 | // PPPStats *stats; | 85 | PPPData *_pppdata; |
86 | bool accountingEnabled; | ||
87 | bool volumeAccountingEnabled; | ||
88 | }; | 86 | }; |
89 | 87 | ||
90 | 88 | ||
91 | #endif | 89 | #endif |
92 | 90 | ||
93 | 91 | ||