summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/todolist
authorzecke <zecke>2004-03-14 20:23:19 (UTC)
committer zecke <zecke>2004-03-14 20:23:19 (UTC)
commit740fd610a576b1a1afe95a4736c7c8c0db6ee1df (patch) (side-by-side diff)
tree71c1e3ecc9882bebd5ab6c8ca3438f36a5c7c092 /core/pim/today/plugins/todolist
parent18dc118b49dbfb2c4d986538002a1c8f771b33ed (diff)
downloadopie-740fd610a576b1a1afe95a4736c7c8c0db6ee1df.zip
opie-740fd610a576b1a1afe95a4736c7c8c0db6ee1df.tar.gz
opie-740fd610a576b1a1afe95a4736c7c8c0db6ee1df.tar.bz2
Compile fixes
Diffstat (limited to 'core/pim/today/plugins/todolist') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/plugins/todolist/todopluginwidget.cpp3
-rw-r--r--core/pim/today/plugins/todolist/todopluginwidget.h9
2 files changed, 7 insertions, 5 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginwidget.cpp b/core/pim/today/plugins/todolist/todopluginwidget.cpp
index 567c70f..7ce703e 100644
--- a/core/pim/today/plugins/todolist/todopluginwidget.cpp
+++ b/core/pim/today/plugins/todolist/todopluginwidget.cpp
@@ -1,45 +1,48 @@
/*
* todopluginwidget.cpp
*
* copyright : (c) 2002, 2003 by Maximilian Reiß
* email : harlekin@handhelds.org
*
*/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "todopluginwidget.h"
#include <qpe/config.h>
#include <qpe/qcopenvelope_qws.h>
+using namespace Opie::Ui;
+using namespace Opie;
+
TodolistPluginWidget::TodolistPluginWidget( QWidget *parent, const char* name )
: QWidget( parent, name ) {
todo = 0l;
layoutTodo = 0l;
todoLabel = 0l;
if ( todo ) {
delete todo;
}
todo = new OPimTodoAccess();
todo->load();
if ( layoutTodo ) {
delete layoutTodo;
}
layoutTodo = new QVBoxLayout( this );
layoutTodo->setAutoAdd( true );
if ( todoLabel ) {
delete todoLabel;
}
todoLabel = new OClickableLabel( this );
diff --git a/core/pim/today/plugins/todolist/todopluginwidget.h b/core/pim/today/plugins/todolist/todopluginwidget.h
index a020cf4..86a9f27 100644
--- a/core/pim/today/plugins/todolist/todopluginwidget.h
+++ b/core/pim/today/plugins/todolist/todopluginwidget.h
@@ -1,55 +1,54 @@
/*
* todopluginwidget.h
*
* copyright : (c) 2002, 2003 by Maximilian Reiß
* email : harlekin@handhelds.org
*
*/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef TODOLIST_PLUGIN_WIDGET_H
#define TODOLIST_PLUGIN_WIDGET_H
#include <qlayout.h>
#include <opie2/otodoaccess.h>
#include <opie2/oclickablelabel.h>
-using namespace Opie;
class TodolistPluginWidget : public QWidget {
Q_OBJECT
public:
TodolistPluginWidget( QWidget *parent, const char *name );
~TodolistPluginWidget();
void refresh();
void reinitialize();
protected slots:
void startTodolist();
private:
- OClickableLabel *todoLabel;
+ Opie::Ui::OClickableLabel *todoLabel;
QVBoxLayout* layoutTodo;
- OPimTodoAccess *todo;
- OPimTodoAccess::List m_list;
- OPimTodoAccess::List::Iterator m_it;
+ Opie::OPimTodoAccess *todo;
+ Opie::OPimTodoAccess::List m_list;
+ Opie::OPimTodoAccess::List::Iterator m_it;
void readConfig();
void getTodo();
int m_maxLinesTask;
int m_maxCharClip;
};
#endif