summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/pppmodule.cpp
authortille <tille>2003-05-25 00:47:30 (UTC)
committer tille <tille>2003-05-25 00:47:30 (UTC)
commit672a9a2ecd1132aadcf1043946e27339693145a4 (patch) (side-by-side diff)
tree9393acea880576582306679081dc0d7fb16aac6c /noncore/settings/networksettings/ppp/pppmodule.cpp
parentd1c32c127b4dabb716064a790da6be7c24975a92 (diff)
downloadopie-672a9a2ecd1132aadcf1043946e27339693145a4.zip
opie-672a9a2ecd1132aadcf1043946e27339693145a4.tar.gz
opie-672a9a2ecd1132aadcf1043946e27339693145a4.tar.bz2
debug window gone
Diffstat (limited to 'noncore/settings/networksettings/ppp/pppmodule.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/pppmodule.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/pppmodule.cpp b/noncore/settings/networksettings/ppp/pppmodule.cpp
index e13f8c8..fb2f3e5 100644
--- a/noncore/settings/networksettings/ppp/pppmodule.cpp
+++ b/noncore/settings/networksettings/ppp/pppmodule.cpp
@@ -59,48 +59,49 @@ QWidget *PPPModule::configure(Interface *i){
PPPConfigWidget *pppconfig = new PPPConfigWidget( 0, "PPPConfig", false,
Qt::WDestructiveClose );
return pppconfig;
}
/**
* Create, and return the Information Module
* @return QWidget* pointer to this modules info.
*/
QWidget *PPPModule::information(Interface *i){
// We don't have any advanced pppd information widget yet :-D
// TODO ^
qDebug("return PPPModule::information");
InterfaceInformationImp *information = new InterfaceInformationImp(0, "InterfaceSetupImp", i);
return information;
}
/**
* Get all active (up or down) interfaces
* @return QList<Interface> A list of interfaces that exsist that havn't
* been called by isOwner()
*/
QList<Interface> PPPModule::getInterfaces(){
// List all of the files in the peer directory
+ qDebug("PPPModule::getInterfaces");
return list;
}
/**
* Attempt to add a new interface as defined by name
* @param name the name of the type of interface that should be created given
* by possibleNewInterfaces();
* @return Interface* NULL if it was unable to be created.
*/
Interface *PPPModule::addNewInterface(const QString &newInterface){
qDebug("try to add iface %s",newInterface.latin1());
PPPConfigWidget imp(0, "PPPConfigImp", true);
imp.showMaximized();
if(imp.exec() == QDialog::Accepted ){
qDebug("ACCEPTED");
PPPData::data()->save();
Interface *iface;
iface = new Interface( 0, PPPData::data()->modemDevice() );
iface->setHardwareName( PPPData::data()->accname() );
list.append( iface );
return iface;
}