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/accounts.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/accounts.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/accounts.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/ppp/accounts.h b/noncore/settings/networksettings/ppp/accounts.h index 751a414..5e8509d 100644 --- a/noncore/settings/networksettings/ppp/accounts.h +++ b/noncore/settings/networksettings/ppp/accounts.h | |||
@@ -33,51 +33,53 @@ | |||
33 | #include <qlistbox.h> | 33 | #include <qlistbox.h> |
34 | //#include "acctselect.h" | 34 | //#include "acctselect.h" |
35 | 35 | ||
36 | class QDialog; | 36 | class QDialog; |
37 | class QCheckBox; | 37 | class QCheckBox; |
38 | class QLineEdit; | 38 | class QLineEdit; |
39 | class QTabWidget; | 39 | class QTabWidget; |
40 | class DialWidget; | 40 | class DialWidget; |
41 | class ScriptWidget; | 41 | class ScriptWidget; |
42 | class IPWidget; | 42 | class IPWidget; |
43 | class DNSWidget; | 43 | class DNSWidget; |
44 | class GatewayWidget; | 44 | class GatewayWidget; |
45 | class PPPData; | ||
45 | 46 | ||
46 | class AccountWidget : public QWidget { | 47 | class AccountWidget : public QWidget { |
47 | Q_OBJECT | 48 | Q_OBJECT |
48 | public: | 49 | public: |
49 | AccountWidget( QWidget *parent=0, const char *name=0 ); | 50 | AccountWidget( PPPData *pd, QWidget *parent=0, const char *name=0 ); |
50 | ~AccountWidget() {} | 51 | ~AccountWidget() {} |
51 | 52 | ||
52 | private slots: | 53 | private slots: |
53 | void editaccount(); | 54 | void editaccount(); |
54 | void copyaccount(); | 55 | void copyaccount(); |
55 | void newaccount(); | 56 | void newaccount(); |
56 | void deleteaccount(); | 57 | void deleteaccount(); |
57 | void slotListBoxSelect(int); | 58 | void slotListBoxSelect(int); |
58 | // void resetClicked(); | 59 | // void resetClicked(); |
59 | // void viewLogClicked(); | 60 | // void viewLogClicked(); |
60 | 61 | ||
61 | private: | 62 | private: |
62 | int doTab(); | 63 | int doTab(); |
63 | 64 | ||
64 | signals: | 65 | signals: |
65 | void resetaccounts(); | 66 | void resetaccounts(); |
66 | // void resetCosts(const QString &); | 67 | // void resetCosts(const QString &); |
67 | // void resetVolume(const QString &); | 68 | // void resetVolume(const QString &); |
68 | 69 | ||
69 | private: | 70 | private: |
70 | QString prettyPrintVolume(unsigned int); | 71 | QString prettyPrintVolume(unsigned int); |
71 | 72 | ||
73 | PPPData *_pppdata; | ||
72 | QTabWidget *tabWindow; | 74 | QTabWidget *tabWindow; |
73 | DialWidget *dial_w; | 75 | DialWidget *dial_w; |
74 | // AccountingSelector *acct; | 76 | // AccountingSelector *acct; |
75 | IPWidget *ip_w; | 77 | IPWidget *ip_w; |
76 | DNSWidget *dns_w; | 78 | DNSWidget *dns_w; |
77 | GatewayWidget *gateway_w; | 79 | GatewayWidget *gateway_w; |
78 | ScriptWidget *script_w; | 80 | ScriptWidget *script_w; |
79 | 81 | ||
80 | // QPushButton *reset; | 82 | // QPushButton *reset; |
81 | // QPushButton *log; | 83 | // QPushButton *log; |
82 | // QLabel *costlabel; | 84 | // QLabel *costlabel; |
83 | // QLineEdit *costedit; | 85 | // QLineEdit *costedit; |