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 @@ #include <qhbox.h> #include <qpushbutton.h> +#include <qwhatsthis.h> #include "ircserverlist.h" #include "ircservereditor.h" @@ -24,5 +25,5 @@ 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); setCaption(tr("Serverlist Browser")); @@ -31,4 +32,5 @@ IRCServerList::IRCServerList(QWidget* parent, const char *name, bool modal, WFla layout->addWidget(label); 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); QHBox *buttons = new QHBox(this); @@ -36,4 +38,7 @@ IRCServerList::IRCServerList(QWidget* parent, const char *name, bool modal, WFla QPushButton *edit = new QPushButton(tr("Edit"), buttons); 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())); connect(edit, SIGNAL(clicked()), this, SLOT(editServer())); |