summaryrefslogtreecommitdiff
path: root/core/pim/todo/todotable.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/todotable.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todotable.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pim/todo/todotable.cpp b/core/pim/todo/todotable.cpp
index 208a084..2389cdd 100644
--- a/core/pim/todo/todotable.cpp
+++ b/core/pim/todo/todotable.cpp
@@ -24,48 +24,50 @@
#include <opie/tododb.h>
#include <opie/xmltree.h>
#include <qpe/categoryselect.h>
#include <qpe/xmlreader.h>
#include <qasciidict.h>
#include <qcombobox.h>
#include <qfile.h>
#include <qpainter.h>
#include <qtextcodec.h>
#include <qtimer.h>
#include <qdatetime.h>
#include <qtextstream.h>
#include <qcursor.h>
#include <qregexp.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
+using namespace Opie;
+
namespace {
static bool taskCompare( const ToDoEvent &task, const QRegExp &r, int category );
static QString journalFileName();
static ToDoEvent xmlToEvent( XMLElement *ev );
}
CheckItem::CheckItem( QTable *t, const QString &key )
: QTableItem( t, Never, "" ), checked( FALSE ), sortKey( key )
{
}
QString CheckItem::key() const
{
return sortKey;
}
void CheckItem::setChecked( bool b )
{
checked = b;
table()->updateCell( row(), col() );
}
void CheckItem::toggle()
{