author | zecke <zecke> | 2002-10-28 19:55:18 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-28 19:55:18 (UTC) |
commit | 3ba494eb02e72e1f9a732c46ec8085e843f01eca (patch) (unidiff) | |
tree | cdc0e7af342cd0e205ed4ae1c1da92ced3fd5774 /libopie/ofileselector/ofileview.h | |
parent | e9d8023028b7c996d8ff2a68b87dfde19fcfa892 (diff) | |
download | opie-3ba494eb02e72e1f9a732c46ec8085e843f01eca.zip opie-3ba494eb02e72e1f9a732c46ec8085e843f01eca.tar.gz opie-3ba494eb02e72e1f9a732c46ec8085e843f01eca.tar.bz2 |
This will probably not compile.. i did not even try to compile it
on my machine
I changed the data flow to be more extandable the Olister class
is now playing a bigger role it's dependant on
doing some assembly of the filepath and changedirs.
It now has also to take care of the location bar
Diffstat (limited to 'libopie/ofileselector/ofileview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/ofileselector/ofileview.h | 33 |
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 | |||
@@ -57,21 +57,28 @@ public: | |||
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 | ||
@@ -80,4 +87,5 @@ public: | |||
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 | ||
@@ -95,9 +103,20 @@ public: | |||
95 | protected: | 103 | protected: |
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 */ |