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 | |||
@@ -52,26 +52,26 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : | |||
52 | settingList = new ListViewConfDir( "/root/Settings/", this, "settingslist"); | 52 | settingList = new ListViewConfDir( "/root/Settings/", this, "settingslist"); |
53 | mainLayout->addWidget( settingList, 0, 0 ); | 53 | mainLayout->addWidget( settingList, 0, 0 ); |
54 | 54 | ||
55 | editor = new EditWidget(this); | 55 | editor = new EditWidget(this); |
56 | mainLayout->addWidget( editor, 1, 0 ); | 56 | mainLayout->addWidget( editor, 1, 0 ); |
57 | 57 | ||
58 | connect (settingList, SIGNAL( currentChanged(QListViewItem*) ), | 58 | connect(settingList, SIGNAL( pressed(QListViewItem*) ), |
59 | this, SLOT(setCurrent(QListViewItem*))); | 59 | this, SLOT(setCurrent(QListViewItem*))); |
60 | 60 | ||
61 | connect( popupTimer, SIGNAL(timeout()), | 61 | connect( popupTimer, SIGNAL(timeout()), |
62 | this, SLOT(showPopup()) ); | 62 | this, SLOT(showPopup()) ); |
63 | connect( this, SIGNAL( clicked( QListViewItem* ) ), | 63 | connect( settingList, SIGNAL( clicked( QListViewItem* ) ), |
64 | this, SLOT( stopTimer( QListViewItem* ) ) ); | 64 | this, SLOT( stopTimer( QListViewItem* ) ) ); |
65 | 65 | ||
66 | connect( editor->LineEditGroup, SIGNAL( textChanged(const QString&) ), | 66 | connect( editor->LineEditGroup, SIGNAL( textChanged(const QString&) ), |
67 | SLOT( groupChanged(const QString&) ) ); | 67 | SLOT( groupChanged(const QString&) ) ); |
68 | connect( editor->LineEditKey, SIGNAL( textChanged(const QString&) ), | 68 | connect( editor->LineEditKey, SIGNAL( textChanged(const QString&) ), |
69 | SLOT( keyChanged(const QString&) ) ); | 69 | SLOT( keyChanged(const QString&) ) ); |
70 | connect( editor->LineEditValue, SIGNAL( textChanged(const QString&) ), | 70 | connect( editor->LineEditValue, SIGNAL( textChanged(const QString&) ), |
71 | SLOT( valueChanged(const QString&) ) ); | 71 | SLOT( valueChanged(const QString&) ) ); |
72 | makeMenu(); | 72 | makeMenu(); |
73 | } | 73 | } |
74 | 74 | ||
75 | void MainWindow::makeMenu() | 75 | void MainWindow::makeMenu() |
76 | { | 76 | { |
77 | 77 | ||