summaryrefslogtreecommitdiffstats
path: root/utils/regtools/qeditor/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/regtools/qeditor/mainwindow.h')
-rw-r--r--utils/regtools/qeditor/mainwindow.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/regtools/qeditor/mainwindow.h b/utils/regtools/qeditor/mainwindow.h
index 67d33244ba..c5da66758e 100644
--- a/utils/regtools/qeditor/mainwindow.h
+++ b/utils/regtools/qeditor/mainwindow.h
@@ -35,12 +35,13 @@ public:
DocumentTab() { m_tab = 0; }
virtual bool Quit() = 0;
virtual QWidget *GetWidget() = 0;
- void SetTabWidget(MyTabWidget *tab) { m_tab = tab; }
+ void SetTabWidget(MyTabWidget *tab);
protected:
void OnModified(bool modified);
void SetTabName(const QString& name);
MyTabWidget *m_tab;
+ QString m_tabname;
};
class MyTabWidget : public QTabWidget
@@ -70,7 +71,7 @@ private:
void closeEvent(QCloseEvent *event);
protected:
- void AddTab(DocumentTab *tab, const QString& title);
+ void AddTab(DocumentTab *tab);
bool Quit();
private slots: