summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/pppimp.cpp
authortille <tille>2003-05-23 19:47:14 (UTC)
committer tille <tille>2003-05-23 19:47:14 (UTC)
commitcfe5c97107610e45f29d1e996bcd8fa2cc2c3d9d (patch) (side-by-side diff)
tree2230576385949c61719a4f0a4ec760ac34cbc34b /noncore/settings/networksettings/ppp/pppimp.cpp
parent9b6b21112f38181f49b07e973bfe00c0d83a6900 (diff)
downloadopie-cfe5c97107610e45f29d1e996bcd8fa2cc2c3d9d.zip
opie-cfe5c97107610e45f29d1e996bcd8fa2cc2c3d9d.tar.gz
opie-cfe5c97107610e45f29d1e996bcd8fa2cc2c3d9d.tar.bz2
bye bye
Diffstat (limited to 'noncore/settings/networksettings/ppp/pppimp.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/pppimp.cpp60
1 files changed, 0 insertions, 60 deletions
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 <qcombobox.h>
-#include <qpushbutton.h>
-
-#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
-<speed> any
-defaultroute - automaticly add route
-noipdefault - get an ip from the server
-usepeerdns - automaticly add dns
-crtscts - flow control enabled
-name <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();
-}
-