Theme Editor: Made allll destructors virtual
[kugel-rb.git] / utils / themeeditor / gui / tabcontent.h
blob1b153f7df5a197df26cc0f53149408d51fc41a4a
1 #ifndef TABCONTENT_H
2 #define TABCONTENT_H
4 #include <QWidget>
6 class TabContent : public QWidget
8 Q_OBJECT
9 public:
10 enum TabType
12 Skin,
13 Config
16 TabContent(QWidget *parent = 0): QWidget(parent){ }
18 virtual TabType type() const = 0;
19 virtual QString title() const = 0;
20 virtual QString file() const = 0;
22 virtual void save() = 0;
23 virtual void saveAs() = 0;
25 virtual bool requestClose() = 0;
27 signals:
28 void titleChanged(QString);
29 void lineChanged(int);
31 public slots:
35 #endif // TABCONTENT_H