summaryrefslogtreecommitdiff
path: root/core/launcher/taskbar.cpp
Unidiff
Diffstat (limited to 'core/launcher/taskbar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/taskbar.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/launcher/taskbar.cpp b/core/launcher/taskbar.cpp
index 91e2f20..86e0d0d 100644
--- a/core/launcher/taskbar.cpp
+++ b/core/launcher/taskbar.cpp
@@ -19,32 +19,35 @@
19**********************************************************************/ 19**********************************************************************/
20 20
21#include "startmenu.h" 21#include "startmenu.h"
22#include "inputmethods.h" 22#include "inputmethods.h"
23#include "runningappbar.h" 23#include "runningappbar.h"
24#include "systray.h" 24#include "systray.h"
25#include "wait.h" 25#include "wait.h"
26#include "appicons.h" 26#include "appicons.h"
27 27
28#include "taskbar.h" 28#include "taskbar.h"
29#include "server.h" 29#include "server.h"
30 30
31/* OPIE */
32#include <opie2/odebug.h>
31#include <qtopia/config.h> 33#include <qtopia/config.h>
32#include <qtopia/qpeapplication.h> 34#include <qtopia/qpeapplication.h>
33#ifdef QWS 35#ifdef QWS
34#include <qtopia/qcopenvelope_qws.h> 36#include <qtopia/qcopenvelope_qws.h>
35#endif 37#endif
36#include <qtopia/global.h> 38#include <qtopia/global.h>
37//#include <qtopia/custom.h> 39using namespace Opie::Core;
38 40
41/* QT */
39#include <qlabel.h> 42#include <qlabel.h>
40#include <qlayout.h> 43#include <qlayout.h>
41#include <qtimer.h> 44#include <qtimer.h>
42#ifdef QWS 45#ifdef QWS
43#include <qwindowsystem_qws.h> 46#include <qwindowsystem_qws.h>
44#endif 47#endif
45#include <qwidgetstack.h> 48#include <qwidgetstack.h>
46 49
47#if defined( Q_WS_QWS ) 50#if defined( Q_WS_QWS )
48#include <qwsdisplay_qws.h> 51#include <qwsdisplay_qws.h>
49#include <qgfx_qws.h> 52#include <qgfx_qws.h>
50#endif 53#endif
@@ -276,25 +279,25 @@ void TaskBar::stopWait()
276 * bounds and repaint() won't trigger an Event 279 * bounds and repaint() won't trigger an Event
277 */ 280 */
278void TaskBar::resizeEvent( QResizeEvent *e ) 281void TaskBar::resizeEvent( QResizeEvent *e )
279{ 282{
280 if ( sysTray ) 283 if ( sysTray )
281 sysTray->hide(); 284 sysTray->hide();
282 285
283 QHBox::resizeEvent( e ); 286 QHBox::resizeEvent( e );
284 287
285 if ( sysTray ) 288 if ( sysTray )
286 sysTray->show(); 289 sysTray->show();
287 290
288 qWarning("TaskBar::resize event"); 291 owarn << "TaskBar::resize event" << oendl;
289} 292}
290 293
291void TaskBar::styleChange( QStyle &s ) 294void TaskBar::styleChange( QStyle &s )
292{ 295{
293 QHBox::styleChange( s ); 296 QHBox::styleChange( s );
294 calcMaxWindowRect(); 297 calcMaxWindowRect();
295} 298}
296 299
297void TaskBar::calcMaxWindowRect() 300void TaskBar::calcMaxWindowRect()
298{ 301{
299 if ( resizeRunningApp ) 302 if ( resizeRunningApp )
300 { 303 {