Diffstat (limited to 'noncore/apps/dagger/navbar.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/dagger/navbar.cpp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/noncore/apps/dagger/navbar.cpp b/noncore/apps/dagger/navbar.cpp index ac49613..b28c677 100644 --- a/noncore/apps/dagger/navbar.cpp +++ b/noncore/apps/dagger/navbar.cpp @@ -27,11 +27,10 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc., #include <qwhatsthis.h> -using Opie::Core::OResource; - NavBar::NavBar( QMainWindow *parent ) : QToolBar( QString::null, parent, QMainWindow::Top, true ) { // Initialize UI - m_actionPrevPage = new QAction( tr( "Previous page" ), OResource::loadPixmap( "fastback", OResource::SmallIcon ), + m_actionPrevPage = new QAction( tr( "Previous page" ), + Opie::Core::OResource::loadPixmap( "fastback", Opie::Core::OResource::SmallIcon ), QString::null, 0, this, 0 ); m_actionPrevPage->setWhatsThis( tr( "Tap here to scroll backward one page." ) ); @@ -39,5 +38,6 @@ NavBar::NavBar( QMainWindow *parent ) connect( m_actionPrevPage, SIGNAL(activated()), this, SIGNAL(prevPage()) ); - m_actionPrevVerse = new QAction( tr( "Previous verse" ), OResource::loadPixmap( "back", OResource::SmallIcon ), + m_actionPrevVerse = new QAction( tr( "Previous verse" ), + Opie::Core::OResource::loadPixmap( "back", Opie::Core::OResource::SmallIcon ), QString::null, 0, this, 0 ); m_actionPrevVerse->setWhatsThis( tr( "Tap here to scroll backward one verse." ) ); @@ -50,5 +50,6 @@ NavBar::NavBar( QMainWindow *parent ) connect(m_key, SIGNAL(textChanged(const QString &)), this, SIGNAL(keyChanged(const QString &)) ); - m_actionNextVerse = new QAction( tr( "Next verse" ), OResource::loadPixmap( "forward", OResource::SmallIcon ), + m_actionNextVerse = new QAction( tr( "Next verse" ), + Opie::Core::OResource::loadPixmap( "forward", Opie::Core::OResource::SmallIcon ), QString::null, 0, this, 0 ); m_actionNextVerse->setWhatsThis( tr( "Tap here to scroll forward one verse." ) ); @@ -56,5 +57,6 @@ NavBar::NavBar( QMainWindow *parent ) connect( m_actionNextVerse, SIGNAL(activated()), this, SIGNAL(nextVerse()) ); - m_actionNextPage = new QAction( tr( "Next page" ), OResource::loadPixmap( "fastforward", OResource::SmallIcon ), + m_actionNextPage = new QAction( tr( "Next page" ), + Opie::Core::OResource::loadPixmap( "fastforward", Opie::Core::OResource::SmallIcon ), QString::null, 0, this, 0 ); m_actionNextPage->setWhatsThis( tr( "Tap here to scroll forward one page." ) ); @@ -69,5 +71,6 @@ NavBar::NavBar( QMainWindow *parent ) connect( m_scrollRate, SIGNAL(valueChanged(int)), this, SIGNAL(scrollRateChanged(int)) ); - m_actionScroll = new QAction( tr( "Auto-scroll" ), OResource::loadPixmap( "dagger/autoscroll", OResource::SmallIcon ), + m_actionScroll = new QAction( tr( "Auto-scroll" ), + Opie::Core::OResource::loadPixmap( "dagger/autoscroll", Opie::Core::OResource::SmallIcon ), QString::null, 0, this, 0 ); m_actionScroll->setToggleAction( true ); |