summaryrefslogtreecommitdiff
path: root/core/launcher/documentlist.cpp
authorzecke <zecke>2004-03-13 21:27:29 (UTC)
committer zecke <zecke>2004-03-13 21:27:29 (UTC)
commit184a0cd9935d0a249038cdbe05488c181b273d64 (patch) (unidiff)
treec8f3508ab1be012083d9e2140221cfeb9a9ab83a /core/launcher/documentlist.cpp
parenta3304e23c7f8576a4584475ef0cf49d0e588671e (diff)
downloadopie-184a0cd9935d0a249038cdbe05488c181b273d64.zip
opie-184a0cd9935d0a249038cdbe05488c181b273d64.tar.gz
opie-184a0cd9935d0a249038cdbe05488c181b273d64.tar.bz2
Fix namespaces in the launcher.. and found a problem with my script
Diffstat (limited to 'core/launcher/documentlist.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/documentlist.cpp1
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
50using namespace Opie::Core;
50AppLnkSet *DocumentList::appLnkSet = 0; 51AppLnkSet *DocumentList::appLnkSet = 0;
51 52
52static const int MAX_SEARCH_DEPTH = 10; 53static const int MAX_SEARCH_DEPTH = 10;
53 54
54 55
55class DocumentListPrivate : public QObject { 56class DocumentListPrivate : public QObject {
56 Q_OBJECT 57 Q_OBJECT
57public: 58public:
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;