Diffstat (limited to 'noncore/unsupported/qpdf/qpdf.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/qpdf/qpdf.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/unsupported/qpdf/qpdf.h b/noncore/unsupported/qpdf/qpdf.h index b4ce554..8b3cff9 100644 --- a/noncore/unsupported/qpdf/qpdf.h +++ b/noncore/unsupported/qpdf/qpdf.h | |||
@@ -2,18 +2,20 @@ | |||
2 | #define __QPDF_H__ | 2 | #define __QPDF_H__ |
3 | 3 | ||
4 | #include "aconf.h" | 4 | #include "aconf.h" |
5 | 5 | ||
6 | #include <qmainwindow.h> | 6 | #include <qmainwindow.h> |
7 | 7 | ||
8 | #define QPDF_QPE_ONLY 1 // ofileselector does not work right currently | ||
8 | 9 | ||
9 | class QPEOutputDev; | 10 | class QPEOutputDev; |
10 | class PDFDoc; | 11 | class PDFDoc; |
11 | 12 | ||
12 | class DocLnk; | 13 | class DocLnk; |
13 | class FileSelector; | 14 | class FileSelector; |
15 | class OFileSelector; | ||
14 | class QWidgetStack; | 16 | class QWidgetStack; |
15 | class QLineEdit; | 17 | class QLineEdit; |
16 | 18 | ||
17 | 19 | ||
18 | class QPdfDlg : public QMainWindow { | 20 | class QPdfDlg : public QMainWindow { |
19 | Q_OBJECT | 21 | Q_OBJECT |
@@ -65,13 +67,18 @@ protected: | |||
65 | virtual void resizeEvent ( QResizeEvent *e ); | 67 | virtual void resizeEvent ( QResizeEvent *e ); |
66 | virtual void focusInEvent ( QFocusEvent *e ); | 68 | virtual void focusInEvent ( QFocusEvent *e ); |
67 | 69 | ||
68 | private: | 70 | private: |
69 | QWidgetStack *m_stack; | 71 | QWidgetStack *m_stack; |
70 | QPEOutputDev *m_outdev; | 72 | QPEOutputDev *m_outdev; |
73 | |||
74 | #ifdef QPDF_QPE_ONLY | ||
71 | FileSelector *m_filesel; | 75 | FileSelector *m_filesel; |
76 | #else | ||
77 | OFileSelector *m_filesel; | ||
78 | #endif | ||
72 | 79 | ||
73 | QToolBar *m_tb_menu, *m_tb_tool, *m_tb_find; | 80 | QToolBar *m_tb_menu, *m_tb_tool, *m_tb_find; |
74 | QLineEdit *m_findedit; | 81 | QLineEdit *m_findedit; |
75 | QPopupMenu *m_pm_zoom; | 82 | QPopupMenu *m_pm_zoom; |
76 | 83 | ||
77 | QToolButton *m_to_find, *m_to_full; | 84 | QToolButton *m_to_find, *m_to_full; |