[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/plasmaboard
From: Björn Ruberg <bjoern () ruberg-wegener ! de>
Date: 2009-04-05 21:09:52
Message-ID: 1238965792.924096.27109.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 949755 by ruberg:
Got rid of Plasma::Extender.
M +6 -5 PanelIcon.cpp
M +2 -2 PanelIcon.h
--- trunk/playground/base/plasma/applets/plasmaboard/PanelIcon.cpp #949754:949755
@@ -31,28 +31,29 @@
void PanelIcon::init(){
setPassivePopup(true);
- Plasma::ExtenderItem *eItem = new Plasma::ExtenderItem(extender());
+ /*Plasma::ExtenderItem *eItem = new Plasma::ExtenderItem(extender());
extender()->setSizePolicy(QSizePolicy::MinimumExpanding, \
QSizePolicy::MinimumExpanding);
initBatteryExtender(eItem);
QObject::connect(extender(), SIGNAL( itemAttached(Plasma::ExtenderItem *) ), this, \
SLOT( initBatteryExtender(Plasma::ExtenderItem *) ) ); + */
}
-/*QGraphicsWidget *PanelIcon::graphicsWidget()
+QGraphicsWidget *PanelIcon::graphicsWidget()
{
if (!m_plasmaboard) {
m_plasmaboard = new PlasmaboardWidget(this);
}
return m_plasmaboard;
-}*/
+}
-void PanelIcon::initBatteryExtender(Plasma::ExtenderItem *item){
+/*void PanelIcon::initBatteryExtender(Plasma::ExtenderItem *item){
if (!m_plasmaboard) {
m_plasmaboard = new PlasmaboardWidget(item);
item->setWidget(m_plasmaboard);
item->setTitle(i18n("Virtual Keyboard"));
}
-}
+}*/
PanelIcon::~PanelIcon() {
--- trunk/playground/base/plasma/applets/plasmaboard/PanelIcon.h #949754:949755
@@ -33,10 +33,10 @@
PanelIcon(QObject *parent, const QVariantList &args);
virtual ~PanelIcon();
void init();
- //QGraphicsWidget *graphicsWidget();
+ QGraphicsWidget *graphicsWidget();
public Q_SLOTS:
- void initBatteryExtender(Plasma::ExtenderItem *item);
+ //void initBatteryExtender(Plasma::ExtenderItem *item);
private:
QGraphicsWidget *m_plasmaboard;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic