Diffstat (limited to 'noncore/net/opieirc/ircserverlist.cpp') (more/less context) (ignore 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 @@ -4,2 +4,3 @@ #include <qpushbutton.h> +#include <qwhatsthis.h> #include "ircserverlist.h" @@ -25,3 +26,3 @@ protected: -IRCServerList::IRCServerList(QWidget* parent, const char *name, bool modal, WFlags f) : QDialog(parent, name, modal, f) { +IRCServerList::IRCServerList(QWidget* parent, const char *name, bool modal, WFlags) : QDialog(parent, name, modal, WStyle_ContextHelp) { QVBoxLayout *layout = new QVBoxLayout(this, 5, 5); @@ -32,2 +33,3 @@ IRCServerList::IRCServerList(QWidget* parent, const char *name, bool modal, WFla m_list = new QListBox(this); + QWhatsThis::add(m_list, tr("Select a server profile from this list and then tap on OK in the upper-right corner")); layout->addWidget(m_list); @@ -37,2 +39,5 @@ IRCServerList::IRCServerList(QWidget* parent, const char *name, bool modal, WFla QPushButton *add = new QPushButton(tr("Add"), buttons); + QWhatsThis::add(del, tr("Delete the currently selected server profile")); + QWhatsThis::add(edit, tr("Edit the currently selected server profile")); + QWhatsThis::add(add, tr("Add a new server profile")); connect(del, SIGNAL(clicked()), this, SLOT(delServer())); |