author | simon <simon> | 2002-04-30 14:27:27 (UTC) |
---|---|---|
committer | simon <simon> | 2002-04-30 14:27:27 (UTC) |
commit | 972fbb128294c821ff0f13ea59a83edb015d571e (patch) (side-by-side diff) | |
tree | 29d5de901e2e6c679d4cc76286e3e6e77a49b297 | |
parent | 5dae945f8ec25a811efb10eb71d606ce8da4429f (diff) | |
download | opie-972fbb128294c821ff0f13ea59a83edb015d571e.zip opie-972fbb128294c821ff0f13ea59a83edb015d571e.tar.gz opie-972fbb128294c821ff0f13ea59a83edb015d571e.tar.bz2 |
- XMLTree is in the Opie namespace now
-rw-r--r-- | core/pim/todo/todotable.cpp | 2 | ||||
-rw-r--r-- | core/pim/todo/todotable.h | 4 |
2 files changed, 6 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 @@ -36,24 +36,26 @@ #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 diff --git a/core/pim/todo/todotable.h b/core/pim/todo/todotable.h index 2f6e635..7672f21 100644 --- a/core/pim/todo/todotable.h +++ b/core/pim/todo/todotable.h @@ -85,25 +85,29 @@ class DueTextItem : public QTableItem void setToDoEvent( const ToDoEvent *ev ); void paint( QPainter *p, const QColorGroup &cg, const QRect &cr, bool selected ); private: int m_off; bool m_hasDate:1; bool m_completed:1; }; enum journal_action { ACTION_ADD=0, ACTION_REMOVE, ACTION_REPLACE }; +namespace Opie +{ class XMLElement; +}; + class TodoTable : public QTable { Q_OBJECT public: TodoTable( QWidget *parent = 0, const char * name = 0 ); void addEntry( const ToDoEvent &todo ); void clearFindRow() { currFindRow = -2; } ToDoEvent currentEntry() const; void replaceCurrentEntry( const ToDoEvent &todo, bool fromTableItem = false ); |