author | sandman <sandman> | 2002-10-06 03:16:56 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-06 03:16:56 (UTC) |
commit | 502dba87e55f7f87ad9ea009a7e283c0c39f0c7f (patch) (side-by-side diff) | |
tree | ca260e30988ff7fb6c858cc8515a5d217901bdf9 | |
parent | b9cbdf51e961eb51ea60fc81de7dc9bb1023545e (diff) | |
download | opie-502dba87e55f7f87ad9ea009a7e283c0c39f0c7f.zip opie-502dba87e55f7f87ad9ea009a7e283c0c39f0c7f.tar.gz opie-502dba87e55f7f87ad9ea009a7e283c0c39f0c7f.tar.bz2 |
backout the QTool/MenuBar changes ... the bug is in libqpe
-rw-r--r-- | noncore/unsupported/qpdf/qpdf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/unsupported/qpdf/qpdf.cpp b/noncore/unsupported/qpdf/qpdf.cpp index e78f081..61f097b 100644 --- a/noncore/unsupported/qpdf/qpdf.cpp +++ b/noncore/unsupported/qpdf/qpdf.cpp @@ -98,9 +98,9 @@ QPdfDlg::QPdfDlg ( ) : QMainWindow ( ) m_tb_menu = new QToolBar ( this ); m_tb_menu-> setHorizontalStretchable ( true ); - QMenuBar *mb = new QPEMenuBar ( m_tb_menu ); + QMenuBar *mb = new QMenuBar ( m_tb_menu ); m_pm_zoom = new QPopupMenu ( mb ); m_pm_zoom-> setCheckable ( true ); @@ -117,9 +117,9 @@ QPdfDlg::QPdfDlg ( ) : QMainWindow ( ) m_pm_zoom-> insertItem ( tr( "200%" ), 200 ); connect ( m_pm_zoom, SIGNAL( activated ( int )), this, SLOT( setZoom ( int ))); - m_tb_tool = new QPEToolBar ( this ); + m_tb_tool = new QToolBar ( this ); new QToolButton ( Resource::loadIconSet ( "fileopen" ), tr( "Open..." ), QString::null, this, SLOT( openFile ( )), m_tb_tool, "open" ); m_tb_tool-> addSeparator ( ); m_to_find = new QToolButton ( Resource::loadIconSet ( "find" ), tr( "Find..." ), QString::null, this, SLOT( toggleFindBar ( )), m_tb_tool, "find" ); @@ -133,9 +133,9 @@ QPdfDlg::QPdfDlg ( ) : QMainWindow ( ) new QToolButton ( Resource::loadIconSet ( "down" ), tr( "Goto page..." ), QString::null, this, SLOT( gotoPageDialog ( )), m_tb_tool, "goto" ); 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 QPEToolBar ( this ); + m_tb_find = new QToolBar ( this ); addToolBar ( m_tb_find, "Search", QMainWindow::Top, true ); m_tb_find-> setHorizontalStretchable ( true ); m_tb_find-> hide ( ); |