Diffstat (limited to 'core/launcher/documentlist.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/launcher/documentlist.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/launcher/documentlist.cpp b/core/launcher/documentlist.cpp index 63f853e..3e0a96c 100644 --- a/core/launcher/documentlist.cpp +++ b/core/launcher/documentlist.cpp | |||
@@ -26,48 +26,49 @@ | |||
26 | #include <qtopia/config.h> | 26 | #include <qtopia/config.h> |
27 | #include <qtopia/mimetype.h> | 27 | #include <qtopia/mimetype.h> |
28 | #include <qtopia/resource.h> | 28 | #include <qtopia/resource.h> |
29 | #include <qtopia/private/categories.h> | 29 | #include <qtopia/private/categories.h> |
30 | #include <qtopia/qpeapplication.h> | 30 | #include <qtopia/qpeapplication.h> |
31 | #include <qtopia/applnk.h> | 31 | #include <qtopia/applnk.h> |
32 | #include <qtopia/storage.h> | 32 | #include <qtopia/storage.h> |
33 | #ifdef Q_WS_QWS | 33 | #ifdef Q_WS_QWS |
34 | #include <qtopia/qcopenvelope_qws.h> | 34 | #include <qtopia/qcopenvelope_qws.h> |
35 | #endif | 35 | #endif |
36 | 36 | ||
37 | #include <qtimer.h> | 37 | #include <qtimer.h> |
38 | #include <qfileinfo.h> | 38 | #include <qfileinfo.h> |
39 | #include <qtextstream.h> | 39 | #include <qtextstream.h> |
40 | #include <qfile.h> | 40 | #include <qfile.h> |
41 | #include <qdir.h> | 41 | #include <qdir.h> |
42 | #include <qpainter.h> | 42 | #include <qpainter.h> |
43 | #include <qimage.h> | 43 | #include <qimage.h> |
44 | #include <qcopchannel_qws.h> | 44 | #include <qcopchannel_qws.h> |
45 | #include <qlistview.h> | 45 | #include <qlistview.h> |
46 | #include <qlist.h> | 46 | #include <qlist.h> |
47 | #include <qpixmap.h> | 47 | #include <qpixmap.h> |
48 | 48 | ||
49 | 49 | ||
50 | using namespace Opie::Core; | ||
50 | AppLnkSet *DocumentList::appLnkSet = 0; | 51 | AppLnkSet *DocumentList::appLnkSet = 0; |
51 | 52 | ||
52 | static const int MAX_SEARCH_DEPTH = 10; | 53 | static const int MAX_SEARCH_DEPTH = 10; |
53 | 54 | ||
54 | 55 | ||
55 | class DocumentListPrivate : public QObject { | 56 | class DocumentListPrivate : public QObject { |
56 | Q_OBJECT | 57 | Q_OBJECT |
57 | public: | 58 | public: |
58 | DocumentListPrivate( ServerInterface *gui ); | 59 | DocumentListPrivate( ServerInterface *gui ); |
59 | ~DocumentListPrivate(); | 60 | ~DocumentListPrivate(); |
60 | 61 | ||
61 | void initialize(); | 62 | void initialize(); |
62 | 63 | ||
63 | const QString nextFile(); | 64 | const QString nextFile(); |
64 | const DocLnk *iterate(); | 65 | const DocLnk *iterate(); |
65 | bool store( DocLnk* dl ); | 66 | bool store( DocLnk* dl ); |
66 | void estimatedPercentScanned(); | 67 | void estimatedPercentScanned(); |
67 | void appendDocpath(FileSystem*); | 68 | void appendDocpath(FileSystem*); |
68 | 69 | ||
69 | 70 | ||
70 | DocLnkSet dls; | 71 | DocLnkSet dls; |
71 | QDict<void> reference; | 72 | QDict<void> reference; |
72 | QDictIterator<void> *dit; | 73 | QDictIterator<void> *dit; |
73 | enum { Find, RemoveKnownFiles, MakeUnknownFiles, Done } state; | 74 | enum { Find, RemoveKnownFiles, MakeUnknownFiles, Done } state; |