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 0000000..1b153f7
--- /dev/null
+++ b/utils/themeeditor/tabcontent.h
@@ -0,0 +1,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