author | tille <tille> | 2003-05-22 15:08:21 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-22 15:08:21 (UTC) |
commit | 273857932d4d4af9bf78bfca92f2986163e5f4f6 (patch) (side-by-side diff) | |
tree | fd809cda2eefdbb3d39567f956513511cb43dd3d /noncore/settings/networksettings/ppp/pppimp.cpp | |
parent | 4364269ddceef65bf06f475e2dcface882d37ed4 (diff) | |
download | opie-273857932d4d4af9bf78bfca92f2986163e5f4f6.zip opie-273857932d4d4af9bf78bfca92f2986163e5f4f6.tar.gz opie-273857932d4d4af9bf78bfca92f2986163e5f4f6.tar.bz2 |
finds the modem of my laptop now,
thanks to the kppp team
Diffstat (limited to 'noncore/settings/networksettings/ppp/pppimp.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/pppimp.cpp | 23 |
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,2 +1,11 @@ + +#include <qcombobox.h> +#include <qpushbutton.h> + #include "pppimp.h" +#include "devices.h" +#include "modem.h" +#include "modeminfo.h" +//#include "pppdata.h" + @@ -4,2 +13,5 @@ PPPConfigureImp::PPPConfigureImp( QWidget* parent, const char* name, bool modal, + for(int i = 0; devices[i]; i++) + ComboBoxDevice->insertItem(devices[i]); + connect(PushButtonQuery, SIGNAL(clicked()), SLOT(queryModem())); } @@ -37,3 +49,12 @@ name <name> - user name (and do secret file) -// pppconfigureimp.h +void PPPConfigureImp::queryModem() +{ + + Modem::modem = new Modem(); + qDebug("setting device"); +// gpppdata.setModemDevice(ComboBoxDevice->currentText()); + qDebug("open dialog"); + ModemTransfer mt(this); + mt.exec(); +} |