summaryrefslogtreecommitdiffstats
path: root/data/inst/instance.h
diff options
context:
space:
mode:
authorAndrew <forkk@forkk.net>2013-02-19 12:15:22 -0600
committerAndrew <forkk@forkk.net>2013-02-19 12:15:22 -0600
commit6e5017e48b633e20bbba61ac2e7cd58e693aec4e (patch)
treef0027822d84123951fa56ffbb7591b33f297e11b /data/inst/instance.h
parent80cd8b33aa12933392bd2293a5e91ae696dbe6be (diff)
downloadMultiMC-6e5017e48b633e20bbba61ac2e7cd58e693aec4e.tar
MultiMC-6e5017e48b633e20bbba61ac2e7cd58e693aec4e.tar.gz
MultiMC-6e5017e48b633e20bbba61ac2e7cd58e693aec4e.tar.lz
MultiMC-6e5017e48b633e20bbba61ac2e7cd58e693aec4e.tar.xz
MultiMC-6e5017e48b633e20bbba61ac2e7cd58e693aec4e.zip
Implemented loadList() stuff.
Diffstat (limited to 'data/inst/instance.h')
-rw-r--r--data/inst/instance.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/data/inst/instance.h b/data/inst/instance.h
index 1b282b03..56e9d0b8 100644
--- a/data/inst/instance.h
+++ b/data/inst/instance.h
@@ -79,23 +79,6 @@ public:
virtual InstanceList *instList();
- /*!
- * \brief Gets this instance's group.
- * This function is used by the instance grouping system and should
- * not be touched by classes deriving from Instance.
- * \return The instance's group name.
- * \sa setGroup()
- */
- QString group() const { return m_group; }
-
- /*!
- * \brief Sets the instance's group.
- * \param group The instance's new group name.
- * \sa group()
- */
- void setGroup(const QString &group) { m_group = group; emit groupChanged(this, group); }
-
-
//////// FIELDS AND SETTINGS ////////
// Fields are options stored in the instance's config file that are specific
// to instances (not a part of SettingsBase). Settings are things overridden
@@ -278,14 +261,6 @@ public:
*/
virtual void updateCurrentVersion(bool keepCurrent = false) = 0;
-signals:
- /*!
- * \brief Signal emitted when the instance's group changes.
- * \param inst Pointer to the instance whose group changed.
- * \param newGroup The instance's new group.
- */
- void groupChanged(Instance *inst, QString newGroup);
-
protected:
/*!
* \brief Gets the value of the given field in the instance's config file.
@@ -314,8 +289,6 @@ protected:
INIFile config;
private:
- QString m_group;
-
QString m_rootDir;
};