00001 /* 00002 * datebookpluginconfig.h 00003 * 00004 * copyright : (c) 2002,2003,2004 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 DATEBOOK_PLUGIN_CONFIG_H 00018 #define DATEBOOK_PLUGIN_CONFIG_H 00019 00020 #include "datebookpluginconfigbase.h" 00021 00022 #include <opie2/todayconfigwidget.h> 00023 00024 #include <qcheckbox.h> 00025 #include <qspinbox.h> 00026 00027 00028 00029 00030 00031 class DatebookPluginConfig : public TodayConfigWidget { 00032 00033 Q_OBJECT 00034 00035 00036 public: 00037 DatebookPluginConfig( QWidget *parent, const char *name ); 00038 ~DatebookPluginConfig(); 00039 00040 void writeConfig(); 00041 private: 00045 bool changed(); 00046 void readConfig(); 00047 00048 00049 DatebookPluginConfigBase *m_gui; 00050 // how many lines should be showed in the datebook section 00051 int m_max_lines_meet; 00052 // If location is to be showed too, 1 to activate it. 00053 int m_show_location; 00054 // if notes should be shown 00055 int m_show_notes; 00056 // should only later appointments be shown or all for the current day. 00057 int m_only_later; 00058 int m_more_days; 00059 int m_maxCharClip; 00060 00061 }; 00062 00063 00064 #endif
1.4.2