summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/pppimp.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings/ppp/pppimp.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/pppimp.cpp23
1 files changed, 22 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/ppp/pppimp.cpp b/noncore/settings/networksettings/ppp/pppimp.cpp
index d3094fc..6588bbc 100644
--- a/noncore/settings/networksettings/ppp/pppimp.cpp
+++ b/noncore/settings/networksettings/ppp/pppimp.cpp
@@ -1,7 +1,19 @@
+
+#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()));
}
/**
@@ -35,5 +47,14 @@ name <name> - user name (and do secret file)
QDialog::accept();
}
-// pppconfigureimp.h
+void PPPConfigureImp::queryModem()
+{
+
+ Modem::modem = new Modem();
+ qDebug("setting device");
+// gpppdata.setModemDevice(ComboBoxDevice->currentText());
+ qDebug("open dialog");
+ ModemTransfer mt(this);
+ mt.exec();
+}