author | tille <tille> | 2003-05-25 00:47:30 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-25 00:47:30 (UTC) |
commit | 672a9a2ecd1132aadcf1043946e27339693145a4 (patch) (unidiff) | |
tree | 9393acea880576582306679081dc0d7fb16aac6c /noncore/settings/networksettings/ppp/kpppwidget.h | |
parent | d1c32c127b4dabb716064a790da6be7c24975a92 (diff) | |
download | opie-672a9a2ecd1132aadcf1043946e27339693145a4.zip opie-672a9a2ecd1132aadcf1043946e27339693145a4.tar.gz opie-672a9a2ecd1132aadcf1043946e27339693145a4.tar.bz2 |
debug window gone
Diffstat (limited to 'noncore/settings/networksettings/ppp/kpppwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/kpppwidget.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/noncore/settings/networksettings/ppp/kpppwidget.h b/noncore/settings/networksettings/ppp/kpppwidget.h index 266d829..d7e74af 100644 --- a/noncore/settings/networksettings/ppp/kpppwidget.h +++ b/noncore/settings/networksettings/ppp/kpppwidget.h | |||
@@ -20,138 +20,95 @@ | |||
20 | * Library General Public License for more details. | 20 | * Library General Public License for more details. |
21 | * | 21 | * |
22 | * You should have received a copy of the GNU Library General Public | 22 | * You should have received a copy of the GNU Library General Public |
23 | * License along with this program; if not, write to the Free | 23 | * License along with this program; if not, write to the Free |
24 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 24 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #ifndef __KPPPWIDGET_H__ | 27 | #ifndef __KPPPWIDGET_H__ |
28 | #define __KPPPWIDGET_H__ | 28 | #define __KPPPWIDGET_H__ |
29 | 29 | ||
30 | #include <qstring.h> | 30 | #include <qstring.h> |
31 | 31 | ||
32 | //#include "accounting.h" | ||
33 | #include "conwindow.h" | 32 | #include "conwindow.h" |
34 | #include "accounts.h" | 33 | #include "accounts.h" |
35 | #include "connect.h" | 34 | #include "connect.h" |
36 | #include "debug.h" | ||
37 | //#include "pppstatdlg.h" | ||
38 | 35 | ||
39 | //class GraphSetup; | ||
40 | //class AboutWidget; | ||
41 | //class PPPStats; | ||
42 | class QDialog; | ||
43 | class QPushButton; | 36 | class QPushButton; |
44 | 37 | ||
45 | /* class SignalEvent : public QEvent { */ | ||
46 | /* public: */ | ||
47 | /* SignalEvent(int s) : QEvent(User), sig(s) { } */ | ||
48 | /* int sigType() const { return sig; } */ | ||
49 | /* private: */ | ||
50 | /* int sig; */ | ||
51 | /* }; */ | ||
52 | |||
53 | 38 | ||
54 | class KPPPWidget : public QDialog { | 39 | class KPPPWidget : public QDialog { |
55 | Q_OBJECT | 40 | Q_OBJECT |
56 | public: | 41 | public: |
57 | 42 | ||
58 | KPPPWidget( QWidget *parent=0, const char *name=0, bool modal = false, WFlags fl = 0 ); | 43 | KPPPWidget( QWidget *parent=0, const char *name=0, bool modal = false, WFlags fl = 0 ); |
59 | ~KPPPWidget(); | 44 | ~KPPPWidget(); |
60 | 45 | ||
61 | void setPW_Edit(const QString &); | 46 | void setPW_Edit(const QString &); |
62 | // virtual bool eventFilter(QObject *, QEvent *); | ||
63 | 47 | ||
64 | void setQuitOnDisconnect (bool b); | ||
65 | // bool quitOnDisconnect () {return m_bQuitOnDisconnect;}; | ||
66 | 48 | ||
67 | private slots: | 49 | private slots: |
68 | void newdefaultaccount(int); | 50 | void newdefaultaccount(int); |
69 | // void expandbutton(); | ||
70 | void beginConnect(); | 51 | void beginConnect(); |
71 | void quitbutton(); | 52 | void quitbutton(); |
72 | // void helpbutton(); | ||
73 | // void setup(); | ||
74 | // void rulesetLoadError(); | ||
75 | void usernameChanged(const QString &); | 53 | void usernameChanged(const QString &); |
76 | void passwordChanged(const QString &); | 54 | void passwordChanged(const QString &); |
77 | void enterPressedInID(); | 55 | void enterPressedInID(); |
78 | void enterPressedInPW(); | 56 | void enterPressedInPW(); |
79 | void saveMyself(); | 57 | void saveMyself(); |
80 | void shutDown(); | 58 | void shutDown(); |
81 | 59 | ||
82 | /* protected slots: */ | ||
83 | /* virtual void accept(); */ | ||
84 | /* virtual void reject(); */ | ||
85 | 60 | ||
86 | public slots: | 61 | public slots: |
87 | // void resetaccounts(); | ||
88 | /* void resetCosts(const QString &); */ | ||
89 | /* void resetVolume(const QString &); */ | ||
90 | void disconnect(); | 62 | void disconnect(); |
91 | void log_window_toggled(bool on); | 63 | void log_window_toggled(bool on); |
92 | /* void startAccounting(); */ | ||
93 | /* void stopAccounting(); */ | ||
94 | /* void showStats(); */ | ||
95 | 64 | ||
96 | signals: | 65 | signals: |
97 | void begin_connect(); | 66 | void begin_connect(); |
98 | void cmdl_start(); | 67 | void cmdl_start(); |
99 | 68 | ||
100 | public: | 69 | public: |
101 | QCheckBox *log; | 70 | QCheckBox *log; |
102 | bool connected; | 71 | bool connected; |
103 | DebugWidget *debugwindow; | ||
104 | QString con_speed; | 72 | QString con_speed; |
105 | // ConnectWidget *con; | 73 | // ConnectWidget *con; |
106 | // ConWindow *con_win; | 74 | // ConWindow *con_win; |
107 | // PPPStatsDlg *statdlg; | 75 | // PPPStatsDlg *statdlg; |
108 | // AccountingBase *acct; | 76 | // AccountingBase *acct; |
109 | QPushButton *quit_b; | 77 | QPushButton *quit_b; |
110 | //PPPStats *stats; | 78 | //PPPStats *stats; |
111 | 79 | ||
112 | private: | 80 | private: |
113 | // void prepareSetupDialog(); | 81 | // void prepareSetupDialog(); |
114 | void interruptConnection(); | 82 | void interruptConnection(); |
115 | void sigChld(); | 83 | void sigChld(); |
116 | void sigPPPDDied(); | 84 | void sigPPPDDied(); |
117 | QString encodeWord(const QString &s); | 85 | QString encodeWord(const QString &s); |
118 | void showNews (); | 86 | void showNews (); |
119 | 87 | ||
120 | QString ruleset_load_errmsg; | 88 | QString ruleset_load_errmsg; |
121 | 89 | ||
122 | // QPushButton *help_b; | ||
123 | QPushButton *setup_b; | 90 | QPushButton *setup_b; |
124 | QFrame *fline; | 91 | QFrame *fline; |
125 | QFrame *fline1; | 92 | QFrame *fline1; |
126 | QPushButton *connect_b; | 93 | QPushButton *connect_b; |
127 | QComboBox *connectto_c; | 94 | QComboBox *connectto_c; |
128 | QLabel *ID_Label; | 95 | QLabel *ID_Label; |
129 | QLabel *PW_Label; | 96 | QLabel *PW_Label; |
130 | QLineEdit *ID_Edit; | 97 | QLineEdit *ID_Edit; |
131 | QLineEdit *PW_Edit; | 98 | QLineEdit *PW_Edit; |
132 | QLabel *label1; | 99 | QLabel *label1; |
133 | QLabel *label2; | 100 | QLabel *label2; |
134 | QLabel *label3; | 101 | QLabel *label3; |
135 | QLabel *label4; | 102 | QLabel *label4; |
136 | QLabel *label5; | 103 | QLabel *label5; |
137 | QLabel *label6; | 104 | QLabel *label6; |
138 | QLabel *radio_label; | 105 | QLabel *radio_label; |
139 | 106 | ||
140 | |||
141 | // QTabWidget *tabWindow; | ||
142 | // AccountWidget *accounts; | ||
143 | // GeneralWidget *general; | ||
144 | // ModemWidget *modem1; | ||
145 | // ModemWidget2 *modem2; | ||
146 | // GraphSetup *graph; | ||
147 | // AboutWidget *about; | ||
148 | |||
149 | |||
150 | /* QString m_strCmdlAccount; */ | 107 | /* QString m_strCmdlAccount; */ |
151 | /* bool m_bQuitOnDisconnect; */ | 108 | /* bool m_bQuitOnDisconnect; */ |
152 | /* bool m_bCmdlAccount; */ | 109 | /* bool m_bCmdlAccount; */ |
153 | }; | 110 | }; |
154 | 111 | ||
155 | 112 | ||
156 | #endif | 113 | #endif |
157 | 114 | ||