From 6ce0b792c67bf14db705c459a2690390aae70846 Mon Sep 17 00:00:00 2001 From: wazlaf Date: Wed, 16 Oct 2002 21:04:15 +0000 Subject: qwhatsthis are now complete --- (limited to 'noncore/net/opieirc/irctab.cpp') diff --git a/noncore/net/opieirc/irctab.cpp b/noncore/net/opieirc/irctab.cpp index 0bb9d4c..8a869d6 100644 --- a/noncore/net/opieirc/irctab.cpp +++ b/noncore/net/opieirc/irctab.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #include "irctab.h" QString IRCTab::m_errorColor; @@ -17,9 +18,11 @@ IRCTab::IRCTab(QWidget *parent, const char *name, WFlags f) : QWidget(parent, na QHBoxLayout *descLayout = new QHBoxLayout(m_layout); descLayout->setMargin(5); m_description = new QLabel(tr("Missing description"), this); + QWhatsThis::add(m_description, tr("Description of the tab's content")); descLayout->addWidget(m_description); descLayout->setStretchFactor(m_description, 5); QPushButton *close = new QPushButton(this); + QWhatsThis::add(close, tr("Close this tab")); close->setPixmap(Resource::loadPixmap("close")); connect(close, SIGNAL(clicked()), this, SLOT(remove())); descLayout->addWidget(close); -- cgit v0.9.0.2