summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/kpppwidget.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/ppp/kpppwidget.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/kpppwidget.h43
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
@@ -26,84 +26,52 @@
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;
42class QDialog;
43class QPushButton; 36class 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
54class KPPPWidget : public QDialog { 39class KPPPWidget : public QDialog {
55 Q_OBJECT 40 Q_OBJECT
56public: 41public:
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
67private slots: 49private 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
86public slots: 61public 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
96signals: 65signals:
97 void begin_connect(); 66 void begin_connect();
98 void cmdl_start(); 67 void cmdl_start();
99 68
100public: 69public:
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;
@@ -116,13 +84,12 @@ private:
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;
@@ -134,22 +101,12 @@ private:
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