summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/kpppwidget.cpp
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/ppp/kpppwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/kpppwidget.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/noncore/settings/networksettings/ppp/kpppwidget.cpp b/noncore/settings/networksettings/ppp/kpppwidget.cpp
index 8d70cd4..f8a8dc3 100644
--- a/noncore/settings/networksettings/ppp/kpppwidget.cpp
+++ b/noncore/settings/networksettings/ppp/kpppwidget.cpp
@@ -241,10 +241,6 @@ KPPPWidget::KPPPWidget( QWidget *parent, const char *name, bool modal, WFlags fl
241// statdlg = new PPPStatsDlg(0, "stats", this, stats); 241// statdlg = new PPPStatsDlg(0, "stats", this, stats);
242// statdlg->hide(); 242// statdlg->hide();
243 243
244 debugwindow = new DebugWidget(0,"debugwindow");
245 // KWin::setIcons(debugwindow->winId(), kapp->icon(), kapp->miniIcon());
246 debugwindow->hide();
247
248 // load up the accounts combo box 244 // load up the accounts combo box
249 245
250// resetaccounts(); 246// resetaccounts();
@@ -257,14 +253,6 @@ KPPPWidget::KPPPWidget( QWidget *parent, const char *name, bool modal, WFlags fl
257// con->setGeometry(desk.center().x()-175, desk.center().y()-55, 350,110); 253// con->setGeometry(desk.center().x()-175, desk.center().y()-55, 350,110);
258 254
259 // connect the ConnectWidgets various signals 255 // connect the ConnectWidgets various signals
260// connect(con, SIGNAL(closeDebugWindow()),
261 // debugwindow, SLOT(hide()));
262// connect(con, SIGNAL(debugMessage(const QString &)),
263 // debugwindow, SLOT(statusLabel(const QString &)));
264// connect(con, SIGNAL(toggleDebugWindow()),
265 // debugwindow, SLOT(toggleVisibility()));
266// connect(con, SIGNAL(debugPutChar(unsigned char)),
267 // debugwindow, SLOT(addChar(unsigned char)));
268// // connect(con, SIGNAL(startAccounting()), 256// // connect(con, SIGNAL(startAccounting()),
269 // // this, SLOT(startAccounting())); 257 // // this, SLOT(startAccounting()));
270// // connect(con, SIGNAL(stopAccounting()), 258// // connect(con, SIGNAL(stopAccounting()),
@@ -274,11 +262,6 @@ KPPPWidget::KPPPWidget( QWidget *parent, const char *name, bool modal, WFlags fl
274// connect(qApp, SIGNAL(shutDown()), 262// connect(qApp, SIGNAL(shutDown()),
275 // this, SLOT(shutDown())); 263 // this, SLOT(shutDown()));
276 264
277// debugwindow->setGeometry(desk.center().x()+190, desk.center().y()-55,
278 // debugwindow->width(),debugwindow->height());
279
280// move(desk.center().x()-width()/2, desk.center().y()-height()/2);
281
282 265
283// KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); 266// KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
284 267
@@ -635,15 +618,6 @@ void KPPPWidget::beginConnect() {
635 618
636// con->show(); 619// con->show();
637 620
638 bool show_debug = PPPData::data()->get_show_log_window();
639 // con->debug->setOn(show_debug);// toggle button
640 debugwindow->clear();
641 if (!show_debug)
642 debugwindow->hide();
643 else {
644 debugwindow->show();
645// con->raise();
646 }
647 621
648 emit begin_connect(); 622 emit begin_connect();
649} 623}