summaryrefslogtreecommitdiff
path: root/core/launcher/taskbar.cpp
authorharlekin <harlekin>2002-05-22 16:43:38 (UTC)
committer harlekin <harlekin>2002-05-22 16:43:38 (UTC)
commit9b5016f30bb619b702664aad1e12cd4de4bc5b5b (patch) (side-by-side diff)
treef053e522c1e33067bb7b60880a35c049753e2823 /core/launcher/taskbar.cpp
parentd7c7e0a272996ef3ae386e939d25737d3060e427 (diff)
downloadopie-9b5016f30bb619b702664aad1e12cd4de4bc5b5b.zip
opie-9b5016f30bb619b702664aad1e12cd4de4bc5b5b.tar.gz
opie-9b5016f30bb619b702664aad1e12cd4de4bc5b5b.tar.bz2
followup for custom-ipaq to make it compile again
Diffstat (limited to 'core/launcher/taskbar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/taskbar.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/launcher/taskbar.cpp b/core/launcher/taskbar.cpp
index 54777c6..b69d165 100644
--- a/core/launcher/taskbar.cpp
+++ b/core/launcher/taskbar.cpp
@@ -13,13 +13,13 @@
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
-**********************************************************************/
+*********************************************************************/
#include "startmenu.h"
#include "inputmethods.h"
#include "mrulist.h"
#include "systray.h"
#include "calibrate.h"
@@ -29,15 +29,15 @@
#include "taskbar.h"
#include "desktop.h"
#include <qpe/qpeapplication.h>
#include <qpe/qcopenvelope_qws.h>
#include <qpe/global.h>
-#ifdef QT_QWS_CUSTOM
-#include <qpe/custom.h>
-#endif
+//#ifdef QT_QWS_CUSTOM
+//#include <qpe/custom.h>
+//#endif
#if defined(QT_QWS_IPAQ)
#include "qpe/custom-ipaq.h"
#endif
#include <qlabel.h>
@@ -148,20 +148,20 @@ TaskBar::TaskBar() : QHBox(0, 0, WStyle_Customize | WStyle_Tool | WStyle_StaysOn
sm = new StartMenu( this );
inputMethods = new InputMethods( this );
connect( inputMethods, SIGNAL(inputToggled(bool)),
this, SLOT(calcMaxWindowRect()) );
//new QuickLauncher( this );
-
+
stack = new QWidgetStack( this );
stack->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Minimum ) );
label = new QLabel(stack);
mru = new MRUList( stack );
stack->raiseWidget( mru );
-
+
waitIcon = new Wait( this );
(void) new AppIcons( this );
sysTray = new SysTray( this );
// ## make customizable in some way?
@@ -269,19 +269,19 @@ void TaskBar::receive( const QCString &msg, const QByteArray &data )
inputMethods->loadInputMethods();
} else if ( msg == "reloadApplets()" ) {
sysTray->loadApplets();
} else if ( msg == "soundAlarm()" ) {
Desktop::soundAlarm();
}
-#ifdef CUSTOM_LEDS
+#ifdef CUSTOM_LEDS
else if ( msg == "setLed(int,bool)" ) {
int led, status;
stream >> led >> status;
CUSTOM_LEDS( led, status );
}
-#endif
+#endif
}
QWidget *TaskBar::calibrate(bool)
{
#ifdef Q_WS_QWS
Calibrate *c = new Calibrate;