Diffstat (limited to 'noncore/apps/confedit/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/confedit/mainwindow.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/noncore/apps/confedit/mainwindow.cpp b/noncore/apps/confedit/mainwindow.cpp index 30dfdf7..47d9518 100644 --- a/noncore/apps/confedit/mainwindow.cpp +++ b/noncore/apps/confedit/mainwindow.cpp @@ -54,22 +54,22 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : editor = new EditWidget(this); mainLayout->addWidget( editor, 1, 0 ); - connect (settingList, SIGNAL( currentChanged(QListViewItem*) ), + connect(settingList, SIGNAL( pressed(QListViewItem*) ), this, SLOT(setCurrent(QListViewItem*))); - connect( popupTimer, SIGNAL(timeout()), - this, SLOT(showPopup()) ); - connect( this, SIGNAL( clicked( QListViewItem* ) ), - this, SLOT( stopTimer( QListViewItem* ) ) ); - - connect( editor->LineEditGroup, SIGNAL( textChanged(const QString&) ), - SLOT( groupChanged(const QString&) ) ); - connect( editor->LineEditKey, SIGNAL( textChanged(const QString&) ), - SLOT( keyChanged(const QString&) ) ); - connect( editor->LineEditValue, SIGNAL( textChanged(const QString&) ), - SLOT( valueChanged(const QString&) ) ); + connect( popupTimer, SIGNAL(timeout()), + this, SLOT(showPopup()) ); + connect( settingList, SIGNAL( clicked( QListViewItem* ) ), + this, SLOT( stopTimer( QListViewItem* ) ) ); + + connect( editor->LineEditGroup, SIGNAL( textChanged(const QString&) ), + SLOT( groupChanged(const QString&) ) ); + connect( editor->LineEditKey, SIGNAL( textChanged(const QString&) ), + SLOT( keyChanged(const QString&) ) ); + connect( editor->LineEditValue, SIGNAL( textChanged(const QString&) ), + SLOT( valueChanged(const QString&) ) ); makeMenu(); } void MainWindow::makeMenu() |