00001 /* 00002 * todopluginconfig.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_CONFIG_H 00018 #define TODOLIST_PLUGIN_CONFIG_H 00019 00020 #include "todopluginconfigbase.h" 00021 00022 #include <opie2/todayconfigwidget.h> 00023 00024 #include <qspinbox.h> 00025 00026 class TodolistPluginConfig : public TodayConfigWidget { 00027 Q_OBJECT 00028 00029 public: 00030 00031 TodolistPluginConfig( QWidget *parent, const char *name ); 00032 ~TodolistPluginConfig(); 00033 00034 private: 00038 bool changed(); 00039 void readConfig(); 00040 void writeConfig(); 00041 00042 TodoPluginConfigBase *m_gui; 00043 00044 00045 // how many lines should be showed in the todolist section 00046 int m_max_lines_task; 00047 // clip the lines after X chars 00048 int m_maxCharClip; 00049 00050 00051 00052 }; 00053 00054 00055 00056 00057 00058 #endif
1.4.2