[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/applets/tasks
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2009-07-08 19:04:18
Message-ID: 1247079858.827185.11702.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 993483 by aseigo:
no direct use of color scheme, so don't bother making it
M +0 -14 tasks.cpp
M +0 -2 tasks.h
--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/tasks.cpp #993482:993483
@@ -46,7 +46,6 @@
Tasks::Tasks(QObject* parent, const QVariantList &arguments)
: Plasma::Applet(parent, arguments),
m_taskItemBackground(0),
- m_colorScheme(0),
m_leftMargin(0),
m_topMargin(0),
m_rightMargin(0),
@@ -67,7 +66,6 @@
Tasks::~Tasks()
{
- delete m_colorScheme;
delete m_rootGroupItem;
delete m_groupManager;
}
@@ -149,8 +147,6 @@
return m_groupModifierKey;
}
-
-
void Tasks::constraintsEvent(Plasma::Constraints constraints)
{
//kDebug();
@@ -212,16 +208,6 @@
m_taskItemBackground->setElementPrefix(oldPrefix);
}
-KColorScheme *Tasks::colorScheme()
-{
- if (!m_colorScheme) {
- m_colorScheme = new KColorScheme(QPalette::Active, KColorScheme::View, \
Plasma::Theme::defaultTheme()->colorScheme());
- }
-
- return m_colorScheme;
-}
-
-
QSizeF Tasks::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
{
if (m_rootGroupItem && which == Qt::PreferredSize) {
--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/tasks.h #993482:993483
@@ -85,7 +85,6 @@
void constraintsEvent(Plasma::Constraints constraints);
Plasma::FrameSvg *itemBackground();
- KColorScheme *colorScheme();
qreal itemLeftMargin() { return m_leftMargin; }
qreal itemRightMargin() { return m_rightMargin; }
@@ -141,7 +140,6 @@
QTimer m_screenTimer;
Plasma::FrameSvg *m_taskItemBackground;
- KColorScheme *m_colorScheme;
qreal m_leftMargin;
qreal m_topMargin;
qreal m_rightMargin;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic