summaryrefslogtreecommitdiff
path: root/core/launcher/launcher.cpp
Unidiff
Diffstat (limited to 'core/launcher/launcher.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcher.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index 984a57d..54efb0b 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -1,94 +1,92 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. 2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of the Qtopia Environment. 4** This file is part of the Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20 20
21#include <qtopia/global.h> 21#include <qtopia/global.h>
22#ifdef Q_WS_QWS 22#ifdef Q_WS_QWS
23#include <qtopia/qcopenvelope_qws.h> 23#include <qtopia/qcopenvelope_qws.h>
24#endif 24#endif
25#include <qtopia/resource.h> 25#include <qtopia/resource.h>
26#include <qtopia/applnk.h> 26#include <qtopia/applnk.h>
27#include <qtopia/config.h> 27#include <qtopia/config.h>
28#include <qtopia/global.h>
29#include <qtopia/qpeapplication.h> 28#include <qtopia/qpeapplication.h>
30#include <qtopia/mimetype.h> 29#include <qtopia/mimetype.h>
31#include <qtopia/private/categories.h> 30#include <qtopia/private/categories.h>
32//#include <qtopia/custom.h> 31//#include <qtopia/custom.h>
33 32
34#include <qdir.h> 33#include <qdir.h>
35#ifdef Q_WS_QWS 34#ifdef Q_WS_QWS
36#include <qwindowsystem_qws.h> 35#include <qwindowsystem_qws.h>
37#endif 36#endif
38#include <qtimer.h> 37#include <qtimer.h>
39#include <qcombobox.h> 38#include <qcombobox.h>
40#include <qvbox.h> 39#include <qvbox.h>
41#include <qlayout.h> 40#include <qlayout.h>
42#include <qstyle.h> 41#include <qstyle.h>
43#include <qpushbutton.h> 42#include <qpushbutton.h>
44#include <qtabbar.h> 43#include <qtabbar.h>
45#include <qwidgetstack.h> 44#include <qwidgetstack.h>
46#include <qlayout.h>
47#include <qregexp.h> 45#include <qregexp.h>
48#include <qmessagebox.h> 46#include <qmessagebox.h>
49#include <qframe.h> 47#include <qframe.h>
50#include <qpainter.h> 48#include <qpainter.h>
51#include <qlabel.h> 49#include <qlabel.h>
52#include <qtextstream.h> 50#include <qtextstream.h>
53#include <qpopupmenu.h> 51#include <qpopupmenu.h>
54 52
55#include "startmenu.h" 53#include "startmenu.h"
56#include "taskbar.h" 54#include "taskbar.h"
57 55
58#include "serverinterface.h" 56#include "serverinterface.h"
59#include "launcherview.h" 57#include "launcherview.h"
60#include "launcher.h" 58#include "launcher.h"
61#include "server.h" 59#include "server.h"
62 60
63#define QTOPIA_INTERNAL_FSLP 61#define QTOPIA_INTERNAL_FSLP
64#include <qtopia/lnkproperties.h> 62#include <qtopia/lnkproperties.h>
65#include <stdlib.h> 63#include <stdlib.h>
66#include <assert.h> 64#include <assert.h>
67 65
68#if defined(_OS_LINUX_) || defined(Q_OS_LINUX) 66#if defined(_OS_LINUX_) || defined(Q_OS_LINUX)
69#include <unistd.h> 67#include <unistd.h>
70#include <stdio.h> 68#include <stdio.h>
71#include <sys/vfs.h> 69#include <sys/vfs.h>
72#include <mntent.h> 70#include <mntent.h>
73#endif 71#endif
74 72
75#ifdef Q_WS_QWS 73#ifdef Q_WS_QWS
76#include <qkeyboard_qws.h> 74#include <qkeyboard_qws.h>
77#include <qpe/lnkproperties.h> 75#include <qpe/lnkproperties.h>
78#endif 76#endif
79 77
80 78
81static bool isVisibleWindow( int ); 79static bool isVisibleWindow( int );
82//=========================================================================== 80//===========================================================================
83 81
84LauncherTabWidget::LauncherTabWidget( Launcher* parent ) : 82LauncherTabWidget::LauncherTabWidget( Launcher* parent ) :
85 QVBox( parent ), docview( 0 ) 83 QVBox( parent ), docview( 0 )
86{ 84{
87 docLoadingWidgetEnabled = false; 85 docLoadingWidgetEnabled = false;
88 docLoadingWidget = 0; 86 docLoadingWidget = 0;
89 docLoadingWidgetProgress = 0; 87 docLoadingWidgetProgress = 0;
90 launcher = parent; 88 launcher = parent;
91 categoryBar = new LauncherTabBar( this ); 89 categoryBar = new LauncherTabBar( this );
92 QPalette pal = categoryBar->palette(); 90 QPalette pal = categoryBar->palette();
93 pal.setColor( QColorGroup::Light, pal.color(QPalette::Active,QColorGroup::Shadow) ); 91 pal.setColor( QColorGroup::Light, pal.color(QPalette::Active,QColorGroup::Shadow) );
94 pal.setColor( QColorGroup::Background, pal.active().background().light(110) ); 92 pal.setColor( QColorGroup::Background, pal.active().background().light(110) );