Diffstat (limited to 'noncore/net/opieirc/ircserverlist.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircserverlist.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircserverlist.cpp b/noncore/net/opieirc/ircserverlist.cpp index 3293591..595ae3e 100644 --- a/noncore/net/opieirc/ircserverlist.cpp +++ b/noncore/net/opieirc/ircserverlist.cpp | |||
@@ -3,4 +3,5 @@ | |||
3 | #include <qhbox.h> | 3 | #include <qhbox.h> |
4 | #include <qpushbutton.h> | 4 | #include <qpushbutton.h> |
5 | #include <qwhatsthis.h> | ||
5 | #include "ircserverlist.h" | 6 | #include "ircserverlist.h" |
6 | #include "ircservereditor.h" | 7 | #include "ircservereditor.h" |
@@ -24,5 +25,5 @@ protected: | |||
24 | }; | 25 | }; |
25 | 26 | ||
26 | IRCServerList::IRCServerList(QWidget* parent, const char *name, bool modal, WFlags f) : QDialog(parent, name, modal, f) { | 27 | IRCServerList::IRCServerList(QWidget* parent, const char *name, bool modal, WFlags) : QDialog(parent, name, modal, WStyle_ContextHelp) { |
27 | QVBoxLayout *layout = new QVBoxLayout(this, 5, 5); | 28 | QVBoxLayout *layout = new QVBoxLayout(this, 5, 5); |
28 | setCaption(tr("Serverlist Browser")); | 29 | setCaption(tr("Serverlist Browser")); |
@@ -31,4 +32,5 @@ IRCServerList::IRCServerList(QWidget* parent, const char *name, bool modal, WFla | |||
31 | layout->addWidget(label); | 32 | layout->addWidget(label); |
32 | m_list = new QListBox(this); | 33 | m_list = new QListBox(this); |
34 | QWhatsThis::add(m_list, tr("Select a server profile from this list and then tap on OK in the upper-right corner")); | ||
33 | layout->addWidget(m_list); | 35 | layout->addWidget(m_list); |
34 | QHBox *buttons = new QHBox(this); | 36 | QHBox *buttons = new QHBox(this); |
@@ -36,4 +38,7 @@ IRCServerList::IRCServerList(QWidget* parent, const char *name, bool modal, WFla | |||
36 | QPushButton *edit = new QPushButton(tr("Edit"), buttons); | 38 | QPushButton *edit = new QPushButton(tr("Edit"), buttons); |
37 | QPushButton *add = new QPushButton(tr("Add"), buttons); | 39 | QPushButton *add = new QPushButton(tr("Add"), buttons); |
40 | QWhatsThis::add(del, tr("Delete the currently selected server profile")); | ||
41 | QWhatsThis::add(edit, tr("Edit the currently selected server profile")); | ||
42 | QWhatsThis::add(add, tr("Add a new server profile")); | ||
38 | connect(del, SIGNAL(clicked()), this, SLOT(delServer())); | 43 | connect(del, SIGNAL(clicked()), this, SLOT(delServer())); |
39 | connect(edit, SIGNAL(clicked()), this, SLOT(editServer())); | 44 | connect(edit, SIGNAL(clicked()), this, SLOT(editServer())); |