-rw-r--r-- | libopie/ofileview.h | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/libopie/ofileview.h b/libopie/ofileview.h index ed256f1..e072477 100644 --- a/libopie/ofileview.h +++ b/libopie/ofileview.h | |||
@@ -1,26 +1,26 @@ | |||
1 | /* | 1 | /* |
2 | =. This file is part of the OPIE Project | 2 | =. This file is part of the OPIE Project |
3 | .=l. Copyright (c) 2002 zecke <zecke@handhelds.org> | 3 | .=l. Copyright (c) 2002 zecke <zecke@handhelds.org> |
4 | .>+-= | 4 | .>+-= |
5 | _;:, .> :=|. This library is free software; you can | 5 | _;:, .> :=|. This library is free software; you can |
6 | .> <`_, > . <= redistribute it and/or modify it under | 6 | .> <`_, > . <= redistribute it and/or modify it under |
7 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public | 7 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
8 | .="- .-=="i, .._ License as published by the Free Software | 8 | .="- .-=="i, .._ License as published by the Free Software |
9 | - . .-<_> .<> Foundation; either version 2 of the License, | 9 | - . .-<_> .<> Foundation; either version 2 of the License, |
10 | ._= =} : or (at your option) any later version. | 10 | ._= =} : or (at your option) any later version. |
11 | .%`+i> _;_. | 11 | .%`+i> _;_. |
12 | .i_,=:_. -<s. This library is distributed in the hope that | 12 | .i_,=:_. -<s. This library is distributed in the hope that |
13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 13 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
14 | : .. .:, . . . without even the implied warranty of | 14 | : .. .:, . . . without even the implied warranty of |
15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 15 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 16 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
17 | ..}^=.= = ; Library General Public License for more | 17 | ..}^=.= = ; Library General Public License for more |
18 | ++= -. .` .: details. | 18 | ++= -. .` .: details. |
19 | : = ...= . :.=- | 19 | : = ...= . :.=- |
20 | -. .:....=;==+<; You should have received a copy of the GNU | 20 | -. .:....=;==+<; You should have received a copy of the GNU |
21 | -_. . . )=. = Library General Public License along with | 21 | -_. . . )=. = Library General Public License along with |
22 | -- :-=` this library; see the file COPYING.LIB. | 22 | -- :-=` this library; see the file COPYING.LIB. |
23 | If not, write to the Free Software Foundation, | 23 | If not, write to the Free Software Foundation, |
24 | Inc., 59 Temple Place - Suite 330, | 24 | Inc., 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
@@ -34,15 +34,23 @@ | |||
34 | 34 | ||
35 | class QFileInfo; | 35 | class QFileInfo; |
36 | class QDir; | 36 | class QDir; |
37 | class DocLnk; | 37 | class DocLnk; |
38 | class OFileSelectorView : public QWidget { | 38 | |
39 | /** | ||
40 | * A OFileView is a specialised View for the | ||
41 | * OFileSelector | ||
42 | * With a View you can chage the user visible | ||
43 | * representation of a OFileLister | ||
44 | * OFileView is just a basic interface which helps you to | ||
45 | * write new views | ||
46 | */ | ||
47 | class OFileView { | ||
39 | Q_OBJECT | 48 | Q_OBJECT |
40 | public: | 49 | public: |
41 | OFileSelectorView(QWidget *widget, | 50 | OFileView(QWidget *widget, |
42 | const char *name ) | 51 | const char *name ); |
43 | : QWidget(widget, name ) | 52 | virtual OFileView(); |
44 | { }; | ||
45 | virtual ~OFileSelectorView() = 0; | 53 | virtual ~OFileSelectorView() = 0; |
46 | 54 | ||
47 | virtual void addFile(const QString &mine, | 55 | virtual void addFile(const QString &mine, |
48 | QFileInfo *info, | 56 | QFileInfo *info, |