[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/generic/applets/battery
From:       Nicolas Lécureuil <neoclust.kde () free ! fr>
Date:       2011-01-06 23:58:18
Message-ID: 20110106235818.A754EAC8B0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212433 by nlecureuil:

Add toolTipHidden in the battery applet

 M  +5 -0      battery.cpp  
 M  +1 -0      battery.h  


--- trunk/KDE/kdebase/workspace/plasma/generic/applets/battery/battery.cpp #1212432:1212433
@@ -221,6 +221,11 @@
     Plasma::ToolTipManager::self()->setContent(this, c);
 }
 
+void Battery::toolTipHidden()
+{
+  Plasma::ToolTipManager::self()->clearContent(this);
+}
+
 void Battery::updateBattery()
 {
     update();
--- trunk/KDE/kdebase/workspace/plasma/generic/applets/battery/battery.h #1212432:1212433
@@ -73,6 +73,7 @@
         void dataUpdated(const QString &name, const Plasma::DataEngine::Data &data);
         void configChanged();
         void toolTipAboutToShow();
+        void toolTipHidden();
 
     protected Q_SLOTS:
         virtual void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic