-rw-r--r-- | library/resource.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/library/resource.cpp b/library/resource.cpp index f70658d..cfa0d26 100644 --- a/library/resource.cpp +++ b/library/resource.cpp | |||
@@ -1,61 +1,58 @@ | |||
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 | #define QTOPIA_INTERNAL_MIMEEXT | 21 | #define QTOPIA_INTERNAL_MIMEEXT |
22 | #include <qpe/qpeapplication.h> | 22 | #include <qpe/qpeapplication.h> |
23 | #include "resource.h" | 23 | #include "resource.h" |
24 | #include "mimetype.h" | 24 | #include "mimetype.h" |
25 | #include <qdir.h> | 25 | #include <qdir.h> |
26 | #include <qfile.h> | ||
27 | #include <qregexp.h> | ||
28 | #include <qpixmapcache.h> | 26 | #include <qpixmapcache.h> |
29 | #include <qpainter.h> | ||
30 | 27 | ||
31 | // this namespace is just a workaround for a gcc bug | 28 | // this namespace is just a workaround for a gcc bug |
32 | // gcc exports inline functions in the generated file | 29 | // gcc exports inline functions in the generated file |
33 | // inlinepics_p.h | 30 | // inlinepics_p.h |
34 | 31 | ||
35 | namespace { | 32 | namespace { |
36 | #include "inlinepics_p.h" | 33 | #include "inlinepics_p.h" |
37 | } | 34 | } |
38 | 35 | ||
39 | static bool g_notUseSet = ::getenv("OVERWRITE_ICON_SET"); | 36 | static bool g_notUseSet = ::getenv("OVERWRITE_ICON_SET"); |
40 | 37 | ||
41 | /*! | 38 | /*! |
42 | \class Resource resource.h | 39 | \class Resource resource.h |
43 | \brief The Resource class provides access to named resources. | 40 | \brief The Resource class provides access to named resources. |
44 | 41 | ||
45 | The resources may be provided from files or other sources. | 42 | The resources may be provided from files or other sources. |
46 | 43 | ||
47 | The allSounds() function returns a list of all the sounds available. | 44 | The allSounds() function returns a list of all the sounds available. |
48 | A particular sound can be searched for using findSound(). | 45 | A particular sound can be searched for using findSound(). |
49 | 46 | ||
50 | Images can be loaded with loadImage(), loadPixmap(), loadBitmap() | 47 | Images can be loaded with loadImage(), loadPixmap(), loadBitmap() |
51 | and loadIconSet(). | 48 | and loadIconSet(). |
52 | 49 | ||
53 | \ingroup qtopiaemb | 50 | \ingroup qtopiaemb |
54 | */ | 51 | */ |
55 | 52 | ||
56 | /*! | 53 | /*! |
57 | \fn Resource::Resource() | 54 | \fn Resource::Resource() |
58 | \internal | 55 | \internal |
59 | */ | 56 | */ |
60 | 57 | ||
61 | /*! | 58 | /*! |