summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircmisc.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/ircmisc.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircmisc.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/noncore/net/opieirc/ircmisc.cpp b/noncore/net/opieirc/ircmisc.cpp
index f94cf1b..a15a790 100644
--- a/noncore/net/opieirc/ircmisc.cpp
+++ b/noncore/net/opieirc/ircmisc.cpp
@@ -1,36 +1,7 @@
-#include <opie/colordialog.h>
#include <qlayout.h>
#include <stdio.h>
#include "ircmisc.h"
-IRCColorLabel::IRCColorLabel(QColor color, QWidget *parent, const char *name, WFlags f) : QLabel(parent, name, f) {
- m_color = color;
- setAlignment(AlignVCenter | AlignCenter);
- setFrameStyle(QFrame::StyledPanel);
- setFrameShadow(QFrame::Sunken);
- setBackgroundColor(m_color);
-}
-
-void IRCColorLabel::mousePressEvent(QMouseEvent *) {
- m_color = OColorDialog::getColor(m_color);
- setBackgroundColor(m_color);
-}
-
-QColor IRCColorLabel::color() {
- return m_color;
-}
-
-IRCFramedColorLabel::IRCFramedColorLabel(QColor color, QWidget *parent, const char *name, WFlags f) : QWidget(parent, name, f) {
- QVBoxLayout *layout = new QVBoxLayout(this, 10, 0);
- m_label = new IRCColorLabel(color, this);
- layout->addWidget(m_label);
-}
-
-QColor IRCFramedColorLabel::color() {
- return m_label->color();
-}
-
-
IRCTabBar::IRCTabBar(QWidget *parent, const char *name) : QTabBar(parent, name) {
}