summaryrefslogtreecommitdiff
path: root/libopie/ofileselector/ofilelistview.h
authorzecke <zecke>2002-10-05 20:49:38 (UTC)
committer zecke <zecke>2002-10-05 20:49:38 (UTC)
commit19c0a4610292a95281a64655cef9c2d695a214dc (patch) (side-by-side diff)
treedde4afda2629a6e10d545d9492ada7b43e431ee7 /libopie/ofileselector/ofilelistview.h
parentd7f9d00fcc9261db9c4af4f1b4afde9d50e8a2a2 (diff)
downloadopie-19c0a4610292a95281a64655cef9c2d695a214dc.zip
opie-19c0a4610292a95281a64655cef9c2d695a214dc.tar.gz
opie-19c0a4610292a95281a64655cef9c2d695a214dc.tar.bz2
more steps to make ofileselector modular
We now got the API for a factory so switching should work in future and we now got a OPixmapProvider which provides us with pixmaps.... So an ImageViewer could install a differen OPixmapProvider and a different OFileView to make Previewing work
Diffstat (limited to 'libopie/ofileselector/ofilelistview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector/ofilelistview.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/libopie/ofileselector/ofilelistview.h b/libopie/ofileselector/ofilelistview.h
index a83d70d..c8cdfd1 100644
--- a/libopie/ofileselector/ofilelistview.h
+++ b/libopie/ofileselector/ofilelistview.h
@@ -2,6 +2,7 @@
#define OPIE_FILE_LIST_VIEW_H
#include <qlistview.h>
+#include <qpixmap.h>
#include "ofileview.h"
@@ -12,23 +13,30 @@ public:
~OFileListView();
void clear();
- void addFile( const QString& mine,
+ void addFile( const QPixmap&,
+ const QString& mine,
QFileInfo* info,
bool isSymlink = FALSE );
- void addFile( const QString& mime,
+ void addFile( const QPixmap&,
+ const QString& mime,
const QString& dir,
const QString& file,
bool = false );
- void addDir( const QString& mime,
+ void addDir( const QPixmap&,
+ const QString& mime,
QFileInfo* info, bool = FALSE );
- void addDir( const QString& mime, const QString& dir,
+
+ void addDir( const QPixmap&,
+ const QString& mime, const QString& dir,
const QString& file, bool = FALSE );
- void addSymlink( const QString& mime,
+ void addSymlink( const QPixmap&,
+ const QString& mime,
QFileInfo* info, bool = FALSE );
- void addSymlink( const QString& mine, const QString& path,
+ void addSymlink( const QPixmap&,
+ const QString& mine, const QString& path,
const QString& file, bool isSymlink = FALSE );
void cd( const QString& path );
QWidget* widget();