summaryrefslogtreecommitdiff
path: root/utils/themeeditor/tabcontent.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/tabcontent.h')
-rw-r--r--utils/themeeditor/tabcontent.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/utils/themeeditor/tabcontent.h b/utils/themeeditor/tabcontent.h
new file mode 100644
index 0000000000..1b153f7df5
--- /dev/null
+++ b/utils/themeeditor/tabcontent.h
@@ -0,0 +1,35 @@
1#ifndef TABCONTENT_H
2#define TABCONTENT_H
3
4#include <QWidget>
5
6class TabContent : public QWidget
7{
8Q_OBJECT
9public:
10 enum TabType
11 {
12 Skin,
13 Config
14 };
15
16 TabContent(QWidget *parent = 0): QWidget(parent){ }
17
18 virtual TabType type() const = 0;
19 virtual QString title() const = 0;
20 virtual QString file() const = 0;
21
22 virtual void save() = 0;
23 virtual void saveAs() = 0;
24
25 virtual bool requestClose() = 0;
26
27signals:
28 void titleChanged(QString);
29 void lineChanged(int);
30
31public slots:
32
33};
34
35#endif // TABCONTENT_H