summaryrefslogtreecommitdiff
path: root/libopie/ofileselector/ofilelistview.h
Unidiff
Diffstat (limited to 'libopie/ofileselector/ofilelistview.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie/ofileselector/ofilelistview.h69
1 files changed, 0 insertions, 69 deletions
diff --git a/libopie/ofileselector/ofilelistview.h b/libopie/ofileselector/ofilelistview.h
deleted file mode 100644
index f2eac57..0000000
--- a/libopie/ofileselector/ofilelistview.h
+++ b/dev/null
@@ -1,69 +0,0 @@
1#ifndef OPIE_FILE_LIST_VIEW_H
2#define OPIE_FILE_LIST_VIEW_H
3
4#include <qlistview.h>
5#include <qpixmap.h>
6
7#include "ofileview.h"
8
9class OFileListView : public QListView, public OFileView {
10 Q_OBJECT
11public:
12 OFileListView( QWidget* parent, OFileSelector* );
13 ~OFileListView();
14
15 void clear();
16 void addFile( const QPixmap&,
17 const QString& mine,
18 QFileInfo* info,
19 const QString& extra = QString::null,
20 bool isSymlink = FALSE );
21
22 void addFile( const QPixmap&,
23 const QString& mime,
24 const QString& dir,
25 const QString& file,
26 const QString& extra = QString::null,
27 bool = false );
28
29 void addDir( const QPixmap&,
30 const QString& mime,
31 QFileInfo* info,
32 const QString& extra = QString::null,
33 bool = FALSE );
34
35 void addDir( const QPixmap&,
36 const QString& mime, const QString& dir,
37 const QString& file,
38 const QString& extra = QString::null,
39 bool = FALSE );
40
41 void addSymlink( const QPixmap&,
42 const QString& mime,
43 QFileInfo* info,
44 const QString& extra = QString::null,
45 bool = FALSE );
46 void addSymlink( const QPixmap&,
47 const QString& mine, const QString& path,
48 const QString& file,
49 const QString& extra = QString::null,
50 bool isSymlink = FALSE );
51 void cd( const QString& path );
52 QWidget* widget();
53 void sort();
54
55 QString selectedName()const ;
56 QStringList selectedNames()const;
57
58 QString selectedPath()const;
59 QStringList selectedPaths()const;
60 QString selectedExtra()const;
61 int fileCount();
62private slots:
63 void slotSelectionChanged();
64 void slotCurrentChanged(QListViewItem* );
65 void slotClicked( int, QListViewItem*, const QPoint&, int );
66 void slotRightButton(int, QListViewItem*, const QPoint&, int );
67};
68
69#endif