Commit 60ede2ac authored by Bruno Coudoin's avatar Bruno Coudoin
Browse files

minor code cleanup, useless code.

parent da795dae
......@@ -29,7 +29,6 @@
ActivityInfo::ActivityInfo(QObject *parent):
QObject(parent),
m_dir(""),
m_demo(true),
m_favorite(false)
{
......@@ -49,16 +48,6 @@ void ActivityInfo::setName(const QString &name)
emit nameChanged();
}
QString ActivityInfo::dir() const
{
return m_dir;
}
void ActivityInfo::setDir(const QString &dir)
{
m_dir = dir;
emit dirChanged();
}
QString ActivityInfo::section() const
{
return m_section;
......
......@@ -45,9 +45,6 @@ class ActivityInfo : public QObject
*/
Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
/* FIXME: what's this? */
Q_PROPERTY(QString dir READ dir WRITE setDir NOTIFY dirChanged)
/**
* Section(s) this activity belongs to.
*
......@@ -121,8 +118,6 @@ public:
QString name() const;
void setName(const QString &);
QString dir() const;
void setDir(const QString &);
QString section() const;
void setSection(const QString &);
int difficulty() const;
......@@ -153,7 +148,6 @@ public:
signals:
void nameChanged();
void typeChanged();
void dirChanged();
void sectionChanged();
void difficultyChanged();
void iconChanged();
......@@ -171,7 +165,6 @@ signals:
private:
QString m_name;
QString m_type;
QString m_dir;
QString m_section;
int m_difficulty;
QString m_icon;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment