Diffstat (limited to 'noncore/settings/networksettings/ppp/accounts.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/accounts.h | 58 |
1 files changed, 23 insertions, 35 deletions
diff --git a/noncore/settings/networksettings/ppp/accounts.h b/noncore/settings/networksettings/ppp/accounts.h index 5e8509d..eae3922 100644 --- a/noncore/settings/networksettings/ppp/accounts.h +++ b/noncore/settings/networksettings/ppp/accounts.h | |||
@@ -53,60 +53,48 @@ public: | |||
53 | private slots: | 53 | private slots: |
54 | void editaccount(); | 54 | void editaccount(); |
55 | void copyaccount(); | 55 | void copyaccount(); |
56 | void newaccount(); | 56 | void newaccount(); |
57 | void deleteaccount(); | 57 | void deleteaccount(); |
58 | void slotListBoxSelect(int); | 58 | void slotListBoxSelect(int); |
59 | // void resetClicked(); | ||
60 | // void viewLogClicked(); | ||
61 | 59 | ||
62 | private: | 60 | private: |
63 | int doTab(); | 61 | int doTab(); |
64 | 62 | ||
65 | signals: | 63 | signals: |
66 | void resetaccounts(); | 64 | void resetaccounts(); |
67 | // void resetCosts(const QString &); | ||
68 | // void resetVolume(const QString &); | ||
69 | 65 | ||
70 | private: | 66 | private: |
71 | QString prettyPrintVolume(unsigned int); | 67 | QString prettyPrintVolume(unsigned int); |
72 | 68 | ||
73 | PPPData *_pppdata; | 69 | PPPData *_pppdata; |
74 | QTabWidget *tabWindow; | 70 | QTabWidget *tabWindow; |
75 | DialWidget *dial_w; | 71 | DialWidget *dial_w; |
76 | // AccountingSelector *acct; | 72 | IPWidget *ip_w; |
77 | IPWidget *ip_w; | 73 | DNSWidget *dns_w; |
78 | DNSWidget *dns_w; | 74 | GatewayWidget *gateway_w; |
79 | GatewayWidget *gateway_w; | 75 | ScriptWidget *script_w; |
80 | ScriptWidget *script_w; | 76 | |
81 | 77 | QListBox *accountlist_l; | |
82 | // QPushButton *reset; | 78 | QPushButton *edit_b; |
83 | // QPushButton *log; | 79 | QPushButton *copy_b; |
84 | // QLabel *costlabel; | 80 | QPushButton *new_b; |
85 | // QLineEdit *costedit; | 81 | QPushButton *delete_b; |
86 | // QLabel *vollabel; | ||
87 | // QLineEdit *voledit; | ||
88 | |||
89 | QListBox *accountlist_l; | ||
90 | QPushButton *edit_b; | ||
91 | QPushButton *copy_b; | ||
92 | QPushButton *new_b; | ||
93 | QPushButton *delete_b; | ||
94 | }; | 82 | }; |
95 | 83 | ||
96 | 84 | ||
97 | class QueryReset : public QDialog { | 85 | // class QueryReset : public QDialog { |
98 | Q_OBJECT | 86 | // Q_OBJECT |
99 | public: | 87 | // public: |
100 | QueryReset(QWidget *parent); | 88 | // QueryReset(QWidget *parent); |
101 | 89 | ||
102 | enum {COSTS=1, VOLUME=2}; | 90 | // enum {COSTS=1, VOLUME=2}; |
103 | 91 | ||
104 | private slots: | 92 | // private slots: |
105 | void accepted(); | 93 | // void accepted(); |
106 | 94 | ||
107 | private: | 95 | // private: |
108 | QCheckBox *costs, *volume; | 96 | // QCheckBox *costs, *volume; |
109 | }; | 97 | // }; |
110 | 98 | ||
111 | #endif | 99 | #endif |
112 | 100 | ||