summaryrefslogtreecommitdiff
path: root/noncore
authordwmw2 <dwmw2>2003-06-07 17:07:15 (UTC)
committer dwmw2 <dwmw2>2003-06-07 17:07:15 (UTC)
commitb293babbe1e640705163a95e192461d140f590eb (patch) (side-by-side diff)
treeaf0136128bede0e60e858b056bdce4128b833bfd /noncore
parent1adb158cfd65a5771af279e0e774f45fcc860faf (diff)
downloadopie-b293babbe1e640705163a95e192461d140f590eb.zip
opie-b293babbe1e640705163a95e192461d140f590eb.tar.gz
opie-b293babbe1e640705163a95e192461d140f590eb.tar.bz2
updateInterface() in refresh()
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/interfaceppp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/interfaceppp.cpp b/noncore/settings/networksettings/ppp/interfaceppp.cpp
index 85ddbee..9ec30bc 100644
--- a/noncore/settings/networksettings/ppp/interfaceppp.cpp
+++ b/noncore/settings/networksettings/ppp/interfaceppp.cpp
@@ -17,48 +17,49 @@ InterfacePPP::InterfacePPP(QObject *parent, const char *name, bool status)
PPPData* InterfacePPP::data()
{
if (!_dataPtr){
qDebug("creating new Data obj");
_dataPtr = new PPPData();
_dataPtr->setModemDevice( getInterfaceName() );
_dataPtr->setAccount( getHardwareName() );
}
return _dataPtr;
}
Modem* InterfacePPP::modem()
{
if (!_modemPtr){
qDebug("creating new modem obj");
_modemPtr = new Modem( data() );
}
return _modemPtr;
}
bool InterfacePPP::refresh()
{
qDebug("InterfacePPP::refresh()");
+ updateInterface(this);
QMessageBox::information(0,"Not Implemented","This feature is not yet implemneted... ;-(");
return false;
}
void InterfacePPP::start()
{
qDebug("InterfacePPP::start");
// should work...
// if (data()->password().isEmpty() ){
// //FIXME: ask for password
// qDebug("using dummy password");
// QMessageBox::critical( 0, "no password", "you should be prompted for a password, but you are not! ;-)");
// }
QFileInfo info(pppdPath());
if(!info.exists()){
QMessageBox::warning(0, tr("Error"),
i18n("<qt>Cannot find the PPP daemon!<br>"
"Make sure that pppd is installed and "
"that you have entered the correct path.</qt>"));
return;
}