summaryrefslogtreecommitdiff
path: root/src/modinfodialog.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-02-04 19:55:27 +0100
committerTannin <devnull@localhost>2014-02-04 19:55:27 +0100
commit76fbe6effef7c2e787c1801741d4eb0a156128ce (patch)
treeef671b8073e1208a00b5b50f0afa493375daaede /src/modinfodialog.h
parent38ee6ccf0a822bf20d548bbb89dbe3059ee336bb (diff)
- tabs in the mod info dialog can now be moved around by the user
Diffstat (limited to 'src/modinfodialog.h')
-rw-r--r--src/modinfodialog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modinfodialog.h b/src/modinfodialog.h
index b33b743e..edfe59cf 100644
--- a/src/modinfodialog.h
+++ b/src/modinfodialog.h
@@ -100,6 +100,10 @@ public:
**/
void openTab(int tab);
+ void restoreTabState(const QByteArray &state);
+
+ QByteArray saveTabState() const;
+
signals:
void thumbnailClickedSignal(const QString &filename);
@@ -142,6 +146,8 @@ private:
void addCheckedCategories(QTreeWidgetItem *tree);
void refreshPrimaryCategoriesBox();
+ int tabIndex(const QString &tabId);
+
private slots:
void hideConflictFile();
@@ -221,6 +227,8 @@ private:
MOShared::FilesOrigin *m_Origin;
QTextCodec *m_UTF8Codec;
+ std::map<int, int> m_RealTabPos;
+
};
#endif // MODINFODIALOG_H