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) (unidiff)
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) (ignore 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 @@
1
2#include <qcombobox.h>
3#include <qpushbutton.h>
4
5#include "pppimp.h"
6#include "devices.h"
7#include "modem.h"
8#include "modeminfo.h"
9//#include "pppdata.h"
10
11
12PPPConfigureImp::PPPConfigureImp( QWidget* parent, const char* name, bool modal, WFlags fl) : PPP(parent, name, modal, fl) {
13
14 for(int i = 0; devices[i]; i++)
15 ComboBoxDevice->insertItem(devices[i]);
16 connect(PushButtonQuery, SIGNAL(clicked()), SLOT(queryModem()));
17}
18
19/**
20 * Open up the peers file and read any set settings
21 * @param peer the peer file to edit.
22 */
23void PPPConfigureImp::setPeer(const QString &newPeer){
24 peer = newPeer;
25}
26
27/**
28 * Save the settings for the current peer.
29 */
30void PPPConfigureImp::accept(){
31 // Check to make sure that all of the inputs are valid.
32
33 // Save settings.
34/**
35/dev/modem or just modem
36<speed> any
37defaultroute - automaticly add route
38noipdefault - get an ip from the server
39usepeerdns - automaticly add dns
40crtscts - flow control enabled
41name <name> - user name (and do secret file)
42*/
43
44 // Make sure it is set in interfaces so pon/off can be used.
45
46 // Close out the dialog
47 QDialog::accept();
48}
49
50void PPPConfigureImp::queryModem()
51{
52
53 Modem::modem = new Modem();
54 qDebug("setting device");
55// gpppdata.setModemDevice(ComboBoxDevice->currentText());
56 qDebug("open dialog");
57 ModemTransfer mt(this);
58 mt.exec();
59}
60