summaryrefslogtreecommitdiff
path: root/library
authorsimon <simon>2002-03-25 19:19:51 (UTC)
committer simon <simon>2002-03-25 19:19:51 (UTC)
commit956522a9355051294e12e85e564d8ae1f0b928a3 (patch) (side-by-side diff)
tree1926e6b270be501ed9fa4d5b89d839666c2c82ba /library
parent7c0676ba302dc1cfa4348423544ea2d66417c1bd (diff)
downloadopie-956522a9355051294e12e85e564d8ae1f0b928a3.zip
opie-956522a9355051294e12e85e564d8ae1f0b928a3.tar.gz
opie-956522a9355051294e12e85e564d8ae1f0b928a3.tar.bz2
- no default arguments in method implementations
Diffstat (limited to 'library') (more/less context) (show whitespace changes)
-rw-r--r--library/categorymenu.cpp2
-rw-r--r--library/imageedit.cpp2
-rw-r--r--library/menubutton.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/library/categorymenu.cpp b/library/categorymenu.cpp
index 52a127c..e733107 100644
--- a/library/categorymenu.cpp
+++ b/library/categorymenu.cpp
@@ -25,7 +25,7 @@
#include <qmap.h>
CategoryMenu::CategoryMenu( const QString &n, bool ig = TRUE,
- QWidget *parent = 0, const char *name = 0 ) :
+ QWidget *parent, const char *name ) :
QPopupMenu(parent, name),
appName(n),
includeGlobal(ig)
diff --git a/library/imageedit.cpp b/library/imageedit.cpp
index 7f98ebb..0c22448 100644
--- a/library/imageedit.cpp
+++ b/library/imageedit.cpp
@@ -20,7 +20,7 @@
#include "imageedit.h"
#include <qpainter.h>
-ImageEdit::ImageEdit( QWidget *parent = 0, const char *name = 0 )
+ImageEdit::ImageEdit( QWidget *parent, const char *name )
: QScrollView( parent, name, WNorthWestGravity | WResizeNoErase ), buffer()
{
buffer.resize( size() );
diff --git a/library/menubutton.cpp b/library/menubutton.cpp
index c34383a..6b1fa2b 100644
--- a/library/menubutton.cpp
+++ b/library/menubutton.cpp
@@ -101,7 +101,7 @@ void MenuButton::insertItems( const QStringList& items )
/*!
Inserts an \a icon and \a text into the menu.
*/
-void MenuButton::insertItem( const QIconSet& icon, const QString& text=QString::null )
+void MenuButton::insertItem( const QIconSet& icon, const QString& text )
{
pop->insertItem(icon, text, nitems++);
if ( nitems==1 ) select(0);