summaryrefslogtreecommitdiff
path: root/core/pim/today/todayconfig.h
blob: 2b6c507a555713ec83e6ddc901b85c53a998f5f1 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
 * todayconfig.h
 *
 * copyright   : (c) 2002,2003, 2004 by Maximilian Reiß
 * email       : harlekin@handhelds.org
 *
 */
/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef TODAYCONFIG_H
#define TODAYCONFIG_H

#include "todayconfigmiscbase.h"

#include <opie2/otabwidget.h>

#include <qvariant.h>
#include <qdialog.h>
#include <qlistview.h>

class QCheckBox;
class QLabel;
class QSpinBox;
class QTabWidget;

class TodayConfig : public QDialog {

    Q_OBJECT

public:
    TodayConfig( QWidget* parent = 0, const char* name = 0, bool modal = FALSE );
    ~TodayConfig();

    Opie::Ui::OTabWidget* TabWidget3;

    void writeConfig();
    void pluginManagement( QString libName, QString name, QPixmap icon );


protected slots:
    void appletChanged();
    void moveSelectedUp();
    void moveSelectedDown();

private:
    void setAutoStart();
    void readConfig();

    QListView* m_appletListView;
    QMap<QString,QCheckListItem*> m_applets;

    int m_autoStart;
    int m_autoStartTimer;
    int m_iconSize;
    QStringList m_excludeApplets;
    bool m_applets_changed;

    QWidget* tab_2;
    QWidget* tab_3;
    QLabel* TextLabel1, *TextLabel4;
    QSpinBox* SpinBox7;

    TodayConfigMiscBase *m_guiMisc;
};

#endif