Diffstat (limited to 'noncore/settings/networksettings/ppp/kpppwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/kpppwidget.cpp | 26 |
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 @@ -238,50 +238,33 @@ KPPPWidget::KPPPWidget( QWidget *parent, const char *name, bool modal, WFlags fl // con_win = new ConWindow(0, "conw", this); // KWin::setIcons(con_win->winId(), kapp->icon(), kapp->miniIcon()); // statdlg = new PPPStatsDlg(0, "stats", this, stats); // statdlg->hide(); - debugwindow = new DebugWidget(0,"debugwindow"); - // KWin::setIcons(debugwindow->winId(), kapp->icon(), kapp->miniIcon()); - debugwindow->hide(); - // load up the accounts combo box // resetaccounts(); // con = new ConnectWidget(0, "con"); //KWin::setIcons(con->winId(), kapp->icon(), kapp->miniIcon() ); // connect(this, SIGNAL(begin_connect()),con, SLOT(preinit())); // Is this the best we can do here? it's not right. // QRect desk = QApplication::desktop()->screenGeometry( // QApplication::desktop()->screenNumber(topLevelWidget())); // con->setGeometry(desk.center().x()-175, desk.center().y()-55, 350,110); // connect the ConnectWidgets various signals -// connect(con, SIGNAL(closeDebugWindow()), -// debugwindow, SLOT(hide())); -// connect(con, SIGNAL(debugMessage(const QString &)), -// debugwindow, SLOT(statusLabel(const QString &))); -// connect(con, SIGNAL(toggleDebugWindow()), -// debugwindow, SLOT(toggleVisibility())); -// connect(con, SIGNAL(debugPutChar(unsigned char)), -// debugwindow, SLOT(addChar(unsigned char))); // // connect(con, SIGNAL(startAccounting()), // // this, SLOT(startAccounting())); // // connect(con, SIGNAL(stopAccounting()), // // this, SLOT(stopAccounting())); // connect(qApp, SIGNAL(saveYourself()), // this, SLOT(saveMyself())); // connect(qApp, SIGNAL(shutDown()), // this, SLOT(shutDown())); -// debugwindow->setGeometry(desk.center().x()+190, desk.center().y()-55, -// debugwindow->width(),debugwindow->height()); - -// move(desk.center().x()-width()/2, desk.center().y()-height()/2); - // KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); // m_strCmdlAccount = args->getOption("c"); // m_bQuitOnDisconnect = args->isSet("q"); @@ -632,21 +615,12 @@ void KPPPWidget::beginConnect() { QString tit = i18n("Connecting to: %1").arg(PPPData::data()->accname()); // con->setCaption(tit); // con->show(); - bool show_debug = PPPData::data()->get_show_log_window(); -// con->debug->setOn(show_debug); // toggle button - debugwindow->clear(); - if (!show_debug) - debugwindow->hide(); - else { - debugwindow->show(); -// con->raise(); - } emit begin_connect(); } void KPPPWidget::disconnect() { |