Diffstat (limited to 'libopie/ofileselector/ofiledialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/ofileselector/ofiledialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libopie/ofileselector/ofiledialog.h b/libopie/ofileselector/ofiledialog.h index e14253c..e368e96 100644 --- a/libopie/ofileselector/ofiledialog.h +++ b/libopie/ofileselector/ofiledialog.h | |||
@@ -11,49 +11,50 @@ | |||
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 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | 29 | ||
30 | #ifndef OpieFileDialog_h | 30 | #ifndef OpieFileDialog_h |
31 | #define OpieFileDialog_h | 31 | #define OpieFileDialog_h |
32 | 32 | ||
33 | #include <qdialog.h> | 33 | #include <qdialog.h> |
34 | 34 | ||
35 | #include <opie/ofileselector.h> | 35 | //#include <opie/ofileselector.h> |
36 | #include "ofileselector.h" | ||
36 | 37 | ||
37 | class OFileDialog : public QDialog { | 38 | class OFileDialog : public QDialog { |
38 | Q_OBJECT | 39 | Q_OBJECT |
39 | public: | 40 | public: |
40 | OFileDialog(const QString &caption, | 41 | OFileDialog(const QString &caption, |
41 | QWidget *, int mode, int selector, | 42 | QWidget *, int mode, int selector, |
42 | const QString &dirName, | 43 | const QString &dirName, |
43 | const QString &fileName = QString::null, | 44 | const QString &fileName = QString::null, |
44 | const MimeTypes &mimetypes = MimeTypes() ); | 45 | const MimeTypes &mimetypes = MimeTypes() ); |
45 | QString mimetype() const; | 46 | QString mimetype() const; |
46 | QString fileName() const; | 47 | QString fileName() const; |
47 | DocLnk selectedDocument()const; | 48 | DocLnk selectedDocument()const; |
48 | 49 | ||
49 | // static methods | 50 | // static methods |
50 | static QString getOpenFileName(int selector, | 51 | static QString getOpenFileName(int selector, |
51 | const QString& startDir = QString::null, | 52 | const QString& startDir = QString::null, |
52 | const QString &fileName = QString::null, | 53 | const QString &fileName = QString::null, |
53 | const MimeTypes& mime = MimeTypes(), | 54 | const MimeTypes& mime = MimeTypes(), |
54 | QWidget *wid = 0, | 55 | QWidget *wid = 0, |
55 | const QString &caption = QString::null ); | 56 | const QString &caption = QString::null ); |
56 | 57 | ||
57 | static QString getSaveFileName(int selector, | 58 | static QString getSaveFileName(int selector, |
58 | const QString& startDir = QString::null, | 59 | const QString& startDir = QString::null, |
59 | const QString& fileName = QString::null, | 60 | const QString& fileName = QString::null, |