Diffstat (limited to 'noncore/settings/networksettings/addconnectionimp.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/addconnectionimp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/addconnectionimp.cpp b/noncore/settings/networksettings/addconnectionimp.cpp index ee7bd97..53db0fc 100644 --- a/noncore/settings/networksettings/addconnectionimp.cpp +++ b/noncore/settings/networksettings/addconnectionimp.cpp | |||
@@ -1,22 +1,22 @@ | |||
1 | #include "addconnectionimp.h" | 1 | #include "addconnectionimp.h" |
2 | #include <qlistview.h> | 2 | #include <qlistview.h> |
3 | #include <qlist.h> | 3 | #include <qlist.h> |
4 | #include <qlabel.h> | 4 | #include <qlabel.h> |
5 | #include <qheader.h> | 5 | #include <qheader.h> |
6 | 6 | ||
7 | /** | 7 | /** |
8 | * Constructor | 8 | * Constructor |
9 | */ | 9 | */ |
10 | AddConnectionImp::AddConnectionImp(QWidget *parent=0, const char *name=0, WFlags f=0):AddConnection(parent, name, f){ | 10 | AddConnectionImp::AddConnectionImp(QWidget *parent, const char *name, WFlags f):AddConnection(parent, name, f){ |
11 | connect(registeredServicesList, SIGNAL(selectionChanged()), this, SLOT(changed())); | 11 | connect(registeredServicesList, SIGNAL(selectionChanged()), this, SLOT(changed())); |
12 | registeredServicesList->header()->hide(); | 12 | registeredServicesList->header()->hide(); |
13 | }; | 13 | }; |
14 | 14 | ||
15 | /** | 15 | /** |
16 | * The current item changed, update the discription. | 16 | * The current item changed, update the discription. |
17 | */ | 17 | */ |
18 | void AddConnectionImp::changed(){ | 18 | void AddConnectionImp::changed(){ |
19 | QListViewItem *item = registeredServicesList->currentItem(); | 19 | QListViewItem *item = registeredServicesList->currentItem(); |
20 | if(item){ | 20 | if(item){ |
21 | help->setText(list[item->text(0)]); | 21 | help->setText(list[item->text(0)]); |
22 | } | 22 | } |