[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/presence
From: Dariusz Mikulski <dariusz.mikulski () gmail ! com>
Date: 2009-01-12 22:36:53
Message-ID: 1231799813.214179.8660.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 910274 by mikulski:
setup color role for items
M +5 -4 presence.cpp
--- trunk/playground/base/plasma/applets/presence/presence.cpp #910273:910274
@@ -186,10 +186,11 @@
QStandardItem * presence_type = new QStandardItem;
QStandardItem * presence_state = new QStandardItem;
QStandardItem * message = new QStandardItem;
- // FIXME: Reimplement the lines below using new plasma API
- //online->setData(Plasma::Theme::self()->textColor(), Qt::ForegroundRole);
- //status->setData(Plasma::Theme::self()->textColor(), Qt::ForegroundRole);
- //message->setData(Plasma::Theme::self()->textColor(), Qt::ForegroundRole);
+
+ // \brief: setup color roles
+ presence_type->setData(Plasma::Theme::defaultTheme()->color(Plasma::Theme::BackgroundColor));
+ presence_state->setData(Plasma::Theme::defaultTheme()->color(Plasma::Theme::BackgroundColor));
+ message->setData(Plasma::Theme::defaultTheme()->color(Plasma::Theme::BackgroundColor));
// FIXME: TelepathyQt4
/*
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic