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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libopie/ofileselector/ofilelistview.h b/libopie/ofileselector/ofilelistview.h
index c7e9223..a83d70d 100644
--- a/libopie/ofileselector/ofilelistview.h
+++ b/libopie/ofileselector/ofilelistview.h
@@ -11,35 +11,40 @@ public:
11 OFileListView( QWidget* parent, OFileSelector* ); 11 OFileListView( QWidget* parent, OFileSelector* );
12 ~OFileListView(); 12 ~OFileListView();
13 13
14 void clear(); 14 void clear();
15 void addFile( const QString& mine, 15 void addFile( const QString& mine,
16 QFileInfo* info, 16 QFileInfo* info,
17 bool isSymlink = FALSE ); 17 bool isSymlink = FALSE );
18 18
19 void addFile( const QString& mime, 19 void addFile( const QString& mime,
20 const QString& dir, 20 const QString& dir,
21 const QString& file, 21 const QString& file,
22 bool = false ); 22 bool = false );
23 23
24 void addDir( const QString& mime, 24 void addDir( const QString& mime,
25 QFileInfo* info, bool = FALSE ); 25 QFileInfo* info, bool = FALSE );
26 void addDir( const QString& mime, const QString& dir, 26 void addDir( const QString& mime, const QString& dir,
27 const QString& file, bool = FALSE ); 27 const QString& file, bool = FALSE );
28 28
29 void addSymlink( const QString& mime, 29 void addSymlink( const QString& mime,
30 QFileInfo* info, bool = FALSE ); 30 QFileInfo* info, bool = FALSE );
31 void addSymlink( const QString& mine, const QString& path, 31 void addSymlink( const QString& mine, const QString& path,
32 const QString& file, bool isSymlink = FALSE ); 32 const QString& file, bool isSymlink = FALSE );
33 void cd( const QString& path ); 33 void cd( const QString& path );
34 QWidget* widget(); 34 QWidget* widget();
35 void sort();
35 36
36 QString selectedName()const ; 37 QString selectedName()const ;
37 QStringList selectedNames()const; 38 QStringList selectedNames()const;
38 39
39 QString selectedPath()const; 40 QString selectedPath()const;
40 QStringList selectedPaths()const; 41 QStringList selectedPaths()const;
41 int fileCount(); 42 int fileCount();
42 43private slots:
44 void slotSelectionChanged();
45 void slotCurrentChanged(QListViewItem* );
46 void slotClicked( int, QListViewItem*, const QPoint&, int );
47 void slotRightButton(int, QListViewItem*, const QPoint&, int );
43}; 48};
44 49
45#endif 50#endif