summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc
authorwazlaf <wazlaf>2002-10-16 21:04:15 (UTC)
committer wazlaf <wazlaf>2002-10-16 21:04:15 (UTC)
commit6ce0b792c67bf14db705c459a2690390aae70846 (patch) (unidiff)
tree3244d85cd7e57638bd11452ec7ed7bf51e633b89 /noncore/net/opieirc
parent8834d3ee866fe9f0c093bf50fa78b4e0f5d2018c (diff)
downloadopie-6ce0b792c67bf14db705c459a2690390aae70846.zip
opie-6ce0b792c67bf14db705c459a2690390aae70846.tar.gz
opie-6ce0b792c67bf14db705c459a2690390aae70846.tar.bz2
qwhatsthis are now complete
Diffstat (limited to 'noncore/net/opieirc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircchanneltab.cpp4
-rw-r--r--noncore/net/opieirc/ircquerytab.cpp3
-rw-r--r--noncore/net/opieirc/ircservertab.cpp3
-rw-r--r--noncore/net/opieirc/irctab.cpp3
-rw-r--r--noncore/net/opieirc/opie-irc.control2
5 files changed, 13 insertions, 2 deletions
diff --git a/noncore/net/opieirc/ircchanneltab.cpp b/noncore/net/opieirc/ircchanneltab.cpp
index f19e019..c1964c8 100644
--- a/noncore/net/opieirc/ircchanneltab.cpp
+++ b/noncore/net/opieirc/ircchanneltab.cpp
@@ -1,7 +1,7 @@
1#include <qpe/qpeapplication.h> 1#include <qpe/qpeapplication.h>
2#include <qpe/resource.h> 2#include <qpe/resource.h>
3#include <qcursor.h> 3#include <qcursor.h>
4#include <stdio.h> 4#include <qwhatsthis.h>
5#include <qhbox.h> 5#include <qhbox.h>
6#include "ircchanneltab.h" 6#include "ircchanneltab.h"
7#include "ircservertab.h" 7#include "ircservertab.h"
@@ -19,11 +19,13 @@ IRCChannelTab::IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainW
19 m_listButton = new QPushButton(">", m_textview); 19 m_listButton = new QPushButton(">", m_textview);
20 m_textview->setCornerWidget(m_listButton); 20 m_textview->setCornerWidget(m_listButton);
21 m_textview->setTextFormat(RichText); 21 m_textview->setTextFormat(RichText);
22 QWhatsThis::add(m_textview, tr("Channel discussion"));
22 connect(m_listButton, SIGNAL(clicked()), this, SLOT(toggleList())); 23 connect(m_listButton, SIGNAL(clicked()), this, SLOT(toggleList()));
23 m_list = new IRCChannelList(m_channel, hbox); 24 m_list = new IRCChannelList(m_channel, hbox);
24 m_list->update(); 25 m_list->update();
25 m_list->setMaximumWidth(LISTWIDTH); 26 m_list->setMaximumWidth(LISTWIDTH);
26 m_field = new IRCHistoryLineEdit(this); 27 m_field = new IRCHistoryLineEdit(this);
28 QWhatsThis::add(m_field, tr("Type your message here to participate in the channel discussion"));
27 m_popup = new QPopupMenu(m_list); 29 m_popup = new QPopupMenu(m_list);
28 m_lines = 0; 30 m_lines = 0;
29 /* Required so that embedded-style "right" clicks work */ 31 /* Required so that embedded-style "right" clicks work */
diff --git a/noncore/net/opieirc/ircquerytab.cpp b/noncore/net/opieirc/ircquerytab.cpp
index 869e4f7..21a53dc 100644
--- a/noncore/net/opieirc/ircquerytab.cpp
+++ b/noncore/net/opieirc/ircquerytab.cpp
@@ -1,4 +1,5 @@
1#include <qhbox.h> 1#include <qhbox.h>
2#include <qwhatsthis.h>
2#include "ircquerytab.h" 3#include "ircquerytab.h"
3#include "ircservertab.h" 4#include "ircservertab.h"
4 5
@@ -13,7 +14,9 @@ IRCQueryTab::IRCQueryTab(IRCPerson *person, IRCServerTab *parentTab, MainWindow
13 m_textview->setHScrollBarMode(QScrollView::AlwaysOff); 14 m_textview->setHScrollBarMode(QScrollView::AlwaysOff);
14 m_textview->setVScrollBarMode(QScrollView::AlwaysOn); 15 m_textview->setVScrollBarMode(QScrollView::AlwaysOn);
15 m_textview->setTextFormat(RichText); 16 m_textview->setTextFormat(RichText);
17 QWhatsThis::add(m_textview, tr("Private discussion"));
16 m_field = new IRCHistoryLineEdit(this); 18 m_field = new IRCHistoryLineEdit(this);
19 QWhatsThis::add(m_field, tr("Type your text here in order to send a message to the other person"));
17 m_layout->add(hbox); 20 m_layout->add(hbox);
18 hbox->show(); 21 hbox->show();
19 m_layout->add(m_field); 22 m_layout->add(m_field);
diff --git a/noncore/net/opieirc/ircservertab.cpp b/noncore/net/opieirc/ircservertab.cpp
index 5d1e290..a46f105 100644
--- a/noncore/net/opieirc/ircservertab.cpp
+++ b/noncore/net/opieirc/ircservertab.cpp
@@ -1,5 +1,6 @@
1#include <qpe/config.h> 1#include <qpe/config.h>
2#include <qtextstream.h> 2#include <qtextstream.h>
3#include <qwhatsthis.h>
3#include "ircservertab.h" 4#include "ircservertab.h"
4 5
5IRCServerTab::IRCServerTab(IRCServer server, MainWindow *mainWindow, QWidget *parent, const char *name, WFlags f) : IRCTab(parent, name, f) { 6IRCServerTab::IRCServerTab(IRCServer server, MainWindow *mainWindow, QWidget *parent, const char *name, WFlags f) : IRCTab(parent, name, f) {
@@ -13,8 +14,10 @@ IRCServerTab::IRCServerTab(IRCServer server, MainWindow *mainWindow, QWidget *pa
13 m_textview->setHScrollBarMode(QScrollView::AlwaysOff); 14 m_textview->setHScrollBarMode(QScrollView::AlwaysOff);
14 m_textview->setVScrollBarMode(QScrollView::AlwaysOn); 15 m_textview->setVScrollBarMode(QScrollView::AlwaysOn);
15 m_textview->setTextFormat(RichText); 16 m_textview->setTextFormat(RichText);
17 QWhatsThis::add(m_textview, tr("Server messages"));
16 m_layout->add(m_textview); 18 m_layout->add(m_textview);
17 m_field = new IRCHistoryLineEdit(this); 19 m_field = new IRCHistoryLineEdit(this);
20 QWhatsThis::add(m_textview, tr("Type commands here. A list of available commands can be found inside the OpieIRC help"));
18 m_layout->add(m_field); 21 m_layout->add(m_field);
19 connect(m_field, SIGNAL(returnPressed()), this, SLOT(processCommand())); 22 connect(m_field, SIGNAL(returnPressed()), this, SLOT(processCommand()));
20 m_field->setFocus(); 23 m_field->setFocus();
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 @@
1#include <qpe/resource.h> 1#include <qpe/resource.h>
2#include <qpixmap.h> 2#include <qpixmap.h>
3#include <qpushbutton.h> 3#include <qpushbutton.h>
4#include <qwhatsthis.h>
4#include "irctab.h" 5#include "irctab.h"
5 6
6QString IRCTab::m_errorColor; 7QString IRCTab::m_errorColor;
@@ -17,9 +18,11 @@ IRCTab::IRCTab(QWidget *parent, const char *name, WFlags f) : QWidget(parent, na
17 QHBoxLayout *descLayout = new QHBoxLayout(m_layout); 18 QHBoxLayout *descLayout = new QHBoxLayout(m_layout);
18 descLayout->setMargin(5); 19 descLayout->setMargin(5);
19 m_description = new QLabel(tr("Missing description"), this); 20 m_description = new QLabel(tr("Missing description"), this);
21 QWhatsThis::add(m_description, tr("Description of the tab's content"));
20 descLayout->addWidget(m_description); 22 descLayout->addWidget(m_description);
21 descLayout->setStretchFactor(m_description, 5); 23 descLayout->setStretchFactor(m_description, 5);
22 QPushButton *close = new QPushButton(this); 24 QPushButton *close = new QPushButton(this);
25 QWhatsThis::add(close, tr("Close this tab"));
23 close->setPixmap(Resource::loadPixmap("close")); 26 close->setPixmap(Resource::loadPixmap("close"));
24 connect(close, SIGNAL(clicked()), this, SLOT(remove())); 27 connect(close, SIGNAL(clicked()), this, SLOT(remove()));
25 descLayout->addWidget(close); 28 descLayout->addWidget(close);
diff --git a/noncore/net/opieirc/opie-irc.control b/noncore/net/opieirc/opie-irc.control
index aada957..0bcdecd 100644
--- a/noncore/net/opieirc/opie-irc.control
+++ b/noncore/net/opieirc/opie-irc.control
@@ -1,4 +1,4 @@
1Files: bin/opieirc pics/opieirc apps/Applications/opieirc.desktop 1Files: bin/opieirc pics/opieirc apps/Applications/opieirc.desktop help/en/html/opieirc.html help/en/html/opieirc
2Priority: optional 2Priority: optional
3Section: Communications 3Section: Communications
4Maintainer: Wenzel Jakob <root@wazlaf.de> 4Maintainer: Wenzel Jakob <root@wazlaf.de>