summaryrefslogtreecommitdiff
path: root/src/modinfodialogtextfiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modinfodialogtextfiles.h')
-rw-r--r--src/modinfodialogtextfiles.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/modinfodialogtextfiles.h b/src/modinfodialogtextfiles.h
index 11691d64..0dc5ec89 100644
--- a/src/modinfodialogtextfiles.h
+++ b/src/modinfodialogtextfiles.h
@@ -18,12 +18,12 @@ public:
bool feedFile(const QString& rootPath, const QString& fullPath) override;
protected:
- QWidget* m_parent;
QListWidget* m_list;
TextEditor* m_editor;
GenericFilesTab(
- QWidget* parent,
+ OrganizerCore& oc, PluginContainer& plugin,
+ QWidget* parent, Ui::ModInfoDialog* ui,
QListWidget* list, QSplitter* splitter, TextEditor* editor);
virtual bool wantsFile(const QString& rootPath, const QString& fullPath) const = 0;
@@ -37,7 +37,9 @@ private:
class TextFilesTab : public GenericFilesTab
{
public:
- TextFilesTab(QWidget* parent, Ui::ModInfoDialog* ui);
+ TextFilesTab(
+ OrganizerCore& oc, PluginContainer& plugin,
+ QWidget* parent, Ui::ModInfoDialog* ui);
protected:
bool wantsFile(const QString& rootPath, const QString& fullPath) const override;
@@ -47,7 +49,9 @@ protected:
class IniFilesTab : public GenericFilesTab
{
public:
- IniFilesTab(QWidget* parent, Ui::ModInfoDialog* ui);
+ IniFilesTab(
+ OrganizerCore& oc, PluginContainer& plugin,
+ QWidget* parent, Ui::ModInfoDialog* ui);
protected:
bool wantsFile(const QString& rootPath, const QString& fullPath) const override;