summaryrefslogtreecommitdiff
path: root/src/shared/qtpropertybrowser/qtpropertymanager.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2011-11-02 19:38:10 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-09 11:35:36 +0100
commitf9aa0fb422ebc6a5a5b1416269eda471887a2c90 (patch)
treec7736d5344bb87306b770dcb25dd1975d6044d4c /src/shared/qtpropertybrowser/qtpropertymanager.cpp
parent7c786616af4ae83a9ee21de23274c8cf27c59c09 (diff)
downloadqttools-f9aa0fb422ebc6a5a5b1416269eda471887a2c90.tar.gz
Replace Q_TYPENAME by typename
Q_TYPENAME is being removed. Change-Id: I4b4b34dbf87e3f2f3a604d4370d1c0e55e1553c5 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/shared/qtpropertybrowser/qtpropertymanager.cpp')
-rw-r--r--src/shared/qtpropertybrowser/qtpropertymanager.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/shared/qtpropertybrowser/qtpropertymanager.cpp b/src/shared/qtpropertybrowser/qtpropertymanager.cpp
index e07a0a00e..b911e1296 100644
--- a/src/shared/qtpropertybrowser/qtpropertymanager.cpp
+++ b/src/shared/qtpropertybrowser/qtpropertymanager.cpp
@@ -190,7 +190,7 @@ static Value getData(const QMap<const QtProperty *, PrivateData> &propertyMap,
const QtProperty *property, const Value &defaultValue = Value())
{
typedef QMap<const QtProperty *, PrivateData> PropertyToData;
- typedef Q_TYPENAME PropertyToData::const_iterator PropertyToDataConstIterator;
+ typedef typename PropertyToData::const_iterator PropertyToDataConstIterator;
const PropertyToDataConstIterator it = propertyMap.constFind(property);
if (it == propertyMap.constEnd())
return defaultValue;
@@ -226,7 +226,7 @@ static void setSimpleValue(QMap<const QtProperty *, Value> &propertyMap,
QtProperty *property, const Value &val)
{
typedef QMap<const QtProperty *, Value> PropertyToData;
- typedef Q_TYPENAME PropertyToData::iterator PropertyToDataIterator;
+ typedef typename PropertyToData::iterator PropertyToDataIterator;
const PropertyToDataIterator it = propertyMap.find(property);
if (it == propertyMap.end())
return;
@@ -247,9 +247,9 @@ static void setValueInRange(PropertyManager *manager, PropertyManagerPrivate *ma
QtProperty *property, const Value &val,
void (PropertyManagerPrivate::*setSubPropertyValue)(QtProperty *, ValueChangeParameter))
{
- typedef Q_TYPENAME PropertyManagerPrivate::Data PrivateData;
+ typedef typename PropertyManagerPrivate::Data PrivateData;
typedef QMap<const QtProperty *, PrivateData> PropertyToData;
- typedef Q_TYPENAME PropertyToData::iterator PropertyToDataIterator;
+ typedef typename PropertyToData::iterator PropertyToDataIterator;
const PropertyToDataIterator it = managerPrivate->m_values.find(property);
if (it == managerPrivate->m_values.end())
return;
@@ -282,9 +282,9 @@ static void setBorderValues(PropertyManager *manager, PropertyManagerPrivate *ma
void (PropertyManagerPrivate::*setSubPropertyRange)(QtProperty *,
ValueChangeParameter, ValueChangeParameter, ValueChangeParameter))
{
- typedef Q_TYPENAME PropertyManagerPrivate::Data PrivateData;
+ typedef typename PropertyManagerPrivate::Data PrivateData;
typedef QMap<const QtProperty *, PrivateData> PropertyToData;
- typedef Q_TYPENAME PropertyToData::iterator PropertyToDataIterator;
+ typedef typename PropertyToData::iterator PropertyToDataIterator;
const PropertyToDataIterator it = managerPrivate->m_values.find(property);
if (it == managerPrivate->m_values.end())
return;
@@ -327,7 +327,7 @@ static void setBorderValue(PropertyManager *manager, PropertyManagerPrivate *man
ValueChangeParameter, ValueChangeParameter, ValueChangeParameter))
{
typedef QMap<const QtProperty *, PrivateData> PropertyToData;
- typedef Q_TYPENAME PropertyToData::iterator PropertyToDataIterator;
+ typedef typename PropertyToData::iterator PropertyToDataIterator;
const PropertyToDataIterator it = managerPrivate->m_values.find(property);
if (it == managerPrivate->m_values.end())
return;