summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/mainwindow.cpp
authorwazlaf <wazlaf>2002-10-15 10:11:31 (UTC)
committer wazlaf <wazlaf>2002-10-15 10:11:31 (UTC)
commite09b7ab685d29eba947c3bb021192408acae70be (patch) (side-by-side diff)
tree5adf52c8d56819aab0daed8e7da189110276e90a /noncore/net/opieirc/mainwindow.cpp
parent31a73cafb40fffe2bbc12bb6fd0df6dc254d6646 (diff)
downloadopie-e09b7ab685d29eba947c3bb021192408acae70be.zip
opie-e09b7ab685d29eba947c3bb021192408acae70be.tar.gz
opie-e09b7ab685d29eba947c3bb021192408acae70be.tar.bz2
some qwhatsthis introduced, the IRCHistoryLineEdit now catches tabs
Diffstat (limited to 'noncore/net/opieirc/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/mainwindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/net/opieirc/mainwindow.cpp b/noncore/net/opieirc/mainwindow.cpp
index bb03a1c..7928310 100644
--- a/noncore/net/opieirc/mainwindow.cpp
+++ b/noncore/net/opieirc/mainwindow.cpp
@@ -2,15 +2,17 @@
#include <qpe/resource.h>
#include <qpe/config.h>
#include <qpopupmenu.h>
+#include <qwhatsthis.h>
#include "mainwindow.h"
#include "ircservertab.h"
#include "ircserverlist.h"
#include "ircsettings.h"
-MainWindow::MainWindow(QWidget *parent, const char *name, WFlags f) : QMainWindow(parent, name, f) {
+MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) {
setCaption(tr("IRC Client"));
m_tabWidget = new IRCTabWidget(this);
+ QWhatsThis::add(m_tabWidget, tr("Server connections, channels, queries and other things will be placed here"));
connect(m_tabWidget, SIGNAL(currentChanged(QWidget *)), this, SLOT(selected(QWidget *)));
setCentralWidget(m_tabWidget);
setToolBarsMovable(FALSE);
@@ -19,8 +21,10 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags f) : QMainWindo
menuBar->insertItem(tr("IRC"), irc);
QAction *a = new QAction(tr("New connection"), Resource::loadPixmap("pass"), QString::null, 0, this, 0);
connect(a, SIGNAL(activated()), this, SLOT(newConnection()));
+ a->setWhatsThis(tr("Create a new connection to an IRC server"));
a->addTo(irc);
a = new QAction(tr("Settings"), Resource::loadPixmap("SettingsIcon"), QString::null, 0, this, 0);
+ a->setWhatsThis(tr("Configure OpieIRC's behavior and appearance"));
connect(a, SIGNAL(activated()), this, SLOT(settings()));
a->addTo(irc);
loadSettings();