aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/projectintropage.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-01-07 18:17:24 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2010-01-07 18:17:24 +0100
commita6ad773722a758df46813afd7af42625a0f3e276 (patch)
tree8a74e3bb0fe819603e3ce5ed867116e75acc8d64 /src/libs/utils/projectintropage.h
parent8bb87fcda497d09ac3ba39b38b9c229d02022b09 (diff)
Make method naming more consistent.
* Use id() for methods returning a string used to represent some type of object. * Use displayName() for strings that are meant to be user visible. * Quieten some warnings while touching the files anyway. * Move Factories to their products in the plugins where that was not done before. Reviewed-by: dt
Diffstat (limited to 'src/libs/utils/projectintropage.h')
-rw-r--r--src/libs/utils/projectintropage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/utils/projectintropage.h b/src/libs/utils/projectintropage.h
index 6fb53ec66d..0ebd427239 100644
--- a/src/libs/utils/projectintropage.h
+++ b/src/libs/utils/projectintropage.h
@@ -57,13 +57,13 @@ class QTCREATOR_UTILS_EXPORT ProjectIntroPage : public QWizardPage
Q_DISABLE_COPY(ProjectIntroPage)
Q_PROPERTY(QString description READ description WRITE setPath DESIGNABLE true)
Q_PROPERTY(QString path READ path WRITE setPath DESIGNABLE true)
- Q_PROPERTY(QString name READ name WRITE setName DESIGNABLE true)
+ Q_PROPERTY(QString projectName READ projectName WRITE setProjectName DESIGNABLE true)
Q_PROPERTY(bool useAsDefaultPath READ useAsDefaultPath WRITE setUseAsDefaultPath DESIGNABLE true)
public:
explicit ProjectIntroPage(QWidget *parent = 0);
virtual ~ProjectIntroPage();
- QString name() const;
+ QString projectName() const;
QString path() const;
QString description() const;
bool useAsDefaultPath() const;
@@ -81,7 +81,7 @@ signals:
public slots:
void setPath(const QString &path);
- void setName(const QString &name);
+ void setProjectName(const QString &name);
void setDescription(const QString &description);
void setUseAsDefaultPath(bool u);