summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook
authordrw <drw>2004-02-05 17:59:49 (UTC)
committer drw <drw>2004-02-05 17:59:49 (UTC)
commit7c8214c06f13b9295df8ac3efaf021e66600d440 (patch) (side-by-side diff)
tree9e9d4aa227bf4618a3643be331fd14eeaead0ec1 /noncore/apps/checkbook
parentc5db70388cbe21934d4e3b2df3e8c8c1d9807d41 (diff)
downloadopie-7c8214c06f13b9295df8ac3efaf021e66600d440.zip
opie-7c8214c06f13b9295df8ac3efaf021e66600d440.tar.gz
opie-7c8214c06f13b9295df8ac3efaf021e66600d440.tar.bz2
Re-enable whats this icon in titlebar
Diffstat (limited to 'noncore/apps/checkbook') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/checkbook/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/checkbook/mainwindow.cpp b/noncore/apps/checkbook/mainwindow.cpp
index 9fc2125..f29001a 100644
--- a/noncore/apps/checkbook/mainwindow.cpp
+++ b/noncore/apps/checkbook/mainwindow.cpp
@@ -27,50 +27,50 @@
*/
#include "mainwindow.h"
#include "cbinfo.h"
#include "configuration.h"
#include "password.h"
#include "checkbook.h"
#include "listedit.h"
#include <qpe/config.h>
#include <qpe/global.h>
#include <qpe/qpeapplication.h>
#include <qmenubar.h>
#include <qpe/qpemessagebox.h>
#include <qpe/qpetoolbar.h>
#include <qpe/resource.h>
#include <qaction.h>
#include <qcheckbox.h>
#include <qdir.h>
#include <qlineedit.h>
#include <qwhatsthis.h>
-MainWindow::MainWindow( QWidget* parent, const char* name, WFlags fl )
- : QMainWindow( parent, name, fl || WStyle_ContextHelp )
+MainWindow::MainWindow( QWidget* parent, const char* name, WFlags /*fl*/ )
+ : QMainWindow( parent, name, WStyle_ContextHelp )
{
setCaption( tr( "Checkbook" ) );
cbDir = Global::applicationFileName( "checkbook", "" );
lockIcon = Resource::loadPixmap( "locked" );
// Load configuration options
Config config( "checkbook" );
_cfg.readConfig( config );
// Build menu and tool bars
setToolBarsMovable( FALSE );
QToolBar *bar = new QToolBar( this );
bar->setHorizontalStretchable( TRUE );
QMenuBar *mb = new QMenuBar( bar );
mb->setMargin( 0 );
QPopupMenu *popup = new QPopupMenu( this );
bar = new QToolBar( this );
QAction *a = new QAction( tr( "New" ), Resource::loadPixmap( "new" ), QString::null, 0, this, 0 );
a->setWhatsThis( tr( "Click here to create a new checkbook.\n\nYou also can select New from the Checkbook menu." ) );
connect( a, SIGNAL( activated() ), this, SLOT( slotNew() ) );