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;
};
typedef std::shared_ptr<BasePage> BasePagePtr;
typedef std::shared_ptr<BasePage> BasePagePtr;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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