Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

todopluginwidget.h

Go to the documentation of this file.
00001 /*
00002  * todopluginwidget.h
00003  *
00004  * copyright   : (c) 2002, 2003 by Maximilian Reiß
00005  * email       : harlekin@handhelds.org
00006  *
00007  */
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef TODOLIST_PLUGIN_WIDGET_H
00018 #define TODOLIST_PLUGIN_WIDGET_H
00019 
00020 #include <qlayout.h>
00021 
00022 #include <opie2/otodoaccess.h>
00023 #include <opie2/oclickablelabel.h>
00024 
00025 
00026 class TodolistPluginWidget : public QWidget {
00027 
00028     Q_OBJECT
00029 
00030 public:
00031     TodolistPluginWidget( QWidget *parent,  const char *name );
00032     ~TodolistPluginWidget();
00033 
00034     void refresh();
00035     void reinitialize();
00036 
00037 protected slots:
00038     void  startTodolist();
00039 
00040 private:
00041     Opie::Ui::OClickableLabel *todoLabel;
00042     QVBoxLayout* layoutTodo;
00043 
00044     Opie::OPimTodoAccess *todo;
00045     Opie::OPimTodoAccess::List m_list;
00046     Opie::OPimTodoAccess::List::Iterator m_it;
00047 
00048     void readConfig();
00049     void getTodo();
00050     int m_maxLinesTask;
00051     int m_maxCharClip;
00052 };
00053 
00054 #endif

Generated on Sat Nov 5 16:15:55 2005 for OPIE by  doxygen 1.4.2