summaryrefslogtreecommitdiff
path: root/libopie/ofileselector/ofileview.h
Unidiff
Diffstat (limited to 'libopie/ofileselector/ofileview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector/ofileview.h33
1 files changed, 26 insertions, 7 deletions
diff --git a/libopie/ofileselector/ofileview.h b/libopie/ofileselector/ofileview.h
index d7ea4a2..808587f 100644
--- a/libopie/ofileselector/ofileview.h
+++ b/libopie/ofileselector/ofileview.h
@@ -56,29 +56,37 @@ public:
56 virtual void addFile(const QPixmap&, 56 virtual void addFile(const QPixmap&,
57 const QString &mine, 57 const QString &mine,
58 QFileInfo *info, 58 QFileInfo *info,
59 const QString& extra = QString::null,
59 bool isSymlink = FALSE ) = 0; 60 bool isSymlink = FALSE ) = 0;
60 61
61 virtual void addFile(const QPixmap&, 62 virtual void addFile(const QPixmap&,
62 const QString& mine, const QString& dir, 63 const QString& mine, const QString& dir,
63 const QString& file, bool = FALSE ) = 0; 64 const QString& file,
65 const QString& extra = QString::null,
66 bool = FALSE ) = 0;
64 67
65 virtual void addDir (const QPixmap&, 68 virtual void addDir (const QPixmap&,
66 const QString &mine, 69 const QString &mine,
67 QFileInfo *info, 70 QFileInfo *info,
71 const QString& extra = QString::null,
68 bool isSymlink = FALSE ) = 0; 72 bool isSymlink = FALSE ) = 0;
69 virtual void addDir (const QPixmap&, 73 virtual void addDir (const QPixmap&,
70 const QString& mine, const QString& dir, 74 const QString& mine, const QString& dir,
71 const QString& file, bool = FALSE) = 0; 75 const QString& file,
76 const QString& extra = QString::null,
77 bool = FALSE) = 0;
72 78
73 virtual void addSymlink(const QPixmap&, 79 virtual void addSymlink(const QPixmap&,
74 const QString &mime, 80 const QString &mime,
75 QFileInfo *info, 81 QFileInfo *info,
82 const QString& extra = QString::null,
76 bool isSymlink = FALSE ) = 0; 83 bool isSymlink = FALSE ) = 0;
77 84
78 virtual void addSymlink(const QPixmap&, 85 virtual void addSymlink(const QPixmap&,
79 const QString& mine, 86 const QString& mine,
80 const QString& path, 87 const QString& path,
81 const QString& file, 88 const QString& file,
89 const QString& extra = QString::null,
82 bool isSymlink = FALSE ) = 0; 90 bool isSymlink = FALSE ) = 0;
83 91
84 virtual void cd(const QString &path ) = 0; 92 virtual void cd(const QString &path ) = 0;
@@ -94,11 +102,22 @@ public:
94/*signals:*/ 102/*signals:*/
95protected: 103protected:
96 104
97 void fileSelected(const QString &); 105 /**
98 void fileSelected(const DocLnk & ); 106 * @param dir The dir name
99 void contextMenu(); 107 * @param file The file name
100 void changedDir(const QString &); 108 * @param extra The extra information
101 void changedDir(const QDir & ); 109 */
110 void fileSelected(const QString &dir, const QString& file, const QString& extra = QString::nulll);
111 void contextMenu();
112
113 /**
114 *
115 * @param dir The dir name
116 * @param file The file name
117 * @param extra The extra informations
118 */
119 void changedDir(const QString &dir, const QString& file, const QString& extra = QString::null);
120 void changedDir(const QDir & );
102 121
103 /* updates the file name line of the FileSelector */ 122 /* updates the file name line of the FileSelector */
104 void updateLine( const QString& ); 123 void updateLine( const QString& );