summaryrefslogtreecommitdiff
path: root/core/launcher/taskbar.cpp
authorsandman <sandman>2002-09-30 22:48:46 (UTC)
committer sandman <sandman>2002-09-30 22:48:46 (UTC)
commit6fdaab436d4fa72b3de06a1a9cf9be0bd964677a (patch) (unidiff)
tree7e7fb0fdbc5d4c4e2b2da9be790a764b8f45e0a5 /core/launcher/taskbar.cpp
parent21cacdafcef980a5ef712de6432750128a61ccdb (diff)
downloadopie-6fdaab436d4fa72b3de06a1a9cf9be0bd964677a.zip
opie-6fdaab436d4fa72b3de06a1a9cf9be0bd964677a.tar.gz
opie-6fdaab436d4fa72b3de06a1a9cf9be0bd964677a.tar.bz2
Changes to use the new ODevice API
Diffstat (limited to 'core/launcher/taskbar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/taskbar.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/core/launcher/taskbar.cpp b/core/launcher/taskbar.cpp
index 1feae4a..46bcdb3 100644
--- a/core/launcher/taskbar.cpp
+++ b/core/launcher/taskbar.cpp
@@ -53,2 +53,4 @@
53 53
54using namespace Opie;
55
54#define FACTORY(T) \ 56#define FACTORY(T) \
@@ -283,3 +285,9 @@ void TaskBar::receive( const QCString &msg, const QByteArray &data )
283 285
284 ODevice::inst ( )-> setLed ( led, status ? OLED_BlinkSlow : OLED_Off ); 286 QValueList <OLed> ll = ODevice::inst ( )-> ledList ( );
287 if ( ll. count ( )){
288 OLed l = ll. contains ( Led_Mail ) ? Led_Mail : ll [0];
289 bool canblink = ODevice::inst ( )-> ledStateList ( l ). contains ( Led_BlinkSlow );
290
291 ODevice::inst ( )-> setLedState ( l, status ? ( canblink ? Led_BlinkSlow : Led_On ) : Led_Off );
292 }
285 } 293 }