summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/datebook/datebookpluginconfig.h
blob: 6c32ae9c6f1f1510d0a4edaf8ca5ebee7d3a9efd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

#ifndef DATEBOOK_PLUGIN_CONFIG_H
#define DATEBOOK_PLUGIN_CONFIG_H


#include <qcheckbox.h>
#include <qspinbox.h>

#include <opie/todayconfigwidget.h>

class DatebookPluginConfig : public TodayConfigWidget {



public:
    DatebookPluginConfig( QWidget *parent,  const char *name );
   ~DatebookPluginConfig();

    void writeConfig();
private:
    /**
     * if changed then save
     */
    bool changed();
    void readConfig();

    QCheckBox* CheckBox2;
    QCheckBox* CheckBox1;
    QCheckBox* CheckBox3;
    QSpinBox* SpinBox1;
    QSpinBox* SpinBox2;


    // how many lines should be showed in the datebook section
    int m_max_lines_meet;
    // If location is to be showed too, 1 to activate it.
    int m_show_location;
    // if notes should be shown
    int m_show_notes;
    // should only later appointments be shown or all for the current day.
    int m_only_later;
    int m_more_days;

};


#endif