summaryrefslogtreecommitdiff
path: root/utils/themeeditor/tabcontent.h
blob: 1b153f7df5a197df26cc0f53149408d51fc41a4a (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
#ifndef TABCONTENT_H
#define TABCONTENT_H

#include <QWidget>

class TabContent : public QWidget
{
Q_OBJECT
public:
    enum TabType
    {
        Skin,
        Config
    };

    TabContent(QWidget *parent = 0): QWidget(parent){ }

    virtual TabType type() const = 0;
    virtual QString title() const = 0;
    virtual QString file() const = 0;

    virtual void save() = 0;
    virtual void saveAs() = 0;

    virtual bool requestClose() = 0;

signals:
    void titleChanged(QString);
    void lineChanged(int);

public slots:

};

#endif // TABCONTENT_H