Commit 6d192a81 authored by Volker Krause's avatar Volker Krause
Browse files

Remove remains of pre-C++11 support

parent 2446d859
......@@ -22,9 +22,6 @@
* Compatibility hacks to allow usage of more modern Qt5/C++11 features in Qt4 builds.
*/
#define Q_DECL_OVERRIDE
#define Q_NULLPTR 0
#define QStringLiteral(str) QString::fromUtf8("" str "", sizeof(str) - 1)
#endif
......@@ -76,7 +76,7 @@ protected:
* product schema entry.
* @param name Must not be empty.
*/
explicit AbstractDataSource(const QString &name, AbstractDataSourcePrivate *dd = Q_NULLPTR);
explicit AbstractDataSource(const QString &name, AbstractDataSourcePrivate *dd = nullptr);
class AbstractDataSourcePrivate* const d_ptr;
private:
......
......@@ -45,7 +45,7 @@ using namespace UserFeedback;
ProviderPrivate::ProviderPrivate(Provider *qq)
: q(qq)
, networkAccessManager(Q_NULLPTR)
, networkAccessManager(nullptr)
, submissionInterval(-1)
, statisticsMode(Provider::NoStatistics)
, surveyInterval(-1)
......
......@@ -47,7 +47,7 @@ public:
};
Q_ENUMS(StatisticsCollectionMode)
explicit Provider(QObject *parent = Q_NULLPTR);
explicit Provider(QObject *parent = nullptr);
~Provider();
/** Set the product identifier.
......
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