-rw-r--r-- | core/launcher/taskbar.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/core/launcher/taskbar.cpp b/core/launcher/taskbar.cpp index 8158128..8af568d 100644 --- a/core/launcher/taskbar.cpp +++ b/core/launcher/taskbar.cpp @@ -24,2 +24,3 @@ #include "systray.h" +#include "calibrate.h" #include "wait.h" @@ -83,2 +84,5 @@ static Global::Command builtins[] = { +#if defined(QT_QWS_IPAQ) || defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_SL5XXX) + { "calibrate", TaskBar::calibrate, 1, 0 }, +#endif #if !defined(QT_QWS_CASSIOPEIA) @@ -88,3 +92,3 @@ static Global::Command builtins[] = { - { 0, 0, 0, 0 }, + { 0, TaskBar::calibrate, 0, 0 }, }; @@ -304,2 +308,13 @@ void TaskBar::receive( const QCString &msg, const QByteArray &data ) +QWidget *TaskBar::calibrate(bool) +{ +#ifdef Q_WS_QWS + Calibrate *c = new Calibrate; + c->show(); + return c; +#else + return 0; +#endif +} + void TaskBar::toggleNumLockState() |