author | zecke <zecke> | 2002-11-03 11:12:33 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-11-03 11:12:33 (UTC) |
commit | 5ec23891e1c5b7bc571d86326b511d1a48b14c45 (patch) (unidiff) | |
tree | 888f069753c2bffa681dfbb903a316b0d9db9a49 /noncore/net | |
parent | 2afc9d92749fbd5c2b94475c3eb4607d3b9b0105 (diff) | |
download | opie-5ec23891e1c5b7bc571d86326b511d1a48b14c45.zip opie-5ec23891e1c5b7bc571d86326b511d1a48b14c45.tar.gz opie-5ec23891e1c5b7bc571d86326b511d1a48b14c45.tar.bz2 |
Remove default arguments from the implementation
jowenn
-rw-r--r-- | noncore/net/opieirc/ircmisc.cpp | 2 | ||||
-rw-r--r-- | noncore/net/opieirc/ircservereditor.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/opieirc/ircmisc.cpp b/noncore/net/opieirc/ircmisc.cpp index c8e6190..f94cf1b 100644 --- a/noncore/net/opieirc/ircmisc.cpp +++ b/noncore/net/opieirc/ircmisc.cpp | |||
@@ -25,25 +25,25 @@ IRCFramedColorLabel::IRCFramedColorLabel(QColor color, QWidget *parent, const ch | |||
25 | m_label = new IRCColorLabel(color, this); | 25 | m_label = new IRCColorLabel(color, this); |
26 | layout->addWidget(m_label); | 26 | layout->addWidget(m_label); |
27 | } | 27 | } |
28 | 28 | ||
29 | QColor IRCFramedColorLabel::color() { | 29 | QColor IRCFramedColorLabel::color() { |
30 | return m_label->color(); | 30 | return m_label->color(); |
31 | } | 31 | } |
32 | 32 | ||
33 | 33 | ||
34 | IRCTabBar::IRCTabBar(QWidget *parent, const char *name) : QTabBar(parent, name) { | 34 | IRCTabBar::IRCTabBar(QWidget *parent, const char *name) : QTabBar(parent, name) { |
35 | } | 35 | } |
36 | 36 | ||
37 | int IRCTabBar::insertTab(QTab *tab, int index = -1) { | 37 | int IRCTabBar::insertTab(QTab *tab, int index) { |
38 | /* FIXME: find some nicer way to do this */ | 38 | /* FIXME: find some nicer way to do this */ |
39 | QExtTab *ext = new QExtTab(); | 39 | QExtTab *ext = new QExtTab(); |
40 | ext->color = black; | 40 | ext->color = black; |
41 | ext->label = tab->text(); | 41 | ext->label = tab->text(); |
42 | ext->r = tab->rect(); | 42 | ext->r = tab->rect(); |
43 | ext->enabled = tab->isEnabled(); | 43 | ext->enabled = tab->isEnabled(); |
44 | ext->iconset = tab->iconSet(); | 44 | ext->iconset = tab->iconSet(); |
45 | delete tab; | 45 | delete tab; |
46 | return QTabBar::insertTab(ext, index); | 46 | return QTabBar::insertTab(ext, index); |
47 | } | 47 | } |
48 | 48 | ||
49 | void IRCTabBar::setTabColor(int index, QColor color) { | 49 | void IRCTabBar::setTabColor(int index, QColor color) { |
diff --git a/noncore/net/opieirc/ircservereditor.cpp b/noncore/net/opieirc/ircservereditor.cpp index 8604835..91384fd 100644 --- a/noncore/net/opieirc/ircservereditor.cpp +++ b/noncore/net/opieirc/ircservereditor.cpp | |||
@@ -1,19 +1,19 @@ | |||
1 | #include <qmessagebox.h> | 1 | #include <qmessagebox.h> |
2 | #include <qlayout.h> | 2 | #include <qlayout.h> |
3 | #include <qlabel.h> | 3 | #include <qlabel.h> |
4 | #include <qwhatsthis.h> | 4 | #include <qwhatsthis.h> |
5 | #include "ircservereditor.h" | 5 | #include "ircservereditor.h" |
6 | 6 | ||
7 | IRCServerEditor::IRCServerEditor(IRCServer server, QWidget* parent, const char* name, bool modal = FALSE, WFlags) : QDialog(parent, name, modal, WStyle_ContextHelp) { | 7 | IRCServerEditor::IRCServerEditor(IRCServer server, QWidget* parent, const char* name, bool modal, WFlags) : QDialog(parent, name, modal, WStyle_ContextHelp) { |
8 | QGridLayout *layout = new QGridLayout(this, 7, 2, 5, 5); | 8 | QGridLayout *layout = new QGridLayout(this, 7, 2, 5, 5); |
9 | QLabel *label = new QLabel(tr("Profile name :"), this); | 9 | QLabel *label = new QLabel(tr("Profile name :"), this); |
10 | m_name = new QLineEdit(server.name(), this); | 10 | m_name = new QLineEdit(server.name(), this); |
11 | QWhatsThis::add(m_name, tr("The name of this server profile in the overview")); | 11 | QWhatsThis::add(m_name, tr("The name of this server profile in the overview")); |
12 | layout->addWidget(label, 0, 0); | 12 | layout->addWidget(label, 0, 0); |
13 | layout->addWidget(m_name, 0, 1); | 13 | layout->addWidget(m_name, 0, 1); |
14 | label = new QLabel(tr("Hostname :"), this); | 14 | label = new QLabel(tr("Hostname :"), this); |
15 | m_hostname = new QLineEdit(server.hostname(), this); | 15 | m_hostname = new QLineEdit(server.hostname(), this); |
16 | QWhatsThis::add(m_hostname, tr("The server to connect to - can be any valid host name or IP address")); | 16 | QWhatsThis::add(m_hostname, tr("The server to connect to - can be any valid host name or IP address")); |
17 | layout->addWidget(label, 1, 0); | 17 | layout->addWidget(label, 1, 0); |
18 | layout->addWidget(m_hostname, 1, 1); | 18 | layout->addWidget(m_hostname, 1, 1); |
19 | label = new QLabel(tr("Port :"), this); | 19 | label = new QLabel(tr("Port :"), this); |