summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/todolist/todopluginwidget.cpp
authorzecke <zecke>2004-03-14 20:23:19 (UTC)
committer zecke <zecke>2004-03-14 20:23:19 (UTC)
commit740fd610a576b1a1afe95a4736c7c8c0db6ee1df (patch) (unidiff)
tree71c1e3ecc9882bebd5ab6c8ca3438f36a5c7c092 /core/pim/today/plugins/todolist/todopluginwidget.cpp
parent18dc118b49dbfb2c4d986538002a1c8f771b33ed (diff)
downloadopie-740fd610a576b1a1afe95a4736c7c8c0db6ee1df.zip
opie-740fd610a576b1a1afe95a4736c7c8c0db6ee1df.tar.gz
opie-740fd610a576b1a1afe95a4736c7c8c0db6ee1df.tar.bz2
Compile fixes
Diffstat (limited to 'core/pim/today/plugins/todolist/todopluginwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/plugins/todolist/todopluginwidget.cpp3
1 files changed, 3 insertions, 0 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 @@
1/* 1/*
2 * todopluginwidget.cpp 2 * todopluginwidget.cpp
3 * 3 *
4 * copyright : (c) 2002, 2003 by Maximilian Reiß 4 * copyright : (c) 2002, 2003 by Maximilian Reiß
5 * email : harlekin@handhelds.org 5 * email : harlekin@handhelds.org
6 * 6 *
7 */ 7 */
8/*************************************************************************** 8/***************************************************************************
9 * * 9 * *
10 * This program is free software; you can redistribute it and/or modify * 10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by * 11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or * 12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. * 13 * (at your option) any later version. *
14 * * 14 * *
15 ***************************************************************************/ 15 ***************************************************************************/
16 16
17#include "todopluginwidget.h" 17#include "todopluginwidget.h"
18 18
19#include <qpe/config.h> 19#include <qpe/config.h>
20#include <qpe/qcopenvelope_qws.h> 20#include <qpe/qcopenvelope_qws.h>
21 21
22using namespace Opie::Ui;
23using namespace Opie;
24
22TodolistPluginWidget::TodolistPluginWidget( QWidget *parent, const char* name ) 25TodolistPluginWidget::TodolistPluginWidget( QWidget *parent, const char* name )
23 : QWidget( parent, name ) { 26 : QWidget( parent, name ) {
24 27
25 todo = 0l; 28 todo = 0l;
26 layoutTodo = 0l; 29 layoutTodo = 0l;
27 todoLabel = 0l; 30 todoLabel = 0l;
28 31
29 if ( todo ) { 32 if ( todo ) {
30 delete todo; 33 delete todo;
31 } 34 }
32 todo = new OPimTodoAccess(); 35 todo = new OPimTodoAccess();
33 todo->load(); 36 todo->load();
34 37
35 if ( layoutTodo ) { 38 if ( layoutTodo ) {
36 delete layoutTodo; 39 delete layoutTodo;
37 } 40 }
38 layoutTodo = new QVBoxLayout( this ); 41 layoutTodo = new QVBoxLayout( this );
39 layoutTodo->setAutoAdd( true ); 42 layoutTodo->setAutoAdd( true );
40 43
41 if ( todoLabel ) { 44 if ( todoLabel ) {
42 delete todoLabel; 45 delete todoLabel;
43 } 46 }
44 todoLabel = new OClickableLabel( this ); 47 todoLabel = new OClickableLabel( this );
45 48