author | sandman <sandman> | 2002-06-18 12:49:05 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-18 12:49:05 (UTC) |
commit | c739f74f910b24884279d34836c1f78a97a7e7ae (patch) (side-by-side diff) | |
tree | 432c379c30469e2be9117b4895b345e4947e688a /core/launcher/taskbar.cpp | |
parent | 61e2f9e5eb634b17ef480d79bdbcbc3a715990cb (diff) | |
download | opie-c739f74f910b24884279d34836c1f78a97a7e7ae.zip opie-c739f74f910b24884279d34836c1f78a97a7e7ae.tar.gz opie-c739f74f910b24884279d34836c1f78a97a7e7ae.tar.bz2 |
Replaced OHwInfo with ODevice and ported from custom-*.h #defines to
ODevice methods
-rw-r--r-- | core/launcher/taskbar.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/launcher/taskbar.cpp b/core/launcher/taskbar.cpp index 5e95c99..e38b9fe 100644 --- a/core/launcher/taskbar.cpp +++ b/core/launcher/taskbar.cpp @@ -39,2 +39,4 @@ +#include <opie/odevice.h> + #include <qlabel.h> @@ -271,3 +273,2 @@ void TaskBar::receive( const QCString &msg, const QByteArray &data ) } -#ifdef CUSTOM_LEDS else if ( msg == "setLed(int,bool)" ) { @@ -275,5 +276,5 @@ void TaskBar::receive( const QCString &msg, const QByteArray &data ) stream >> led >> status; - CUSTOM_LEDS( led, status ); + + ODevice::inst ( )-> setLed ( led, status ? OLED_BlinkSlow : OLED_Off ); } -#endif } |