summaryrefslogtreecommitdiff
path: root/libopie/ofileselector/ofilelistview.h
Unidiff
Diffstat (limited to 'libopie/ofileselector/ofilelistview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector/ofilelistview.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/libopie/ofileselector/ofilelistview.h b/libopie/ofileselector/ofilelistview.h
index c8cdfd1..0f625ec 100644
--- a/libopie/ofileselector/ofilelistview.h
+++ b/libopie/ofileselector/ofilelistview.h
@@ -7,46 +7,55 @@
7#include "ofileview.h" 7#include "ofileview.h"
8 8
9class OFileListView : public QListView, public OFileView { 9class OFileListView : public QListView, public OFileView {
10 Q_OBJECT 10 Q_OBJECT
11public: 11public:
12 OFileListView( QWidget* parent, OFileSelector* ); 12 OFileListView( QWidget* parent, OFileSelector* );
13 ~OFileListView(); 13 ~OFileListView();
14 14
15 void clear(); 15 void clear();
16 void addFile( const QPixmap&, 16 void addFile( const QPixmap&,
17 const QString& mine, 17 const QString& mine,
18 QFileInfo* info, 18 QFileInfo* info,
19 const QString& extra = QString::null,
19 bool isSymlink = FALSE ); 20 bool isSymlink = FALSE );
20 21
21 void addFile( const QPixmap&, 22 void addFile( const QPixmap&,
22 const QString& mime, 23 const QString& mime,
23 const QString& dir, 24 const QString& dir,
24 const QString& file, 25 const QString& file,
26 const QString& extra = QString::null,
25 bool = false ); 27 bool = false );
26 28
27 void addDir( const QPixmap&, 29 void addDir( const QPixmap&,
28 const QString& mime, 30 const QString& mime,
31 const QString& extra = QString::null,
29 QFileInfo* info, bool = FALSE ); 32 QFileInfo* info, bool = FALSE );
30 33
31 void addDir( const QPixmap&, 34 void addDir( const QPixmap&,
32 const QString& mime, const QString& dir, 35 const QString& mime, const QString& dir,
33 const QString& file, bool = FALSE ); 36 const QString& file,
37 const QString& extra = QString::null,
38 bool = FALSE );
34 39
35 void addSymlink( const QPixmap&, 40 void addSymlink( const QPixmap&,
36 const QString& mime, 41 const QString& mime,
37 QFileInfo* info, bool = FALSE ); 42 QFileInfo* info,
43 const QString& extra = QString::null,
44 bool = FALSE );
38 void addSymlink( const QPixmap&, 45 void addSymlink( const QPixmap&,
39 const QString& mine, const QString& path, 46 const QString& mine, const QString& path,
40 const QString& file, bool isSymlink = FALSE ); 47 const QString& file,
48 const QString& extra,
49 bool isSymlink = FALSE );
41 void cd( const QString& path ); 50 void cd( const QString& path );
42 QWidget* widget(); 51 QWidget* widget();
43 void sort(); 52 void sort();
44 53
45 QString selectedName()const ; 54 QString selectedName()const ;
46 QStringList selectedNames()const; 55 QStringList selectedNames()const;
47 56
48 QString selectedPath()const; 57 QString selectedPath()const;
49 QStringList selectedPaths()const; 58 QStringList selectedPaths()const;
50 int fileCount(); 59 int fileCount();
51private slots: 60private slots:
52 void slotSelectionChanged(); 61 void slotSelectionChanged();