summaryrefslogtreecommitdiff
authorsimon <simon>2002-04-30 06:10:58 (UTC)
committer simon <simon>2002-04-30 06:10:58 (UTC)
commit06be684b1ad4f17fdb5e9ea55560c1d6e4b4bf7d (patch) (side-by-side diff)
tree3eeba0a5403e1c0e3d4933b8065731fb9c47a511
parented745f7e21eb32fbf5d9a3f1734d79b25cfa629c (diff)
downloadopie-06be684b1ad4f17fdb5e9ea55560c1d6e4b4bf7d.zip
opie-06be684b1ad4f17fdb5e9ea55560c1d6e4b4bf7d.tar.gz
opie-06be684b1ad4f17fdb5e9ea55560c1d6e4b4bf7d.tar.bz2
- no default arguments in method implementations
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp2
-rw-r--r--libopie/colorpopupmenu.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index 294f37c..5609211 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -55,33 +55,33 @@
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
static QString todolistXMLFilename()
{
return Global::applicationFileName("todolist","todolist.xml");
}
static QString categoriesXMLFilename()
{
return Global::applicationFileName("todolist","categories.xml");
}
-TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f = 0 ) :
+TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f ) :
QMainWindow( parent, name, f ), syncing(FALSE)
{
// QTime t;
// t.start();
mView = 0l;
mStack = new QWidgetStack(this, "main stack");
setCaption( tr("Todo") );
QString str;
table = new TodoTable( this );
table->setColumnWidth( 2, 10 );
table->setPaintingEnabled( FALSE );
table->setUpdatesEnabled( FALSE );
table->viewport()->setUpdatesEnabled( FALSE );
{
str = todolistXMLFilename();
diff --git a/libopie/colorpopupmenu.cpp b/libopie/colorpopupmenu.cpp
index 9b50a8b..17e2c0a 100644
--- a/libopie/colorpopupmenu.cpp
+++ b/libopie/colorpopupmenu.cpp
@@ -74,33 +74,33 @@ void ColorPanelButton::paintEvent( QPaintEvent* e )
QPainter painter;
painter.begin( this );
painter.fillRect( 2, 2, 12, 12, m_color );
painter.setPen( Qt::black );
painter.drawRect( 2, 2, 12, 12 );
painter.end();
}
void ColorPanelButton::mouseReleaseEvent( QMouseEvent* e )
{
Q_UNUSED( e )
emit selected( m_color );
}
-ColorPopupMenu::ColorPopupMenu( const QColor& color, QWidget* parent = 0, const char* name = 0 )
+ColorPopupMenu::ColorPopupMenu( const QColor& color, QWidget* parent, const char* name )
: QPopupMenu( parent, name )
{
m_color = color;
colorPanel = new QWidget( this );
colorLayout = new QGridLayout(colorPanel, 5, 6);
addColor(QColor(255, 255, 255), 0, 1);
addColor(QColor(192, 192, 192), 0, 2);
addColor(QColor(128, 128, 128), 0, 3);
addColor(QColor(64, 64, 64), 0, 4);
addColor(QColor(0, 0, 0), 0, 5);
addColor(QColor(255, 0, 0), 1, 0);
addColor(QColor(255, 128, 0), 1, 1);