Diffstat (limited to 'noncore/unsupported/qpdf/qpdf.h') (more/less context) (show 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 @@ #define __QPDF_H__ #include "aconf.h" #include <qmainwindow.h> +#define QPDF_QPE_ONLY 1 // ofileselector does not work right currently class QPEOutputDev; class PDFDoc; class DocLnk; class FileSelector; +class OFileSelector; class QWidgetStack; class QLineEdit; class QPdfDlg : public QMainWindow { Q_OBJECT @@ -65,13 +67,18 @@ protected: virtual void resizeEvent ( QResizeEvent *e ); virtual void focusInEvent ( QFocusEvent *e ); private: QWidgetStack *m_stack; QPEOutputDev *m_outdev; + +#ifdef QPDF_QPE_ONLY FileSelector *m_filesel; +#else + OFileSelector *m_filesel; +#endif QToolBar *m_tb_menu, *m_tb_tool, *m_tb_find; QLineEdit *m_findedit; QPopupMenu *m_pm_zoom; QToolButton *m_to_find, *m_to_full; |