summaryrefslogtreecommitdiff
path: root/core/pim
authorzecke <zecke>2002-12-10 16:55:46 (UTC)
committer zecke <zecke>2002-12-10 16:55:46 (UTC)
commit36375df6ff103e52455823f7afd64c4f4ae7fcb8 (patch) (side-by-side diff)
tree7a74ca6c05e1d4def7d43de5b5441bed497406ba /core/pim
parent1bc8aa236cf01e0221e3c2748b2ab3eec4f0817a (diff)
downloadopie-36375df6ff103e52455823f7afd64c4f4ae7fcb8.zip
opie-36375df6ff103e52455823f7afd64c4f4ae7fcb8.tar.gz
opie-36375df6ff103e52455823f7afd64c4f4ae7fcb8.tar.bz2
Shut up the compiler
Diffstat (limited to 'core/pim') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp10
-rw-r--r--core/pim/todo/mainwindow.h1
-rw-r--r--core/pim/todo/tableview.cpp4
-rw-r--r--core/pim/todo/todoeditor.cpp2
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;
MainWindow::MainWindow( QWidget* parent,
const char* name )
- : OPimMainWindow("Todolist")
+ : OPimMainWindow("Todolist", parent, name)
{
@@ -253,5 +253,5 @@ MainWindow::~MainWindow() {
delete templateManager();
}
-void MainWindow::connectBase( ViewBase* base) {
+void MainWindow::connectBase( ViewBase* ) {
// once templates and signals mix we'll use it again
}
@@ -798,8 +798,2 @@ void MainWindow::add( const OPimRecord& rec) {
populateCategories();
}
-/* todo does not have the QDataStream<< and >> operators implemented :(
- * FIXME
- */
-OPimRecord* MainWindow::record( int rtti, const QByteArray& ) {
- return 0l;
-}
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:
void edit( int uid );
void add( const OPimRecord& );
- OPimRecord* record( int rtti, const QByteArray& );
};
};
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( ) {
killTimer(id);
- int elc = time.elapsed();
+// int elc = time.elapsed();
setUpdatesEnabled( true );
viewport()->setUpdatesEnabled( true );
@@ -177,5 +177,5 @@ void TableView::updateView( ) {
m_enablePaint = true;
- int el = time.elapsed();
+// int el = time.elapsed();
}
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,
return ev;
}
-OTodo Editor::edit( QWidget *wid,
+OTodo Editor::edit( QWidget *,
const OTodo& todo ) {
OTaskEditor *e = self();