author | simon <simon> | 2002-04-30 06:10:58 (UTC) |
---|---|---|
committer | simon <simon> | 2002-04-30 06:10:58 (UTC) |
commit | 06be684b1ad4f17fdb5e9ea55560c1d6e4b4bf7d (patch) (unidiff) | |
tree | 3eeba0a5403e1c0e3d4933b8065731fb9c47a511 | |
parent | ed745f7e21eb32fbf5d9a3f1734d79b25cfa629c (diff) | |
download | opie-06be684b1ad4f17fdb5e9ea55560c1d6e4b4bf7d.zip opie-06be684b1ad4f17fdb5e9ea55560c1d6e4b4bf7d.tar.gz opie-06be684b1ad4f17fdb5e9ea55560c1d6e4b4bf7d.tar.bz2 |
- no default arguments in method implementations
-rw-r--r-- | core/pim/todo/mainwindow.cpp | 2 | ||||
-rw-r--r-- | libopie/colorpopupmenu.cpp | 2 |
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 @@ | |||
59 | #include <stdlib.h> | 59 | #include <stdlib.h> |
60 | 60 | ||
61 | static QString todolistXMLFilename() | 61 | static QString todolistXMLFilename() |
62 | { | 62 | { |
63 | return Global::applicationFileName("todolist","todolist.xml"); | 63 | return Global::applicationFileName("todolist","todolist.xml"); |
64 | } | 64 | } |
65 | 65 | ||
66 | static QString categoriesXMLFilename() | 66 | static QString categoriesXMLFilename() |
67 | { | 67 | { |
68 | return Global::applicationFileName("todolist","categories.xml"); | 68 | return Global::applicationFileName("todolist","categories.xml"); |
69 | } | 69 | } |
70 | 70 | ||
71 | TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f = 0 ) : | 71 | TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f ) : |
72 | QMainWindow( parent, name, f ), syncing(FALSE) | 72 | QMainWindow( parent, name, f ), syncing(FALSE) |
73 | { | 73 | { |
74 | // QTime t; | 74 | // QTime t; |
75 | // t.start(); | 75 | // t.start(); |
76 | mView = 0l; | 76 | mView = 0l; |
77 | mStack = new QWidgetStack(this, "main stack"); | 77 | mStack = new QWidgetStack(this, "main stack"); |
78 | setCaption( tr("Todo") ); | 78 | setCaption( tr("Todo") ); |
79 | QString str; | 79 | QString str; |
80 | table = new TodoTable( this ); | 80 | table = new TodoTable( this ); |
81 | table->setColumnWidth( 2, 10 ); | 81 | table->setColumnWidth( 2, 10 ); |
82 | table->setPaintingEnabled( FALSE ); | 82 | table->setPaintingEnabled( FALSE ); |
83 | table->setUpdatesEnabled( FALSE ); | 83 | 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 ) | |||
78 | painter.setPen( Qt::black ); | 78 | painter.setPen( Qt::black ); |
79 | painter.drawRect( 2, 2, 12, 12 ); | 79 | painter.drawRect( 2, 2, 12, 12 ); |
80 | painter.end(); | 80 | painter.end(); |
81 | } | 81 | } |
82 | 82 | ||
83 | void ColorPanelButton::mouseReleaseEvent( QMouseEvent* e ) | 83 | void ColorPanelButton::mouseReleaseEvent( QMouseEvent* e ) |
84 | { | 84 | { |
85 | Q_UNUSED( e ) | 85 | Q_UNUSED( e ) |
86 | 86 | ||
87 | emit selected( m_color ); | 87 | emit selected( m_color ); |
88 | } | 88 | } |
89 | 89 | ||
90 | ColorPopupMenu::ColorPopupMenu( const QColor& color, QWidget* parent = 0, const char* name = 0 ) | 90 | ColorPopupMenu::ColorPopupMenu( const QColor& color, QWidget* parent, const char* name ) |
91 | : QPopupMenu( parent, name ) | 91 | : QPopupMenu( parent, name ) |
92 | { | 92 | { |
93 | m_color = color; | 93 | m_color = color; |
94 | 94 | ||
95 | colorPanel = new QWidget( this ); | 95 | colorPanel = new QWidget( this ); |
96 | 96 | ||
97 | colorLayout = new QGridLayout(colorPanel, 5, 6); | 97 | colorLayout = new QGridLayout(colorPanel, 5, 6); |
98 | 98 | ||
99 | addColor(QColor(255, 255, 255), 0, 1); | 99 | addColor(QColor(255, 255, 255), 0, 1); |
100 | addColor(QColor(192, 192, 192), 0, 2); | 100 | addColor(QColor(192, 192, 192), 0, 2); |
101 | addColor(QColor(128, 128, 128), 0, 3); | 101 | addColor(QColor(128, 128, 128), 0, 3); |
102 | addColor(QColor(64, 64, 64), 0, 4); | 102 | addColor(QColor(64, 64, 64), 0, 4); |