summaryrefslogtreecommitdiff
Side-by-side diff
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
@@ -59,25 +59,25 @@
#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 );
diff --git a/libopie/colorpopupmenu.cpp b/libopie/colorpopupmenu.cpp
index 9b50a8b..17e2c0a 100644
--- a/libopie/colorpopupmenu.cpp
+++ b/libopie/colorpopupmenu.cpp
@@ -78,25 +78,25 @@ void ColorPanelButton::paintEvent( QPaintEvent* e )
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);