More github wiki friendly help page names

This commit is contained in:
Petr Mrázek 2014-06-10 02:05:31 +02:00
parent 9ec6deea84
commit c08bfce5f2
9 changed files with 15 additions and 15 deletions

View File

@ -41,4 +41,4 @@ public:
int listIndex = -1; int listIndex = -1;
}; };
typedef std::shared_ptr<BasePage> BasePagePtr; typedef std::shared_ptr<BasePage> BasePagePtr;

View File

@ -38,7 +38,7 @@ public:
virtual QIcon icon() override; virtual QIcon icon() override;
virtual QString id() override; virtual QString id() override;
virtual bool apply(); virtual bool apply();
virtual QString helpPage() override { return "InstanceSettingsPage"; }; virtual QString helpPage() override { return "Instance-settings"; };
private: private:
void updateCheckboxStuff(); void updateCheckboxStuff();
private slots: private slots:

View File

@ -37,7 +37,7 @@ public:
virtual QString displayName(); virtual QString displayName();
virtual QIcon icon(); virtual QIcon icon();
virtual QString id(); virtual QString id();
virtual QString helpPage() override { return "LegacyJarModPage"; }; virtual QString helpPage() override { return "Legacy-jar-mods"; };
private private
slots: slots:

View File

@ -36,7 +36,7 @@ public:
virtual QString displayName() override; virtual QString displayName() override;
virtual QIcon icon() override; virtual QIcon icon() override;
virtual QString id() override; virtual QString id() override;
virtual QString helpPage() override { return "LegacyUpgradePage"; }; virtual QString helpPage() override { return "Legacy-upgrade"; };
private private
slots: slots:
void on_upgradeButton_clicked(); void on_upgradeButton_clicked();

View File

@ -6,7 +6,7 @@ class ResourcePackPage : public ModFolderPage
public: public:
explicit ResourcePackPage(BaseInstance *instance, QWidget *parent = 0) explicit ResourcePackPage(BaseInstance *instance, QWidget *parent = 0)
: ModFolderPage(instance->texturePackList(), "resourcepacks", "resourcepacks", : ModFolderPage(instance->texturePackList(), "resourcepacks", "resourcepacks",
tr("Resource packs"), "TexturePacksPage", parent) tr("Resource packs"), "Resource-packs", parent)
{ {
m_inst = instance; m_inst = instance;
} }

View File

@ -6,7 +6,7 @@ class TexturePackPage : public ModFolderPage
public: public:
explicit TexturePackPage(BaseInstance *instance, QWidget *parent = 0) explicit TexturePackPage(BaseInstance *instance, QWidget *parent = 0)
: ModFolderPage(instance->texturePackList(), "texturepacks", "resourcepacks", : ModFolderPage(instance->texturePackList(), "texturepacks", "resourcepacks",
tr("Texture packs"), "ResourcePacksPage", parent) tr("Texture packs"), "Texture-packs", parent)
{ {
m_inst = instance; m_inst = instance;
} }

View File

@ -36,7 +36,7 @@ public:
virtual QString displayName() override; virtual QString displayName() override;
virtual QIcon icon() override; virtual QIcon icon() override;
virtual QString id() override; virtual QString id() override;
virtual QString helpPage() override { return "VersionPage"; }; virtual QString helpPage() override { return "Instance-version"; };
private private
slots: slots:

View File

@ -50,10 +50,10 @@ QList<BasePage *> LegacyInstance::getPages()
QList<BasePage *> values; QList<BasePage *> values;
values.append(new LegacyUpgradePage(this)); values.append(new LegacyUpgradePage(this));
values.append(new LegacyJarModPage(this)); values.append(new LegacyJarModPage(this));
values.append(new ModFolderPage(loaderModList(), "mods", "plugin-blue", tr("Loader Mods"), values.append(new ModFolderPage(loaderModList(), "mods", "plugin-blue", tr("Loader mods"),
"LoaderModsPage")); "Loader-mods"));
values.append(new ModFolderPage(coreModList(), "coremods", "plugin-green", tr("Core Mods"), values.append(new ModFolderPage(coreModList(), "coremods", "plugin-green", tr("Core mods"),
"CoreModsPage")); "Core-mods"));
values.append(new TexturePackPage(this)); values.append(new TexturePackPage(this));
values.append(new InstanceSettingsPage(&settings())); values.append(new InstanceSettingsPage(&settings()));
return values; return values;

View File

@ -61,10 +61,10 @@ QList<BasePage *> OneSixInstance::getPages()
{ {
QList<BasePage *> values; QList<BasePage *> values;
values.append(new VersionPage(this)); values.append(new VersionPage(this));
values.append(new ModFolderPage(loaderModList(), "mods", "plugin-blue", tr("Loader Mods"), values.append(new ModFolderPage(loaderModList(), "mods", "plugin-blue", tr("Loader mods"),
"LoaderModsPage")); "Loader-mods"));
values.append(new ModFolderPage(coreModList(), "coremods", "plugin-green", tr("Core Mods"), values.append(new ModFolderPage(coreModList(), "coremods", "plugin-green", tr("Core mods"),
"CoreModsPage")); "Core-mods"));
values.append(new ResourcePackPage(this)); values.append(new ResourcePackPage(this));
values.append(new TexturePackPage(this)); values.append(new TexturePackPage(this));
values.append(new InstanceSettingsPage(&settings())); values.append(new InstanceSettingsPage(&settings()));