summaryrefslogtreecommitdiffstats
path: root/gui/pages/LegacyJarModPage.h
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-07-12 23:02:52 +0200
committerPetr Mrázek <peterix@gmail.com>2014-07-12 23:31:06 +0200
commit4c0dc51110603cbe0e98228c703e26402094a3cc (patch)
treeb056d601ba2494e046752e5c94e3049182293515 /gui/pages/LegacyJarModPage.h
parent5c4384235989b16d6931cc0cfa26dd192af68b96 (diff)
downloadMultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar
MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar.gz
MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar.lz
MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.tar.xz
MultiMC-4c0dc51110603cbe0e98228c703e26402094a3cc.zip
Finish of the OtherLogs page, and (re)format page related files
Diffstat (limited to 'gui/pages/LegacyJarModPage.h')
-rw-r--r--gui/pages/LegacyJarModPage.h25
1 files changed, 19 insertions, 6 deletions
diff --git a/gui/pages/LegacyJarModPage.h b/gui/pages/LegacyJarModPage.h
index 261d9020..1a72abf3 100644
--- a/gui/pages/LegacyJarModPage.h
+++ b/gui/pages/LegacyJarModPage.h
@@ -15,8 +15,9 @@
#pragma once
-#include <QDialog>
-#include <logic/net/NetJob.h>
+#include <QWidget>
+
+#include "logic/net/NetJob.h"
#include "BasePage.h"
class ModList;
@@ -34,10 +35,22 @@ public:
explicit LegacyJarModPage(LegacyInstance *inst, QWidget *parent = 0);
virtual ~LegacyJarModPage();
- virtual QString displayName() const;
- virtual QIcon icon() const;
- virtual QString id() const;
- virtual QString helpPage() const override { return "Legacy-jar-mods"; }
+ virtual QString displayName() const
+ {
+ return tr("Jar Mods");
+ }
+ virtual QIcon icon() const
+ {
+ return QIcon::fromTheme("plugin-red");
+ }
+ virtual QString id() const
+ {
+ return "jarmods";
+ }
+ virtual QString helpPage() const override
+ {
+ return "Legacy-jar-mods";
+ }
virtual bool shouldDisplay() const;
private