From cfe5c97107610e45f29d1e996bcd8fa2cc2c3d9d Mon Sep 17 00:00:00 2001 From: tille Date: Fri, 23 May 2003 19:47:14 +0000 Subject: bye bye --- diff --git a/noncore/settings/networksettings/ppp/ppp.ui b/noncore/settings/networksettings/ppp/ppp.ui deleted file mode 100644 index 2fcb419..0000000 --- a/noncore/settings/networksettings/ppp/ppp.ui +++ b/dev/null @@ -1,824 +0,0 @@ - -PPP - - QDialog - - name - PPP - - - geometry - - 0 - 0 - 355 - 418 - - - - sizePolicy - - 3 - 3 - - - - caption - Dial-up - - - layoutMargin - - - layoutSpacing - - - - margin - 1 - - - spacing - 0 - - - QTabWidget - - name - TabWidget2 - - - layoutMargin - - - layoutSpacing - - - QWidget - - name - tab - - - title - Account - - - - margin - 6 - - - spacing - 4 - - - QLineEdit - - name - password - - - echoMode - Password - - - - QLineEdit - - name - username - - - - QLabel - - name - TextLabel1 - - - text - Username - - - - QLabel - - name - TextLabel2 - - - text - Password - - - - QLabel - - name - TextLabel1_2_2 - - - text - Phone # - - - - QLineEdit - - name - phone - - - - Line - - name - Line3 - - - orientation - Horizontal - - - - QLineEdit - - name - acname - - - - QLabel - - name - TextLabel1_2 - - - text - Name - - - - Line - - name - Line4 - - - orientation - Horizontal - - - - - name - Spacer4 - - - orientation - Vertical - - - sizeType - Expanding - - - sizeHint - - 20 - 20 - - - - - - - QWidget - - name - tab - - - title - Modem - - - - margin - 11 - - - spacing - 6 - - - QPushButton - - name - PushButtonQuery - - - sizePolicy - - 3 - 0 - - - - text - Query Modem - - - - QComboBox - - name - ComboBoxDevice - - - - QLabel - - name - TextLabel1_6 - - - text - Device - - - - QLabel - - name - TextLabel3_2_2 - - - text - AT-dial - - - - QComboBox - - - text - ATDT - - - - - text - ATDP - - - - name - atdial - - - editable - true - - - currentItem - 0 - - - - QLabel - - name - TextLabel1_4 - - - text - Speed - - - - QComboBox - - - text - 4800 - - - - - text - 9600 - - - - - text - 19200 - - - - - text - 38400 - - - - - text - 57600 - - - - - text - 115200 - - - - name - speed - - - currentItem - 5 - - - - QSlider - - name - connectdelay - - - minValue - 1 - - - maxValue - 180 - - - value - 6 - - - orientation - Horizontal - - - - QLabel - - name - TextLabel1_3 - - - text - Wait time - - - - QLabel - - name - connectdelay_text - - - minimumSize - - 15 - 0 - - - - text - 6 - - - alignment - AlignVCenter|AlignRight - - - hAlign - - - - QLabel - - name - TextLabel5 - - - text - sec - - - - QLabel - - name - TextLabel3 - - - text - Flow control - - - - QCheckBox - - name - crtscts - - - text - Hardware flow control - - - checked - true - - - - - name - Spacer5 - - - orientation - Vertical - - - sizeType - Expanding - - - sizeHint - - 20 - 20 - - - - - QButtonGroup - - name - dialmode - - - sizePolicy - - 3 - 5 - - - - title - Demand Dialing - - - - margin - 11 - - - spacing - 6 - - - QRadioButton - - name - dial_manual - - - text - Manual connect and disconnect - - - - QSpinBox - - name - idletime - - - suffix - seconds - - - maxValue - 3600 - - - lineStep - 30 - - - value - 120 - - - - QLabel - - name - TextLabel1_5 - - - sizePolicy - - 7 - 1 - - - - text - Idle timeout: - - - alignment - AlignVCenter|AlignRight - - - hAlign - - - - QRadioButton - - name - dial_demand - - - text - Automatic connect and disconnect - - - checked - true - - - buttonGroupId - 2 - - - - QRadioButton - - name - dial_idle - - - text - Manual connect, automatic disconnect - - - buttonGroupId - 1 - - - - - - - - QWidget - - name - tab - - - title - Network - - - - margin - 6 - - - spacing - 4 - - - - name - Spacer8 - - - orientation - Vertical - - - sizeType - Expanding - - - sizeHint - - 20 - 20 - - - - - QCheckBox - - name - usepeerdns - - - text - Auto-detect name servers - - - checked - true - - - - QGroupBox - - name - gatewaybox - - - enabled - false - - - title - - - - - margin - 11 - - - spacing - 6 - - - QLabel - - name - TextLabel4_2 - - - text - Gateway - - - - QLineEdit - - name - gateway - - - text - - - - - - - QCheckBox - - name - defaultroute - - - text - Auto-detect routing - - - checked - true - - - - QGroupBox - - name - dnsbox - - - enabled - false - - - title - - - - - margin - 11 - - - spacing - 6 - - - QLineEdit - - name - dns1 - - - text - - - - - QLineEdit - - name - dns2 - - - text - - - - - QLabel - - name - TextLabel1_2_3 - - - text - First DNS - - - - QLabel - - name - TextLabel1_2_2_2 - - - text - Second DNS - - - - - - - - - - - - defaultroute - toggled(bool) - gatewaybox - setDisabled(bool) - - - usepeerdns - toggled(bool) - dnsbox - setDisabled(bool) - - - dial_manual - toggled(bool) - idletime - setDisabled(bool) - - - connectdelay - valueChanged(int) - connectdelay_text - setNum(int) - - - - TabWidget2 - acname - username - password - phone - atdial - speed - crtscts - connectdelay - dial_demand - idletime - defaultroute - gateway - usepeerdns - dns1 - dns2 - dial_manual - dial_idle - - diff --git a/noncore/settings/networksettings/ppp/pppimp.cpp b/noncore/settings/networksettings/ppp/pppimp.cpp deleted file mode 100644 index 6588bbc..0000000 --- a/noncore/settings/networksettings/ppp/pppimp.cpp +++ b/dev/null @@ -1,60 +0,0 @@ - -#include -#include - -#include "pppimp.h" -#include "devices.h" -#include "modem.h" -#include "modeminfo.h" -//#include "pppdata.h" - - -PPPConfigureImp::PPPConfigureImp( QWidget* parent, const char* name, bool modal, WFlags fl) : PPP(parent, name, modal, fl) { - - for(int i = 0; devices[i]; i++) - ComboBoxDevice->insertItem(devices[i]); - connect(PushButtonQuery, SIGNAL(clicked()), SLOT(queryModem())); -} - -/** - * Open up the peers file and read any set settings - * @param peer the peer file to edit. - */ -void PPPConfigureImp::setPeer(const QString &newPeer){ - peer = newPeer; -} - -/** - * Save the settings for the current peer. - */ -void PPPConfigureImp::accept(){ - // Check to make sure that all of the inputs are valid. - - // Save settings. -/** -/dev/modem or just modem - any -defaultroute - automaticly add route -noipdefault - get an ip from the server -usepeerdns - automaticly add dns -crtscts - flow control enabled -name - user name (and do secret file) -*/ - - // Make sure it is set in interfaces so pon/off can be used. - - // Close out the dialog - QDialog::accept(); -} - -void PPPConfigureImp::queryModem() -{ - - Modem::modem = new Modem(); - qDebug("setting device"); -// gpppdata.setModemDevice(ComboBoxDevice->currentText()); - qDebug("open dialog"); - ModemTransfer mt(this); - mt.exec(); -} - diff --git a/noncore/settings/networksettings/ppp/pppimp.h b/noncore/settings/networksettings/ppp/pppimp.h deleted file mode 100644 index a94139e..0000000 --- a/noncore/settings/networksettings/ppp/pppimp.h +++ b/dev/null @@ -1,27 +0,0 @@ -#ifndef PPPIMP_H -#define PPPIMP_H - -#include "ppp.h" - -class PPPConfigureImp : public PPP { - -Q_OBJECT - -public: - PPPConfigureImp(QWidget* parent = 0, const char* name = 0, bool modal = true, WFlags fl = 0); - void setPeer(const QString &peer); - -protected: - void accept(); - -protected slots: - void queryModem(); -private: - QString peer; - -}; - -#endif - -// pppconfigureimp.h - -- cgit v0.9.0.2