summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp10
1 files changed, 2 insertions, 8 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
@@ -58,13 +58,13 @@
using namespace Todo;
MainWindow::MainWindow( QWidget* parent,
const char* name )
- : OPimMainWindow("Todolist")
+ : OPimMainWindow("Todolist", parent, name)
{
m_syncing = false;
m_counter = 0;
m_tempManager = new TemplateManager();
m_tempManager->load();
@@ -249,13 +249,13 @@ void MainWindow::initShow() {
m_curShow = new TextViewShow(this);
m_stack->addWidget( m_curShow->widget() , m_counter++ );
}
MainWindow::~MainWindow() {
delete templateManager();
}
-void MainWindow::connectBase( ViewBase* base) {
+void MainWindow::connectBase( ViewBase* ) {
// once templates and signals mix we'll use it again
}
QPopupMenu* MainWindow::contextMenu( int , bool recur ) {
QPopupMenu* menu = new QPopupMenu();
m_editAction->addTo( menu );
@@ -794,12 +794,6 @@ void MainWindow::add( const OPimRecord& rec) {
// I'm afraid we must call this every time now, otherwise
// spend expensive time comparing all these strings...
// but only call if we changed something -zecke
populateCategories();
}
-/* todo does not have the QDataStream<< and >> operators implemented :(
- * FIXME
- */
-OPimRecord* MainWindow::record( int rtti, const QByteArray& ) {
- return 0l;
-}