summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/kpppwidget.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings/ppp/kpppwidget.h') (more/less context) (ignore 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 @@
#ifndef __KPPPWIDGET_H__
#define __KPPPWIDGET_H__
#include <qstring.h>
-//#include "accounting.h"
#include "conwindow.h"
#include "accounts.h"
#include "connect.h"
-#include "debug.h"
-//#include "pppstatdlg.h"
-//class GraphSetup;
-//class AboutWidget;
-//class PPPStats;
-class QDialog;
class QPushButton;
-/* class SignalEvent : public QEvent { */
-/* public: */
-/* SignalEvent(int s) : QEvent(User), sig(s) { } */
-/* int sigType() const { return sig; } */
-/* private: */
-/* int sig; */
-/* }; */
-
class KPPPWidget : public QDialog {
Q_OBJECT
public:
KPPPWidget( QWidget *parent=0, const char *name=0, bool modal = false, WFlags fl = 0 );
~KPPPWidget();
void setPW_Edit(const QString &);
- // virtual bool eventFilter(QObject *, QEvent *);
- void setQuitOnDisconnect (bool b);
- // bool quitOnDisconnect () {return m_bQuitOnDisconnect;};
private slots:
void newdefaultaccount(int);
-// void expandbutton();
void beginConnect();
void quitbutton();
- // void helpbutton();
- // void setup();
- // void rulesetLoadError();
void usernameChanged(const QString &);
void passwordChanged(const QString &);
void enterPressedInID();
void enterPressedInPW();
void saveMyself();
void shutDown();
-/* protected slots: */
-/* virtual void accept(); */
-/* virtual void reject(); */
public slots:
- // void resetaccounts();
-/* void resetCosts(const QString &); */
-/* void resetVolume(const QString &); */
void disconnect();
void log_window_toggled(bool on);
-/* void startAccounting(); */
-/* void stopAccounting(); */
-/* void showStats(); */
signals:
void begin_connect();
void cmdl_start();
public:
QCheckBox *log;
bool connected;
- DebugWidget *debugwindow;
QString con_speed;
// ConnectWidget *con;
// ConWindow *con_win;
// PPPStatsDlg *statdlg;
// AccountingBase *acct;
QPushButton *quit_b;
@@ -116,13 +84,12 @@ private:
void sigPPPDDied();
QString encodeWord(const QString &s);
void showNews ();
QString ruleset_load_errmsg;
- // QPushButton *help_b;
QPushButton *setup_b;
QFrame *fline;
QFrame *fline1;
QPushButton *connect_b;
QComboBox *connectto_c;
QLabel *ID_Label;
@@ -134,22 +101,12 @@ private:
QLabel *label3;
QLabel *label4;
QLabel *label5;
QLabel *label6;
QLabel *radio_label;
-
- // QTabWidget *tabWindow;
- // AccountWidget *accounts;
- // GeneralWidget *general;
- // ModemWidget *modem1;
- // ModemWidget2 *modem2;
- // GraphSetup *graph;
- // AboutWidget *about;
-
-
/* QString m_strCmdlAccount; */
/* bool m_bQuitOnDisconnect; */
/* bool m_bCmdlAccount; */
};