summaryrefslogtreecommitdiff
authordrw <drw>2005-06-15 22:56:39 (UTC)
committer drw <drw>2005-06-15 22:56:39 (UTC)
commitf461773acd6e6d6c58d9ac0acea7600c1e341faf (patch) (unidiff)
tree7c3f157a94c620df3ba8bfc6e7f6089c8a93cdf6
parent7ff2e7bd4620a574f3ff22a951a5904310cfd920 (diff)
downloadopie-f461773acd6e6d6c58d9ac0acea7600c1e341faf.zip
opie-f461773acd6e6d6c58d9ac0acea7600c1e341faf.tar.gz
opie-f461773acd6e6d6c58d9ac0acea7600c1e341faf.tar.bz2
Forgot to remove include
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/dagger/navbar.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/apps/dagger/navbar.cpp b/noncore/apps/dagger/navbar.cpp
index b28c677..62a8a95 100644
--- a/noncore/apps/dagger/navbar.cpp
+++ b/noncore/apps/dagger/navbar.cpp
@@ -1,55 +1,54 @@
1/* 1/*
2Dagger - A Bible study program utilizing the Sword library. 2Dagger - A Bible study program utilizing the Sword library.
3Copyright (c) 2004 Dan Williams <drw@handhelds.org> 3Copyright (c) 2004 Dan Williams <drw@handhelds.org>
4 4
5This file is free software; you can redistribute it and/or modify it under 5This file is free software; you can redistribute it and/or modify it under
6the terms of the GNU General Public License as published by the Free Software 6the terms of the GNU General Public License as published by the Free Software
7Foundation; either version 2 of the License, or (at your option) any later version. 7Foundation; either version 2 of the License, or (at your option) any later version.
8 8
9This file is distributed in the hope that it will be useful, but WITHOUT ANY 9This file is distributed in the hope that it will be useful, but WITHOUT ANY
10WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 10WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11PARTICULAR PURPOSE. See the GNU General Public License for more details. 11PARTICULAR PURPOSE. See the GNU General Public License for more details.
12 12
13You should have received a copy of the GNU General Public License along with this 13You should have received a copy of the GNU General Public License along with this
14file; see the file COPYING. If not, write to the Free Software Foundation, Inc., 14file; see the file COPYING. If not, write to the Free Software Foundation, Inc.,
1559 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 1559 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16*/ 16*/
17 17
18#include "navbar.h" 18#include "navbar.h"
19 19
20#include <opie2/oresource.h> 20#include <opie2/oresource.h>
21 21
22#include <qpe/config.h> 22#include <qpe/config.h>
23#include <qpe/resource.h>
24 23
25#include <qaction.h> 24#include <qaction.h>
26#include <qlineedit.h> 25#include <qlineedit.h>
27#include <qwhatsthis.h> 26#include <qwhatsthis.h>
28 27
29NavBar::NavBar( QMainWindow *parent ) 28NavBar::NavBar( QMainWindow *parent )
30 : QToolBar( QString::null, parent, QMainWindow::Top, true ) 29 : QToolBar( QString::null, parent, QMainWindow::Top, true )
31{ 30{
32 // Initialize UI 31 // Initialize UI
33 m_actionPrevPage = new QAction( tr( "Previous page" ), 32 m_actionPrevPage = new QAction( tr( "Previous page" ),
34 Opie::Core::OResource::loadPixmap( "fastback", Opie::Core::OResource::SmallIcon ), 33 Opie::Core::OResource::loadPixmap( "fastback", Opie::Core::OResource::SmallIcon ),
35 QString::null, 0, this, 0 ); 34 QString::null, 0, this, 0 );
36 m_actionPrevPage->setWhatsThis( tr( "Tap here to scroll backward one page." ) ); 35 m_actionPrevPage->setWhatsThis( tr( "Tap here to scroll backward one page." ) );
37 m_actionPrevPage->addTo( this ); 36 m_actionPrevPage->addTo( this );
38 connect( m_actionPrevPage, SIGNAL(activated()), this, SIGNAL(prevPage()) ); 37 connect( m_actionPrevPage, SIGNAL(activated()), this, SIGNAL(prevPage()) );
39 38
40 m_actionPrevVerse = new QAction( tr( "Previous verse" ), 39 m_actionPrevVerse = new QAction( tr( "Previous verse" ),
41 Opie::Core::OResource::loadPixmap( "back", Opie::Core::OResource::SmallIcon ), 40 Opie::Core::OResource::loadPixmap( "back", Opie::Core::OResource::SmallIcon ),
42 QString::null, 0, this, 0 ); 41 QString::null, 0, this, 0 );
43 m_actionPrevVerse->setWhatsThis( tr( "Tap here to scroll backward one verse." ) ); 42 m_actionPrevVerse->setWhatsThis( tr( "Tap here to scroll backward one verse." ) );
44 m_actionPrevVerse->addTo( this ); 43 m_actionPrevVerse->addTo( this );
45 connect( m_actionPrevVerse, SIGNAL(activated()), this, SIGNAL(prevVerse()) ); 44 connect( m_actionPrevVerse, SIGNAL(activated()), this, SIGNAL(prevVerse()) );
46 45
47 m_key = new QLineEdit( this ); 46 m_key = new QLineEdit( this );
48 setStretchableWidget( m_key ); 47 setStretchableWidget( m_key );
49 QWhatsThis::add( m_key, tr( "Enter location to display here." ) ); 48 QWhatsThis::add( m_key, tr( "Enter location to display here." ) );
50 connect(m_key, SIGNAL(textChanged(const QString &)), this, SIGNAL(keyChanged(const QString &)) ); 49 connect(m_key, SIGNAL(textChanged(const QString &)), this, SIGNAL(keyChanged(const QString &)) );
51 50
52 m_actionNextVerse = new QAction( tr( "Next verse" ), 51 m_actionNextVerse = new QAction( tr( "Next verse" ),
53 Opie::Core::OResource::loadPixmap( "forward", Opie::Core::OResource::SmallIcon ), 52 Opie::Core::OResource::loadPixmap( "forward", Opie::Core::OResource::SmallIcon ),
54 QString::null, 0, this, 0 ); 53 QString::null, 0, this, 0 );
55 m_actionNextVerse->setWhatsThis( tr( "Tap here to scroll forward one verse." ) ); 54 m_actionNextVerse->setWhatsThis( tr( "Tap here to scroll forward one verse." ) );