summaryrefslogtreecommitdiff
authoralwin <alwin>2004-04-14 22:29:44 (UTC)
committer alwin <alwin>2004-04-14 22:29:44 (UTC)
commit1b8fac62de40773977e9b3e800cf22cc42603ced (patch) (unidiff)
tree2624d73daf6bf7a636fdd3b6d0d9734d50dff287
parentdb181c9145bd55b5e153a0ebdfcc17127c0ca179 (diff)
downloadopie-1b8fac62de40773977e9b3e800cf22cc42603ced.zip
opie-1b8fac62de40773977e9b3e800cf22cc42603ced.tar.gz
opie-1b8fac62de40773977e9b3e800cf22cc42603ced.tar.bz2
fixed an include - sorry.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/iconview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp
index e61f9d9..5633312 100644
--- a/noncore/graphics/opie-eye/gui/iconview.cpp
+++ b/noncore/graphics/opie-eye/gui/iconview.cpp
@@ -1,65 +1,65 @@
1/* 1/*
2 * GPLv2 zecke@handhelds.org 2 * GPLv2 zecke@handhelds.org
3 * No WArranty... 3 * No WArranty...
4 */ 4 */
5 5
6#include "iconview.h" 6#include "iconview.h"
7 7
8#include <lib/imagecache.h> 8#include <lib/imagecache.h>
9#include <gui/imageinfoui.h> 9#include <gui/imageinfoui.h>
10#include <gui/imagescrollview.h>
11 10
12#include <iface/dirview.h> 11#include <iface/dirview.h>
13#include <iface/dirlister.h> 12#include <iface/dirlister.h>
14 13
15#include <opie2/oconfig.h> 14#include <opie2/oconfig.h>
16#include <opie2/okeyconfigwidget.h> 15#include <opie2/okeyconfigwidget.h>
17#include <opie2/odebug.h> 16#include <opie2/odebug.h>
17#include <opie2/oimagescrollview.h>
18 18
19#include <qpe/resource.h> 19#include <qpe/resource.h>
20#include <qpe/qpemessagebox.h> 20#include <qpe/qpemessagebox.h>
21#include <qpe/ir.h> 21#include <qpe/ir.h>
22#include <qpe/qcopenvelope_qws.h> 22#include <qpe/qcopenvelope_qws.h>
23#include <qpe/qpeapplication.h> 23#include <qpe/qpeapplication.h>
24 24
25#include <qiconview.h> 25#include <qiconview.h>
26#include <qlabel.h> 26#include <qlabel.h>
27#include <qhbox.h> 27#include <qhbox.h>
28#include <qcombobox.h> 28#include <qcombobox.h>
29#include <qdir.h> 29#include <qdir.h>
30#include <qapplication.h> 30#include <qapplication.h>
31#include <qmainwindow.h> 31#include <qmainwindow.h>
32#include <qtimer.h> 32#include <qtimer.h>
33#include <qstyle.h> 33#include <qstyle.h>
34 34
35 35
36using Opie::Core::OKeyConfigItem; 36using Opie::Core::OKeyConfigItem;
37 37
38/* 38/*
39 * The Icons, Request Cache and IconViewItem for the IconView 39 * The Icons, Request Cache and IconViewItem for the IconView
40 */ 40 */
41namespace { 41namespace {
42 static QPixmap* _dirPix = 0; 42 static QPixmap* _dirPix = 0;
43 static QPixmap* _unkPix = 0; 43 static QPixmap* _unkPix = 0;
44 static QPixmap* _picPix = 0; 44 static QPixmap* _picPix = 0;
45 class IconViewItem : public QIconViewItem { 45 class IconViewItem : public QIconViewItem {
46 public: 46 public:
47 IconViewItem( QIconView*, const QString& path, const QString& name, bool isDir = false); 47 IconViewItem( QIconView*, const QString& path, const QString& name, bool isDir = false);
48 QPixmap* pixmap()const; 48 QPixmap* pixmap()const;
49 QString path()const { return m_path; } 49 QString path()const { return m_path; }
50 bool isDir()const { return m_isDir; } 50 bool isDir()const { return m_isDir; }
51 void setText( const QString& ); 51 void setText( const QString& );
52 52
53 protected: 53 protected:
54 mutable QPixmap* m_pix; 54 mutable QPixmap* m_pix;
55 55
56 private: 56 private:
57 QString m_path; 57 QString m_path;
58 bool m_isDir : 1; 58 bool m_isDir : 1;
59 bool m_noInfo :1; 59 bool m_noInfo :1;
60 }; 60 };
61 class TextViewItem : public IconViewItem { 61 class TextViewItem : public IconViewItem {
62 TextViewItem( QIconView*, const QString& path, const QString& name, bool isDir = false ); 62 TextViewItem( QIconView*, const QString& path, const QString& name, bool isDir = false );
63 QPixmap *pixmap()const; 63 QPixmap *pixmap()const;
64 void setText( const QString& ); 64 void setText( const QString& );
65 }; 65 };