summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.h
authordrw <drw>2004-02-25 16:32:24 (UTC)
committer drw <drw>2004-02-25 16:32:24 (UTC)
commitbea97f98bfb31994425908e7ce982b2450696706 (patch) (side-by-side diff)
tree2f2bc2f55d4656b7c63a06cdce6bc35346d9388f /core/pim/todo/mainwindow.h
parentf84a46fce6c1b7702ec1eaebd40e363b67253649 (diff)
downloadopie-bea97f98bfb31994425908e7ce982b2450696706.zip
opie-bea97f98bfb31994425908e7ce982b2450696706.tar.gz
opie-bea97f98bfb31994425908e7ce982b2450696706.tar.bz2
Todo: libopie->libopie2
Diffstat (limited to 'core/pim/todo/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h
index fd0e1bd..6a7296b 100644
--- a/core/pim/todo/mainwindow.h
+++ b/core/pim/todo/mainwindow.h
@@ -31,9 +31,10 @@
#include <qlist.h>
-#include <opie/otodoaccess.h>
-#include <opie/otodo.h>
-#include <opie/opimmainwindow.h>
+#include <opie2/otodoaccess.h>
+#include <opie2/opimtodo.h>
+#include <opie2/opimmainwindow.h>
+#include <opie2/owidgetstack.h>
#include "smalltodo.h"
#include "todoview.h"
@@ -44,11 +45,12 @@ class QPopupMenu;
class QMenuBar;
class QToolBar;
class QAction;
-class OWidgetStack;
class Ir;
class QVBox;
class QLineEdit;
+using namespace Opie;
+
namespace Todo {
typedef TodoView View;
class TemplateManager;
@@ -69,7 +71,7 @@ namespace Todo {
const char* name = 0, WFlags fl = 0 );
~MainWindow();
- /** return a context menu for an OTodo */
+ /** return a context menu for an OPimTodo */
QPopupMenu* contextMenu(int uid, bool doesRecur = FALSE );
QPopupMenu* options();
QPopupMenu* edit();
@@ -77,11 +79,11 @@ namespace Todo {
void updateList();
- OTodoAccess::List list()const;
- OTodoAccess::List sorted( bool asc, int sortOrder );
- OTodoAccess::List sorted( bool asc, int sortOrder, int addFilter );
+ OPimTodoAccess::List list()const;
+ OPimTodoAccess::List sorted( bool asc, int sortOrder );
+ OPimTodoAccess::List sorted( bool asc, int sortOrder, int addFilter );
- OTodo event(int uid );
+ OPimTodo event(int uid );
bool isSyncing()const;
bool showCompleted()const;
@@ -93,7 +95,7 @@ namespace Todo {
TemplateManager* templateManager();
QuickEditBase* quickEditor();
- void updateTodo( const OTodo& );
+ void updateTodo( const OPimTodo& );
void populateTemplates();
Editor* currentEditor();
void setReadAhead(uint count );
@@ -108,7 +110,7 @@ private slots:
private:
/* handle setting and removing alarms */
- void handleAlarms( const OTodo& oldTodo, const OTodo& newTodo );
+ void handleAlarms( const OPimTodo& oldTodo, const OPimTodo& newTodo );
void receiveFile( const QString& filename );
void connectBase( ViewBase* );
void initUI();
@@ -165,7 +167,7 @@ private slots:
void slotEdit(int);
void slotUpdate3( QWidget* );
void slotComplete( int uid );
- void slotComplete( const OTodo& ev );
+ void slotComplete( const OPimTodo& ev );
void slotNewFromTemplate(int id );
void slotNew();
void slotDuplicate();