summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-02-23 14:48:40 (UTC)
committer harlekin <harlekin>2003-02-23 14:48:40 (UTC)
commit791c7512c530cb373726f9c01e26229cb8ca992a (patch) (side-by-side diff)
tree21d072088bbbbc7b079925118c91d941e0010a4c
parent15c2cf367bc38c17fb488e6d8be44c148ecfb1bf (diff)
downloadopie-791c7512c530cb373726f9c01e26229cb8ca992a.zip
opie-791c7512c530cb373726f9c01e26229cb8ca992a.tar.gz
opie-791c7512c530cb373726f9c01e26229cb8ca992a.tar.bz2
got rid of not needed includes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/todolist/todopluginconfig.cpp3
-rw-r--r--core/pim/today/plugins/todolist/todopluginconfig.h4
-rw-r--r--core/pim/today/plugins/todolist/todopluginwidget.cpp11
-rw-r--r--core/pim/today/plugins/todolist/todopluginwidget.h5
4 files changed, 5 insertions, 18 deletions
diff --git a/core/pim/today/plugins/todolist/todopluginconfig.cpp b/core/pim/today/plugins/todolist/todopluginconfig.cpp
index 56b7aa2..c83f83b 100644
--- a/core/pim/today/plugins/todolist/todopluginconfig.cpp
+++ b/core/pim/today/plugins/todolist/todopluginconfig.cpp
@@ -1,10 +1,10 @@
/*
* todopluginconfig.cpp
*
- * copyright : (c) 2002 by Maximilian Reiß
+ * copyright : (c) 2002, 2003 by Maximilian Reiß
* email : harlekin@handhelds.org
*
*/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
@@ -17,13 +17,12 @@
#include "todopluginconfig.h"
#include <qpe/config.h>
#include <qlayout.h>
#include <qhbox.h>
-#include <qtoolbutton.h>
#include <qlabel.h>
#include <qwhatsthis.h>
TodolistPluginConfig::TodolistPluginConfig( QWidget *parent, const char* name)
diff --git a/core/pim/today/plugins/todolist/todopluginconfig.h b/core/pim/today/plugins/todolist/todopluginconfig.h
index 4584ebe..a98384c 100644
--- a/core/pim/today/plugins/todolist/todopluginconfig.h
+++ b/core/pim/today/plugins/todolist/todopluginconfig.h
@@ -1,10 +1,10 @@
/*
* todopluginconfig.h
*
- * copyright : (c) 2002 by Maximilian Reiß
+ * copyright : (c) 2002, 2003 by Maximilian Reiß
* email : harlekin@handhelds.org
*
*/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
@@ -14,13 +14,13 @@
* *
***************************************************************************/
#ifndef TODOLIST_PLUGIN_CONFIG_H
#define TODOLIST_PLUGIN_CONFIG_H
-#include <qwidget.h>
+//#include <qwidget.h>
#include <qspinbox.h>
#include <opie/todayconfigwidget.h>
class TodolistPluginConfig : public TodayConfigWidget {
diff --git a/core/pim/today/plugins/todolist/todopluginwidget.cpp b/core/pim/today/plugins/todolist/todopluginwidget.cpp
index 3242dac..15081ec 100644
--- a/core/pim/today/plugins/todolist/todopluginwidget.cpp
+++ b/core/pim/today/plugins/todolist/todopluginwidget.cpp
@@ -1,10 +1,10 @@
/*
* todopluginwidget.cpp
*
- * copyright : (c) 2002 by Maximilian Reiß
+ * copyright : (c) 2002, 2003 by Maximilian Reiß
* email : harlekin@handhelds.org
*
*/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
@@ -13,21 +13,13 @@
* (at your option) any later version. *
* *
***************************************************************************/
#include "todopluginwidget.h"
-#include <qvaluelist.h>
-#include <qtl.h>
-#include <qstring.h>
-#include <qscrollview.h>
-#include <qobject.h>
-#include <qlayout.h>
-
#include <qpe/config.h>
-#include <qpe/timestring.h>
#include <qpe/qcopenvelope_qws.h>
TodolistPluginWidget::TodolistPluginWidget( QWidget *parent, const char* name )
: QWidget( parent, name ) {
todo = 0l;
@@ -43,13 +35,12 @@ TodolistPluginWidget::TodolistPluginWidget( QWidget *parent, const char* name )
if ( layoutTodo ) {
delete layoutTodo;
}
layoutTodo = new QVBoxLayout( this );
layoutTodo->setAutoAdd( true );
-
if ( todoLabel ) {
delete todoLabel;
}
todoLabel = new OClickableLabel( this );
connect( todoLabel, SIGNAL( clicked() ), this, SLOT( startTodolist() ) );
diff --git a/core/pim/today/plugins/todolist/todopluginwidget.h b/core/pim/today/plugins/todolist/todopluginwidget.h
index 0d0deb5..0db65c4 100644
--- a/core/pim/today/plugins/todolist/todopluginwidget.h
+++ b/core/pim/today/plugins/todolist/todopluginwidget.h
@@ -1,10 +1,10 @@
/*
* todopluginwidget.h
*
- * copyright : (c) 2002 by Maximilian Reiß
+ * copyright : (c) 2002, 2003 by Maximilian Reiß
* email : harlekin@handhelds.org
*
*/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
@@ -14,17 +14,14 @@
* *
***************************************************************************/
#ifndef TODOLIST_PLUGIN_WIDGET_H
#define TODOLIST_PLUGIN_WIDGET_H
-#include <qstring.h>
-#include <qwidget.h>
#include <qlayout.h>
-#include <opie/otodo.h>
#include <opie/otodoaccess.h>
#include <opie/oclickablelabel.h>
class TodolistPluginWidget : public QWidget {