author | tille <tille> | 2003-05-25 00:47:30 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-25 00:47:30 (UTC) |
commit | 672a9a2ecd1132aadcf1043946e27339693145a4 (patch) (unidiff) | |
tree | 9393acea880576582306679081dc0d7fb16aac6c /noncore/settings/networksettings/ppp/pppmodule.cpp | |
parent | d1c32c127b4dabb716064a790da6be7c24975a92 (diff) | |
download | opie-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.cpp | 1 |
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){ | |||
59 | PPPConfigWidget *pppconfig = new PPPConfigWidget( 0, "PPPConfig", false, | 59 | PPPConfigWidget *pppconfig = new PPPConfigWidget( 0, "PPPConfig", false, |
60 | Qt::WDestructiveClose ); | 60 | Qt::WDestructiveClose ); |
61 | return pppconfig; | 61 | return pppconfig; |
62 | } | 62 | } |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * Create, and return the Information Module | 65 | * Create, and return the Information Module |
66 | * @return QWidget* pointer to this modules info. | 66 | * @return QWidget* pointer to this modules info. |
67 | */ | 67 | */ |
68 | QWidget *PPPModule::information(Interface *i){ | 68 | QWidget *PPPModule::information(Interface *i){ |
69 | // We don't have any advanced pppd information widget yet :-D | 69 | // We don't have any advanced pppd information widget yet :-D |
70 | // TODO ^ | 70 | // TODO ^ |
71 | qDebug("return PPPModule::information"); | 71 | qDebug("return PPPModule::information"); |
72 | InterfaceInformationImp *information = new InterfaceInformationImp(0, "InterfaceSetupImp", i); | 72 | InterfaceInformationImp *information = new InterfaceInformationImp(0, "InterfaceSetupImp", i); |
73 | return information; | 73 | return information; |
74 | } | 74 | } |
75 | 75 | ||
76 | /** | 76 | /** |
77 | * Get all active (up or down) interfaces | 77 | * Get all active (up or down) interfaces |
78 | * @return QList<Interface> A list of interfaces that exsist that havn't | 78 | * @return QList<Interface> A list of interfaces that exsist that havn't |
79 | * been called by isOwner() | 79 | * been called by isOwner() |
80 | */ | 80 | */ |
81 | QList<Interface> PPPModule::getInterfaces(){ | 81 | QList<Interface> PPPModule::getInterfaces(){ |
82 | // List all of the files in the peer directory | 82 | // List all of the files in the peer directory |
83 | qDebug("PPPModule::getInterfaces"); | ||
83 | return list; | 84 | return list; |
84 | } | 85 | } |
85 | 86 | ||
86 | /** | 87 | /** |
87 | * Attempt to add a new interface as defined by name | 88 | * Attempt to add a new interface as defined by name |
88 | * @param name the name of the type of interface that should be created given | 89 | * @param name the name of the type of interface that should be created given |
89 | * by possibleNewInterfaces(); | 90 | * by possibleNewInterfaces(); |
90 | * @return Interface* NULL if it was unable to be created. | 91 | * @return Interface* NULL if it was unable to be created. |
91 | */ | 92 | */ |
92 | Interface *PPPModule::addNewInterface(const QString &newInterface){ | 93 | Interface *PPPModule::addNewInterface(const QString &newInterface){ |
93 | 94 | ||
94 | qDebug("try to add iface %s",newInterface.latin1()); | 95 | qDebug("try to add iface %s",newInterface.latin1()); |
95 | 96 | ||
96 | PPPConfigWidget imp(0, "PPPConfigImp", true); | 97 | PPPConfigWidget imp(0, "PPPConfigImp", true); |
97 | imp.showMaximized(); | 98 | imp.showMaximized(); |
98 | if(imp.exec() == QDialog::Accepted ){ | 99 | if(imp.exec() == QDialog::Accepted ){ |
99 | qDebug("ACCEPTED"); | 100 | qDebug("ACCEPTED"); |
100 | PPPData::data()->save(); | 101 | PPPData::data()->save(); |
101 | Interface *iface; | 102 | Interface *iface; |
102 | iface = new Interface( 0, PPPData::data()->modemDevice() ); | 103 | iface = new Interface( 0, PPPData::data()->modemDevice() ); |
103 | iface->setHardwareName( PPPData::data()->accname() ); | 104 | iface->setHardwareName( PPPData::data()->accname() ); |
104 | list.append( iface ); | 105 | list.append( iface ); |
105 | return iface; | 106 | return iface; |
106 | } | 107 | } |