author | zecke <zecke> | 2002-12-10 16:55:46 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-12-10 16:55:46 (UTC) |
commit | 36375df6ff103e52455823f7afd64c4f4ae7fcb8 (patch) (unidiff) | |
tree | 7a74ca6c05e1d4def7d43de5b5441bed497406ba | |
parent | 1bc8aa236cf01e0221e3c2748b2ab3eec4f0817a (diff) | |
download | opie-36375df6ff103e52455823f7afd64c4f4ae7fcb8.zip opie-36375df6ff103e52455823f7afd64c4f4ae7fcb8.tar.gz opie-36375df6ff103e52455823f7afd64c4f4ae7fcb8.tar.bz2 |
Shut up the compiler
-rw-r--r-- | core/pim/todo/mainwindow.cpp | 10 | ||||
-rw-r--r-- | core/pim/todo/mainwindow.h | 1 | ||||
-rw-r--r-- | core/pim/todo/tableview.cpp | 4 | ||||
-rw-r--r-- | core/pim/todo/todoeditor.cpp | 2 |
4 files changed, 5 insertions, 12 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index b2b3b8f..0ab6230 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp | |||
@@ -62,5 +62,5 @@ using namespace Todo; | |||
62 | MainWindow::MainWindow( QWidget* parent, | 62 | MainWindow::MainWindow( QWidget* parent, |
63 | const char* name ) | 63 | const char* name ) |
64 | : OPimMainWindow("Todolist") | 64 | : OPimMainWindow("Todolist", parent, name) |
65 | { | 65 | { |
66 | 66 | ||
@@ -253,5 +253,5 @@ MainWindow::~MainWindow() { | |||
253 | delete templateManager(); | 253 | delete templateManager(); |
254 | } | 254 | } |
255 | void MainWindow::connectBase( ViewBase* base) { | 255 | void MainWindow::connectBase( ViewBase* ) { |
256 | // once templates and signals mix we'll use it again | 256 | // once templates and signals mix we'll use it again |
257 | } | 257 | } |
@@ -798,8 +798,2 @@ void MainWindow::add( const OPimRecord& rec) { | |||
798 | populateCategories(); | 798 | populateCategories(); |
799 | } | 799 | } |
800 | /* todo does not have the QDataStream<< and >> operators implemented :( | ||
801 | * FIXME | ||
802 | */ | ||
803 | OPimRecord* MainWindow::record( int rtti, const QByteArray& ) { | ||
804 | return 0l; | ||
805 | } | ||
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h index 14cfa82..87a9133 100644 --- a/core/pim/todo/mainwindow.h +++ b/core/pim/todo/mainwindow.h | |||
@@ -197,5 +197,4 @@ private slots: | |||
197 | void edit( int uid ); | 197 | void edit( int uid ); |
198 | void add( const OPimRecord& ); | 198 | void add( const OPimRecord& ); |
199 | OPimRecord* record( int rtti, const QByteArray& ); | ||
200 | }; | 199 | }; |
201 | }; | 200 | }; |
diff --git a/core/pim/todo/tableview.cpp b/core/pim/todo/tableview.cpp index 0f683c9..2434150 100644 --- a/core/pim/todo/tableview.cpp +++ b/core/pim/todo/tableview.cpp | |||
@@ -171,5 +171,5 @@ void TableView::updateView( ) { | |||
171 | killTimer(id); | 171 | killTimer(id); |
172 | 172 | ||
173 | int elc = time.elapsed(); | 173 | // int elc = time.elapsed(); |
174 | setUpdatesEnabled( true ); | 174 | setUpdatesEnabled( true ); |
175 | viewport()->setUpdatesEnabled( true ); | 175 | viewport()->setUpdatesEnabled( true ); |
@@ -177,5 +177,5 @@ void TableView::updateView( ) { | |||
177 | 177 | ||
178 | m_enablePaint = true; | 178 | m_enablePaint = true; |
179 | int el = time.elapsed(); | 179 | // int el = time.elapsed(); |
180 | } | 180 | } |
181 | void TableView::setTodo( int, const OTodo&) { | 181 | void TableView::setTodo( int, const OTodo&) { |
diff --git a/core/pim/todo/todoeditor.cpp b/core/pim/todo/todoeditor.cpp index 9b8c5cb..5aa7097 100644 --- a/core/pim/todo/todoeditor.cpp +++ b/core/pim/todo/todoeditor.cpp | |||
@@ -38,5 +38,5 @@ OTodo Editor::newTodo( int cur, | |||
38 | return ev; | 38 | return ev; |
39 | } | 39 | } |
40 | OTodo Editor::edit( QWidget *wid, | 40 | OTodo Editor::edit( QWidget *, |
41 | const OTodo& todo ) { | 41 | const OTodo& todo ) { |
42 | OTaskEditor *e = self(); | 42 | OTaskEditor *e = self(); |