summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/mainwindowimp.cpp
authorbenmeyer <benmeyer>2002-10-18 18:31:02 (UTC)
committer benmeyer <benmeyer>2002-10-18 18:31:02 (UTC)
commit081001a515f23626b6299e39af4511f36db46d07 (patch) (unidiff)
treeb27ce76464c60452c54c10dca9bcd95b34bd56a9 /noncore/settings/networksettings/mainwindowimp.cpp
parent83a8418d4d4eb94a2cf0d8c89742aef2dfc3ed40 (diff)
downloadopie-081001a515f23626b6299e39af4511f36db46d07.zip
opie-081001a515f23626b6299e39af4511f36db46d07.tar.gz
opie-081001a515f23626b6299e39af4511f36db46d07.tar.bz2
Updated TODO
Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/mainwindowimp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp
index 8e4e898..843f630 100644
--- a/noncore/settings/networksettings/mainwindowimp.cpp
+++ b/noncore/settings/networksettings/mainwindowimp.cpp
@@ -188,13 +188,13 @@ void MainWindowImp::addClicked(){
188 * Prompt the user to see if they really want to do this. 188 * Prompt the user to see if they really want to do this.
189 * If they do then remove from the list and unload. 189 * If they do then remove from the list and unload.
190 */ 190 */
191void MainWindowImp::removeClicked(){ 191void MainWindowImp::removeClicked(){
192 QListViewItem *item = connectionList->currentItem(); 192 QListViewItem *item = connectionList->currentItem();
193 if(!item) { 193 if(!item) {
194 QMessageBox::information(this, "Error","Please select an interface.", "Ok"); 194 QMessageBox::information(this, "Sorry","Please select an interface First.", "Ok");
195 return; 195 return;
196 } 196 }
197 197
198 Interface *i = interfaceItems[item]; 198 Interface *i = interfaceItems[item];
199 if(i->getModuleOwner() == NULL){ 199 if(i->getModuleOwner() == NULL){
200 QMessageBox::information(this, "Can't remove interface.", "Interface is built in.", "Ok"); 200 QMessageBox::information(this, "Can't remove interface.", "Interface is built in.", "Ok");
@@ -216,13 +216,13 @@ void MainWindowImp::removeClicked(){
216 * If the interface has a module owner then request its configure with a empty 216 * If the interface has a module owner then request its configure with a empty
217 * tab. If tab is !NULL then append the interfaces setup widget to it. 217 * tab. If tab is !NULL then append the interfaces setup widget to it.
218 */ 218 */
219void MainWindowImp::configureClicked(){ 219void MainWindowImp::configureClicked(){
220 QListViewItem *item = connectionList->currentItem(); 220 QListViewItem *item = connectionList->currentItem();
221 if(!item){ 221 if(!item){
222 QMessageBox::information(this, "Error","Please select an interface.", QMessageBox::Ok); 222 QMessageBox::information(this, "Sorry","Please select an interface first.", QMessageBox::Ok);
223 return; 223 return;
224 } 224 }
225 225
226 QString currentProfile = currentProfileLabel->text(); 226 QString currentProfile = currentProfileLabel->text();
227 if(profilesList->count() <= 1 || currentProfile == "All"){ 227 if(profilesList->count() <= 1 || currentProfile == "All"){
228 currentProfile = ""; 228 currentProfile = "";
@@ -258,19 +258,19 @@ void MainWindowImp::configureClicked(){
258 * If the interface has a module owner then request its configure with a empty 258 * If the interface has a module owner then request its configure with a empty
259 * tab. If tab is !NULL then append the interfaces setup widget to it. 259 * tab. If tab is !NULL then append the interfaces setup widget to it.
260 */ 260 */
261void MainWindowImp::informationClicked(){ 261void MainWindowImp::informationClicked(){
262 QListViewItem *item = connectionList->currentItem(); 262 QListViewItem *item = connectionList->currentItem();
263 if(!item){ 263 if(!item){
264 QMessageBox::information(this, "Error","Please select an interface.", QMessageBox::Ok); 264 QMessageBox::information(this, "Sorry","Please select an interface First.", QMessageBox::Ok);
265 return; 265 return;
266 } 266 }
267 267
268 Interface *i = interfaceItems[item]; 268 Interface *i = interfaceItems[item];
269 if(!i->isAttached()){ 269 if(!i->isAttached()){
270 QMessageBox::information(this, "Error","No information about\na disconnected interface.", QMessageBox::Ok); 270 QMessageBox::information(this, "Sorry","No information about\na disconnected interface.", QMessageBox::Ok);
271 return; 271 return;
272 } 272 }
273 273
274 QStringList list; 274 QStringList list;
275 for(uint i = 0; i < profilesList->count(); i++){ 275 for(uint i = 0; i < profilesList->count(); i++){
276 list.append(profilesList->text(i)); 276 list.append(profilesList->text(i));