Diffstat (limited to 'noncore/graphics/drawpad/importdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/importdialog.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/importdialog.h b/noncore/graphics/drawpad/importdialog.h index 1c67145..ef51d7c 100644 --- a/noncore/graphics/drawpad/importdialog.h +++ b/noncore/graphics/drawpad/importdialog.h | |||
@@ -1,36 +1,45 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | * * | 2 | * * |
3 | * DrawPad - a drawing program for Opie Environment * | 3 | * DrawPad - a drawing program for Opie Environment * |
4 | * * | 4 | * * |
5 | * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * | 5 | * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * |
6 | * * | 6 | * * |
7 | * This program is free software; you can redistribute it and/or modify * | 7 | * This program is free software; you can redistribute it and/or modify * |
8 | * it under the terms of the GNU General Public License as published by * | 8 | * it under the terms of the GNU General Public License as published by * |
9 | * the Free Software Foundation; either version 2 of the License, or * | 9 | * the Free Software Foundation; either version 2 of the License, or * |
10 | * (at your option) any later version. * | 10 | * (at your option) any later version. * |
11 | * * | 11 | * * |
12 | ***************************************************************************/ | 12 | ***************************************************************************/ |
13 | 13 | ||
14 | #ifndef IMPORTDIALOG_H | 14 | #ifndef IMPORTDIALOG_H |
15 | #define IMPORTDIALOG_H | 15 | #define IMPORTDIALOG_H |
16 | 16 | ||
17 | #include <qdialog.h> | 17 | #include <qdialog.h> |
18 | 18 | ||
19 | class DocLnk; | 19 | class DocLnk; |
20 | class FileSelector; | 20 | class FileSelector; |
21 | 21 | ||
22 | class QCheckBox; | ||
23 | class QLabel; | ||
24 | |||
22 | class ImportDialog : public QDialog | 25 | class ImportDialog : public QDialog |
23 | { | 26 | { |
24 | Q_OBJECT | 27 | Q_OBJECT |
25 | 28 | ||
26 | public: | 29 | public: |
27 | ImportDialog(QWidget* parent = 0, const char* name = 0); | 30 | ImportDialog(QWidget* parent = 0, const char* name = 0); |
28 | ~ImportDialog(); | 31 | ~ImportDialog(); |
29 | 32 | ||
30 | const DocLnk* selected(); | 33 | const DocLnk* selected(); |
31 | 34 | ||
35 | private slots: | ||
36 | void fileChanged(); | ||
37 | void preview(); | ||
38 | |||
32 | private: | 39 | private: |
33 | FileSelector* m_pFileSelector; | 40 | FileSelector* m_pFileSelector; |
41 | QLabel* m_pPreviewLabel; | ||
42 | QCheckBox* m_pAutomaticPreviewCheckBox; | ||
34 | }; | 43 | }; |
35 | 44 | ||
36 | #endif // IMPORTDIALOG_H | 45 | #endif // IMPORTDIALOG_H |