summaryrefslogtreecommitdiff
path: root/core/launcher/launcherview.cpp
Unidiff
Diffstat (limited to 'core/launcher/launcherview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcherview.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp
index 62c678d..513b1bd 100644
--- a/core/launcher/launcherview.cpp
+++ b/core/launcher/launcherview.cpp
@@ -1,70 +1,56 @@
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 "launcherview.h" 21#include "launcherview.h"
22 22
23#include <qtopia/qpeapplication.h> 23#include <qtopia/qpeapplication.h>
24#include <qtopia/applnk.h>
25#include <qtopia/qpedebug.h>
26#include <qtopia/private/categories.h> 24#include <qtopia/private/categories.h>
27#include <qtopia/categoryselect.h> 25#include <qtopia/categoryselect.h>
28#include <qtopia/menubutton.h>
29#include <qtopia/mimetype.h> 26#include <qtopia/mimetype.h>
30#include <qtopia/resource.h> 27#include <qtopia/resource.h>
31#include <qtopia/qpetoolbar.h>
32//#include <qtopia/private/palmtoprecord.h> 28//#include <qtopia/private/palmtoprecord.h>
33 29
34#include <qtimer.h> 30#include <qtimer.h>
35#include <qtextstream.h>
36#include <qdict.h>
37#include <qfile.h>
38#include <qfileinfo.h> 31#include <qfileinfo.h>
39#include <qhbox.h>
40#include <qiconview.h> 32#include <qiconview.h>
41#include <qwidgetstack.h>
42#include <qpainter.h>
43#include <qregexp.h>
44#include <qtoolbutton.h>
45#include <qimage.h>
46#include <qlabel.h>
47#include <qobjectlist.h> 33#include <qobjectlist.h>
48 34
49 35
50// These define how the busy icon is animated and highlighted 36// These define how the busy icon is animated and highlighted
51#define BRIGHTEN_BUSY_ICON 37#define BRIGHTEN_BUSY_ICON
52//#define ALPHA_FADE_BUSY_ICON 38//#define ALPHA_FADE_BUSY_ICON
53//#define USE_ANIMATED_BUSY_ICON_OVERLAY 39//#define USE_ANIMATED_BUSY_ICON_OVERLAY
54#define BOUNCE_BUSY_ICON 40#define BOUNCE_BUSY_ICON
55 41
56 42
57class BgPixmap 43class BgPixmap
58{ 44{
59public: 45public:
60 BgPixmap( const QPixmap &p ) : pm(p), ref(1) {} 46 BgPixmap( const QPixmap &p ) : pm(p), ref(1) {}
61 QPixmap pm; 47 QPixmap pm;
62 int ref; 48 int ref;
63}; 49};
64 50
65 51
66static QMap<QString,BgPixmap*> *bgCache = 0; 52static QMap<QString,BgPixmap*> *bgCache = 0;
67 53
68static void cleanup_cache() 54static void cleanup_cache()
69{ 55{
70 QMap<QString,BgPixmap*>::Iterator it = bgCache->begin(); 56 QMap<QString,BgPixmap*>::Iterator it = bgCache->begin();