From b9cbdf51e961eb51ea60fc81de7dc9bb1023545e Mon Sep 17 00:00:00 2001 From: sandman Date: Sun, 06 Oct 2002 03:10:40 +0000 Subject: - uses OFileSelector now - menu/toolbars are now QPE variants --- (limited to 'noncore/unsupported/qpdf/qpdf.cpp') 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 @@ -20,9 +20,9 @@ #include -#include +#include #include -#include +#include #include #include #include @@ -99,7 +99,7 @@ QPdfDlg::QPdfDlg ( ) : QMainWindow ( ) m_tb_menu = new QToolBar ( this ); 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 ); m_pm_zoom-> setCheckable ( true ); @@ -118,7 +118,7 @@ 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" ); m_tb_tool-> addSeparator ( ); @@ -134,7 +134,7 @@ QPdfDlg::QPdfDlg ( ) : QMainWindow ( ) new QToolButton ( Resource::loadIconSet ( "forward" ), tr( "Next page" ), QString::null, this, SLOT( nextPage ( )), m_tb_tool, "next" ); 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 ); m_tb_find-> hide ( ); -- cgit v0.9.0.2