summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-12-08 23:25:46 (UTC)
committer harlekin <harlekin>2003-12-08 23:25:46 (UTC)
commite372949ac776a7d986cac91b2ff1a5022040d43b (patch) (unidiff)
tree4c37d554d55501e1be587828651d90722a18f681
parent92d67d6f0e34cdee111c94d2b0304768dfdea2f9 (diff)
downloadopie-e372949ac776a7d986cac91b2ff1a5022040d43b.zip
opie-e372949ac776a7d986cac91b2ff1a5022040d43b.tar.gz
opie-e372949ac776a7d986cac91b2ff1a5022040d43b.tar.bz2
remove not used includes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircchannellist.cpp1
-rw-r--r--noncore/net/opieirc/ircchanneltab.cpp2
-rw-r--r--noncore/net/opieirc/ircmisc.cpp1
-rw-r--r--noncore/net/opieirc/ircservertab.cpp1
-rw-r--r--noncore/net/opieirc/ircsettings.cpp3
-rw-r--r--noncore/net/opieirc/irctab.cpp1
-rw-r--r--noncore/net/opieirc/main.cpp1
-rw-r--r--noncore/net/opieirc/mainwindow.cpp2
8 files changed, 0 insertions, 12 deletions
diff --git a/noncore/net/opieirc/ircchannellist.cpp b/noncore/net/opieirc/ircchannellist.cpp
index 566b223..4e13dee 100644
--- a/noncore/net/opieirc/ircchannellist.cpp
+++ b/noncore/net/opieirc/ircchannellist.cpp
@@ -1,14 +1,13 @@
1#include <qpe/resource.h> 1#include <qpe/resource.h>
2#include <qpixmap.h>
3#include "ircchannellist.h" 2#include "ircchannellist.h"
4 3
5IRCChannelList::IRCChannelList(IRCChannel *channel, QWidget *parent, const char *name, WFlags f) : QListBox(parent, name, f) { 4IRCChannelList::IRCChannelList(IRCChannel *channel, QWidget *parent, const char *name, WFlags f) : QListBox(parent, name, f) {
6 m_channel = channel; 5 m_channel = channel;
7} 6}
8 7
9void IRCChannelList::update() { 8void IRCChannelList::update() {
10 QPixmap op = Resource::loadPixmap("opieirc/op"); 9 QPixmap op = Resource::loadPixmap("opieirc/op");
11 QPixmap hop = Resource::loadPixmap("opieirc/hop"); 10 QPixmap hop = Resource::loadPixmap("opieirc/hop");
12 QPixmap voice = Resource::loadPixmap("opieirc/voice"); 11 QPixmap voice = Resource::loadPixmap("opieirc/voice");
13 QListIterator<IRCChannelPerson> it = m_channel->people(); 12 QListIterator<IRCChannelPerson> it = m_channel->people();
14 clear(); 13 clear();
diff --git a/noncore/net/opieirc/ircchanneltab.cpp b/noncore/net/opieirc/ircchanneltab.cpp
index 2b8b65e..b0771f6 100644
--- a/noncore/net/opieirc/ircchanneltab.cpp
+++ b/noncore/net/opieirc/ircchanneltab.cpp
@@ -1,15 +1,13 @@
1#include <qpe/qpeapplication.h>
2#include <qpe/resource.h> 1#include <qpe/resource.h>
3#include <qcursor.h>
4#include <qwhatsthis.h> 2#include <qwhatsthis.h>
5#include <qhbox.h> 3#include <qhbox.h>
6#include "ircchanneltab.h" 4#include "ircchanneltab.h"
7#include "ircservertab.h" 5#include "ircservertab.h"
8 6
9IRCChannelTab::IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent, const char *name, WFlags f) : IRCTab(parent, name, f) { 7IRCChannelTab::IRCChannelTab(IRCChannel *channel, IRCServerTab *parentTab, MainWindow *mainWindow, QWidget *parent, const char *name, WFlags f) : IRCTab(parent, name, f) {
10 m_mainWindow = mainWindow; 8 m_mainWindow = mainWindow;
11 m_parentTab = parentTab; 9 m_parentTab = parentTab;
12 m_channel = channel; 10 m_channel = channel;
13 m_description->setText(tr("Talking on channel") + " <b>" + channel->channelname() + "</b>"); 11 m_description->setText(tr("Talking on channel") + " <b>" + channel->channelname() + "</b>");
14 QHBox *hbox = new QHBox(this); 12 QHBox *hbox = new QHBox(this);
15 m_textview = new QTextView(hbox); 13 m_textview = new QTextView(hbox);
diff --git a/noncore/net/opieirc/ircmisc.cpp b/noncore/net/opieirc/ircmisc.cpp
index a15a790..22387b3 100644
--- a/noncore/net/opieirc/ircmisc.cpp
+++ b/noncore/net/opieirc/ircmisc.cpp
@@ -1,13 +1,12 @@
1#include <qlayout.h>
2#include <stdio.h> 1#include <stdio.h>
3#include "ircmisc.h" 2#include "ircmisc.h"
4 3
5IRCTabBar::IRCTabBar(QWidget *parent, const char *name) : QTabBar(parent, name) { 4IRCTabBar::IRCTabBar(QWidget *parent, const char *name) : QTabBar(parent, name) {
6} 5}
7 6
8int IRCTabBar::insertTab(QTab *tab, int index) { 7int IRCTabBar::insertTab(QTab *tab, int index) {
9 /* FIXME: find some nicer way to do this */ 8 /* FIXME: find some nicer way to do this */
10 QExtTab *ext = new QExtTab(); 9 QExtTab *ext = new QExtTab();
11 ext->color = black; 10 ext->color = black;
12 ext->label = tab->text(); 11 ext->label = tab->text();
13 ext->r = tab->rect(); 12 ext->r = tab->rect();
diff --git a/noncore/net/opieirc/ircservertab.cpp b/noncore/net/opieirc/ircservertab.cpp
index 2c28507..d1aab40 100644
--- a/noncore/net/opieirc/ircservertab.cpp
+++ b/noncore/net/opieirc/ircservertab.cpp
@@ -1,13 +1,12 @@
1#include <qpe/config.h>
2#include <qtextstream.h> 1#include <qtextstream.h>
3#include <qwhatsthis.h> 2#include <qwhatsthis.h>
4#include "ircservertab.h" 3#include "ircservertab.h"
5 4
6IRCServerTab::IRCServerTab(IRCServer server, MainWindow *mainWindow, QWidget *parent, const char *name, WFlags f) : IRCTab(parent, name, f) { 5IRCServerTab::IRCServerTab(IRCServer server, MainWindow *mainWindow, QWidget *parent, const char *name, WFlags f) : IRCTab(parent, name, f) {
7 m_server = server; 6 m_server = server;
8 m_session = new IRCSession(&m_server); 7 m_session = new IRCSession(&m_server);
9 m_mainWindow = mainWindow; 8 m_mainWindow = mainWindow;
10 m_close = FALSE; 9 m_close = FALSE;
11 m_lines = 0; 10 m_lines = 0;
12 m_description->setText(tr("Connection to")+" <b>" + server.hostname() + ":" + QString::number(server.port()) + "</b>"); 11 m_description->setText(tr("Connection to")+" <b>" + server.hostname() + ":" + QString::number(server.port()) + "</b>");
13 m_textview = new QTextView(this); 12 m_textview = new QTextView(this);
diff --git a/noncore/net/opieirc/ircsettings.cpp b/noncore/net/opieirc/ircsettings.cpp
index 70d5445..2862296 100644
--- a/noncore/net/opieirc/ircsettings.cpp
+++ b/noncore/net/opieirc/ircsettings.cpp
@@ -1,21 +1,18 @@
1#include <opie/ocolorbutton.h> 1#include <opie/ocolorbutton.h>
2#include <opie/otabwidget.h> 2#include <opie/otabwidget.h>
3#include <qlayout.h>
4#include <qvalidator.h> 3#include <qvalidator.h>
5#include <qscrollview.h>
6#include <qwhatsthis.h> 4#include <qwhatsthis.h>
7#include "ircsettings.h" 5#include "ircsettings.h"
8#include "irctab.h" 6#include "irctab.h"
9#include "ircmisc.h"
10 7
11IRCSettings::IRCSettings(QWidget* parent, const char* name, bool modal, WFlags) : QDialog(parent, name, modal, WStyle_ContextHelp) { 8IRCSettings::IRCSettings(QWidget* parent, const char* name, bool modal, WFlags) : QDialog(parent, name, modal, WStyle_ContextHelp) {
12 setCaption(tr("Settings") ); 9 setCaption(tr("Settings") );
13 m_config = new Config("OpieIRC"); 10 m_config = new Config("OpieIRC");
14 m_config->setGroup("OpieIRC"); 11 m_config->setGroup("OpieIRC");
15 QHBoxLayout *l = new QHBoxLayout(this, 2, 2); 12 QHBoxLayout *l = new QHBoxLayout(this, 2, 2);
16 OTabWidget *tw = new OTabWidget(this); 13 OTabWidget *tw = new OTabWidget(this);
17 l->addWidget(tw); 14 l->addWidget(tw);
18 /* General Configuration */ 15 /* General Configuration */
19 QWidget *genwidget = new QWidget(tw); 16 QWidget *genwidget = new QWidget(tw);
20 QGridLayout *layout = new QGridLayout(genwidget, 1, 2, 5, 0); 17 QGridLayout *layout = new QGridLayout(genwidget, 1, 2, 5, 0);
21 QLabel *label = new QLabel(tr("Lines displayed :"), genwidget); 18 QLabel *label = new QLabel(tr("Lines displayed :"), genwidget);
diff --git a/noncore/net/opieirc/irctab.cpp b/noncore/net/opieirc/irctab.cpp
index 8a869d6..3351c3b 100644
--- a/noncore/net/opieirc/irctab.cpp
+++ b/noncore/net/opieirc/irctab.cpp
@@ -1,14 +1,13 @@
1#include <qpe/resource.h> 1#include <qpe/resource.h>
2#include <qpixmap.h>
3#include <qpushbutton.h> 2#include <qpushbutton.h>
4#include <qwhatsthis.h> 3#include <qwhatsthis.h>
5#include "irctab.h" 4#include "irctab.h"
6 5
7QString IRCTab::m_errorColor; 6QString IRCTab::m_errorColor;
8QString IRCTab::m_serverColor; 7QString IRCTab::m_serverColor;
9QString IRCTab::m_textColor; 8QString IRCTab::m_textColor;
10QString IRCTab::m_backgroundColor; 9QString IRCTab::m_backgroundColor;
11QString IRCTab::m_selfColor; 10QString IRCTab::m_selfColor;
12QString IRCTab::m_otherColor; 11QString IRCTab::m_otherColor;
13QString IRCTab::m_notificationColor; 12QString IRCTab::m_notificationColor;
14int IRCTab::m_maxLines; 13int IRCTab::m_maxLines;
diff --git a/noncore/net/opieirc/main.cpp b/noncore/net/opieirc/main.cpp
index 39acfcc..da38024 100644
--- a/noncore/net/opieirc/main.cpp
+++ b/noncore/net/opieirc/main.cpp
@@ -1,7 +1,6 @@
1#include <qpe/qpeapplication.h>
2#include "mainwindow.h" 1#include "mainwindow.h"
3 2
4#include <opie/oapplicationfactory.h> 3#include <opie/oapplicationfactory.h>
5 4
6 5
7OPIE_EXPORT_APP( OApplicationFactory<MainWindow> ) 6OPIE_EXPORT_APP( OApplicationFactory<MainWindow> )
diff --git a/noncore/net/opieirc/mainwindow.cpp b/noncore/net/opieirc/mainwindow.cpp
index be6f8ed..7414154 100644
--- a/noncore/net/opieirc/mainwindow.cpp
+++ b/noncore/net/opieirc/mainwindow.cpp
@@ -1,16 +1,14 @@
1#include <qmenubar.h> 1#include <qmenubar.h>
2#include <qpe/resource.h> 2#include <qpe/resource.h>
3#include <qpe/config.h>
4#include <qpopupmenu.h>
5#include <qwhatsthis.h> 3#include <qwhatsthis.h>
6 4
7#include "mainwindow.h" 5#include "mainwindow.h"
8#include "ircservertab.h" 6#include "ircservertab.h"
9#include "ircserverlist.h" 7#include "ircserverlist.h"
10#include "ircsettings.h" 8#include "ircsettings.h"
11 9
12MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) { 10MainWindow::MainWindow(QWidget *parent, const char *name, WFlags) : QMainWindow(parent, name, WStyle_ContextHelp) {
13 setCaption(tr("IRC Client")); 11 setCaption(tr("IRC Client"));
14 m_tabWidget = new IRCTabWidget(this); 12 m_tabWidget = new IRCTabWidget(this);
15 QWhatsThis::add(m_tabWidget, tr("Server connections, channels, queries and other things will be placed here")); 13 QWhatsThis::add(m_tabWidget, tr("Server connections, channels, queries and other things will be placed here"));
16 connect(m_tabWidget, SIGNAL(currentChanged(QWidget *)), this, SLOT(selected(QWidget *))); 14 connect(m_tabWidget, SIGNAL(currentChanged(QWidget *)), this, SLOT(selected(QWidget *)));