summaryrefslogtreecommitdiff
path: root/noncore/unsupported/qpdf/qpdf.h
Unidiff
Diffstat (limited to 'noncore/unsupported/qpdf/qpdf.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/qpdf/qpdf.h7
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
9class QPEOutputDev; 10class QPEOutputDev;
10class PDFDoc; 11class PDFDoc;
11 12
12class DocLnk; 13class DocLnk;
13class FileSelector; 14class FileSelector;
15class OFileSelector;
14class QWidgetStack; 16class QWidgetStack;
15class QLineEdit; 17class QLineEdit;
16 18
17 19
18class QPdfDlg : public QMainWindow { 20class 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
68private: 70private:
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;