summaryrefslogtreecommitdiff
authorsandman <sandman>2002-10-06 03:10:40 (UTC)
committer sandman <sandman>2002-10-06 03:10:40 (UTC)
commitb9cbdf51e961eb51ea60fc81de7dc9bb1023545e (patch) (side-by-side diff)
treeecfe3f7bae3d05169ab48ed6a88f2b1caae093d1
parent56276f60d5dd404c3cd8a65003faf75b289f1131 (diff)
downloadopie-b9cbdf51e961eb51ea60fc81de7dc9bb1023545e.zip
opie-b9cbdf51e961eb51ea60fc81de7dc9bb1023545e.tar.gz
opie-b9cbdf51e961eb51ea60fc81de7dc9bb1023545e.tar.bz2
- uses OFileSelector now
- menu/toolbars are now QPE variants
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/qpdf/qpdf.cpp10
-rw-r--r--noncore/unsupported/qpdf/qpdf.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/noncore/unsupported/qpdf/qpdf.cpp b/noncore/unsupported/qpdf/qpdf.cpp
index f338509..e78f081 100644
--- a/noncore/unsupported/qpdf/qpdf.cpp
+++ b/noncore/unsupported/qpdf/qpdf.cpp
@@ -21,7 +21,7 @@
#include <qclipboard.h>
-#include <qtoolbar.h>
+#include <qpe/qpetoolbar.h>
#include <qtoolbutton.h>
-#include <qmenubar.h>
+#include <qpe/qpemenubar.h>
#include <qpopupmenu.h>
#include <qwidgetstack.h>
@@ -100,5 +100,5 @@ QPdfDlg::QPdfDlg ( ) : QMainWindow ( )
m_tb_menu-> setHorizontalStretchable ( true );
- QMenuBar *mb = new QMenuBar ( m_tb_menu );
+ QMenuBar *mb = new QPEMenuBar ( m_tb_menu );
m_pm_zoom = new QPopupMenu ( mb );
@@ -119,5 +119,5 @@ QPdfDlg::QPdfDlg ( ) : QMainWindow ( )
connect ( m_pm_zoom, SIGNAL( activated ( int )), this, SLOT( setZoom ( int )));
- m_tb_tool = new QToolBar ( this );
+ m_tb_tool = new QPEToolBar ( this );
new QToolButton ( Resource::loadIconSet ( "fileopen" ), tr( "Open..." ), QString::null, this, SLOT( openFile ( )), m_tb_tool, "open" );
@@ -135,5 +135,5 @@ QPdfDlg::QPdfDlg ( ) : QMainWindow ( )
new QToolButton ( Resource::loadIconSet ( "fastforward" ), tr( "Last page" ), QString::null, this, SLOT( lastPage ( )), m_tb_tool, "last" );
- m_tb_find = new QToolBar ( this );
+ m_tb_find = new QPEToolBar ( this );
addToolBar ( m_tb_find, "Search", QMainWindow::Top, true );
m_tb_find-> setHorizontalStretchable ( true );
diff --git a/noncore/unsupported/qpdf/qpdf.h b/noncore/unsupported/qpdf/qpdf.h
index 8b3cff9..fd4f013 100644
--- a/noncore/unsupported/qpdf/qpdf.h
+++ b/noncore/unsupported/qpdf/qpdf.h
@@ -6,5 +6,5 @@
#include <qmainwindow.h>
-#define QPDF_QPE_ONLY 1 // ofileselector does not work right currently
+//#define QPDF_QPE_ONLY 1
class QPEOutputDev;