From 258feac229c2e8b5016670c1edc442e923c58628 Mon Sep 17 00:00:00 2001 From: kergoth Date: Sun, 20 Apr 2003 21:49:11 +0000 Subject: Revert the attempt to split calibrate, as it failed miserably. --- (limited to 'core/launcher/taskbar.cpp') 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 @@ -22,6 +22,7 @@ #include "inputmethods.h" #include "runningappbar.h" #include "systray.h" +#include "calibrate.h" #include "wait.h" #include "appicons.h" @@ -81,12 +82,15 @@ static Global::Command builtins[] = { #undef APP #endif +#if defined(QT_QWS_IPAQ) || defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_SL5XXX) + { "calibrate", TaskBar::calibrate, 1, 0 }, +#endif #if !defined(QT_QWS_CASSIOPEIA) { "shutdown", Global::shutdown, 1, 0 }, // { "run", run, 1, 0 }, #endif - { 0, 0, 0, 0 }, + { 0, TaskBar::calibrate, 0, 0 }, }; static bool initNumLock() @@ -302,6 +306,17 @@ 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() { if ( lockState ) lockState->toggleNumLockState(); -- cgit v0.9.0.2