OSDN Git Service

0 to Q_NULLPTR
authorIvailo Monev <xakepa10@laimg.moc>
Fri, 4 Nov 2016 12:42:19 +0000 (12:42 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Fri, 4 Nov 2016 12:42:19 +0000 (12:42 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
245 files changed:
src/core/codecs/qtextcodec.cpp
src/core/concurrent/qfuturewatcher.h
src/core/global/qglobal.h.cmake
src/core/io/qfilesystemengine_p.h
src/core/io/qsettings.cpp
src/core/kernel/qobject.h
src/core/thread/qmutex.h
src/core/tools/qchar.cpp
src/core/tools/qdatetime.h
src/core/tools/qhash.h
src/core/tools/qlinkedlist.h
src/core/tools/qlist.h
src/core/tools/qmap.h
src/core/tools/qregexp.cpp
src/core/tools/qstring.cpp
src/core/tools/qvector.h
src/dbus/qdbusconnection_p.h
src/dbus/qdbusinterface.h
src/dbus/qdbuspendingcall.h
src/dbus/qdbusserver.h
src/dbus/qdbusservicewatcher.h
src/dbus/qdbusvirtualobject.h
src/declarative/graphicsitems/qdeclarativegraphicswidget_p.h
src/declarative/graphicsitems/qdeclarativeitem_p.h
src/declarative/graphicsitems/qdeclarativetranslate_p.h
src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h
src/declarative/qml/qdeclarativeboundsignal_p.h
src/declarative/qml/qdeclarativecomponent.h
src/declarative/qml/qdeclarativecomponent_p.h
src/declarative/qml/qdeclarativeextensionplugin.h
src/declarative/qml/qdeclarativeparserstatus.cpp
src/declarative/qml/qdeclarativevaluetype_p.h
src/declarative/qml/qdeclarativeworkerscript_p.h
src/declarative/util/qdeclarativeanimation_p_p.h
src/declarative/util/qdeclarativeapplication_p.h
src/declarative/util/qdeclarativefontloader_p.h
src/declarative/util/qdeclarativepropertymap.h
src/declarative/util/qdeclarativesmoothedanimation_p.h
src/declarative/util/qdeclarativestate_p.h
src/declarative/util/qdeclarativetimeline_p_p.h
src/declarative/util/qdeclarativetransition.cpp
src/declarative/util/qlistmodelinterface_p.h
src/designer/components/buddyeditor/buddyeditor_tool.h
src/designer/components/formeditor/brushmanagerproxy.h
src/designer/components/formeditor/default_actionprovider.h
src/designer/components/formeditor/default_container.h
src/designer/components/formeditor/formeditor.h
src/designer/components/formeditor/formwindow_widgetstack.h
src/designer/components/formeditor/formwindowcursor.h
src/designer/components/formeditor/formwindowmanager.h
src/designer/components/formeditor/itemview_propertysheet.h
src/designer/components/formeditor/layout_propertysheet.h
src/designer/components/formeditor/line_propertysheet.h
src/designer/components/formeditor/previewactiongroup.h
src/designer/components/formeditor/qdesignerundostack.h
src/designer/components/formeditor/qlayoutwidget_propertysheet.h
src/designer/components/formeditor/qmainwindow_container.h
src/designer/components/formeditor/qmdiarea_container.h
src/designer/components/formeditor/qtbrushmanager.h
src/designer/components/formeditor/qwizard_container.h
src/designer/components/formeditor/qworkspace_container.h
src/designer/components/formeditor/spacer_propertysheet.h
src/designer/components/objectinspector/objectinspector.cpp
src/designer/components/propertyeditor/designerpropertymanager.h
src/designer/components/propertyeditor/paletteeditor.h
src/designer/components/signalsloteditor/signalsloteditor_p.h
src/designer/components/signalsloteditor/signalsloteditor_tool.h
src/designer/components/signalsloteditor/signalsloteditorwindow.cpp
src/designer/components/tabordereditor/tabordereditor_tool.h
src/designer/components/taskmenu/button_taskmenu.h
src/designer/components/taskmenu/combobox_taskmenu.h
src/designer/components/taskmenu/containerwidget_taskmenu.h
src/designer/components/taskmenu/groupbox_taskmenu.h
src/designer/components/taskmenu/label_taskmenu.h
src/designer/components/taskmenu/layouttaskmenu.h
src/designer/components/taskmenu/lineedit_taskmenu.h
src/designer/components/taskmenu/listwidget_taskmenu.h
src/designer/components/taskmenu/menutaskmenu.h
src/designer/components/taskmenu/tablewidget_taskmenu.h
src/designer/components/taskmenu/taskmenu_component.h
src/designer/components/taskmenu/textedit_taskmenu.h
src/designer/components/taskmenu/toolbar_taskmenu.h
src/designer/components/taskmenu/treewidget_taskmenu.h
src/designer/components/widgetbox/widgetboxcategorylistview.cpp
src/designer/extension/qextensionmanager.h
src/designer/sdk/abstractformeditor.h
src/designer/sdk/abstractformwindowmanager.h
src/designer/sdk/abstractformwindowtool.h
src/designer/sdk/abstractintegration.h
src/designer/sdk/abstractmetadatabase.h
src/designer/sdk/abstractwidgetdatabase.h
src/designer/sdk/abstractwidgetfactory.h
src/designer/shared/metadatabase_p.h
src/designer/shared/morphmenu_p.h
src/designer/shared/promotiontaskmenu_p.h
src/designer/shared/qdesigner_formwindowmanager_p.h
src/designer/shared/qdesigner_integration_p.h
src/designer/shared/qdesigner_membersheet_p.h
src/designer/shared/qdesigner_menubar_p.h
src/designer/shared/qdesigner_propertysheet_p.h
src/designer/shared/qdesigner_stackedbox_p.h
src/designer/shared/qdesigner_tabwidget_p.h
src/designer/shared/qdesigner_toolbox_p.h
src/designer/shared/qdesigner_utils_p.h
src/designer/shared/qlayout_widget.cpp
src/designer/shared/qlayout_widget_p.h
src/designer/shared/qtresourceeditordialog.cpp
src/designer/shared/qtresourcemodel_p.h
src/designer/shared/richtexteditor.cpp
src/designer/shared/signalslotdialog_p.h
src/designer/shared/widgetdatabase_p.h
src/designer/shared/widgetfactory_p.h
src/designer/shared/zoomwidget_p.h
src/gui/accessible/qaccessiblebridge.h
src/gui/accessible/qaccessibleplugin.h
src/gui/dialogs/qfileinfogatherer_p.h
src/gui/dialogs/qfilesystemmodel.h
src/gui/dialogs/qfscompleter_p.h
src/gui/dialogs/qprintdialog_unix.cpp
src/gui/dialogs/qsidebar_p.h
src/gui/effects/qgraphicseffect.h
src/gui/effects/qgraphicseffect_p.h
src/gui/graphicsview/qgraphicsitemanimation.h
src/gui/graphicsview/qgraphicsscene.h
src/gui/graphicsview/qgraphicstransform.h
src/gui/image/qiconengineplugin.h
src/gui/image/qimageiohandler.h
src/gui/image/qmovie.h
src/gui/image/qpixmapfilter_p.h
src/gui/inputmethod/qinputcontextplugin.h
src/gui/itemviews/qabstractitemdelegate.h
src/gui/itemviews/qabstractitemview_p.h
src/gui/itemviews/qabstractproxymodel.h
src/gui/itemviews/qcolumnview_p.h
src/gui/itemviews/qdatawidgetmapper.h
src/gui/itemviews/qdirmodel.h
src/gui/itemviews/qitemdelegate.h
src/gui/itemviews/qproxymodel.h
src/gui/itemviews/qproxymodel_p.h
src/gui/itemviews/qsortfilterproxymodel.h
src/gui/itemviews/qstandarditemmodel.h
src/gui/itemviews/qstringlistmodel.h
src/gui/itemviews/qstyleditemdelegate.h
src/gui/kernel/qeventdispatcher_x11_p.h
src/gui/kernel/qgesture.h
src/gui/kernel/qguieventdispatcher_glib_p.h
src/gui/kernel/qguiplatformplugin_p.h
src/gui/kernel/qwhatsthis.h
src/gui/painting/qgraphicssystemplugin_p.h
src/gui/styles/qstyleplugin.h
src/gui/text/qtextcontrol_p.h
src/gui/text/qtextdocument.h
src/gui/text/qtextimagehandler_p.h
src/gui/util/qcompleter.h
src/gui/util/qsystemtrayicon.h
src/gui/util/qundogroup.h
src/gui/util/qundostack.h
src/gui/util/qundostack_p.h
src/gui/util/qundoview.cpp
src/gui/widgets/qbuttongroup.h
src/gui/widgets/qcalendartextnavigator_p.h
src/gui/widgets/qcalendarwidget.cpp
src/gui/widgets/qvalidator.h
src/imports/folderlistmodel/qdeclarativefolderlistmodel.h
src/imports/particles/qdeclarativeparticles.cpp
src/imports/shaders/shadereffect.h
src/network/access/qabstractnetworkcache.h
src/network/access/qftp.cpp
src/network/access/qftp.h
src/network/access/qhttp.h
src/network/access/qhttpmultipart.h
src/network/access/qhttpnetworkconnection_p.h
src/network/access/qhttpnetworkreply_p.h
src/network/access/qhttpthreaddelegate_p.h
src/network/access/qnetworkaccessmanager.h
src/network/access/qnetworkcookiejar.h
src/network/access/qnetworkdiskcache.h
src/network/access/qnetworkreply.h
src/network/access/qnetworkreplyimpl_p.h
src/network/bearer/qbearerengine_p.h
src/network/bearer/qbearerplugin_p.h
src/network/bearer/qnetworkconfigmanager.h
src/network/bearer/qnetworksession.h
src/network/socket/qabstractsocket.h
src/network/socket/qabstractsocketengine_p.h
src/network/socket/qhttpsocketengine_p.h
src/network/socket/qlocalserver.h
src/network/socket/qlocalsocket.h
src/network/socket/qnativesocketengine_p.h
src/network/socket/qsocks5socketengine_p.h
src/network/socket/qtcpserver.h
src/network/socket/qtcpsocket.h
src/network/socket/qudpsocket.h
src/network/ssl/qsslsocket.h
src/opengl/qglshaderprogram.h
src/plugins/bearer/connman/qconnmanengine.h
src/plugins/bearer/connman/qconnmanservice_linux_p.h
src/plugins/bearer/connman/qofonoservice_linux_p.h
src/plugins/bearer/generic/qgenericengine.h
src/plugins/bearer/networkmanager/qnetworkmanagerengine.h
src/plugins/bearer/networkmanager/qnetworkmanagerservice.h
src/plugins/bearer/networkmanager/qnmdbushelper.h
src/plugins/bearer/qbearerengine_impl.h
src/plugins/bearer/qnetworksession_impl.cpp
src/plugins/designer/qdeclarativeview/qdeclarativeview_plugin.h
src/plugins/designer/qwebview/qwebview_plugin.h
src/plugins/designer/view3d/view3d_tool.h
src/plugins/sqldrivers/sqlite/qsql_sqlite.h
src/script/api/qscriptengine.h
src/script/api/qscriptextensionplugin.h
src/script/bridge/qscriptqobject_p.h
src/scripttools/debugging/qscriptbreakpointsmodel_p.h
src/scripttools/debugging/qscriptbreakpointswidget.cpp
src/scripttools/debugging/qscriptcompletiontask_p.h
src/scripttools/debugging/qscriptdebugger_p.h
src/scripttools/debugging/qscriptdebuggerbackend.cpp
src/scripttools/debugging/qscriptdebuggerconsoleglobalobject_p.h
src/scripttools/debugging/qscriptdebuggerfrontend.cpp
src/scripttools/debugging/qscriptdebuggerlocalsmodel_p.h
src/scripttools/debugging/qscriptdebuggerlocalswidget.cpp
src/scripttools/debugging/qscriptdebuggerscriptsmodel_p.h
src/scripttools/debugging/qscriptdebuggerstackmodel_p.h
src/scripttools/debugging/qscriptdebuggerstandardwidgetfactory_p.h
src/scripttools/debugging/qscriptenginedebugger.cpp
src/scripttools/debugging/qscriptenginedebugger.h
src/shared/qtgradienteditor/qtgradientmanager.h
src/shared/qtgradienteditor/qtgradientstopscontroller.h
src/shared/qtgradienteditor/qtgradientstopsmodel.h
src/shared/qtpropertybrowser/qteditorfactory.h
src/shared/qtpropertybrowser/qtpropertybrowser.cpp
src/shared/qtpropertybrowser/qtpropertybrowser.h
src/shared/qtpropertybrowser/qtpropertymanager.h
src/shared/qtpropertybrowser/qttreepropertybrowser.cpp
src/shared/qtpropertybrowser/qtvariantproperty.h
src/sql/kernel/qsqldriverplugin.h
src/sql/models/qsqlquerymodel.h
src/sql/models/qsqlrelationaltablemodel.cpp
src/sql/models/qsqlrelationaltablemodel.h
src/sql/models/qsqltablemodel.h
src/tools/designer/appfontdialog.cpp
src/tools/designer/qttoolbardialog/qttoolbardialog.cpp
src/tools/designer/qttoolbardialog/qttoolbardialog.h
src/tools/qdbus/qdbusxml2cpp.cpp
src/tools/qscript/bytearrayprototype.h
src/uitools/quiloader.h

index d69b577..5efb721 100644 (file)
@@ -1345,13 +1345,13 @@ QTextCodec *QTextCodec::codecForHtml(const QByteArray &ba, QTextCodec *defaultCo
 {
     // determine charset
     int pos;
-    QTextCodec *c = 0;
-
-    c = QTextCodec::codecForUtfText(ba, c);
+    QTextCodec *c = QTextCodec::codecForUtfText(ba, c);
     if (!c) {
         QByteArray header = ba.left(512).toLower();
-        if ((pos = header.indexOf("http-equiv=")) != -1) {
-            if ((pos = header.lastIndexOf("meta ", pos)) != -1) {
+        int pos = pos = header.indexOf("http-equiv=");
+        if (pos != -1) {
+            pos = pos = header.lastIndexOf("meta ", pos);
+            if (pos != -1) {
                 pos = header.indexOf("charset=", pos) + int(strlen("charset="));
                 if (pos != -1) {
                     int pos2 = header.indexOf('\"', pos+1);
index ea36c83..ac86481 100644 (file)
@@ -121,7 +121,7 @@ template <typename T>
 class QFutureWatcher : public QFutureWatcherBase
 {
 public:
-    QFutureWatcher(QObject *_parent = 0)
+    QFutureWatcher(QObject *_parent = Q_NULLPTR)
         : QFutureWatcherBase(_parent)
     { }
     ~QFutureWatcher()
@@ -156,7 +156,7 @@ template <>
 class QFutureWatcher<void> : public QFutureWatcherBase
 {
 public:
-    QFutureWatcher(QObject *_parent = 0)
+    QFutureWatcher(QObject *_parent = Q_NULLPTR)
         : QFutureWatcherBase(_parent)
     { }
     ~QFutureWatcher()
index ac885f6..c275991 100644 (file)
@@ -1274,7 +1274,7 @@ class QGlobalStatic
 public:
     T *pointer;
     inline QGlobalStatic(T *p) : pointer(p) { }
-    inline ~QGlobalStatic() { pointer = 0; }
+    inline ~QGlobalStatic() { pointer = Q_NULLPTR; }
 };
 
 #define Q_GLOBAL_STATIC(TYPE, NAME)                                  \
index 3c0bc00..2fe8ac4 100644 (file)
@@ -91,7 +91,7 @@ public:
     static bool removeFile(const QFileSystemEntry &entry, QSystemError &error);
 
     static bool setPermissions(const QFileSystemEntry &entry, QFile::Permissions permissions, QSystemError &error,
-                               QFileSystemMetaData *data = 0);
+                               QFileSystemMetaData *data = Q_NULLPTR);
 
     static bool setCurrentPath(const QFileSystemEntry &entry);
     static QFileSystemEntry currentPath();
index 1aac497..82f98bb 100644 (file)
@@ -257,7 +257,7 @@ QConfFile *QConfFile::fromName(const QString &fileName, bool _userPerms)
     ConfFileHash *usedHash = usedHashFunc();
     ConfFileCache *unusedCache = unusedCacheFunc();
 
-    QConfFile *confFile = 0;
+    QConfFile *confFile = Q_NULLPTR;
     QMutexLocker locker(globalMutex());
 
     if (!(confFile = usedHash->value(absPath))) {
index d87058c..65e8806 100644 (file)
@@ -274,9 +274,9 @@ template <class T> inline const char * qobject_interface_iid()
     template <> inline const char *qobject_interface_iid<IFace *>() \
     { return IId; } \
     template <> inline IFace *qobject_cast<IFace *>(QObject *object) \
-    { return reinterpret_cast<IFace *>((object ? object->qt_metacast(IId) : 0)); } \
+    { return reinterpret_cast<IFace *>((object ? object->qt_metacast(IId) : Q_NULLPTR)); } \
     template <> inline IFace *qobject_cast<IFace *>(const QObject *object) \
-    { return reinterpret_cast<IFace *>((object ? const_cast<QObject *>(object)->qt_metacast(IId) : 0)); }
+    { return reinterpret_cast<IFace *>((object ? const_cast<QObject *>(object)->qt_metacast(IId) : Q_NULLPTR)); }
 #endif // Q_MOC_RUN
 
 #ifndef QT_NO_DEBUG_STREAM
index b2e5a3c..cfdffd8 100644 (file)
@@ -157,7 +157,7 @@ public:
 
     static inline void unlock() {}
     static void relock() {}
-    static inline QMutex *mutex() { return 0; }
+    static inline QMutex *mutex() { return Q_NULLPTR; }
 
 private:
     Q_DISABLE_COPY(QMutexLocker)
index 2bb217d..3277daf 100644 (file)
@@ -937,7 +937,7 @@ static const unsigned short * QT_FASTCALL decompositionHelper
 {
     *length = 0;
     if (ucs4 > UNICODE_LAST_CODEPOINT)
-        return 0;
+        return Q_NULLPTR;
     if (ucs4 >= Hangul_SBase && ucs4 < Hangul_SBase + Hangul_SCount) {
         int SIndex = ucs4 - Hangul_SBase;
         buffer[0] = Hangul_LBase + SIndex / Hangul_NCount; // L
@@ -950,7 +950,7 @@ static const unsigned short * QT_FASTCALL decompositionHelper
 
     const unsigned short index = GET_DECOMPOSITION_INDEX(ucs4);
     if (index == 0xffff)
-        return 0;
+        return Q_NULLPTR;
     const unsigned short *decomposition = uc_decomposition_map+index;
     *tag = (*decomposition) & 0xff;
     *length = (*decomposition) >> 8;
index 712d749..849a4ee 100644 (file)
@@ -72,7 +72,7 @@ public:
     int dayOfYear() const;
     int daysInMonth() const;
     int daysInYear() const;
-    int weekNumber(int *yearNum = 0) const;
+    int weekNumber(int *yearNum = Q_NULLPTR) const;
 
 #ifndef QT_NO_TEXTDATE
     static QString shortMonthName(int month, MonthNameType type = QDate::DateFormat);
index e6f46fc..ee6339c 100644 (file)
@@ -364,7 +364,7 @@ public:
         typedef const T *pointer;
         typedef const T &reference;
 
-        inline const_iterator() : i(0) { }
+        inline const_iterator() : i(Q_NULLPTR) { }
         explicit inline const_iterator(void *node)
             : i(reinterpret_cast<QHashData::Node *>(node)) { }
 #ifdef QT_STRICT_ITERATORS
index b16969a..570059d 100644 (file)
@@ -154,7 +154,7 @@ public:
         typedef const T *pointer;
         typedef const T &reference;
         Node *i;
-        inline const_iterator() : i(0) {}
+        inline const_iterator() : i(Q_NULLPTR) {}
         inline const_iterator(Node *n) : i(n) {}
         inline const_iterator(const const_iterator &o) : i(o.i){}
         inline const_iterator(iterator ci) : i(ci.i){}
index 3fb2eb0..8409205 100644 (file)
@@ -228,7 +228,7 @@ public:
         typedef const T *pointer;
         typedef const T &reference;
 
-        inline const_iterator() : i(0) {}
+        inline const_iterator() : i(Q_NULLPTR) {}
         inline const_iterator(Node *n) : i(n) {}
         inline const_iterator(const const_iterator &o): i(o.i) {}
 #ifdef QT_STRICT_ITERATORS
index 8414b68..2a539f5 100644 (file)
@@ -289,7 +289,7 @@ public:
 
         // ### Qt 5: get rid of 'operator Node *'
         inline operator QMapData::Node *() const { return i; }
-        inline const_iterator() : i(0) { }
+        inline const_iterator() : i(Q_NULLPTR) { }
         inline const_iterator(QMapData::Node *node) : i(node) { }
 #ifdef QT_STRICT_ITERATORS
         explicit inline const_iterator(const iterator &o)
index e2e1aa2..bbdbb56 100644 (file)
@@ -929,10 +929,10 @@ struct QRegExpMatchState
 
     const QRegExpEngine *eng;
 
-    inline QRegExpMatchState() : bigArray(0), captured(0) {}
+    inline QRegExpMatchState() : bigArray(Q_NULLPTR), captured(Q_NULLPTR) {}
     inline ~QRegExpMatchState() { free(bigArray); }
 
-    void drain() { free(bigArray); bigArray = 0; captured = 0; } // to save memory
+    void drain() { free(bigArray); bigArray = Q_NULLPTR; captured = Q_NULLPTR; } // to save memory
     void prepareForMatch(QRegExpEngine *eng);
     void match(const QChar *str, int len, int pos, bool minimal,
         bool oneTest, int caretIndex);
@@ -1425,7 +1425,7 @@ void QRegExpMatchState::match(const QChar *str0, int len0, int pos0,
 #endif
     {
         in = str0;
-        if (in == 0)
+        if (!in)
             in = &char_null;
         pos = pos0;
         caretPos = caretIndex;
@@ -2875,7 +2875,7 @@ int QRegExpEngine::getEscape()
 #ifndef QT_NO_REGEXP_ESCAPE
     if ((prevCh & ~0xff) == 0) {
         const char *p = strchr(tab, prevCh);
-        if (p != 0)
+        if (p)
             return Tok_Char | backTab[p - tab];
     }
 #endif
@@ -3387,7 +3387,7 @@ int QRegExpEngine::parse(const QChar *pattern, int len)
 #endif
     box.cat(middleBox);
     box.cat(rightBox);
-    yyCharClass.reset(0);
+    yyCharClass.reset(Q_NULLPTR);
 
 #ifndef QT_NO_REGEXP_CAPTURE
     for (int i = 0; i < nf; ++i) {
@@ -3465,7 +3465,7 @@ int QRegExpEngine::parse(const QChar *pattern, int len)
 void QRegExpEngine::parseAtom(Box *box)
 {
 #ifndef QT_NO_REGEXP_LOOKAHEAD
-    QRegExpEngine *eng = 0;
+    QRegExpEngine *eng = Q_NULLPTR;
     bool neg;
     int len;
 #endif
@@ -3662,9 +3662,9 @@ struct QRegExpPrivate
     QRegExpMatchState matchState;
 
     inline QRegExpPrivate()
-        : eng(0), engineKey(QString(), QRegExp::RegExp, Qt::CaseSensitive), minimal(false) { }
+        : eng(Q_NULLPTR), engineKey(QString(), QRegExp::RegExp, Qt::CaseSensitive), minimal(false) { }
     inline QRegExpPrivate(const QRegExpEngineKey &key)
-        : eng(0), engineKey(key), minimal(false) {}
+        : eng(Q_NULLPTR), engineKey(key), minimal(false) {}
 };
 
 #if !defined(QT_NO_REGEXP_OPTIM)
@@ -3707,7 +3707,7 @@ static void prepareEngine_helper(QRegExpPrivate *priv)
     if (!priv->eng && globalEngineCache()) {
         QMutexLocker locker(regexpMutex());
         priv->eng = globalEngineCache()->take(priv->engineKey);
-        if (priv->eng != 0)
+        if (priv->eng)
             priv->eng->ref.ref();
     }
 #endif // QT_NO_REGEXP_OPTIM
@@ -3740,9 +3740,9 @@ static void prepareEngineForMatch(QRegExpPrivate *priv, const QString &str)
 
 static void invalidateEngine(QRegExpPrivate *priv)
 {
-    if (priv->eng != 0) {
+    if (priv->eng) {
         derefEngine(priv->eng, priv->engineKey);
-        priv->eng = 0;
+        priv->eng = Q_NULLPTR;
         priv->matchState.drain();
     }
 }
index 9fbbb63..9fb6b1d 100644 (file)
@@ -123,9 +123,9 @@ static int ucstricmp(const ushort *a, const ushort *ae, const ushort *b, const u
 {
     if (a == b)
         return (ae - be);
-    if (a == 0)
+    if (!a)
         return 1;
-    if (b == 0)
+    if (!b)
         return -1;
 
     const ushort *e = ae;
@@ -155,12 +155,12 @@ static int ucstricmp(const ushort *a, const ushort *ae, const ushort *b, const u
 // Case-insensitive comparison between a Unicode string and a QLatin1String
 static int ucstricmp(const ushort *a, const ushort *ae, const uchar *b)
 {
-    if (a == 0) {
-        if (b == 0)
+    if (!a) {
+        if (!b)
             return 0;
         return 1;
     }
-    if (b == 0)
+    if (!b)
         return -1;
 
     while (a < ae && *b) {
@@ -3317,8 +3317,8 @@ QString QString::mid(int position, int n) const
 */
 bool QString::startsWith(const QString& s, Qt::CaseSensitivity cs) const
 {
-    return qt_starts_with(isNull() ? 0 : unicode(), size(),
-                          s.isNull() ? 0 : s.unicode(), s.size(), cs);
+    return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(),
+                          s.isNull() ? Q_NULLPTR : s.unicode(), s.size(), cs);
 }
 
 /*!
@@ -3326,7 +3326,7 @@ bool QString::startsWith(const QString& s, Qt::CaseSensitivity cs) const
  */
 bool QString::startsWith(const QLatin1String& s, Qt::CaseSensitivity cs) const
 {
-    return qt_starts_with(isNull() ? 0 : unicode(), size(), s, cs);
+    return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(), s, cs);
 }
 
 /*!
@@ -3356,8 +3356,8 @@ bool QString::startsWith(const QChar &c, Qt::CaseSensitivity cs) const
 */
 bool QString::startsWith(const QStringRef &s, Qt::CaseSensitivity cs) const
 {
-    return qt_starts_with(isNull() ? 0 : unicode(), size(),
-                          s.isNull() ? 0 : s.unicode(), s.size(), cs);
+    return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(),
+                          s.isNull() ? Q_NULLPTR : s.unicode(), s.size(), cs);
 }
 
 /*!
@@ -3373,8 +3373,8 @@ bool QString::startsWith(const QStringRef &s, Qt::CaseSensitivity cs) const
 */
 bool QString::endsWith(const QString& s, Qt::CaseSensitivity cs) const
 {
-    return qt_ends_with(isNull() ? 0 : unicode(), size(),
-                        s.isNull() ? 0 : s.unicode(), s.size(), cs);
+    return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(),
+                        s.isNull() ? Q_NULLPTR : s.unicode(), s.size(), cs);
 }
 
 /*!
@@ -3390,8 +3390,8 @@ bool QString::endsWith(const QString& s, Qt::CaseSensitivity cs) const
 */
 bool QString::endsWith(const QStringRef &s, Qt::CaseSensitivity cs) const
 {
-    return qt_ends_with(isNull() ? 0 : unicode(), size(),
-                        s.isNull() ? 0 : s.unicode(), s.size(), cs);
+    return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(),
+                        s.isNull() ? Q_NULLPTR : s.unicode(), s.size(), cs);
 }
 
 
@@ -3400,7 +3400,7 @@ bool QString::endsWith(const QStringRef &s, Qt::CaseSensitivity cs) const
 */
 bool QString::endsWith(const QLatin1String& s, Qt::CaseSensitivity cs) const
 {
-    return qt_ends_with(isNull() ? 0 : unicode(), size(), s, cs);
+    return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(), s, cs);
 }
 
 /*!
@@ -3547,7 +3547,7 @@ QByteArray QString::toUtf8() const
     if (isNull())
         return QByteArray();
 
-    return QUtf8::convertFromUnicode(constData(), length(), 0);
+    return QUtf8::convertFromUnicode(constData(), length(), Q_NULLPTR);
 }
 
 /*!
@@ -3710,7 +3710,7 @@ QString QString::fromUtf8(const char *str, int size)
     if (size < 0)
         size = qstrlen(str);
 
-    return QUtf8::convertToUnicode(str, size, 0);
+    return QUtf8::convertToUnicode(str, size, Q_NULLPTR);
 }
 
 /*!
@@ -3739,7 +3739,7 @@ QString QString::fromUtf16(const ushort *unicode, int size)
         while (unicode[size] != 0)
             ++size;
     }
-    return QUtf16::convertToUnicode((const char *)unicode, size*2, 0);
+    return QUtf16::convertToUnicode((const char *)unicode, size*2, Q_NULLPTR);
 }
 
 
@@ -3763,7 +3763,7 @@ QString QString::fromUcs4(const uint *unicode, int size)
         while (unicode[size] != 0)
             ++size;
     }
-    return QUtf32::convertToUnicode((const char *)unicode, size*4, 0);
+    return QUtf32::convertToUnicode((const char *)unicode, size*4, Q_NULLPTR);
 }
 
 /*!
@@ -5973,9 +5973,9 @@ void qt_string_normalize(QString *data, QString::NormalizationForm mode, QChar::
         version = UNICODE_DATA_VERSION;
     } else if (version != UNICODE_DATA_VERSION) {
         const QString &s = *data;
-        QChar *d = 0;
         for (int i = 0; i < NumNormalizationCorrections; ++i) {
             const NormalizationCorrection &n = uc_normalization_corrections[i];
+            QChar *d = Q_NULLPTR;
             if (n.version > version) {
                 int pos = from;
                 if (QChar::requiresSurrogates(n.ucs4)) {
@@ -8322,8 +8322,8 @@ int QStringRef::count(const QStringRef &str, Qt::CaseSensitivity cs) const
 */
 bool QStringRef::startsWith(const QString &str, Qt::CaseSensitivity cs) const
 {
-    return qt_starts_with(isNull() ? 0 : unicode(), size(),
-                          str.isNull() ? 0 : str.unicode(), str.size(), cs);
+    return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(),
+                          str.isNull() ? Q_NULLPTR : str.unicode(), str.size(), cs);
 }
 
 /*!
@@ -8333,7 +8333,7 @@ bool QStringRef::startsWith(const QString &str, Qt::CaseSensitivity cs) const
 */
 bool QStringRef::startsWith(QLatin1String str, Qt::CaseSensitivity cs) const
 {
-    return qt_starts_with(isNull() ? 0 : unicode(), size(), str, cs);
+    return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(), str, cs);
 }
 
 /*!
@@ -8343,8 +8343,8 @@ bool QStringRef::startsWith(QLatin1String str, Qt::CaseSensitivity cs) const
 */
 bool QStringRef::startsWith(const QStringRef &str, Qt::CaseSensitivity cs) const
 {
-    return qt_starts_with(isNull() ? 0 : unicode(), size(),
-                          str.isNull() ? 0 : str.unicode(), str.size(), cs);
+    return qt_starts_with(isNull() ? Q_NULLPTR : unicode(), size(),
+                          str.isNull() ? Q_NULLPTR : str.unicode(), str.size(), cs);
 }
 
 /*!
@@ -8383,8 +8383,8 @@ bool QStringRef::startsWith(QChar ch, Qt::CaseSensitivity cs) const
 */
 bool QStringRef::endsWith(const QString &str, Qt::CaseSensitivity cs) const
 {
-    return qt_ends_with(isNull() ? 0 : unicode(), size(),
-                        str.isNull() ? 0 : str.unicode(), str.size(), cs);
+    return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(),
+                        str.isNull() ? Q_NULLPTR : str.unicode(), str.size(), cs);
 }
 
 /*!
@@ -8419,7 +8419,7 @@ bool QStringRef::endsWith(QChar ch, Qt::CaseSensitivity cs) const
 */
 bool QStringRef::endsWith(QLatin1String str, Qt::CaseSensitivity cs) const
 {
-    return qt_ends_with(isNull() ? 0 : unicode(), size(), str, cs);
+    return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(), str, cs);
 }
 
 /*!
@@ -8429,8 +8429,8 @@ bool QStringRef::endsWith(QLatin1String str, Qt::CaseSensitivity cs) const
 */
 bool QStringRef::endsWith(const QStringRef &str, Qt::CaseSensitivity cs) const
 {
-    return qt_ends_with(isNull() ? 0 : unicode(), size(),
-                        str.isNull() ? 0 : str.unicode(), str.size(), cs);
+    return qt_ends_with(isNull() ? Q_NULLPTR : unicode(), size(),
+                        str.isNull() ? Q_NULLPTR : str.unicode(), str.size(), cs);
 }
 
 
@@ -8752,7 +8752,7 @@ QByteArray QStringRef::toUtf8() const
     if (isNull())
         return QByteArray();
 
-    return QUtf8::convertFromUnicode(constData(), length(), 0);
+    return QUtf8::convertFromUnicode(constData(), length(), Q_NULLPTR);
 }
 
 /*!
index 8cfb512..260abf1 100644 (file)
@@ -190,7 +190,7 @@ public:
         typedef const T *pointer;
         typedef const T &reference;
 
-        inline const_iterator() : i(0) {}
+        inline const_iterator() : i(Q_NULLPTR) {}
         inline const_iterator(T *n) : i(n) {}
         inline const_iterator(const const_iterator &o): i(o.i) {}
         inline explicit const_iterator(const iterator &o): i(o.i) {}
index 2a908ae..e5f3550 100644 (file)
@@ -175,7 +175,7 @@ public:
     typedef QHash<QString, WatchedServiceData> WatchedServicesHash;
 
     // public methods are entry points from other objects
-    explicit QDBusConnectionPrivate(QObject *parent = 0);
+    explicit QDBusConnectionPrivate(QObject *parent = Q_NULLPTR);
     ~QDBusConnectionPrivate();
     void deleteYourself();
 
index 02bfd04..b6c3a65 100644 (file)
@@ -62,7 +62,7 @@ private:
 public:
     QDBusInterface(const QString &service, const QString &path, const QString &interface = QString(),
                    const QDBusConnection &connection = QDBusConnection::sessionBus(),
-                   QObject *parent = 0);
+                   QObject *parent = Q_NULLPTR);
     ~QDBusInterface();
 
     virtual const QMetaObject *metaObject() const;
index 63506ff..ad35ba0 100644 (file)
@@ -96,7 +96,7 @@ class Q_DBUS_EXPORT QDBusPendingCallWatcher: public QObject, public QDBusPending
 {
     Q_OBJECT
 public:
-    QDBusPendingCallWatcher(const QDBusPendingCall &call, QObject *parent = 0);
+    QDBusPendingCallWatcher(const QDBusPendingCall &call, QObject *parent = Q_NULLPTR);
     ~QDBusPendingCallWatcher();
 
     void waitForFinished();     // non-virtual override
index 3c5f59a..e1ef4d8 100644 (file)
@@ -59,7 +59,7 @@ class Q_DBUS_EXPORT QDBusServer: public QObject
 {
     Q_OBJECT
 public:
-    QDBusServer(const QString &address = QLatin1String("unix:tmpdir=/tmp"), QObject *parent = 0);
+    QDBusServer(const QString &address = QLatin1String("unix:tmpdir=/tmp"), QObject *parent = Q_NULLPTR);
     virtual ~QDBusServer();
 
     bool isConnected() const;
index e398235..0bac63d 100644 (file)
@@ -67,9 +67,9 @@ public:
     };
     Q_DECLARE_FLAGS(WatchMode, WatchModeFlag)
 
-    explicit QDBusServiceWatcher(QObject *parent = 0);
+    explicit QDBusServiceWatcher(QObject *parent = Q_NULLPTR);
     QDBusServiceWatcher(const QString &service, const QDBusConnection &connection,
-                        WatchMode watchMode = WatchForOwnerChange, QObject *parent = 0);
+                        WatchMode watchMode = WatchForOwnerChange, QObject *parent = Q_NULLPTR);
     ~QDBusServiceWatcher();
 
     QStringList watchedServices() const;
index afc0517..6b306db 100644 (file)
@@ -60,7 +60,7 @@ class Q_DBUS_EXPORT QDBusVirtualObject : public QObject
 {
     Q_OBJECT
 public:
-    explicit QDBusVirtualObject(QObject *parent = 0);
+    explicit QDBusVirtualObject(QObject *parent = Q_NULLPTR);
     virtual ~QDBusVirtualObject();
 
     virtual QString introspect(const QString &path) const = 0;
index 14ea98e..187d55d 100644 (file)
@@ -69,7 +69,7 @@ class QDeclarativeGraphicsWidget : public QObject
     // ### TODO : QGraphicsWidget don't have a baseline concept yet.
     //Q_PROPERTY(QDeclarativeAnchorLine baseline READ baseline CONSTANT FINAL)
 public:
-    QDeclarativeGraphicsWidget(QObject *parent = 0);
+    QDeclarativeGraphicsWidget(QObject *parent = Q_NULLPTR);
     ~QDeclarativeGraphicsWidget();
     QDeclarativeAnchors *anchors();
     QDeclarativeAnchorLine left() const;
index 4f33ecc..c15bac6 100644 (file)
@@ -444,7 +444,7 @@ class QDeclarativeLayoutMirroringAttached : public QObject
     Q_PROPERTY(bool childrenInherit READ childrenInherit WRITE setChildrenInherit NOTIFY childrenInheritChanged)
 
 public:
-    explicit QDeclarativeLayoutMirroringAttached(QObject *parent = 0);
+    explicit QDeclarativeLayoutMirroringAttached(QObject *parent = Q_NULLPTR);
 
     bool enabled() const;
     void setEnabled(bool);
index 98406f8..8e46e22 100644 (file)
@@ -59,7 +59,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeTranslate : public QGraphicsTransform
     Q_PROPERTY(qreal y READ y WRITE setY NOTIFY yChanged)
 
 public:
-    QDeclarativeTranslate(QObject *parent = 0);
+    QDeclarativeTranslate(QObject *parent = Q_NULLPTR);
     ~QDeclarativeTranslate();
 
     qreal x() const;
index ba1e6cb..2e4116b 100644 (file)
@@ -93,7 +93,7 @@ Q_SIGNALS:
     void destroyingItem(QDeclarativeItem *item);
 
 protected:
-    QDeclarativeVisualModel(QObjectPrivate &dd, QObject *parent = 0)
+    QDeclarativeVisualModel(QObjectPrivate &dd, QObject *parent = Q_NULLPTR)
         : QObject(dd, parent) {}
 
 private:
index 68a64a0..f40a234 100644 (file)
@@ -66,7 +66,7 @@ class QDeclarativeAbstractBoundSignal : public QObject
 {
     Q_OBJECT
 public:
-    QDeclarativeAbstractBoundSignal(QObject *parent = 0);
+    QDeclarativeAbstractBoundSignal(QObject *parent = Q_NULLPTR);
     virtual ~QDeclarativeAbstractBoundSignal() = 0;
     virtual void disconnect() = 0;
 
index c7450fd..7d8fccb 100644 (file)
@@ -69,10 +69,10 @@ class Q_DECLARATIVE_EXPORT QDeclarativeComponent : public QObject
     Q_PROPERTY(QUrl url READ url CONSTANT)
 
 public:
-    QDeclarativeComponent(QObject *parent = 0);
+    QDeclarativeComponent(QObject *parent = Q_NULLPTR);
     QDeclarativeComponent(QDeclarativeEngine *, QObject *parent=0);
-    QDeclarativeComponent(QDeclarativeEngine *, const QString &fileName, QObject *parent = 0);
-    QDeclarativeComponent(QDeclarativeEngine *, const QUrl &url, QObject *parent = 0);
+    QDeclarativeComponent(QDeclarativeEngine *, const QString &fileName, QObject *parent = Q_NULLPTR);
+    QDeclarativeComponent(QDeclarativeEngine *, const QUrl &url, QObject *parent = Q_NULLPTR);
     virtual ~QDeclarativeComponent();
 
     Q_ENUMS(Status)
index 4111a6f..8fd78d7 100644 (file)
@@ -130,7 +130,7 @@ class QDeclarativeComponentAttached : public QObject
 {
     Q_OBJECT
 public:
-    QDeclarativeComponentAttached(QObject *parent = 0);
+    QDeclarativeComponentAttached(QObject *parent = Q_NULLPTR);
     ~QDeclarativeComponentAttached();
 
     void add(QDeclarativeComponentAttached **a) {
index ff05094..2c05132 100644 (file)
@@ -58,7 +58,7 @@ class Q_DECLARATIVE_EXPORT QDeclarativeExtensionPlugin : public QObject, public
     Q_OBJECT
     Q_INTERFACES(QDeclarativeExtensionInterface)
 public:
-    explicit QDeclarativeExtensionPlugin(QObject *parent = 0);
+    explicit QDeclarativeExtensionPlugin(QObject *parent = Q_NULLPTR);
     ~QDeclarativeExtensionPlugin();
 
     virtual void registerTypes(const char *uri) = 0;
index 464b05a..cdce66f 100644 (file)
@@ -69,7 +69,7 @@ QT_BEGIN_NAMESPACE
         Q_INTERFACES(QDeclarativeParserStatus)
 
     public:
-        MyObject(QObject *parent = 0);
+        MyObject(QObject *parent = Q_NULLPTR);
         ...
         void classBegin();
         void componentComplete();
index 514b912..c342190 100644 (file)
@@ -74,7 +74,7 @@ class Q_DECLARATIVE_PRIVATE_EXPORT QDeclarativeValueType : public QObject
 {
     Q_OBJECT
 public:
-    QDeclarativeValueType(QObject *parent = 0);
+    QDeclarativeValueType(QObject *parent = Q_NULLPTR);
     virtual void read(QObject *, int) = 0;
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags flags) = 0;
     virtual QVariant value() = 0;
@@ -106,7 +106,7 @@ class Q_AUTOTEST_EXPORT QDeclarativePointFValueType : public QDeclarativeValueTy
     Q_PROPERTY(qreal y READ y WRITE setY)
     Q_OBJECT
 public:
-    QDeclarativePointFValueType(QObject *parent = 0);
+    QDeclarativePointFValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -128,7 +128,7 @@ class Q_AUTOTEST_EXPORT QDeclarativePointValueType : public QDeclarativeValueTyp
     Q_PROPERTY(int y READ y WRITE setY)
     Q_OBJECT
 public:
-    QDeclarativePointValueType(QObject *parent = 0);
+    QDeclarativePointValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -150,7 +150,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeSizeFValueType : public QDeclarativeValueTyp
     Q_PROPERTY(qreal height READ height WRITE setHeight)
     Q_OBJECT
 public:
-    QDeclarativeSizeFValueType(QObject *parent = 0);
+    QDeclarativeSizeFValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -172,7 +172,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeSizeValueType : public QDeclarativeValueType
     Q_PROPERTY(int height READ height WRITE setHeight)
     Q_OBJECT
 public:
-    QDeclarativeSizeValueType(QObject *parent = 0);
+    QDeclarativeSizeValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -196,7 +196,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeRectFValueType : public QDeclarativeValueTyp
     Q_PROPERTY(qreal height READ height WRITE setHeight)
     Q_OBJECT
 public:
-    QDeclarativeRectFValueType(QObject *parent = 0);
+    QDeclarativeRectFValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -225,7 +225,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeRectValueType : public QDeclarativeValueType
     Q_PROPERTY(int height READ height WRITE setHeight)
     Q_OBJECT
 public:
-    QDeclarativeRectValueType(QObject *parent = 0);
+    QDeclarativeRectValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -252,7 +252,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeVector2DValueType : public QDeclarativeValue
     Q_PROPERTY(qreal y READ y WRITE setY)
     Q_OBJECT
 public:
-    QDeclarativeVector2DValueType(QObject *parent = 0);
+    QDeclarativeVector2DValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -275,7 +275,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeVector3DValueType : public QDeclarativeValue
     Q_PROPERTY(qreal z READ z WRITE setZ)
     Q_OBJECT
 public:
-    QDeclarativeVector3DValueType(QObject *parent = 0);
+    QDeclarativeVector3DValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -301,7 +301,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeVector4DValueType : public QDeclarativeValue
     Q_PROPERTY(qreal w READ w WRITE setW)
     Q_OBJECT
 public:
-    QDeclarativeVector4DValueType(QObject *parent = 0);
+    QDeclarativeVector4DValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -329,7 +329,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeQuaternionValueType : public QDeclarativeVal
     Q_PROPERTY(qreal z READ z WRITE setZ)
     Q_OBJECT
 public:
-    QDeclarativeQuaternionValueType(QObject *parent = 0);
+    QDeclarativeQuaternionValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -369,7 +369,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeMatrix4x4ValueType : public QDeclarativeValu
     Q_PROPERTY(qreal m44 READ m44 WRITE setM44)
     Q_OBJECT
 public:
-    QDeclarativeMatrix4x4ValueType(QObject *parent = 0);
+    QDeclarativeMatrix4x4ValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -450,7 +450,7 @@ public:
         SineCurve = QEasingCurve::SineCurve, CosineCurve = QEasingCurve::CosineCurve
     };
 
-    QDeclarativeEasingValueType(QObject *parent = 0);
+    QDeclarativeEasingValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
@@ -501,7 +501,7 @@ public:
                            SmallCaps = QFont::SmallCaps,
                            Capitalize = QFont::Capitalize };
 
-    QDeclarativeFontValueType(QObject *parent = 0);
+    QDeclarativeFontValueType(QObject *parent = Q_NULLPTR);
 
     virtual void read(QObject *, int);
     virtual void write(QObject *, int, QDeclarativePropertyPrivate::WriteFlags);
index 7b7cd4b..a987e36 100644 (file)
@@ -93,7 +93,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeWorkerScript : public QObject, public QDecla
 
     Q_INTERFACES(QDeclarativeParserStatus)
 public:
-    QDeclarativeWorkerScript(QObject *parent = 0);
+    QDeclarativeWorkerScript(QObject *parent = Q_NULLPTR);
     virtual ~QDeclarativeWorkerScript();
 
     QUrl source() const;
index 42d5d25..9cf1b32 100644 (file)
@@ -100,8 +100,8 @@ class Q_AUTOTEST_EXPORT QActionAnimation : public QAbstractAnimation
 {
     Q_OBJECT
 public:
-    QActionAnimation(QObject *parent = 0) : QAbstractAnimation(parent), animAction(0), policy(KeepWhenStopped) {}
-    QActionAnimation(QAbstractAnimationAction *action, QObject *parent = 0)
+    QActionAnimation(QObject *parent = Q_NULLPTR) : QAbstractAnimation(parent), animAction(0), policy(KeepWhenStopped) {}
+    QActionAnimation(QAbstractAnimationAction *action, QObject *parent = Q_NULLPTR)
         : QAbstractAnimation(parent), animAction(action), policy(KeepWhenStopped) {}
     ~QActionAnimation() { if (policy == DeleteWhenStopped) { delete animAction; animAction = 0; } }
     virtual int duration() const { return 0; }
@@ -147,7 +147,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeBulkValueAnimator : public QVariantAnimation
 {
     Q_OBJECT
 public:
-    QDeclarativeBulkValueAnimator(QObject *parent = 0) : QVariantAnimation(parent), animValue(0), fromSourced(0), policy(KeepWhenStopped) {}
+    QDeclarativeBulkValueAnimator(QObject *parent = Q_NULLPTR) : QVariantAnimation(parent), animValue(0), fromSourced(0), policy(KeepWhenStopped) {}
     ~QDeclarativeBulkValueAnimator() { if (policy == DeleteWhenStopped) { delete animValue; animValue = 0; } }
     void setAnimValue(QDeclarativeBulkValueUpdater *value, DeletionPolicy p)
     {
@@ -193,7 +193,7 @@ class QTickAnimationProxy : public QAbstractAnimation
 {
     //Q_OBJECT //doesn't work with templating
 public:
-    QTickAnimationProxy(T *p, QObject *parent = 0) : QAbstractAnimation(parent), m_p(p) {}
+    QTickAnimationProxy(T *p, QObject *parent = Q_NULLPTR) : QAbstractAnimation(parent), m_p(p) {}
     virtual int duration() const { return -1; }
 protected:
     virtual void updateCurrentTime(int msec) { (m_p->*method)(msec); }
index 1aa233e..41bc931 100644 (file)
@@ -59,7 +59,7 @@ class Q_DECLARATIVE_PRIVATE_EXPORT QDeclarativeApplication : public QObject
     Q_PROPERTY(Qt::LayoutDirection layoutDirection READ layoutDirection NOTIFY layoutDirectionChanged)
 
 public:
-    explicit QDeclarativeApplication(QObject *parent = 0);
+    explicit QDeclarativeApplication(QObject *parent = Q_NULLPTR);
     virtual ~QDeclarativeApplication();
     bool active() const;
     Qt::LayoutDirection layoutDirection() const;
index 4111baa..27ddd6c 100644 (file)
@@ -66,7 +66,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeFontLoader : public QObject
 public:
     enum Status { Null = 0, Ready, Loading, Error };
 
-    QDeclarativeFontLoader(QObject *parent = 0);
+    QDeclarativeFontLoader(QObject *parent = Q_NULLPTR);
     ~QDeclarativeFontLoader();
 
     QUrl source() const;
index ee369b6..0ac1fea 100644 (file)
@@ -57,7 +57,7 @@ class Q_DECLARATIVE_EXPORT QDeclarativePropertyMap : public QObject
 {
     Q_OBJECT
 public:
-    QDeclarativePropertyMap(QObject *parent = 0);
+    QDeclarativePropertyMap(QObject *parent = Q_NULLPTR);
     virtual ~QDeclarativePropertyMap();
 
     QVariant value(const QString &key) const;
index be568cc..f57f4f2 100644 (file)
@@ -67,7 +67,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeSmoothedAnimation : public QDeclarativeNumbe
 public:
     enum ReversingMode { Eased, Immediate, Sync };
 
-    QDeclarativeSmoothedAnimation(QObject *parent = 0);
+    QDeclarativeSmoothedAnimation(QObject *parent = Q_NULLPTR);
     ~QDeclarativeSmoothedAnimation();
 
     ReversingMode reversingMode() const;
index ceb9fb8..acc6da3 100644 (file)
@@ -118,7 +118,7 @@ class Q_DECLARATIVE_EXPORT QDeclarativeStateOperation : public QObject
 {
     Q_OBJECT
 public:
-    QDeclarativeStateOperation(QObject *parent = 0)
+    QDeclarativeStateOperation(QObject *parent = Q_NULLPTR)
         : QObject(parent) {}
     typedef QList<QDeclarativeAction> ActionList;
 
@@ -128,7 +128,7 @@ public:
     void setState(QDeclarativeState *state);
 
 protected:
-    QDeclarativeStateOperation(QObjectPrivate &dd, QObject *parent = 0);
+    QDeclarativeStateOperation(QObjectPrivate &dd, QObject *parent = Q_NULLPTR);
 
 private:
     Q_DECLARE_PRIVATE(QDeclarativeStateOperation)
index 2fe2e58..eac6301 100644 (file)
@@ -67,7 +67,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeTimeLine : public QAbstractAnimation
 {
 Q_OBJECT
 public:
-    QDeclarativeTimeLine(QObject *parent = 0);
+    QDeclarativeTimeLine(QObject *parent = Q_NULLPTR);
     ~QDeclarativeTimeLine();
 
     enum SyncMode { LocalSync, GlobalSync };
index 835bee2..3037af0 100644 (file)
@@ -101,7 +101,7 @@ class ParallelAnimationWrapper : public QParallelAnimationGroup
 {
     Q_OBJECT
 public:
-    ParallelAnimationWrapper(QObject *parent = 0) : QParallelAnimationGroup(parent) {}
+    ParallelAnimationWrapper(QObject *parent = Q_NULLPTR) : QParallelAnimationGroup(parent) {}
     QDeclarativeTransitionPrivate *trans;
 protected:
     virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState);
index 0407d99..bcf8fa5 100644 (file)
@@ -56,7 +56,7 @@ class Q_DECLARATIVE_PRIVATE_EXPORT QListModelInterface : public QObject
 {
     Q_OBJECT
  public:
-    QListModelInterface(QObject *parent = 0) : QObject(parent) {}
+    QListModelInterface(QObject *parent = Q_NULLPTR) : QObject(parent) {}
     virtual ~QListModelInterface() {}
 
     virtual int count() const = 0;
index c175812..7a8e2e3 100644 (file)
@@ -62,7 +62,7 @@ class QT_BUDDYEDITOR_EXPORT BuddyEditorTool: public QDesignerFormWindowToolInter
 {
     Q_OBJECT
 public:
-    explicit BuddyEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = 0);
+    explicit BuddyEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = Q_NULLPTR);
     virtual ~BuddyEditorTool();
 
     virtual QDesignerFormEditorInterface *core() const;
index fa5bd95..9d1f7d8 100644 (file)
@@ -57,7 +57,7 @@ class BrushManagerProxy : public QObject
 {
     Q_OBJECT
 public:
-    explicit BrushManagerProxy(QDesignerFormEditorInterface *core, QObject *parent = 0);
+    explicit BrushManagerProxy(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
     ~BrushManagerProxy();
 
     void setBrushManager(QtBrushManager *manager);
index 9f0ff11..2bc080d 100644 (file)
@@ -77,7 +77,7 @@ class QT_FORMEDITOR_EXPORT QToolBarActionProvider: public QObject, public Action
     Q_OBJECT
     Q_INTERFACES(QDesignerActionProviderExtension)
 public:
-    explicit QToolBarActionProvider(QToolBar *widget, QObject *parent = 0);
+    explicit QToolBarActionProvider(QToolBar *widget, QObject *parent = Q_NULLPTR);
 
     virtual QRect actionGeometry(QAction *action) const;
     virtual QAction *actionAt(const QPoint &pos) const;
@@ -95,7 +95,7 @@ class QT_FORMEDITOR_EXPORT QMenuBarActionProvider: public QObject, public Action
     Q_OBJECT
     Q_INTERFACES(QDesignerActionProviderExtension)
 public:
-    explicit QMenuBarActionProvider(QMenuBar *widget, QObject *parent = 0);
+    explicit QMenuBarActionProvider(QMenuBar *widget, QObject *parent = Q_NULLPTR);
 
     virtual QRect actionGeometry(QAction *action) const;
     virtual QAction *actionAt(const QPoint &pos) const;
@@ -110,7 +110,7 @@ class QT_FORMEDITOR_EXPORT QMenuActionProvider: public QObject, public ActionPro
     Q_OBJECT
     Q_INTERFACES(QDesignerActionProviderExtension)
 public:
-    explicit QMenuActionProvider(QMenu *widget, QObject *parent = 0);
+    explicit QMenuActionProvider(QMenu *widget, QObject *parent = Q_NULLPTR);
 
     virtual QRect actionGeometry(QAction *action) const;
     virtual QAction *actionAt(const QPoint &pos) const;
index 01c9aee..a7c08da 100644 (file)
@@ -62,7 +62,7 @@ class QStackedWidgetContainer: public QObject, public QDesignerContainerExtensio
     Q_OBJECT
     Q_INTERFACES(QDesignerContainerExtension)
 public:
-    explicit QStackedWidgetContainer(QStackedWidget *widget, QObject *parent = 0);
+    explicit QStackedWidgetContainer(QStackedWidget *widget, QObject *parent = Q_NULLPTR);
 
     virtual int count() const { return m_widget->count(); }
     virtual QWidget *widget(int index) const { return m_widget->widget(index); }
@@ -84,7 +84,7 @@ class QTabWidgetContainer: public QObject, public QDesignerContainerExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerContainerExtension)
 public:
-    explicit QTabWidgetContainer(QTabWidget *widget, QObject *parent = 0);
+    explicit QTabWidgetContainer(QTabWidget *widget, QObject *parent = Q_NULLPTR);
 
     virtual int count() const { return m_widget->count(); }
     virtual QWidget *widget(int index) const { return m_widget->widget(index); }
@@ -106,7 +106,7 @@ class QToolBoxContainer: public QObject, public QDesignerContainerExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerContainerExtension)
 public:
-    explicit QToolBoxContainer(QToolBox *widget, QObject *parent = 0);
+    explicit QToolBoxContainer(QToolBox *widget, QObject *parent = Q_NULLPTR);
 
     virtual int count() const { return m_widget->count(); }
     virtual QWidget *widget(int index) const { return m_widget->widget(index); }
@@ -189,7 +189,7 @@ class QScrollAreaContainer: public QObject, public SingleChildContainer<QScrollA
     Q_OBJECT
     Q_INTERFACES(QDesignerContainerExtension)
 public:
-    explicit QScrollAreaContainer(QScrollArea *widget, QObject *parent = 0);
+    explicit QScrollAreaContainer(QScrollArea *widget, QObject *parent = Q_NULLPTR);
 };
 
 // --------------- QDockWidgetContainer
@@ -198,7 +198,7 @@ class QDockWidgetContainer: public QObject, public SingleChildContainer<QDockWid
     Q_OBJECT
     Q_INTERFACES(QDesignerContainerExtension)
 public:
-    explicit QDockWidgetContainer(QDockWidget *widget, QObject *parent = 0);
+    explicit QDockWidgetContainer(QDockWidget *widget, QObject *parent = Q_NULLPTR);
 };
 
 typedef ExtensionFactory<QDesignerContainerExtension, QStackedWidget, QStackedWidgetContainer> QDesignerStackedWidgetContainerFactory;
index 8015636..b03fd6b 100644 (file)
@@ -56,7 +56,7 @@ class QT_FORMEDITOR_EXPORT FormEditor: public QDesignerFormEditorInterface
 {
     Q_OBJECT
 public:
-    FormEditor(QObject *parent = 0);
+    FormEditor(QObject *parent = Q_NULLPTR);
     virtual ~FormEditor();
 public slots:
     void slotQrcFileChangedExternally(const QString &path);
index b4ef592..3dc49bc 100644 (file)
@@ -59,7 +59,7 @@ class QT_FORMEDITOR_EXPORT FormWindowWidgetStack: public QObject
 {
     Q_OBJECT
 public:
-    FormWindowWidgetStack(QObject *parent = 0);
+    FormWindowWidgetStack(QObject *parent = Q_NULLPTR);
     virtual ~FormWindowWidgetStack();
 
     QLayout *layout() const;
index 80fe171..d9391aa 100644 (file)
@@ -56,7 +56,7 @@ class QT_FORMEDITOR_EXPORT FormWindowCursor: public QObject, public QDesignerFor
 {
     Q_OBJECT
 public:
-    explicit FormWindowCursor(FormWindow *fw, QObject *parent = 0);
+    explicit FormWindowCursor(FormWindow *fw, QObject *parent = Q_NULLPTR);
     virtual ~FormWindowCursor();
 
     virtual QDesignerFormWindowInterface *formWindow() const;
index a341168..774eb9a 100644 (file)
@@ -70,7 +70,7 @@ class QT_FORMEDITOR_EXPORT FormWindowManager
 {
     Q_OBJECT
 public:
-    explicit FormWindowManager(QDesignerFormEditorInterface *core, QObject *parent = 0);
+    explicit FormWindowManager(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
     virtual ~FormWindowManager();
 
     virtual QDesignerFormEditorInterface *core() const;
index db6aa56..be63a15 100644 (file)
@@ -59,8 +59,8 @@ class ItemViewPropertySheet: public QDesignerPropertySheet
     Q_OBJECT
     Q_INTERFACES(QDesignerPropertySheetExtension)
 public:
-    explicit ItemViewPropertySheet(QTreeView *treeViewObject, QObject *parent = 0);
-    explicit ItemViewPropertySheet(QTableView *tableViewObject, QObject *parent = 0);
+    explicit ItemViewPropertySheet(QTreeView *treeViewObject, QObject *parent = Q_NULLPTR);
+    explicit ItemViewPropertySheet(QTableView *tableViewObject, QObject *parent = Q_NULLPTR);
     ~ItemViewPropertySheet();
 
     QHash<QString,QString> propertyNameMap() const;
index eab66fb..725d445 100644 (file)
@@ -59,7 +59,7 @@ class LayoutPropertySheet: public QDesignerPropertySheet
     Q_OBJECT
     Q_INTERFACES(QDesignerPropertySheetExtension)
 public:
-    explicit LayoutPropertySheet(QLayout *object, QObject *parent = 0);
+    explicit LayoutPropertySheet(QLayout *object, QObject *parent = Q_NULLPTR);
     virtual ~LayoutPropertySheet();
 
     virtual void setProperty(int index, const QVariant &value);
index cf22265..77f1917 100644 (file)
@@ -55,7 +55,7 @@ class LinePropertySheet: public QDesignerPropertySheet
     Q_OBJECT
     Q_INTERFACES(QDesignerPropertySheetExtension)
 public:
-    explicit LinePropertySheet(Line *object, QObject *parent = 0);
+    explicit LinePropertySheet(Line *object, QObject *parent = Q_NULLPTR);
     virtual ~LinePropertySheet();
 
     virtual void setProperty(int index, const QVariant &value);
index 0718f8b..e309da9 100644 (file)
@@ -69,7 +69,7 @@ class PreviewActionGroup : public QActionGroup
     Q_DISABLE_COPY(PreviewActionGroup)
     Q_OBJECT
 public:
-    explicit PreviewActionGroup(QDesignerFormEditorInterface *core, QObject *parent = 0);
+    explicit PreviewActionGroup(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
 
 signals:
     void preview(const QString &style, int deviceProfileIndex);
index c6a0b35..dd37609 100644 (file)
@@ -59,7 +59,7 @@ class QDesignerUndoStack : public QObject
     Q_DISABLE_COPY(QDesignerUndoStack)
     Q_OBJECT
 public:
-    explicit QDesignerUndoStack(QObject *parent = 0);
+    explicit QDesignerUndoStack(QObject *parent = Q_NULLPTR);
     virtual ~QDesignerUndoStack();
 
     void push(QUndoCommand * cmd);
index 8c07470..026fc5b 100644 (file)
@@ -55,7 +55,7 @@ class QLayoutWidgetPropertySheet: public QDesignerPropertySheet
     Q_OBJECT
     Q_INTERFACES(QDesignerPropertySheetExtension)
 public:
-    explicit QLayoutWidgetPropertySheet(QLayoutWidget *object, QObject *parent = 0);
+    explicit QLayoutWidgetPropertySheet(QLayoutWidget *object, QObject *parent = Q_NULLPTR);
     virtual ~QLayoutWidgetPropertySheet();
 
     virtual void setProperty(int index, const QVariant &value);
index 40e25c3..7cdad22 100644 (file)
@@ -58,7 +58,7 @@ class QMainWindowContainer: public QObject, public QDesignerContainerExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerContainerExtension)
 public:
-    explicit QMainWindowContainer(QMainWindow *widget, QObject *parent = 0);
+    explicit QMainWindowContainer(QMainWindow *widget, QObject *parent = Q_NULLPTR);
 
     virtual int count() const;
     virtual QWidget *widget(int index) const;
index ec44dbf..b497a33 100644 (file)
@@ -61,7 +61,7 @@ class QMdiAreaContainer: public QObject, public QDesignerContainerExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerContainerExtension)
 public:
-    explicit QMdiAreaContainer(QMdiArea *widget, QObject *parent = 0);
+    explicit QMdiAreaContainer(QMdiArea *widget, QObject *parent = Q_NULLPTR);
 
     virtual int count() const;
     virtual QWidget *widget(int index) const;
@@ -86,7 +86,7 @@ class QMdiAreaPropertySheet: public QDesignerPropertySheet
     Q_OBJECT
     Q_INTERFACES(QDesignerPropertySheetExtension)
 public:
-    explicit QMdiAreaPropertySheet(QWidget *mdiArea, QObject *parent = 0);
+    explicit QMdiAreaPropertySheet(QWidget *mdiArea, QObject *parent = Q_NULLPTR);
 
     virtual void setProperty(int index, const QVariant &value);
     virtual bool reset(int index);
index 025927a..e3de902 100644 (file)
@@ -59,7 +59,7 @@ class QT_FORMEDITOR_EXPORT QtBrushManager : public QDesignerBrushManagerInterfac
 {
     Q_OBJECT
 public:
-    QtBrushManager(QObject *parent = 0);
+    QtBrushManager(QObject *parent = Q_NULLPTR);
     ~QtBrushManager();
 
     QBrush brush(const QString &name) const;
index 12397a6..cd6304f 100644 (file)
@@ -64,7 +64,7 @@ class QWizardContainer: public QObject, public QDesignerContainerExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerContainerExtension)
 public:
-    explicit QWizardContainer(QWizard *widget, QObject *parent = 0);
+    explicit QWizardContainer(QWizard *widget, QObject *parent = Q_NULLPTR);
 
     virtual int count() const;
     virtual QWidget *widget(int index) const;
@@ -87,7 +87,7 @@ class QWizardPagePropertySheet: public QDesignerPropertySheet
 {
     Q_OBJECT
 public:
-    explicit QWizardPagePropertySheet(QWizardPage *object, QObject *parent = 0);
+    explicit QWizardPagePropertySheet(QWizardPage *object, QObject *parent = Q_NULLPTR);
 
     virtual bool reset(int index);
 
@@ -105,7 +105,7 @@ class QWizardPropertySheet: public QDesignerPropertySheet
 {
     Q_OBJECT
 public:
-    explicit QWizardPropertySheet(QWizard *object, QObject *parent = 0);
+    explicit QWizardPropertySheet(QWizard *object, QObject *parent = Q_NULLPTR);
     virtual bool isVisible(int index) const;
 
 private:
index a1e534a..c04e12c 100644 (file)
@@ -57,7 +57,7 @@ class QWorkspaceContainer: public QObject, public QDesignerContainerExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerContainerExtension)
 public:
-    explicit QWorkspaceContainer(QWorkspace *widget, QObject *parent = 0);
+    explicit QWorkspaceContainer(QWorkspace *widget, QObject *parent = Q_NULLPTR);
 
     virtual int count() const;
     virtual QWidget *widget(int index) const;
index eebac63..2724d84 100644 (file)
@@ -55,7 +55,7 @@ class SpacerPropertySheet: public QDesignerPropertySheet
     Q_OBJECT
     Q_INTERFACES(QDesignerPropertySheetExtension)
 public:
-    explicit SpacerPropertySheet(Spacer *object, QObject *parent = 0);
+    explicit SpacerPropertySheet(Spacer *object, QObject *parent = Q_NULLPTR);
     virtual ~SpacerPropertySheet();
 
     virtual void setProperty(int index, const QVariant &value);
index cec6c18..2c49e0a 100644 (file)
@@ -129,7 +129,7 @@ namespace qdesigner_internal {
 // Delegate with object name validator for the object name column
 class ObjectInspectorDelegate : public QItemDelegate {
 public:
-    explicit ObjectInspectorDelegate(QObject *parent = 0);
+    explicit ObjectInspectorDelegate(QObject *parent = Q_NULLPTR);
 
     virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
 };
index 370303f..2e95bd9 100644 (file)
@@ -79,7 +79,7 @@ class ResetDecorator : public QObject
 {
     Q_OBJECT
 public:
-    ResetDecorator(QObject *parent = 0) : QObject(parent), m_spacing(-1) {}
+    ResetDecorator(QObject *parent = Q_NULLPTR) : QObject(parent), m_spacing(-1) {}
     ~ResetDecorator();
 
     void connectPropertyManager(QtAbstractPropertyManager *manager);
@@ -102,7 +102,7 @@ class DesignerPropertyManager : public QtVariantPropertyManager
 {
     Q_OBJECT
 public:
-    explicit DesignerPropertyManager(QObject *parent = 0);
+    explicit DesignerPropertyManager(QObject *parent = Q_NULLPTR);
     ~DesignerPropertyManager();
 
     virtual QStringList attributes(int propertyType) const;
@@ -241,7 +241,7 @@ class DesignerEditorFactory : public QtVariantEditorFactory
 {
     Q_OBJECT
 public:
-    explicit DesignerEditorFactory(QDesignerFormEditorInterface *core, QObject *parent = 0);
+    explicit DesignerEditorFactory(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
     ~DesignerEditorFactory();
     void setSpacing(int spacing);
     void setFormWindowBase(FormWindowBase *fwb);
index be036c3..6c2a03a 100644 (file)
@@ -107,7 +107,7 @@ class PaletteModel : public QAbstractTableModel
     Q_OBJECT
     Q_PROPERTY(QPalette::ColorRole colorRole READ colorRole)
 public:
-    explicit PaletteModel(QObject *parent = 0);
+    explicit PaletteModel(QObject *parent = Q_NULLPTR);
 
     int rowCount(const QModelIndex &parent = QModelIndex()) const;
     int columnCount(const QModelIndex &parent = QModelIndex()) const;
@@ -176,7 +176,7 @@ class ColorDelegate : public QItemDelegate
     Q_OBJECT
 
 public:
-    explicit ColorDelegate(QObject *parent = 0);
+    explicit ColorDelegate(QObject *parent = Q_NULLPTR);
 
     QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
                 const QModelIndex &index) const;
index c897622..b430bfe 100644 (file)
@@ -102,7 +102,7 @@ class ConnectionModel : public QAbstractItemModel
 {
     Q_OBJECT
 public:
-    explicit ConnectionModel(QObject *parent = 0);
+    explicit ConnectionModel(QObject *parent = Q_NULLPTR);
     void setEditor(SignalSlotEditor *editor = 0);
 
     virtual QModelIndex index(int row, int column,
index ba5c813..54e4bf0 100644 (file)
@@ -62,7 +62,7 @@ class QT_SIGNALSLOTEDITOR_EXPORT SignalSlotEditorTool: public QDesignerFormWindo
 {
     Q_OBJECT
 public:
-    explicit SignalSlotEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = 0);
+    explicit SignalSlotEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = Q_NULLPTR);
     virtual ~SignalSlotEditorTool();
 
     virtual QDesignerFormEditorInterface *core() const;
index 2aeb4d2..7f3447c 100644 (file)
@@ -409,7 +409,7 @@ class InlineEditorModel : public QStandardItemModel
 public:
     enum {  TitleItem = 1 };
 
-    InlineEditorModel(int rows, int cols, QObject *parent = 0);
+    InlineEditorModel(int rows, int cols, QObject *parent = Q_NULLPTR);
 
     void addTitle(const QString &title);
     void addTextList(const QMap<QString, bool> &text_list);
index cb8a1df..07cfb68 100644 (file)
@@ -62,7 +62,7 @@ class QT_TABORDEREDITOR_EXPORT TabOrderEditorTool: public QDesignerFormWindowToo
 {
     Q_OBJECT
 public:
-    explicit TabOrderEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = 0);
+    explicit TabOrderEditorTool(QDesignerFormWindowInterface *formWindow, QObject *parent = Q_NULLPTR);
     virtual ~TabOrderEditorTool();
 
     virtual QDesignerFormEditorInterface *core() const;
index a6ddc93..fc2356a 100644 (file)
@@ -64,7 +64,7 @@ class ButtonGroupMenu : public QObject
     Q_OBJECT
     Q_DISABLE_COPY(ButtonGroupMenu)
 public:
-    ButtonGroupMenu(QObject *parent = 0);
+    ButtonGroupMenu(QObject *parent = Q_NULLPTR);
 
     void initialize(QDesignerFormWindowInterface *formWindow,
                     QButtonGroup *buttonGroup = 0,
@@ -94,7 +94,7 @@ class ButtonGroupTaskMenu : public QObject, public QDesignerTaskMenuExtension
     Q_DISABLE_COPY(ButtonGroupTaskMenu)
     Q_INTERFACES(QDesignerTaskMenuExtension)
 public:
-    explicit ButtonGroupTaskMenu(QButtonGroup *buttonGroup, QObject *parent = 0);
+    explicit ButtonGroupTaskMenu(QButtonGroup *buttonGroup, QObject *parent = Q_NULLPTR);
 
     virtual QAction *preferredEditAction() const;
     virtual QList<QAction*> taskActions() const;
@@ -111,7 +111,7 @@ class ButtonTaskMenu: public QDesignerTaskMenu
     Q_OBJECT
     Q_DISABLE_COPY(ButtonTaskMenu)
 public:
-    explicit ButtonTaskMenu(QAbstractButton *button, QObject *parent = 0);
+    explicit ButtonTaskMenu(QAbstractButton *button, QObject *parent = Q_NULLPTR);
     virtual ~ButtonTaskMenu();
 
     virtual QAction *preferredEditAction() const;
@@ -157,7 +157,7 @@ class CommandLinkButtonTaskMenu: public ButtonTaskMenu
     Q_OBJECT
     Q_DISABLE_COPY(CommandLinkButtonTaskMenu)
 public:
-    explicit CommandLinkButtonTaskMenu(QCommandLinkButton *button, QObject *parent = 0);
+    explicit CommandLinkButtonTaskMenu(QCommandLinkButton *button, QObject *parent = Q_NULLPTR);
 };
 
 typedef ExtensionFactory<QDesignerTaskMenuExtension, QButtonGroup, ButtonGroupTaskMenu> ButtonGroupTaskMenuFactory;
index 2b7ac76..348a04f 100644 (file)
@@ -60,7 +60,7 @@ class ComboBoxTaskMenu: public QDesignerTaskMenu
     Q_OBJECT
 public:
     explicit ComboBoxTaskMenu(QComboBox *button,
-                              QObject *parent = 0);
+                              QObject *parent = Q_NULLPTR);
     virtual ~ComboBoxTaskMenu();
 
     virtual QAction *preferredEditAction() const;
index 99dfa34..1ebfa14 100644 (file)
@@ -70,7 +70,7 @@ class ContainerWidgetTaskMenu: public QDesignerTaskMenu
 {
     Q_OBJECT
 public:
-    explicit ContainerWidgetTaskMenu(QWidget *widget, ContainerType type, QObject *parent = 0);
+    explicit ContainerWidgetTaskMenu(QWidget *widget, ContainerType type, QObject *parent = Q_NULLPTR);
     virtual ~ContainerWidgetTaskMenu();
 
     virtual QAction *preferredEditAction() const;
@@ -109,7 +109,7 @@ private:
 class WizardContainerWidgetTaskMenu : public ContainerWidgetTaskMenu {
     Q_OBJECT
 public:
-    explicit WizardContainerWidgetTaskMenu(QWizard *w, QObject *parent = 0);
+    explicit WizardContainerWidgetTaskMenu(QWizard *w, QObject *parent = Q_NULLPTR);
 
     virtual QList<QAction*> taskActions() const;
 
@@ -124,8 +124,8 @@ private:
 class MdiContainerWidgetTaskMenu : public ContainerWidgetTaskMenu {
     Q_OBJECT
 public:
-    explicit MdiContainerWidgetTaskMenu(QMdiArea *m, QObject *parent = 0);
-    explicit MdiContainerWidgetTaskMenu(QWorkspace *m, QObject *parent = 0);
+    explicit MdiContainerWidgetTaskMenu(QMdiArea *m, QObject *parent = Q_NULLPTR);
+    explicit MdiContainerWidgetTaskMenu(QWorkspace *m, QObject *parent = Q_NULLPTR);
 
     virtual QList<QAction*> taskActions() const;
 private:
index 8224e14..14d568f 100644 (file)
@@ -59,7 +59,7 @@ class GroupBoxTaskMenu: public QDesignerTaskMenu
 {
     Q_OBJECT
 public:
-    explicit GroupBoxTaskMenu(QGroupBox *groupbox, QObject *parent = 0);
+    explicit GroupBoxTaskMenu(QGroupBox *groupbox, QObject *parent = Q_NULLPTR);
 
     virtual QAction *preferredEditAction() const;
     virtual QList<QAction*> taskActions() const;
index 3e54540..6954bc5 100644 (file)
@@ -58,7 +58,7 @@ class LabelTaskMenu: public QDesignerTaskMenu
 {
     Q_OBJECT
 public:
-    explicit LabelTaskMenu(QLabel *button, QObject *parent = 0);
+    explicit LabelTaskMenu(QLabel *button, QObject *parent = Q_NULLPTR);
 
     virtual QAction *preferredEditAction() const;
     virtual QList<QAction*> taskActions() const;
index de614c4..98185e8 100644 (file)
@@ -61,7 +61,7 @@ class LayoutWidgetTaskMenu : public QObject, public QDesignerTaskMenuExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerTaskMenuExtension)
 public:
-    explicit LayoutWidgetTaskMenu(QLayoutWidget *w, QObject *parent = 0);
+    explicit LayoutWidgetTaskMenu(QLayoutWidget *w, QObject *parent = Q_NULLPTR);
 
     virtual QAction *preferredEditAction() const;
     virtual QList<QAction*> taskActions() const;
@@ -78,7 +78,7 @@ class SpacerTaskMenu : public QObject, public QDesignerTaskMenuExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerTaskMenuExtension)
 public:
-    explicit SpacerTaskMenu(Spacer *bar, QObject *parent = 0);
+    explicit SpacerTaskMenu(Spacer *bar, QObject *parent = Q_NULLPTR);
 
     virtual QAction *preferredEditAction() const;
     virtual QList<QAction*> taskActions() const;
index 28005da..c8a9406 100644 (file)
@@ -56,7 +56,7 @@ class LineEditTaskMenu: public QDesignerTaskMenu
 {
     Q_OBJECT
 public:
-    explicit LineEditTaskMenu(QLineEdit *button, QObject *parent = 0);
+    explicit LineEditTaskMenu(QLineEdit *button, QObject *parent = Q_NULLPTR);
 
     virtual QAction *preferredEditAction() const;
     virtual QList<QAction*> taskActions() const;
index 6f7cbb4..df2ee09 100644 (file)
@@ -59,7 +59,7 @@ class ListWidgetTaskMenu: public QDesignerTaskMenu
 {
     Q_OBJECT
 public:
-    explicit ListWidgetTaskMenu(QListWidget *button, QObject *parent = 0);
+    explicit ListWidgetTaskMenu(QListWidget *button, QObject *parent = Q_NULLPTR);
     virtual ~ListWidgetTaskMenu();
 
     virtual QAction *preferredEditAction() const;
index fb34891..9b82312 100644 (file)
@@ -65,7 +65,7 @@ class MenuTaskMenu : public QObject, public QDesignerTaskMenuExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerTaskMenuExtension)
 public:
-    explicit MenuTaskMenu(QDesignerMenu *menu, QObject *parent = 0);
+    explicit MenuTaskMenu(QDesignerMenu *menu, QObject *parent = Q_NULLPTR);
 
     virtual QAction *preferredEditAction() const;
     virtual QList<QAction*> taskActions() const;
@@ -87,7 +87,7 @@ class MenuBarTaskMenu : public QObject, public QDesignerTaskMenuExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerTaskMenuExtension)
 public:
-    explicit MenuBarTaskMenu(QDesignerMenuBar *bar, QObject *parent = 0);
+    explicit MenuBarTaskMenu(QDesignerMenuBar *bar, QObject *parent = Q_NULLPTR);
 
     virtual QAction *preferredEditAction() const;
     virtual QList<QAction*> taskActions() const;
index bbd728e..7be702a 100644 (file)
@@ -59,7 +59,7 @@ class TableWidgetTaskMenu: public QDesignerTaskMenu
 {
     Q_OBJECT
 public:
-    explicit TableWidgetTaskMenu(QTableWidget *button, QObject *parent = 0);
+    explicit TableWidgetTaskMenu(QTableWidget *button, QObject *parent = Q_NULLPTR);
     virtual ~TableWidgetTaskMenu();
 
     virtual QAction *preferredEditAction() const;
index 8eebb14..02e97eb 100644 (file)
@@ -57,7 +57,7 @@ class QT_TASKMENU_EXPORT TaskMenuComponent: public QObject
 {
     Q_OBJECT
 public:
-    explicit TaskMenuComponent(QDesignerFormEditorInterface *core, QObject *parent = 0);
+    explicit TaskMenuComponent(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
     virtual ~TaskMenuComponent();
 
     QDesignerFormEditorInterface *core() const;
index 08fad6b..8c474db 100644 (file)
@@ -58,8 +58,8 @@ class TextEditTaskMenu: public QDesignerTaskMenu
 {
     Q_OBJECT
 public:
-    explicit TextEditTaskMenu(QTextEdit *button, QObject *parent = 0);
-    explicit TextEditTaskMenu(QPlainTextEdit *button, QObject *parent = 0);
+    explicit TextEditTaskMenu(QTextEdit *button, QObject *parent = Q_NULLPTR);
+    explicit TextEditTaskMenu(QPlainTextEdit *button, QObject *parent = Q_NULLPTR);
 
     virtual ~TextEditTaskMenu();
 
index 5e24341..56347ce 100644 (file)
@@ -60,7 +60,7 @@ class ToolBarTaskMenu : public QObject, public QDesignerTaskMenuExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerTaskMenuExtension)
 public:
-    explicit ToolBarTaskMenu(QToolBar *tb, QObject *parent = 0);
+    explicit ToolBarTaskMenu(QToolBar *tb, QObject *parent = Q_NULLPTR);
 
     virtual QAction *preferredEditAction() const;
     virtual QList<QAction*> taskActions() const;
@@ -75,7 +75,7 @@ class StatusBarTaskMenu : public QObject, public QDesignerTaskMenuExtension
     Q_OBJECT
     Q_INTERFACES(QDesignerTaskMenuExtension)
 public:
-    explicit StatusBarTaskMenu(QStatusBar *tb, QObject *parent = 0);
+    explicit StatusBarTaskMenu(QStatusBar *tb, QObject *parent = Q_NULLPTR);
 
     virtual QAction *preferredEditAction() const;
     virtual QList<QAction*> taskActions() const;
index d8d3b33..6355782 100644 (file)
@@ -59,7 +59,7 @@ class TreeWidgetTaskMenu: public QDesignerTaskMenu
 {
     Q_OBJECT
 public:
-    explicit TreeWidgetTaskMenu(QTreeWidget *button, QObject *parent = 0);
+    explicit TreeWidgetTaskMenu(QTreeWidget *button, QObject *parent = Q_NULLPTR);
     virtual ~TreeWidgetTaskMenu();
 
     virtual QAction *preferredEditAction() const;
index e975ea1..ab807b3 100644 (file)
@@ -122,7 +122,7 @@ WidgetBoxCategoryEntry::WidgetBoxCategoryEntry(const QDesignerWidgetBoxInterface
 
 class WidgetBoxCategoryModel : public QAbstractListModel {
 public:
-    explicit WidgetBoxCategoryModel(QDesignerFormEditorInterface *core, QObject *parent = 0);
+    explicit WidgetBoxCategoryModel(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
 
     // QAbstractListModel
     virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
index cc3e2fa..d7ac963 100644 (file)
@@ -55,7 +55,7 @@ class QDESIGNER_EXTENSION_EXPORT QExtensionManager: public QObject, public QAbst
     Q_OBJECT
     Q_INTERFACES(QAbstractExtensionManager)
 public:
-    QExtensionManager(QObject *parent = 0);
+    QExtensionManager(QObject *parent = Q_NULLPTR);
     ~QExtensionManager();
 
     virtual void registerExtensions(QAbstractExtensionFactory *factory, const QString &iid = QString());
index 572c646..176a057 100644 (file)
@@ -81,7 +81,7 @@ class QDESIGNER_SDK_EXPORT QDesignerFormEditorInterface : public QObject
 {
     Q_OBJECT
 public:
-    QDesignerFormEditorInterface(QObject *parent = 0);
+    QDesignerFormEditorInterface(QObject *parent = Q_NULLPTR);
     virtual ~QDesignerFormEditorInterface();
 
     QExtensionManager *extensionManager() const;
index ce49515..7617ade 100644 (file)
@@ -62,7 +62,7 @@ class QDESIGNER_SDK_EXPORT QDesignerFormWindowManagerInterface: public QObject
 {
     Q_OBJECT
 public:
-    QDesignerFormWindowManagerInterface(QObject *parent = 0);
+    QDesignerFormWindowManagerInterface(QObject *parent = Q_NULLPTR);
     virtual ~QDesignerFormWindowManagerInterface();
 
     virtual QAction *actionCut() const;
index 574e137..3ab06b1 100644 (file)
@@ -60,7 +60,7 @@ class QDESIGNER_SDK_EXPORT QDesignerFormWindowToolInterface: public QObject
 {
     Q_OBJECT
 public:
-    QDesignerFormWindowToolInterface(QObject *parent = 0);
+    QDesignerFormWindowToolInterface(QObject *parent = Q_NULLPTR);
     virtual ~QDesignerFormWindowToolInterface();
 
     virtual QDesignerFormEditorInterface *core() const = 0;
index 714520a..2b89073 100644 (file)
@@ -60,7 +60,7 @@ class QDESIGNER_SDK_EXPORT QDesignerIntegrationInterface: public QObject
     Q_PROPERTY(bool headerLowercase READ isHeaderLowercase WRITE setHeaderLowercase)
 
 public:
-    QDesignerIntegrationInterface(QDesignerFormEditorInterface *core, QObject *parent = 0);
+    QDesignerIntegrationInterface(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
 
     inline QDesignerFormEditorInterface *core() const;
 
index 1f5138a..4c9e78b 100644 (file)
@@ -77,7 +77,7 @@ class QDESIGNER_SDK_EXPORT QDesignerMetaDataBaseInterface: public QObject
 {
     Q_OBJECT
 public:
-    QDesignerMetaDataBaseInterface(QObject *parent = 0);
+    QDesignerMetaDataBaseInterface(QObject *parent = Q_NULLPTR);
     virtual ~QDesignerMetaDataBaseInterface();
 
     virtual QDesignerMetaDataBaseItemInterface *item(QObject *object) const = 0;
index 305bd3a..d4c0546 100644 (file)
@@ -105,7 +105,7 @@ class QDESIGNER_SDK_EXPORT QDesignerWidgetDataBaseInterface: public QObject
 {
     Q_OBJECT
 public:
-    QDesignerWidgetDataBaseInterface(QObject *parent = 0);
+    QDesignerWidgetDataBaseInterface(QObject *parent = Q_NULLPTR);
     virtual ~QDesignerWidgetDataBaseInterface();
 
     virtual int count() const;
index e88019a..eaee855 100644 (file)
@@ -57,7 +57,7 @@ class QDESIGNER_SDK_EXPORT QDesignerWidgetFactoryInterface: public QObject
 {
     Q_OBJECT
 public:
-    QDesignerWidgetFactoryInterface(QObject *parent = 0);
+    QDesignerWidgetFactoryInterface(QObject *parent = Q_NULLPTR);
     virtual ~QDesignerWidgetFactoryInterface();
 
     virtual QDesignerFormEditorInterface *core() const = 0;
index 54a029a..9e05851 100644 (file)
@@ -107,7 +107,7 @@ class QDESIGNER_SHARED_EXPORT MetaDataBase: public QDesignerMetaDataBaseInterfac
 {
     Q_OBJECT
 public:
-    explicit MetaDataBase(QDesignerFormEditorInterface *core, QObject *parent = 0);
+    explicit MetaDataBase(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
     virtual ~MetaDataBase();
 
     virtual QDesignerFormEditorInterface *core() const;
index f02e535..36653e9 100644 (file)
@@ -71,7 +71,7 @@ class QDESIGNER_SHARED_EXPORT MorphMenu : public QObject {
 public:
     typedef QList<QAction *> ActionList;
 
-    explicit MorphMenu(QObject *parent = 0);
+    explicit MorphMenu(QObject *parent = Q_NULLPTR);
 
     void populate(QWidget *w, QDesignerFormWindowInterface *fw, ActionList& al);
     void populate(QWidget *w, QDesignerFormWindowInterface *fw, QMenu& m);
index 16f5b0a..d11f9f6 100644 (file)
@@ -83,7 +83,7 @@ public:
         ModeUnmanagedMultiSelection
     };
 
-    explicit PromotionTaskMenu(QWidget *widget,Mode mode = ModeManagedMultiSelection, QObject *parent = 0);
+    explicit PromotionTaskMenu(QWidget *widget,Mode mode = ModeManagedMultiSelection, QObject *parent = Q_NULLPTR);
 
     Mode mode() const;
     void setMode(Mode m);
index 3c22ed0..26a050a 100644 (file)
@@ -70,7 +70,7 @@ class QDESIGNER_SHARED_EXPORT QDesignerFormWindowManager
 {
     Q_OBJECT
 public:
-    explicit QDesignerFormWindowManager(QObject *parent = 0);
+    explicit QDesignerFormWindowManager(QObject *parent = Q_NULLPTR);
     virtual ~QDesignerFormWindowManager();
 
     virtual QAction *actionDefaultPreview() const;
index f232b27..ee9118d 100644 (file)
@@ -76,7 +76,7 @@ class QDESIGNER_SHARED_EXPORT QDesignerIntegration: public QDesignerIntegrationI
 {
     Q_OBJECT
 public:
-    explicit QDesignerIntegration(QDesignerFormEditorInterface *core, QObject *parent = 0);
+    explicit QDesignerIntegration(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
     virtual ~QDesignerIntegration();
 
     static void requestHelp(const QDesignerFormEditorInterface *core, const QString &manual, const QString &document);
index df7dd27..8ca03fc 100644 (file)
@@ -69,7 +69,7 @@ class QDESIGNER_SHARED_EXPORT QDesignerMemberSheet: public QObject, public QDesi
     Q_INTERFACES(QDesignerMemberSheetExtension)
 
 public:
-    explicit QDesignerMemberSheet(QObject *object, QObject *parent = 0);
+    explicit QDesignerMemberSheet(QObject *object, QObject *parent = Q_NULLPTR);
     virtual ~QDesignerMemberSheet();
 
     virtual int indexOf(const QString &name) const;
index b4afaf6..7643803 100644 (file)
@@ -76,7 +76,7 @@ class SpecialMenuAction: public QAction
 {
     Q_OBJECT
 public:
-    SpecialMenuAction(QObject *parent = 0);
+    SpecialMenuAction(QObject *parent = Q_NULLPTR);
     virtual ~SpecialMenuAction();
 };
 
index c8e5309..31e3fd6 100644 (file)
@@ -82,7 +82,7 @@ class QDESIGNER_SHARED_EXPORT QDesignerPropertySheet: public QObject, public QDe
     Q_OBJECT
     Q_INTERFACES(QDesignerPropertySheetExtension QDesignerDynamicPropertySheetExtension)
 public:
-    explicit QDesignerPropertySheet(QObject *object, QObject *parent = 0);
+    explicit QDesignerPropertySheet(QObject *object, QObject *parent = Q_NULLPTR);
     virtual ~QDesignerPropertySheet();
 
     virtual int indexOf(const QString &name) const;
index a7c3ea4..f120a4f 100644 (file)
@@ -142,7 +142,7 @@ private:
 // PropertySheet to handle the "currentPageName" property
 class QDESIGNER_SHARED_EXPORT QStackedWidgetPropertySheet : public QDesignerPropertySheet {
 public:
-    explicit QStackedWidgetPropertySheet(QStackedWidget *object, QObject *parent = 0);
+    explicit QStackedWidgetPropertySheet(QStackedWidget *object, QObject *parent = Q_NULLPTR);
 
     virtual void setProperty(int index, const QVariant &value);
     virtual QVariant property(int index) const;
index b1a282e..d43087e 100644 (file)
@@ -119,7 +119,7 @@ private:
 // PropertySheet to handle the page properties
 class QDESIGNER_SHARED_EXPORT QTabWidgetPropertySheet : public QDesignerPropertySheet {
 public:
-    explicit QTabWidgetPropertySheet(QTabWidget *object, QObject *parent = 0);
+    explicit QTabWidgetPropertySheet(QTabWidget *object, QObject *parent = Q_NULLPTR);
 
     virtual void setProperty(int index, const QVariant &value);
     virtual QVariant property(int index) const;
index 5318582..214571c 100644 (file)
@@ -107,7 +107,7 @@ private:
 // PropertySheet to handle the page properties
 class QDESIGNER_SHARED_EXPORT QToolBoxWidgetPropertySheet : public QDesignerPropertySheet {
 public:
-    explicit QToolBoxWidgetPropertySheet(QToolBox *object, QObject *parent = 0);
+    explicit QToolBoxWidgetPropertySheet(QToolBox *object, QObject *parent = Q_NULLPTR);
 
     virtual void setProperty(int index, const QVariant &value);
     virtual QVariant property(int index) const;
index a38c720..4f51f07 100644 (file)
@@ -302,7 +302,7 @@ class QDESIGNER_SHARED_EXPORT DesignerPixmapCache : public QObject
 {
     Q_OBJECT
 public:
-    DesignerPixmapCache(QObject *parent = 0);
+    DesignerPixmapCache(QObject *parent = Q_NULLPTR);
     QPixmap pixmap(const PropertySheetPixmapValue &value) const;
     void clear();
 signals:
@@ -316,7 +316,7 @@ class QDESIGNER_SHARED_EXPORT DesignerIconCache : public QObject
 {
     Q_OBJECT
 public:
-    explicit DesignerIconCache(DesignerPixmapCache *pixmapCache, QObject *parent = 0);
+    explicit DesignerIconCache(DesignerPixmapCache *pixmapCache, QObject *parent = Q_NULLPTR);
     QIcon icon(const PropertySheetIconValue &value) const;
     void clear();
 signals:
index d9ccc8b..01be568 100644 (file)
@@ -1558,7 +1558,7 @@ namespace {
 class QBoxLayoutSupport: public QLayoutSupport
 {
 public:
-    QBoxLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, Qt::Orientation orientation, QObject *parent = 0);
+    QBoxLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, Qt::Orientation orientation, QObject *parent = Q_NULLPTR);
 
     virtual void insertWidget(QWidget *widget, const QPair<int, int> &cell);
     virtual void removeWidget(QWidget *widget);
@@ -1688,7 +1688,7 @@ class GridLikeLayoutSupportBase: public QLayoutSupport
 {
 public:
 
-    GridLikeLayoutSupportBase(QDesignerFormWindowInterface *formWindow, QWidget *widget, LayoutHelper *helper, QObject *parent = 0) :
+    GridLikeLayoutSupportBase(QDesignerFormWindowInterface *formWindow, QWidget *widget, LayoutHelper *helper, QObject *parent = Q_NULLPTR) :
         QLayoutSupport(formWindow, widget, helper, parent) {}
 
     void insertWidget(QWidget *widget, const QPair<int, int> &cell);
@@ -1802,7 +1802,7 @@ class QGridLayoutSupport: public GridLikeLayoutSupportBase<QGridLayout>
 {
 public:
 
-    QGridLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = 0);
+    QGridLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = Q_NULLPTR);
 
     virtual void simplify();
     virtual void insertRow(int row);
@@ -1849,7 +1849,7 @@ void QGridLayoutSupport::simplify()
 class QFormLayoutSupport: public GridLikeLayoutSupportBase<QFormLayout>
 {
 public:
-    QFormLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = 0);
+    QFormLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = Q_NULLPTR);
 
     virtual void simplify() {}
     virtual void insertRow(int /*row*/) {}
index 9ca3a04..4d46510 100644 (file)
@@ -178,7 +178,7 @@ class QDESIGNER_SHARED_EXPORT QLayoutSupport: public QObject, public QDesignerLa
     Q_INTERFACES(QDesignerLayoutDecorationExtension)
 
 protected:
-    QLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, LayoutHelper *helper, QObject *parent = 0);
+    QLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, LayoutHelper *helper, QObject *parent = Q_NULLPTR);
 
 public:
     virtual ~QLayoutSupport();
@@ -216,7 +216,7 @@ public:
     static bool canSimplifyQuickCheck(const QGridLayout *);
     static bool canSimplifyQuickCheck(const QFormLayout *fl);
     // Factory function, create layout support according to layout type of widget
-    static QLayoutSupport *createLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = 0);
+    static QLayoutSupport *createLayoutSupport(QDesignerFormWindowInterface *formWindow, QWidget *widget, QObject *parent = Q_NULLPTR);
 
 protected:
     // figure out insertion position and mode from indicator on empty cell if supported
index 9d701af..d68f3b9 100644 (file)
@@ -287,7 +287,7 @@ class QtQrcManager : public QObject
 {
     Q_OBJECT
 public:
-    QtQrcManager(QObject *parent = 0);
+    QtQrcManager(QObject *parent = Q_NULLPTR);
     ~QtQrcManager();
 
     QList<QtQrcFile *> qrcFiles() const;
index 6b254be..551f36d 100644 (file)
@@ -97,7 +97,7 @@ class QDESIGNER_SHARED_EXPORT QtResourceModel : public QObject // one instance p
 {
     Q_OBJECT
 public:
-    QtResourceModel(QObject *parent = 0);
+    QtResourceModel(QObject *parent = Q_NULLPTR);
     ~QtResourceModel();
 
     QStringList loadedQrcFiles() const;
index 58c798e..275eae4 100644 (file)
@@ -417,7 +417,7 @@ private:
 
 static QAction *createCheckableAction(const QIcon &icon, const QString &text,
                                       QObject *receiver, const char *slot,
-                                      QObject *parent = 0)
+                                      QObject *parent = Q_NULLPTR)
 {
     QAction *result = new QAction(parent);
     result->setIcon(icon);
index 60bc99d..a1cb3f9 100644 (file)
@@ -85,7 +85,7 @@ class SignatureModel : public QStandardItemModel {
     Q_OBJECT
 
 public:
-    SignatureModel(QObject *parent = 0);
+    SignatureModel(QObject *parent = Q_NULLPTR);
     virtual bool setData (const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
 
 signals:
index 940c481..b8ad5b0 100644 (file)
@@ -158,7 +158,7 @@ class QDESIGNER_SHARED_EXPORT WidgetDataBase: public QDesignerWidgetDataBaseInte
 {
     Q_OBJECT
 public:
-    explicit WidgetDataBase(QDesignerFormEditorInterface *core, QObject *parent = 0);
+    explicit WidgetDataBase(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
     virtual ~WidgetDataBase();
 
     virtual QDesignerFormEditorInterface *core() const;
index d4ea215..7c485d8 100644 (file)
@@ -80,7 +80,7 @@ class QDESIGNER_SHARED_EXPORT WidgetFactory: public QDesignerWidgetFactoryInterf
 {
     Q_OBJECT
 public:
-    explicit WidgetFactory(QDesignerFormEditorInterface *core, QObject *parent = 0);
+    explicit WidgetFactory(QDesignerFormEditorInterface *core, QObject *parent = Q_NULLPTR);
     ~WidgetFactory();
 
     virtual QWidget* containerOfWidget(QWidget *widget) const;
index 657bbbb..7652180 100644 (file)
@@ -75,7 +75,7 @@ class QDESIGNER_SHARED_EXPORT ZoomMenu : public QObject {
     Q_DISABLE_COPY(ZoomMenu)
 
 public:
-    ZoomMenu(QObject *parent = 0);
+    ZoomMenu(QObject *parent = Q_NULLPTR);
     void addActions(QMenu *m);
 
     int zoom() const;
index 7600513..7cff1fd 100644 (file)
@@ -75,7 +75,7 @@ class Q_GUI_EXPORT QAccessibleBridgePlugin : public QObject, public QAccessibleB
     Q_OBJECT
     Q_INTERFACES(QAccessibleBridgeFactoryInterface:QFactoryInterface)
 public:
-    explicit QAccessibleBridgePlugin(QObject *parent = 0);
+    explicit QAccessibleBridgePlugin(QObject *parent = Q_NULLPTR);
     ~QAccessibleBridgePlugin();
 
     virtual QStringList keys() const = 0;
index 3b525db..3ec968e 100644 (file)
@@ -70,7 +70,7 @@ class Q_GUI_EXPORT QAccessiblePlugin : public QObject, public QAccessibleFactory
     Q_OBJECT
     Q_INTERFACES(QAccessibleFactoryInterface:QFactoryInterface)
 public:
-    explicit QAccessiblePlugin(QObject *parent = 0);
+    explicit QAccessiblePlugin(QObject *parent = Q_NULLPTR);
     ~QAccessiblePlugin();
 
     virtual QStringList keys() const = 0;
index 490cd4f..c34ec7b 100644 (file)
@@ -157,7 +157,7 @@ Q_SIGNALS:
     void directoryLoaded(const QString &path);
 
 public:
-    QFileInfoGatherer(QObject *parent = 0);
+    QFileInfoGatherer(QObject *parent = Q_NULLPTR);
     ~QFileInfoGatherer();
 
     void clear();
index f33f482..35f7c5d 100644 (file)
@@ -78,7 +78,7 @@ public:
         FilePermissions = Qt::UserRole + 3
     };
 
-    explicit QFileSystemModel(QObject *parent = 0);
+    explicit QFileSystemModel(QObject *parent = Q_NULLPTR);
     ~QFileSystemModel();
 
     QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
@@ -142,7 +142,7 @@ public:
     bool remove(const QModelIndex &index);
 
 protected:
-    QFileSystemModel(QFileSystemModelPrivate &, QObject *parent = 0);
+    QFileSystemModel(QFileSystemModelPrivate &, QObject *parent = Q_NULLPTR);
     void timerEvent(QTimerEvent *event);
     bool event(QEvent *event);
 
index 806ca29..4d1248d 100644 (file)
@@ -63,7 +63,7 @@ QT_BEGIN_NAMESPACE
   */
 class QFSCompleter :  public QCompleter {
 public:
-    QFSCompleter(QFileSystemModel *model, QObject *parent = 0)
+    QFSCompleter(QFileSystemModel *model, QObject *parent = Q_NULLPTR)
         : QCompleter(model, parent), proxyModel(0), sourceModel(model)
     {
     }
index 9e3d49d..842f4e9 100644 (file)
@@ -231,7 +231,7 @@ class QPPDOptionsModel : public QAbstractItemModel
 {
     friend class QPPDOptionsEditor;
 public:
-    QPPDOptionsModel(QCUPSSupport *cups, QObject *parent = 0);
+    QPPDOptionsModel(QCUPSSupport *cups, QObject *parent = Q_NULLPTR);
     ~QPPDOptionsModel();
 
     int columnCount(const QModelIndex& parent = QModelIndex()) const;
index e302bb6..213bfae 100644 (file)
@@ -82,7 +82,7 @@ public:
         EnabledRole = Qt::UserRole + 2
     };
 
-    QUrlModel(QObject *parent = 0);
+    QUrlModel(QObject *parent = Q_NULLPTR);
 
     QStringList mimeTypes() const;
     QMimeData *mimeData(const QModelIndexList &indexes) const;
index b6a8455..dae34ea 100644 (file)
@@ -82,7 +82,7 @@ public:
         PadToEffectiveBoundingRect
     };
 
-    QGraphicsEffect(QObject *parent = 0);
+    QGraphicsEffect(QObject *parent = Q_NULLPTR);
     virtual ~QGraphicsEffect();
 
     virtual QRectF boundingRectFor(const QRectF &sourceRect) const;
@@ -98,7 +98,7 @@ Q_SIGNALS:
     void enabledChanged(bool enabled);
 
 protected:
-    QGraphicsEffect(QGraphicsEffectPrivate &d, QObject *parent = 0);
+    QGraphicsEffect(QGraphicsEffectPrivate &d, QObject *parent = Q_NULLPTR);
     virtual void draw(QPainter *painter) = 0;
     virtual void sourceChanged(ChangeFlags flags);
     void updateBoundingRect();
@@ -132,7 +132,7 @@ class Q_GUI_EXPORT QGraphicsColorizeEffect: public QGraphicsEffect
     Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
     Q_PROPERTY(qreal strength READ strength WRITE setStrength NOTIFY strengthChanged)
 public:
-    QGraphicsColorizeEffect(QObject *parent = 0);
+    QGraphicsColorizeEffect(QObject *parent = Q_NULLPTR);
     ~QGraphicsColorizeEffect();
 
     QColor color() const;
@@ -169,7 +169,7 @@ public:
     };
     Q_DECLARE_FLAGS(BlurHints, BlurHint)
 
-    QGraphicsBlurEffect(QObject *parent = 0);
+    QGraphicsBlurEffect(QObject *parent = Q_NULLPTR);
     ~QGraphicsBlurEffect();
 
     QRectF boundingRectFor(const QRectF &rect) const;
@@ -204,7 +204,7 @@ class Q_GUI_EXPORT QGraphicsDropShadowEffect: public QGraphicsEffect
     Q_PROPERTY(qreal blurRadius READ blurRadius WRITE setBlurRadius NOTIFY blurRadiusChanged)
     Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
 public:
-    QGraphicsDropShadowEffect(QObject *parent = 0);
+    QGraphicsDropShadowEffect(QObject *parent = Q_NULLPTR);
     ~QGraphicsDropShadowEffect();
 
     QRectF boundingRectFor(const QRectF &rect) const;
@@ -257,7 +257,7 @@ class Q_GUI_EXPORT QGraphicsOpacityEffect: public QGraphicsEffect
     Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged)
     Q_PROPERTY(QBrush opacityMask READ opacityMask WRITE setOpacityMask NOTIFY opacityMaskChanged)
 public:
-    QGraphicsOpacityEffect(QObject *parent = 0);
+    QGraphicsOpacityEffect(QObject *parent = Q_NULLPTR);
     ~QGraphicsOpacityEffect();
 
     qreal opacity() const;
index 66c363f..85ff0a7 100644 (file)
@@ -84,7 +84,7 @@ public:
                    QGraphicsEffect::PixmapPadMode mode = QGraphicsEffect::PadToEffectiveBoundingRect) const;
 
 protected:
-    QGraphicsEffectSource(QGraphicsEffectSourcePrivate &dd, QObject *parent = 0);
+    QGraphicsEffectSource(QGraphicsEffectSourcePrivate &dd, QObject *parent = Q_NULLPTR);
 
 private:
     Q_DECLARE_PRIVATE(QGraphicsEffectSource)
index 1ccec09..2b5f524 100644 (file)
@@ -62,7 +62,7 @@ class Q_GUI_EXPORT QGraphicsItemAnimation : public QObject
 {
     Q_OBJECT
 public:
-    QGraphicsItemAnimation(QObject *parent = 0);
+    QGraphicsItemAnimation(QObject *parent = Q_NULLPTR);
     virtual ~QGraphicsItemAnimation();
 
     QGraphicsItem *item() const;
index 52e263e..5eb58cb 100644 (file)
@@ -123,9 +123,9 @@ public:
     };
     Q_DECLARE_FLAGS(SceneLayers, SceneLayer)
 
-    QGraphicsScene(QObject *parent = 0);
-    QGraphicsScene(const QRectF &sceneRect, QObject *parent = 0);
-    QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject *parent = 0);
+    QGraphicsScene(QObject *parent = Q_NULLPTR);
+    QGraphicsScene(const QRectF &sceneRect, QObject *parent = Q_NULLPTR);
+    QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject *parent = Q_NULLPTR);
     virtual ~QGraphicsScene();
 
     QRectF sceneRect() const;
index 91d88f6..5d1fd87 100644 (file)
@@ -60,7 +60,7 @@ class Q_GUI_EXPORT QGraphicsTransform : public QObject
 {
     Q_OBJECT
 public:
-    QGraphicsTransform(QObject *parent = 0);
+    QGraphicsTransform(QObject *parent = Q_NULLPTR);
     ~QGraphicsTransform();
 
     virtual void applyTo(QMatrix4x4 *matrix) const = 0;
@@ -88,7 +88,7 @@ class Q_GUI_EXPORT QGraphicsScale : public QGraphicsTransform
     Q_PROPERTY(qreal yScale READ yScale WRITE setYScale NOTIFY yScaleChanged)
     Q_PROPERTY(qreal zScale READ zScale WRITE setZScale NOTIFY zScaleChanged)
 public:
-    QGraphicsScale(QObject *parent = 0);
+    QGraphicsScale(QObject *parent = Q_NULLPTR);
     ~QGraphicsScale();
 
     QVector3D origin() const;
@@ -126,7 +126,7 @@ class Q_GUI_EXPORT QGraphicsRotation : public QGraphicsTransform
     Q_PROPERTY(qreal angle READ angle WRITE setAngle NOTIFY angleChanged)
     Q_PROPERTY(QVector3D axis READ axis WRITE setAxis NOTIFY axisChanged)
 public:
-    QGraphicsRotation(QObject *parent = 0);
+    QGraphicsRotation(QObject *parent = Q_NULLPTR);
     ~QGraphicsRotation();
 
     QVector3D origin() const;
index 387770b..0a4557d 100644 (file)
@@ -67,7 +67,7 @@ class Q_GUI_EXPORT QIconEnginePlugin : public QObject, public QIconEngineFactory
     Q_OBJECT
     Q_INTERFACES(QIconEngineFactoryInterface:QFactoryInterface)
 public:
-    QIconEnginePlugin(QObject *parent = 0);
+    QIconEnginePlugin(QObject *parent = Q_NULLPTR);
     ~QIconEnginePlugin();
 
     virtual QStringList keys() const = 0;
index d6a0e6f..c189715 100644 (file)
@@ -127,7 +127,7 @@ class Q_GUI_EXPORT QImageIOPlugin : public QObject, public QImageIOHandlerFactor
     Q_OBJECT
     Q_INTERFACES(QImageIOHandlerFactoryInterface:QFactoryInterface)
 public:
-    explicit QImageIOPlugin(QObject *parent = 0);
+    explicit QImageIOPlugin(QObject *parent = Q_NULLPTR);
     virtual ~QImageIOPlugin();
 
     enum Capability {
index cc928c7..3b6568c 100644 (file)
@@ -84,9 +84,9 @@ public:
         CacheAll
     };
 
-    QMovie(QObject *parent = 0);
-    explicit QMovie(QIODevice *device, const QByteArray &format = QByteArray(), QObject *parent = 0);
-    explicit QMovie(const QString &fileName, const QByteArray &format = QByteArray(), QObject *parent = 0);
+    QMovie(QObject *parent = Q_NULLPTR);
+    explicit QMovie(QIODevice *device, const QByteArray &format = QByteArray(), QObject *parent = Q_NULLPTR);
+    explicit QMovie(const QString &fileName, const QByteArray &format = QByteArray(), QObject *parent = Q_NULLPTR);
     ~QMovie();
 
     static QList<QByteArray> supportedFormats();
index e8a66a8..22595aa 100644 (file)
@@ -103,7 +103,7 @@ class Q_GUI_EXPORT QPixmapConvolutionFilter : public QPixmapFilter
     Q_DECLARE_PRIVATE(QPixmapConvolutionFilter)
 
 public:
-    QPixmapConvolutionFilter(QObject *parent = 0);
+    QPixmapConvolutionFilter(QObject *parent = Q_NULLPTR);
     ~QPixmapConvolutionFilter();
 
     void setConvolutionKernel(const qreal *matrix, int rows, int columns);
@@ -126,7 +126,7 @@ class Q_GUI_EXPORT QPixmapBlurFilter : public QPixmapFilter
     Q_DECLARE_PRIVATE(QPixmapBlurFilter)
 
 public:
-    QPixmapBlurFilter(QObject *parent = 0);
+    QPixmapBlurFilter(QObject *parent = Q_NULLPTR);
     ~QPixmapBlurFilter();
 
     void setRadius(qreal radius);
@@ -150,7 +150,7 @@ class Q_GUI_EXPORT QPixmapColorizeFilter : public QPixmapFilter
     Q_DECLARE_PRIVATE(QPixmapColorizeFilter)
 
 public:
-    QPixmapColorizeFilter(QObject *parent = 0);
+    QPixmapColorizeFilter(QObject *parent = Q_NULLPTR);
 
     void setColor(const QColor& color);
     QColor color() const;
@@ -169,7 +169,7 @@ class Q_GUI_EXPORT QPixmapDropShadowFilter : public QPixmapFilter
     Q_DECLARE_PRIVATE(QPixmapDropShadowFilter)
 
 public:
-    QPixmapDropShadowFilter(QObject *parent = 0);
+    QPixmapDropShadowFilter(QObject *parent = Q_NULLPTR);
     ~QPixmapDropShadowFilter();
 
     QRectF boundingRectFor(const QRectF &rect) const;
index 8c41360..d9299d7 100644 (file)
@@ -86,7 +86,7 @@ class Q_GUI_EXPORT QInputContextPlugin : public QObject, public QInputContextFac
     Q_OBJECT
     Q_INTERFACES(QInputContextFactoryInterface:QFactoryInterface)
 public:
-    explicit QInputContextPlugin(QObject *parent = 0);
+    explicit QInputContextPlugin(QObject *parent = Q_NULLPTR);
     ~QInputContextPlugin();
 
     virtual QStringList keys() const = 0;
index ed1208d..86f7412 100644 (file)
@@ -72,7 +72,7 @@ public:
         RevertModelCache
     };
 
-    explicit QAbstractItemDelegate(QObject *parent = 0);
+    explicit QAbstractItemDelegate(QObject *parent = Q_NULLPTR);
     virtual ~QAbstractItemDelegate();
 
     // painting
@@ -119,7 +119,7 @@ Q_SIGNALS:
     void sizeHintChanged(const QModelIndex &);
 
 protected:
-    QAbstractItemDelegate(QObjectPrivate &, QObject *parent = 0);
+    QAbstractItemDelegate(QObjectPrivate &, QObject *parent = Q_NULLPTR);
 private:
     Q_DISABLE_COPY(QAbstractItemDelegate)
 };
index 6dbc895..ba23d33 100644 (file)
@@ -88,7 +88,7 @@ typedef QList<QItemViewPaintPair> QItemViewPaintPairs;
 class QEmptyModel : public QAbstractItemModel
 {
 public:
-    explicit QEmptyModel(QObject *parent = 0) : QAbstractItemModel(parent) {}
+    explicit QEmptyModel(QObject *parent = Q_NULLPTR) : QAbstractItemModel(parent) {}
     QModelIndex index(int, int, const QModelIndex &) const { return QModelIndex(); }
     QModelIndex parent(const QModelIndex &) const { return QModelIndex(); }
     int rowCount(const QModelIndex &) const { return 0; }
index e4b9f53..adae9e9 100644 (file)
@@ -59,7 +59,7 @@ class Q_GUI_EXPORT QAbstractProxyModel : public QAbstractItemModel
     Q_OBJECT
 
 public:
-    QAbstractProxyModel(QObject *parent = 0);
+    QAbstractProxyModel(QObject *parent = Q_NULLPTR);
     ~QAbstractProxyModel();
 
     virtual void setSourceModel(QAbstractItemModel *sourceModel);
index d199421..8e91fc4 100644 (file)
@@ -174,7 +174,7 @@ class QColumnViewDelegate : public QItemDelegate
 {
 
 public:
-    explicit QColumnViewDelegate(QObject *parent = 0) : QItemDelegate(parent) {}
+    explicit QColumnViewDelegate(QObject *parent = Q_NULLPTR) : QItemDelegate(parent) {}
     ~QColumnViewDelegate() {}
 
     void paint(QPainter *painter,
index 16f6355..5eec8cb 100644 (file)
@@ -66,7 +66,7 @@ class Q_GUI_EXPORT QDataWidgetMapper: public QObject
     Q_PROPERTY(SubmitPolicy submitPolicy READ submitPolicy WRITE setSubmitPolicy)
 
 public:
-    QDataWidgetMapper(QObject *parent = 0);
+    QDataWidgetMapper(QObject *parent = Q_NULLPTR);
     ~QDataWidgetMapper();
 
     void setModel(QAbstractItemModel *model);
index aac0603..4894ce4 100644 (file)
@@ -70,8 +70,8 @@ public:
     };
 
     QDirModel(const QStringList &nameFilters, QDir::Filters filters,
-              QDir::SortFlags sort, QObject *parent = 0);
-    explicit QDirModel(QObject *parent = 0);
+              QDir::SortFlags sort, QObject *parent = Q_NULLPTR);
+    explicit QDirModel(QObject *parent = Q_NULLPTR);
     ~QDirModel();
 
     QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
@@ -135,7 +135,7 @@ public Q_SLOTS:
     void refresh(const QModelIndex &parent = QModelIndex());
 
 protected:
-    QDirModel(QDirModelPrivate &, QObject *parent = 0);
+    QDirModel(QDirModelPrivate &, QObject *parent = Q_NULLPTR);
     friend class QFileDialogPrivate;
 
 private:
index a94b137..8d13e55 100644 (file)
@@ -63,7 +63,7 @@ class Q_GUI_EXPORT QItemDelegate : public QAbstractItemDelegate
     Q_PROPERTY(bool clipping READ hasClipping WRITE setClipping)
 
 public:
-    explicit QItemDelegate(QObject *parent = 0);
+    explicit QItemDelegate(QObject *parent = Q_NULLPTR);
     ~QItemDelegate();
 
     bool hasClipping() const;
index ff20c76..e823df8 100644 (file)
@@ -58,7 +58,7 @@ class Q_GUI_EXPORT QProxyModel : public QAbstractItemModel
     Q_OBJECT
 
 public:
-    explicit QProxyModel(QObject *parent = 0);
+    explicit QProxyModel(QObject *parent = Q_NULLPTR);
     ~QProxyModel();
 
     virtual void setModel(QAbstractItemModel *model);
@@ -110,7 +110,7 @@ public:
 #endif
 
 protected:
-    QProxyModel(QProxyModelPrivate &, QObject *parent = 0);
+    QProxyModel(QProxyModelPrivate &, QObject *parent = Q_NULLPTR);
 
     QModelIndex setProxyModel(const QModelIndex &source_index) const;
     QModelIndex setSourceModel(const QModelIndex &proxy_index) const;
index 192a3bb..67a5cdf 100644 (file)
@@ -64,7 +64,7 @@ QT_BEGIN_NAMESPACE
 class QEmptyModel : public QAbstractItemModel
 {
 public:
-    explicit QEmptyModel(QObject *parent = 0) : QAbstractItemModel(parent) {}
+    explicit QEmptyModel(QObject *parent = Q_NULLPTR) : QAbstractItemModel(parent) {}
     QModelIndex index(int, int, const QModelIndex &) const { return QModelIndex(); }
     QModelIndex parent(const QModelIndex &) const { return QModelIndex(); }
     int rowCount(const QModelIndex &) const { return 0; }
index d28f874..74c3406 100644 (file)
@@ -73,7 +73,7 @@ class Q_GUI_EXPORT QSortFilterProxyModel : public QAbstractProxyModel
     Q_PROPERTY(int filterRole READ filterRole WRITE setFilterRole)
 
 public:
-    QSortFilterProxyModel(QObject *parent = 0);
+    QSortFilterProxyModel(QObject *parent = Q_NULLPTR);
     ~QSortFilterProxyModel();
 
     void setSourceModel(QAbstractItemModel *sourceModel);
index 13a500c..190dfbf 100644 (file)
@@ -320,8 +320,8 @@ class Q_GUI_EXPORT QStandardItemModel : public QAbstractItemModel
     Q_PROPERTY(int sortRole READ sortRole WRITE setSortRole)
 
 public:
-    explicit QStandardItemModel(QObject *parent = 0);
-    QStandardItemModel(int rows, int columns, QObject *parent = 0);
+    explicit QStandardItemModel(QObject *parent = Q_NULLPTR);
+    QStandardItemModel(int rows, int columns, QObject *parent = Q_NULLPTR);
     ~QStandardItemModel();
 
     QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
@@ -415,7 +415,7 @@ Q_SIGNALS:
     void itemChanged(QStandardItem *item);
 
 protected:
-    QStandardItemModel(QStandardItemModelPrivate &dd, QObject *parent = 0);
+    QStandardItemModel(QStandardItemModelPrivate &dd, QObject *parent = Q_NULLPTR);
 
 private:
     friend class QStandardItemPrivate;
index f303c71..fdafdf6 100644 (file)
@@ -56,8 +56,8 @@ class Q_GUI_EXPORT QStringListModel : public QAbstractListModel
 {
     Q_OBJECT
 public:
-    explicit QStringListModel(QObject *parent = 0);
-    QStringListModel(const QStringList &strings, QObject *parent = 0);
+    explicit QStringListModel(QObject *parent = Q_NULLPTR);
+    QStringListModel(const QStringList &strings, QObject *parent = Q_NULLPTR);
 
     int rowCount(const QModelIndex &parent = QModelIndex()) const;
 
index 9662d4d..8cf00b2 100644 (file)
@@ -62,7 +62,7 @@ class Q_GUI_EXPORT QStyledItemDelegate : public QAbstractItemDelegate
     Q_OBJECT
 
 public:
-    explicit QStyledItemDelegate(QObject *parent = 0);
+    explicit QStyledItemDelegate(QObject *parent = Q_NULLPTR);
     ~QStyledItemDelegate();
 
     // painting
index 3d393c3..2ca9367 100644 (file)
@@ -65,7 +65,7 @@ class QEventDispatcherX11 : public QEventDispatcherUNIX
     Q_DECLARE_PRIVATE(QEventDispatcherX11)
 
 public:
-    explicit QEventDispatcherX11(QObject *parent = 0);
+    explicit QEventDispatcherX11(QObject *parent = Q_NULLPTR);
     ~QEventDispatcherX11();
 
     bool processEvents(QEventLoop::ProcessEventsFlags flags);
index e93dcde..0c3ee68 100644 (file)
@@ -72,7 +72,7 @@ class Q_GUI_EXPORT QGesture : public QObject
     Q_PROPERTY(bool hasHotSpot READ hasHotSpot)
 
 public:
-    explicit QGesture(QObject *parent = 0);
+    explicit QGesture(QObject *parent = Q_NULLPTR);
     ~QGesture();
 
     Qt::GestureType gestureType() const;
@@ -116,7 +116,7 @@ class Q_GUI_EXPORT QPanGesture : public QGesture
     Q_PRIVATE_PROPERTY(QPanGesture::d_func(), qreal verticalVelocity READ verticalVelocity WRITE setVerticalVelocity)
 
 public:
-    QPanGesture(QObject *parent = 0);
+    QPanGesture(QObject *parent = Q_NULLPTR);
 
     QPointF lastOffset() const;
     QPointF offset() const;
@@ -162,7 +162,7 @@ public:
     Q_PROPERTY(QPointF centerPoint READ centerPoint WRITE setCenterPoint)
 
 public:
-    QPinchGesture(QObject *parent = 0);
+    QPinchGesture(QObject *parent = Q_NULLPTR);
 
     ChangeFlags totalChangeFlags() const;
     void setTotalChangeFlags(ChangeFlags value);
@@ -216,7 +216,7 @@ class Q_GUI_EXPORT QSwipeGesture : public QGesture
 
 public:
     enum SwipeDirection { NoDirection, Left, Right, Up, Down };
-    QSwipeGesture(QObject *parent = 0);
+    QSwipeGesture(QObject *parent = Q_NULLPTR);
 
     SwipeDirection horizontalDirection() const;
     SwipeDirection verticalDirection() const;
@@ -236,7 +236,7 @@ class Q_GUI_EXPORT QTapGesture : public QGesture
     Q_PROPERTY(QPointF position READ position WRITE setPosition)
 
 public:
-    QTapGesture(QObject *parent = 0);
+    QTapGesture(QObject *parent = Q_NULLPTR);
 
     QPointF position() const;
     void setPosition(const QPointF &pos);
@@ -253,7 +253,7 @@ class Q_GUI_EXPORT QTapAndHoldGesture : public QGesture
     Q_PROPERTY(QPointF position READ position WRITE setPosition)
 
 public:
-    QTapAndHoldGesture(QObject *parent = 0);
+    QTapAndHoldGesture(QObject *parent = Q_NULLPTR);
 
     QPointF position() const;
     void setPosition(const QPointF &pos);
index 76c85a9..aa07d4a 100644 (file)
@@ -65,7 +65,7 @@ class QGuiEventDispatcherGlib : public QEventDispatcherGlib
     Q_DECLARE_PRIVATE(QGuiEventDispatcherGlib)
 
 public:
-    explicit QGuiEventDispatcherGlib(QObject *parent = 0);
+    explicit QGuiEventDispatcherGlib(QObject *parent = Q_NULLPTR);
     ~QGuiEventDispatcherGlib();
 
     bool processEvents(QEventLoop::ProcessEventsFlags flags);
index 8d88b2e..db90c55 100644 (file)
@@ -82,7 +82,7 @@ class Q_GUI_EXPORT QGuiPlatformPlugin : public QObject, public QGuiPlatformPlugi
     Q_OBJECT
     Q_INTERFACES(QGuiPlatformPluginInterface:QFactoryInterface)
     public:
-        explicit QGuiPlatformPlugin(QObject *parent = 0);
+        explicit QGuiPlatformPlugin(QObject *parent = Q_NULLPTR);
         ~QGuiPlatformPlugin();
 
         virtual QStringList keys() const {  return QStringList() << QLatin1String("default");  };
index de8b46f..fda5961 100644 (file)
@@ -66,7 +66,7 @@ public:
     static void showText(const QPoint &pos, const QString &text, QWidget *w = 0);
     static void hideText();
 
-    static QAction *createAction(QObject *parent = 0);
+    static QAction *createAction(QObject *parent = Q_NULLPTR);
 
 };
 
index 2cd3c5c..0941190 100644 (file)
@@ -77,7 +77,7 @@ class Q_GUI_EXPORT QGraphicsSystemPlugin : public QObject, public QGraphicsSyste
     Q_OBJECT
     Q_INTERFACES(QGraphicsSystemFactoryInterface:QFactoryInterface)
 public:
-    explicit QGraphicsSystemPlugin(QObject *parent = 0);
+    explicit QGraphicsSystemPlugin(QObject *parent = Q_NULLPTR);
     ~QGraphicsSystemPlugin();
 
     virtual QStringList keys() const = 0;
index 4c00db3..b0fa669 100644 (file)
@@ -66,7 +66,7 @@ class Q_GUI_EXPORT QStylePlugin : public QObject, public QStyleFactoryInterface
     Q_OBJECT
     Q_INTERFACES(QStyleFactoryInterface:QFactoryInterface)
 public:
-    explicit QStylePlugin(QObject *parent = 0);
+    explicit QStylePlugin(QObject *parent = Q_NULLPTR);
     ~QStylePlugin();
 
     virtual QStringList keys() const = 0;
index ee0740c..bf4547d 100644 (file)
@@ -93,9 +93,9 @@ class Q_GUI_EXPORT QTextControl : public QObject
     Q_PROPERTY(bool openExternalLinks READ openExternalLinks WRITE setOpenExternalLinks)
     Q_PROPERTY(bool ignoreUnusedNavigationEvents READ ignoreUnusedNavigationEvents WRITE setIgnoreUnusedNavigationEvents)
 public:
-    explicit QTextControl(QObject *parent = 0);
-    explicit QTextControl(const QString &text, QObject *parent = 0);
-    explicit QTextControl(QTextDocument *doc, QObject *parent = 0);
+    explicit QTextControl(QObject *parent = Q_NULLPTR);
+    explicit QTextControl(const QString &text, QObject *parent = Q_NULLPTR);
+    explicit QTextControl(QTextDocument *doc, QObject *parent = Q_NULLPTR);
     virtual ~QTextControl();
 
     void setDocument(QTextDocument *document);
index 7edd89d..256c4dc 100644 (file)
@@ -122,11 +122,11 @@ class Q_GUI_EXPORT QTextDocument : public QObject
     QDOC_PROPERTY(QTextOption defaultTextOption READ defaultTextOption WRITE setDefaultTextOption)
 
 public:
-    explicit QTextDocument(QObject *parent = 0);
-    explicit QTextDocument(const QString &text, QObject *parent = 0);
+    explicit QTextDocument(QObject *parent = Q_NULLPTR);
+    explicit QTextDocument(const QString &text, QObject *parent = Q_NULLPTR);
     ~QTextDocument();
 
-    QTextDocument *clone(QObject *parent = 0) const;
+    QTextDocument *clone(QObject *parent = Q_NULLPTR) const;
 
     bool isEmpty() const;
     virtual void clear();
index cb91746..2355756 100644 (file)
@@ -66,7 +66,7 @@ class QTextImageHandler : public QObject,
     Q_OBJECT
     Q_INTERFACES(QTextObjectInterface)
 public:
-    explicit QTextImageHandler(QObject *parent = 0);
+    explicit QTextImageHandler(QObject *parent = Q_NULLPTR);
 
     virtual QSizeF intrinsicSize(QTextDocument *doc, int posInDocument, const QTextFormat &format);
     virtual void drawObject(QPainter *p, const QRectF &rect, QTextDocument *doc, int posInDocument, const QTextFormat &format);
index 1f38134..549c88c 100644 (file)
@@ -84,10 +84,10 @@ public:
         CaseInsensitivelySortedModel
     };
 
-    QCompleter(QObject *parent = 0);
-    QCompleter(QAbstractItemModel *model, QObject *parent = 0);
+    QCompleter(QObject *parent = Q_NULLPTR);
+    QCompleter(QAbstractItemModel *model, QObject *parent = Q_NULLPTR);
 #ifndef QT_NO_STRINGLISTMODEL
-    QCompleter(const QStringList& completions, QObject *parent = 0);
+    QCompleter(const QStringList& completions, QObject *parent = Q_NULLPTR);
 #endif
     ~QCompleter();
 
index 5b52f03..684b15d 100644 (file)
@@ -69,8 +69,8 @@ class Q_GUI_EXPORT QSystemTrayIcon : public QObject
     Q_PROPERTY(bool visible READ isVisible WRITE setVisible DESIGNABLE false)
 
 public:
-    QSystemTrayIcon(QObject *parent = 0);
-    QSystemTrayIcon(const QIcon &icon, QObject *parent = 0);
+    QSystemTrayIcon(QObject *parent = Q_NULLPTR);
+    QSystemTrayIcon(const QIcon &icon, QObject *parent = Q_NULLPTR);
     ~QSystemTrayIcon();
 
     enum ActivationReason {
index 1f69b24..b80d99c 100644 (file)
@@ -62,7 +62,7 @@ class Q_GUI_EXPORT QUndoGroup : public QObject
     Q_DECLARE_PRIVATE(QUndoGroup)
 
 public:
-    explicit QUndoGroup(QObject *parent = 0);
+    explicit QUndoGroup(QObject *parent = Q_NULLPTR);
     ~QUndoGroup();
 
     void addStack(QUndoStack *stack);
index ace035c..76928e5 100644 (file)
@@ -95,7 +95,7 @@ class Q_GUI_EXPORT QUndoStack : public QObject
     Q_PROPERTY(int undoLimit READ undoLimit WRITE setUndoLimit)
 
 public:
-    explicit QUndoStack(QObject *parent = 0);
+    explicit QUndoStack(QObject *parent = Q_NULLPTR);
     ~QUndoStack();
     void clear();
 
index b726f2d..d95e26a 100644 (file)
@@ -98,7 +98,7 @@ class QUndoAction : public QAction
 {
     Q_OBJECT
 public:
-    QUndoAction(const QString &prefix, QObject *parent = 0);
+    QUndoAction(const QString &prefix, QObject *parent = Q_NULLPTR);
     void setTextFormat(const QString &textFormat, const QString &defaultText);
 public Q_SLOTS:
     void setPrefixedText(const QString &text);
index fb2e8dd..d42df70 100644 (file)
@@ -56,7 +56,7 @@ class QUndoModel : public QAbstractItemModel
 {
     Q_OBJECT
 public:
-    QUndoModel(QObject *parent = 0);
+    QUndoModel(QObject *parent = Q_NULLPTR);
 
     QUndoStack *stack() const;
 
index da89358..f5fb1dd 100644 (file)
@@ -61,7 +61,7 @@ class Q_GUI_EXPORT QButtonGroup : public QObject
 
     Q_PROPERTY(bool exclusive READ exclusive WRITE setExclusive)
 public:
-    explicit QButtonGroup(QObject *parent = 0);
+    explicit QButtonGroup(QObject *parent = Q_NULLPTR);
     ~QButtonGroup();
 
     void setExclusive(bool);
index ecbd4c0..9ec0711 100644 (file)
@@ -69,7 +69,7 @@ class QCalendarTextNavigator: public QObject
 {
     Q_OBJECT
 public:
-    QCalendarTextNavigator(QObject *parent = 0)
+    QCalendarTextNavigator(QObject *parent = Q_NULLPTR)
         : QObject(parent), m_dateText(0), m_dateFrame(0), m_dateValidator(0), m_widget(0), m_editDelay(1500), m_date(QDate::currentDate()) { }
 
     QWidget *widget() const;
index a46a48b..eab238a 100644 (file)
@@ -816,7 +816,7 @@ class QCalendarModel : public QAbstractTableModel
 {
     Q_OBJECT
 public:
-    QCalendarModel(QObject *parent = 0);
+    QCalendarModel(QObject *parent = Q_NULLPTR);
 
     int rowCount(const QModelIndex &) const
         { return RowCount + m_firstRow; }
@@ -1516,7 +1516,7 @@ class QCalendarDelegate : public QItemDelegate
 {
     Q_OBJECT
 public:
-    QCalendarDelegate(QCalendarWidgetPrivate *w, QObject *parent = 0)
+    QCalendarDelegate(QCalendarWidgetPrivate *w, QObject *parent = Q_NULLPTR)
         : QItemDelegate(parent), calendarWidgetPrivate(w)
             { }
     virtual void paint(QPainter *painter, const QStyleOptionViewItem &option,
index e39e3dc..883d1e6 100644 (file)
@@ -93,7 +93,7 @@ class Q_GUI_EXPORT QIntValidator : public QValidator
 
 public:
     explicit QIntValidator(QObject * parent = 0);
-    QIntValidator(int bottom, int top, QObject *parent = 0);
+    QIntValidator(int bottom, int top, QObject *parent = Q_NULLPTR);
     ~QIntValidator();
 
     QValidator::State validate(QString &, int &) const;
@@ -129,7 +129,7 @@ class Q_GUI_EXPORT QDoubleValidator : public QValidator
 
 public:
     explicit QDoubleValidator(QObject * parent = 0);
-    QDoubleValidator(double bottom, double top, int decimals, QObject *parent = 0);
+    QDoubleValidator(double bottom, double top, int decimals, QObject *parent = Q_NULLPTR);
     ~QDoubleValidator();
 
     enum Notation {
@@ -166,8 +166,8 @@ class Q_GUI_EXPORT QRegExpValidator : public QValidator
     Q_PROPERTY(QRegExp regExp READ regExp WRITE setRegExp)
 
 public:
-    explicit QRegExpValidator(QObject *parent = 0);
-    QRegExpValidator(const QRegExp& rx, QObject *parent = 0);
+    explicit QRegExpValidator(QObject *parent = Q_NULLPTR);
+    QRegExpValidator(const QRegExp& rx, QObject *parent = Q_NULLPTR);
     ~QRegExpValidator();
 
     virtual QValidator::State validate(QString& input, int& pos) const;
index 540a331..c9df3e1 100644 (file)
@@ -80,7 +80,7 @@ class QDeclarativeFolderListModel : public QAbstractListModel, public QDeclarati
 
 //![abslistmodel]
 public:
-    QDeclarativeFolderListModel(QObject *parent = 0);
+    QDeclarativeFolderListModel(QObject *parent = Q_NULLPTR);
     ~QDeclarativeFolderListModel();
 
     enum Roles { FileNameRole = Qt::UserRole+1, FilePathRole = Qt::UserRole+2 };
index 69bb7dc..4b9ad1d 100644 (file)
@@ -407,7 +407,7 @@ template<class T, void (T::*method)(int)>
 class TickAnimationProxy : public QAbstractAnimation
 {
 public:
-    TickAnimationProxy(T *p, QObject *parent = 0) : QAbstractAnimation(parent), m_p(p) {}
+    TickAnimationProxy(T *p, QObject *parent = Q_NULLPTR) : QAbstractAnimation(parent), m_p(p) {}
     virtual int duration() const { return -1; }
 protected:
     virtual void updateCurrentTime(int msec) { (m_p->*method)(msec); }
index a915ded..9abbe2b 100644 (file)
@@ -57,7 +57,7 @@ class ShaderEffect : public QGraphicsEffect
     Q_OBJECT
 
 public:
-    ShaderEffect(QObject *parent = 0);
+    ShaderEffect(QObject *parent = Q_NULLPTR);
     ~ShaderEffect();
     void addRenderTarget(ShaderEffectSource *target);
     void removeRenderTarget(ShaderEffectSource *target);
index ef08ce1..fc6eb8b 100644 (file)
@@ -125,7 +125,7 @@ public Q_SLOTS:
     virtual void clear() = 0;
 
 protected:
-    explicit QAbstractNetworkCache(QObject *parent = 0);
+    explicit QAbstractNetworkCache(QObject *parent = Q_NULLPTR);
     QAbstractNetworkCache(QAbstractNetworkCachePrivate &dd, QObject *parent);
 
 private:
index 326a7a5..eb8a274 100644 (file)
@@ -79,7 +79,7 @@ public:
         CsConnectionRefused
     };
 
-    QFtpDTP(QFtpPI *p, QObject *parent = 0);
+    QFtpDTP(QFtpPI *p, QObject *parent = Q_NULLPTR);
 
     void setData(QByteArray *);
     void setDevice(QIODevice *);
@@ -154,7 +154,7 @@ class QFtpPI : public QObject
     Q_OBJECT
 
 public:
-    QFtpPI(QObject *parent = 0);
+    QFtpPI(QObject *parent = Q_NULLPTR);
 
     void connectToHost(const QString &host, quint16 port);
 
index 7a1facd..491ea0d 100644 (file)
@@ -60,7 +60,7 @@ class Q_NETWORK_EXPORT QFtp : public QObject
     Q_OBJECT
 
 public:
-    explicit QFtp(QObject *parent = 0);
+    explicit QFtp(QObject *parent = Q_NULLPTR);
     virtual ~QFtp();
 
     enum State {
index 694e982..24a6438 100644 (file)
@@ -179,9 +179,9 @@ public:
         ConnectionModeHttps
     };
 
-    explicit QHttp(QObject *parent = 0);
-    QHttp(const QString &hostname, quint16 port = 80, QObject *parent = 0);
-    QHttp(const QString &hostname, ConnectionMode mode, quint16 port = 0, QObject *parent = 0);
+    explicit QHttp(QObject *parent = Q_NULLPTR);
+    QHttp(const QString &hostname, quint16 port = 80, QObject *parent = Q_NULLPTR);
+    QHttp(const QString &hostname, ConnectionMode mode, quint16 port = 0, QObject *parent = Q_NULLPTR);
     virtual ~QHttp();
 
     enum State {
index 19f9ca8..b24413a 100644 (file)
@@ -92,8 +92,8 @@ public:
         AlternativeType
     };
 
-    QHttpMultiPart(QObject *parent = 0);
-    QHttpMultiPart(ContentType contentType, QObject *parent = 0);
+    QHttpMultiPart(QObject *parent = Q_NULLPTR);
+    QHttpMultiPart(ContentType contentType, QObject *parent = Q_NULLPTR);
     ~QHttpMultiPart();
 
     void append(const QHttpPart &httpPart);
index 87cfb29..2b4d0b9 100644 (file)
@@ -85,11 +85,11 @@ class Q_AUTOTEST_EXPORT QHttpNetworkConnection : public QObject
 public:
 
 #ifndef QT_NO_BEARERMANAGEMENT
-    QHttpNetworkConnection(const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = 0, QSharedPointer<QNetworkSession> networkSession = QSharedPointer<QNetworkSession>());
-    QHttpNetworkConnection(quint16 channelCount, const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = 0, QSharedPointer<QNetworkSession> networkSession = QSharedPointer<QNetworkSession>());
+    QHttpNetworkConnection(const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = Q_NULLPTR, QSharedPointer<QNetworkSession> networkSession = QSharedPointer<QNetworkSession>());
+    QHttpNetworkConnection(quint16 channelCount, const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = Q_NULLPTR, QSharedPointer<QNetworkSession> networkSession = QSharedPointer<QNetworkSession>());
 #else
-    QHttpNetworkConnection(const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = 0);
-    QHttpNetworkConnection(quint16 channelCount, const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = 0);
+    QHttpNetworkConnection(const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = Q_NULLPTR);
+    QHttpNetworkConnection(quint16 channelCount, const QString &hostName, quint16 port = 80, bool encrypt = false, QObject *parent = Q_NULLPTR);
 #endif
     ~QHttpNetworkConnection();
 
index 5931833..8c86c70 100644 (file)
@@ -95,7 +95,7 @@ class Q_AUTOTEST_EXPORT QHttpNetworkReply : public QObject, public QHttpNetworkH
     Q_OBJECT
 public:
 
-    explicit QHttpNetworkReply(const QUrl &url = QUrl(), QObject *parent = 0);
+    explicit QHttpNetworkReply(const QUrl &url = QUrl(), QObject *parent = Q_NULLPTR);
     virtual ~QHttpNetworkReply();
 
     QUrl url() const;
index a8cb922..90994a8 100644 (file)
@@ -82,7 +82,7 @@ class QHttpThreadDelegate : public QObject
 {
     Q_OBJECT
 public:
-    explicit QHttpThreadDelegate(QObject *parent = 0);
+    explicit QHttpThreadDelegate(QObject *parent = Q_NULLPTR);
 
     ~QHttpThreadDelegate();
 
index efd7be8..fbe3749 100644 (file)
@@ -96,7 +96,7 @@ public:
     };
 #endif
 
-    explicit QNetworkAccessManager(QObject *parent = 0);
+    explicit QNetworkAccessManager(QObject *parent = Q_NULLPTR);
     ~QNetworkAccessManager();
 
 #ifndef QT_NO_NETWORKPROXY
index fc48983..d0258db 100644 (file)
@@ -58,7 +58,7 @@ class Q_NETWORK_EXPORT QNetworkCookieJar: public QObject
 {
     Q_OBJECT
 public:
-    QNetworkCookieJar(QObject *parent = 0);
+    QNetworkCookieJar(QObject *parent = Q_NULLPTR);
     virtual ~QNetworkCookieJar();
 
     virtual QList<QNetworkCookie> cookiesForUrl(const QUrl &url) const;
index 3d675e2..b5eafae 100644 (file)
@@ -57,7 +57,7 @@ class Q_NETWORK_EXPORT QNetworkDiskCache : public QAbstractNetworkCache
     Q_OBJECT
 
 public:
-    explicit QNetworkDiskCache(QObject *parent = 0);
+    explicit QNetworkDiskCache(QObject *parent = Q_NULLPTR);
     ~QNetworkDiskCache();
 
     QString cacheDirectory() const;
index 44c943f..0955af3 100644 (file)
@@ -150,7 +150,7 @@ Q_SIGNALS:
     void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
 
 protected:
-    QNetworkReply(QObject *parent = 0);
+    QNetworkReply(QObject *parent = Q_NULLPTR);
     QNetworkReply(QNetworkReplyPrivate &dd, QObject *parent);
     virtual qint64 writeData(const char *data, qint64 len);
 
index c41f13d..b532822 100644 (file)
@@ -74,7 +74,7 @@ class QNetworkReplyImpl: public QNetworkReply
 {
     Q_OBJECT
 public:
-    QNetworkReplyImpl(QObject *parent = 0);
+    QNetworkReplyImpl(QObject *parent = Q_NULLPTR);
     ~QNetworkReplyImpl();
     virtual void abort();
 
index 9896545..da0cd90 100644 (file)
@@ -78,7 +78,7 @@ class Q_NETWORK_EXPORT QBearerEngine : public QObject
     friend class QNetworkConfigurationManagerPrivate;
 
 public:
-    explicit QBearerEngine(QObject *parent = 0);
+    explicit QBearerEngine(QObject *parent = Q_NULLPTR);
     virtual ~QBearerEngine();
 
     virtual bool hasIdentifier(const QString &id) = 0;
index 206a91f..d25aa66 100644 (file)
@@ -79,7 +79,7 @@ class Q_NETWORK_EXPORT QBearerEnginePlugin : public QObject, public QBearerEngin
     Q_INTERFACES(QBearerEngineFactoryInterface:QFactoryInterface)
 
 public:
-    explicit QBearerEnginePlugin(QObject *parent = 0);
+    explicit QBearerEnginePlugin(QObject *parent = Q_NULLPTR);
     virtual ~QBearerEnginePlugin();
 
     virtual QStringList keys() const = 0;
index 7fac8e7..6990db1 100644 (file)
@@ -69,7 +69,7 @@ public:
 
     Q_DECLARE_FLAGS(Capabilities, Capability)
 
-    explicit QNetworkConfigurationManager(QObject *parent = 0);
+    explicit QNetworkConfigurationManager(QObject *parent = Q_NULLPTR);
     virtual ~QNetworkConfigurationManager();
 
     QNetworkConfigurationManager::Capabilities capabilities() const;
index 81b6507..f80be30 100644 (file)
@@ -79,7 +79,7 @@ public:
         InvalidConfigurationError
     };
 
-    explicit QNetworkSession(const QNetworkConfiguration &connConfig, QObject *parent = 0);
+    explicit QNetworkSession(const QNetworkConfiguration &connConfig, QObject *parent = Q_NULLPTR);
     virtual ~QNetworkSession();
 
     bool isOpen() const;
index 97cbeb1..3454e8e 100644 (file)
@@ -199,7 +199,7 @@ protected:
     void setPeerAddress(const QHostAddress &address);
     void setPeerName(const QString &name);
 
-    QAbstractSocket(SocketType socketType, QAbstractSocketPrivate &dd, QObject *parent = 0);
+    QAbstractSocket(SocketType socketType, QAbstractSocketPrivate &dd, QObject *parent = Q_NULLPTR);
 
 private:
     Q_DECLARE_PRIVATE(QAbstractSocket)
index 7a231a3..18310eb 100644 (file)
@@ -86,7 +86,7 @@ public:
     static QAbstractSocketEngine *createSocketEngine(QAbstractSocket::SocketType socketType, const QNetworkProxy &, QObject *parent);
     static QAbstractSocketEngine *createSocketEngine(int socketDescripter, QObject *parent);
 
-    QAbstractSocketEngine(QObject *parent = 0);
+    QAbstractSocketEngine(QObject *parent = Q_NULLPTR);
 
     enum SocketOption {
         NonBlockingSocketOption,
index 6f339e4..bf4d526 100644 (file)
@@ -76,7 +76,7 @@ public:
         SendAuthentication,
         ReadResponseContent
     };
-    QHttpSocketEngine(QObject *parent = 0);
+    QHttpSocketEngine(QObject *parent = Q_NULLPTR);
     ~QHttpSocketEngine();
 
     bool initialize(QAbstractSocket::SocketType type, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::IPv4Protocol);
index 05e7e7b..8ea9fa0 100644 (file)
@@ -63,7 +63,7 @@ Q_SIGNALS:
     void newConnection();
 
 public:
-    QLocalServer(QObject *parent = 0);
+    QLocalServer(QObject *parent = Q_NULLPTR);
     ~QLocalServer();
 
     void close();
index 80afb9b..0f93cde 100644 (file)
@@ -82,7 +82,7 @@ public:
         ClosingState = QAbstractSocket::ClosingState
     };
 
-    QLocalSocket(QObject *parent = 0);
+    QLocalSocket(QObject *parent = Q_NULLPTR);
     ~QLocalSocket();
 
     void connectToServer(const QString &name, OpenMode openMode = ReadWrite);
index cf4139d..d061f35 100644 (file)
@@ -100,7 +100,7 @@ class Q_AUTOTEST_EXPORT QNativeSocketEngine : public QAbstractSocketEngine
 {
     Q_OBJECT
 public:
-    QNativeSocketEngine(QObject *parent = 0);
+    QNativeSocketEngine(QObject *parent = Q_NULLPTR);
     ~QNativeSocketEngine();
 
     bool initialize(QAbstractSocket::SocketType type, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::IPv4Protocol);
index 39117cb..faf032e 100644 (file)
@@ -66,7 +66,7 @@ class Q_AUTOTEST_EXPORT QSocks5SocketEngine : public QAbstractSocketEngine
 {
     Q_OBJECT
 public:
-    QSocks5SocketEngine(QObject *parent = 0);
+    QSocks5SocketEngine(QObject *parent = Q_NULLPTR);
     ~QSocks5SocketEngine();
 
     bool initialize(QAbstractSocket::SocketType type, QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::IPv4Protocol);
index 7358e28..1f24d8e 100644 (file)
@@ -61,7 +61,7 @@ class Q_NETWORK_EXPORT QTcpServer : public QObject
 {
     Q_OBJECT
 public:
-    explicit QTcpServer(QObject *parent = 0);
+    explicit QTcpServer(QObject *parent = Q_NULLPTR);
     virtual ~QTcpServer();
 
     bool listen(const QHostAddress &address = QHostAddress::Any, quint16 port = 0);
index 58bff2a..89fc0b7 100644 (file)
@@ -56,11 +56,11 @@ class Q_NETWORK_EXPORT QTcpSocket : public QAbstractSocket
 {
     Q_OBJECT
 public:
-    explicit QTcpSocket(QObject *parent = 0);
+    explicit QTcpSocket(QObject *parent = Q_NULLPTR);
     virtual ~QTcpSocket();
 
 protected:
-    QTcpSocket(QTcpSocketPrivate &dd, QObject *parent = 0);
+    QTcpSocket(QTcpSocketPrivate &dd, QObject *parent = Q_NULLPTR);
 
 private:
     Q_DISABLE_COPY(QTcpSocket)
index 4ce37b4..0995b02 100644 (file)
@@ -68,7 +68,7 @@ public:
     };
     Q_DECLARE_FLAGS(BindMode, BindFlag)
 
-    explicit QUdpSocket(QObject *parent = 0);
+    explicit QUdpSocket(QObject *parent = Q_NULLPTR);
     virtual ~QUdpSocket();
 
     bool bind(const QHostAddress &address, quint16 port, BindMode mode = DefaultForPlatform);
index bedb290..468c97d 100644 (file)
@@ -75,7 +75,7 @@ public:
         AutoVerifyPeer
     };
 
-    QSslSocket(QObject *parent = 0);
+    QSslSocket(QObject *parent = Q_NULLPTR);
     ~QSslSocket();
 
     // Autostarting the SSL client handshake.
index 035b927..8b390c4 100644 (file)
@@ -70,8 +70,8 @@ public:
     };
     Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit)
 
-    explicit QGLShader(QGLShader::ShaderType type, QObject *parent = 0);
-    QGLShader(QGLShader::ShaderType type, const QGLContext *context, QObject *parent = 0);
+    explicit QGLShader(QGLShader::ShaderType type, QObject *parent = Q_NULLPTR);
+    QGLShader(QGLShader::ShaderType type, const QGLContext *context, QObject *parent = Q_NULLPTR);
     virtual ~QGLShader();
 
     QGLShader::ShaderType shaderType() const;
@@ -114,8 +114,8 @@ class Q_OPENGL_EXPORT QGLShaderProgram : public QObject
 {
     Q_OBJECT
 public:
-    explicit QGLShaderProgram(QObject *parent = 0);
-    explicit QGLShaderProgram(const QGLContext *context, QObject *parent = 0);
+    explicit QGLShaderProgram(QObject *parent = Q_NULLPTR);
+    explicit QGLShaderProgram(const QGLContext *context, QObject *parent = Q_NULLPTR);
     virtual ~QGLShaderProgram();
 
     bool addShader(QGLShader *shader);
index 1f682aa..8ee9da3 100644 (file)
@@ -71,7 +71,7 @@ class QConnmanEngine : public QBearerEngineImpl
     Q_OBJECT
 
 public:
-    QConnmanEngine(QObject *parent = 0);
+    QConnmanEngine(QObject *parent = Q_NULLPTR);
     ~QConnmanEngine();
 
     bool connmanAvailable() const;
index f3226fb..fec0fd8 100644 (file)
@@ -114,7 +114,7 @@ class QConnmanManagerInterface : public  QDBusAbstractInterface
 
 public:
 
-    QConnmanManagerInterface( QObject *parent = 0);
+    QConnmanManagerInterface( QObject *parent = Q_NULLPTR);
     ~QConnmanManagerInterface();
 
      QDBusObjectPath path() const;
@@ -168,7 +168,7 @@ class QConnmanProfileInterface : public QDBusAbstractInterface
 
 public:
 
-    QConnmanProfileInterface(const QString &dbusPathName,QObject *parent = 0);
+    QConnmanProfileInterface(const QString &dbusPathName,QObject *parent = Q_NULLPTR);
     ~QConnmanProfileInterface();
 
     QVariantMap getProperties();
@@ -192,7 +192,7 @@ class QConnmanServiceInterface : public QDBusAbstractInterface
 
 public:
 
-    QConnmanServiceInterface(const QString &dbusPathName,QObject *parent = 0);
+    QConnmanServiceInterface(const QString &dbusPathName,QObject *parent = Q_NULLPTR);
     ~QConnmanServiceInterface();
 
     QVariantMap getProperties();
@@ -254,7 +254,7 @@ class QConnmanTechnologyInterface : public QDBusAbstractInterface
 
 public:
 
-    QConnmanTechnologyInterface(const QString &dbusPathName,QObject *parent = 0);
+    QConnmanTechnologyInterface(const QString &dbusPathName,QObject *parent = Q_NULLPTR);
     ~QConnmanTechnologyInterface();
 
     QVariantMap getProperties();
@@ -279,7 +279,7 @@ class QConnmanAgentInterface : public QDBusAbstractInterface
 
 public:
 
-    QConnmanAgentInterface(const QString &dbusPathName,QObject *parent = 0);
+    QConnmanAgentInterface(const QString &dbusPathName,QObject *parent = Q_NULLPTR);
     ~QConnmanAgentInterface();
 
     void release();
@@ -298,7 +298,7 @@ class QConnmanCounterInterface : public QDBusAbstractInterface
 
 public:
 
-    QConnmanCounterInterface(const QString &dbusPathName, QObject *parent = 0);
+    QConnmanCounterInterface(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
     ~QConnmanCounterInterface();
 
 //    void release();
@@ -315,7 +315,7 @@ class QConnmanDBusHelper: public QObject, protected QDBusContext
  {
      Q_OBJECT
  public:
-    QConnmanDBusHelper(QObject *parent = 0);
+    QConnmanDBusHelper(QObject *parent = Q_NULLPTR);
     ~QConnmanDBusHelper();
 
  public slots:
index 1bef230..52819a9 100644 (file)
@@ -104,7 +104,7 @@ class QOfonoManagerInterface : public  QDBusAbstractInterface
 
 public:
 
-    QOfonoManagerInterface( QObject *parent = 0);
+    QOfonoManagerInterface( QObject *parent = Q_NULLPTR);
     ~QOfonoManagerInterface();
 
      QDBusObjectPath path() const;
@@ -129,7 +129,7 @@ class QOfonoDBusHelper: public QObject, protected QDBusContext
  {
      Q_OBJECT
  public:
-    QOfonoDBusHelper(QObject *parent = 0);
+    QOfonoDBusHelper(QObject *parent = Q_NULLPTR);
     ~QOfonoDBusHelper();
 
  public slots:
@@ -144,7 +144,7 @@ class QOfonoModemInterface : public QDBusAbstractInterface
 
 public:
 
-    QOfonoModemInterface(const QString &dbusModemPathName, QObject *parent = 0);
+    QOfonoModemInterface(const QString &dbusModemPathName, QObject *parent = Q_NULLPTR);
     ~QOfonoModemInterface();
 
     QVariantMap getProperties();
@@ -177,7 +177,7 @@ class QOfonoNetworkRegistrationInterface : public QDBusAbstractInterface
 
 public:
 
-    QOfonoNetworkRegistrationInterface(const QString &dbusModemPathName, QObject *parent = 0);
+    QOfonoNetworkRegistrationInterface(const QString &dbusModemPathName, QObject *parent = Q_NULLPTR);
     ~QOfonoNetworkRegistrationInterface();
 
     QVariantMap getProperties();
@@ -208,7 +208,7 @@ class QOfonoNetworkOperatorInterface : public QDBusAbstractInterface
 
 public:
 //modem or operator paths
-    QOfonoNetworkOperatorInterface(const QString &dbusPathName, QObject *parent = 0);
+    QOfonoNetworkOperatorInterface(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
     ~QOfonoNetworkOperatorInterface();
 
     QVariantMap getProperties();
@@ -232,7 +232,7 @@ class QOfonoSimInterface : public QDBusAbstractInterface
 
 public:
 
-    QOfonoSimInterface(const QString &dbusModemPathName, QObject *parent = 0);
+    QOfonoSimInterface(const QString &dbusModemPathName, QObject *parent = Q_NULLPTR);
     ~QOfonoSimInterface();
 
     QVariantMap getProperties();
@@ -260,7 +260,7 @@ class QOfonoDataConnectionManagerInterface : public QDBusAbstractInterface
 
 public:
 
-    QOfonoDataConnectionManagerInterface(const QString &dbusPathName, QObject *parent = 0);
+    QOfonoDataConnectionManagerInterface(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
     ~QOfonoDataConnectionManagerInterface();
 
     QVariantMap getProperties();
@@ -286,7 +286,7 @@ class QOfonoPrimaryDataContextInterface : public QDBusAbstractInterface
 
 public:
 
-    QOfonoPrimaryDataContextInterface(const QString &dbusPathName, QObject *parent = 0);
+    QOfonoPrimaryDataContextInterface(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
     ~QOfonoPrimaryDataContextInterface();
 
     QVariantMap getProperties();
@@ -316,7 +316,7 @@ class QOfonoSmsInterface : public QDBusAbstractInterface
 
 public:
 
-    QOfonoSmsInterface(const QString &dbusModemPathName, QObject *parent = 0);
+    QOfonoSmsInterface(const QString &dbusModemPathName, QObject *parent = Q_NULLPTR);
     ~QOfonoSmsInterface();
 
     QVariantMap getProperties();
index 8a1e2e1..5ffa2bf 100644 (file)
@@ -59,7 +59,7 @@ class QGenericEngine : public QBearerEngineImpl
     Q_OBJECT
 
 public:
-    QGenericEngine(QObject *parent = 0);
+    QGenericEngine(QObject *parent = Q_NULLPTR);
     ~QGenericEngine();
 
     QString getInterfaceFromId(const QString &id);
index 17fd786..59bbdd3 100644 (file)
@@ -70,7 +70,7 @@ class QNetworkManagerEngine : public QBearerEngineImpl
     Q_OBJECT
 
 public:
-    QNetworkManagerEngine(QObject *parent = 0);
+    QNetworkManagerEngine(QObject *parent = Q_NULLPTR);
     ~QNetworkManagerEngine();
 
     bool networkManagerAvailable() const;
index 16cf172..78fb3f1 100644 (file)
@@ -141,7 +141,7 @@ class QNetworkManagerInterface : public QObject
     
 public:
     
-    QNetworkManagerInterface(QObject *parent = 0);
+    QNetworkManagerInterface(QObject *parent = Q_NULLPTR);
     ~QNetworkManagerInterface();
     
     QList <QDBusObjectPath> getDevices() const;
@@ -214,7 +214,7 @@ public:
     
     Q_DECLARE_FLAGS(ApSecurityFlags, ApSecurityFlag)
     
-    explicit QNetworkManagerInterfaceAccessPoint(const QString &dbusPathName, QObject *parent = 0);
+    explicit QNetworkManagerInterfaceAccessPoint(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
     ~QNetworkManagerInterfaceAccessPoint();
 
     QDBusInterface *connectionInterface() const;
@@ -247,7 +247,7 @@ class QNetworkManagerInterfaceDevice : public QObject
     
 public:
     
-    explicit QNetworkManagerInterfaceDevice(const QString &deviceObjectPath, QObject *parent = 0);
+    explicit QNetworkManagerInterfaceDevice(const QString &deviceObjectPath, QObject *parent = Q_NULLPTR);
     ~QNetworkManagerInterfaceDevice();
     
     QString udi() const;
@@ -277,7 +277,7 @@ class QNetworkManagerInterfaceDeviceWired : public QObject
 public:
     
     explicit QNetworkManagerInterfaceDeviceWired(const QString &ifaceDevicePath,
-                                                 QObject *parent = 0);
+                                                 QObject *parent = Q_NULLPTR);
     ~QNetworkManagerInterfaceDeviceWired();
     
     QDBusInterface  *connectionInterface() const;
@@ -312,7 +312,7 @@ public:
        };
     
     explicit QNetworkManagerInterfaceDeviceWireless(const QString &ifaceDevicePath,
-                                                    QObject *parent = 0);
+                                                    QObject *parent = Q_NULLPTR);
     ~QNetworkManagerInterfaceDeviceWireless();
     
     QDBusObjectPath path() const;
@@ -343,7 +343,7 @@ class QNetworkManagerSettings : public QObject
     
 public:
     
-    explicit QNetworkManagerSettings(const QString &settingsService, QObject *parent = 0);
+    explicit QNetworkManagerSettings(const QString &settingsService, QObject *parent = Q_NULLPTR);
     ~QNetworkManagerSettings();
     
     QDBusInterface  *connectionInterface() const;
@@ -364,7 +364,7 @@ class QNetworkManagerSettingsConnection : public QObject
     
 public:
     
-    QNetworkManagerSettingsConnection(const QString &settingsService, const QString &connectionObjectPath, QObject *parent = 0);
+    QNetworkManagerSettingsConnection(const QString &settingsService, const QString &connectionObjectPath, QObject *parent = Q_NULLPTR);
     ~QNetworkManagerSettingsConnection();
     
     QDBusInterface  *connectionInterface() const;
@@ -403,7 +403,7 @@ public:
         Activated = 2
        };
     
-    explicit QNetworkManagerConnectionActive(const QString &dbusPathName, QObject *parent = 0);
+    explicit QNetworkManagerConnectionActive(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
     ~ QNetworkManagerConnectionActive();
     
     QDBusInterface  *connectionInterface() const;
@@ -431,7 +431,7 @@ class QNetworkManagerIp4Config : public QObject
     Q_OBJECT
     
 public:
-    explicit QNetworkManagerIp4Config(const QString &dbusPathName, QObject *parent = 0);
+    explicit QNetworkManagerIp4Config(const QString &dbusPathName, QObject *parent = Q_NULLPTR);
        ~QNetworkManagerIp4Config();
 
     QStringList domains() const;
index e5e1ee5..b9e5182 100644 (file)
@@ -54,7 +54,7 @@ class QNmDBusHelper: public QObject, protected QDBusContext
  {
      Q_OBJECT
  public:
-    QNmDBusHelper(QObject *parent = 0);
+    QNmDBusHelper(QObject *parent = Q_NULLPTR);
     ~QNmDBusHelper();
 
  public slots:
index c8a2530..d9668ec 100644 (file)
@@ -60,7 +60,7 @@ public:
         DisconnectionError,
     };
 
-    QBearerEngineImpl(QObject *parent = 0) : QBearerEngine(parent) {}
+    QBearerEngineImpl(QObject *parent = Q_NULLPTR) : QBearerEngine(parent) {}
     ~QBearerEngineImpl() {}
 
     virtual void connectToId(const QString &id) = 0;
index 6365c0f..3e9c6c9 100644 (file)
@@ -72,7 +72,7 @@ class QNetworkSessionManagerPrivate : public QObject
     Q_OBJECT
 
 public:
-    QNetworkSessionManagerPrivate(QObject *parent = 0) : QObject(parent) {}
+    QNetworkSessionManagerPrivate(QObject *parent = Q_NULLPTR) : QObject(parent) {}
     ~QNetworkSessionManagerPrivate() {}
 
     inline void forceSessionClose(const QNetworkConfiguration &config)
index 913a028..a93ea0a 100644 (file)
@@ -51,7 +51,7 @@ class QDeclarativeViewPlugin: public QObject, public QDesignerCustomWidgetInterf
     Q_OBJECT
     Q_INTERFACES(QDesignerCustomWidgetInterface)
 public:
-    QDeclarativeViewPlugin(QObject *parent = 0);
+    QDeclarativeViewPlugin(QObject *parent = Q_NULLPTR);
 
     virtual QString name() const;
     virtual QString group() const;
index f6ecb71..4fc48cd 100644 (file)
@@ -51,7 +51,7 @@ class QWebViewPlugin: public QObject, public QDesignerCustomWidgetInterface
     Q_OBJECT
     Q_INTERFACES(QDesignerCustomWidgetInterface)
 public:
-    QWebViewPlugin(QObject *parent = 0);
+    QWebViewPlugin(QObject *parent = Q_NULLPTR);
 
     virtual QString name() const;
     virtual QString group() const;
index 0714751..92ef5d8 100644 (file)
@@ -53,7 +53,7 @@ class VIEW3D_EXPORT QView3DTool : public QDesignerFormWindowToolInterface
     Q_OBJECT
 
 public:
-    explicit QView3DTool(QDesignerFormWindowInterface *formWindow, QObject *parent = 0);
+    explicit QView3DTool(QDesignerFormWindowInterface *formWindow, QObject *parent = Q_NULLPTR);
     virtual QDesignerFormEditorInterface *core() const;
     virtual QDesignerFormWindowInterface *formWindow() const;
     virtual QWidget *editor() const;
index 7ee74fe..745f11e 100644 (file)
@@ -90,8 +90,8 @@ class Q_EXPORT_SQLDRIVER_SQLITE QSQLiteDriver : public QSqlDriver
     Q_OBJECT
     friend class QSQLiteResult;
 public:
-    explicit QSQLiteDriver(QObject *parent = 0);
-    explicit QSQLiteDriver(sqlite3 *connection, QObject *parent = 0);
+    explicit QSQLiteDriver(QObject *parent = Q_NULLPTR);
+    explicit QSQLiteDriver(sqlite3 *connection, QObject *parent = Q_NULLPTR);
     ~QSQLiteDriver();
     bool hasFeature(DriverFeature f) const;
     bool open(const QString & db,
index 657733c..b5a96bf 100644 (file)
@@ -266,7 +266,7 @@ protected:
 
     QScriptEngine(QScriptEnginePrivate &dd);
 #else
-    QScriptEngine(QScriptEnginePrivate &dd, QObject *parent = 0);
+    QScriptEngine(QScriptEnginePrivate &dd, QObject *parent = Q_NULLPTR);
 #endif
 
 private:
index d602291..1d78524 100644 (file)
@@ -41,7 +41,7 @@ class Q_SCRIPT_EXPORT QScriptExtensionPlugin : public QObject,
     Q_OBJECT
     Q_INTERFACES(QScriptExtensionInterface:QFactoryInterface)
 public:
-    explicit QScriptExtensionPlugin(QObject *parent = 0);
+    explicit QScriptExtensionPlugin(QObject *parent = Q_NULLPTR);
     ~QScriptExtensionPlugin();
 
     virtual QStringList keys() const = 0;
index 6af010a..515ffd6 100644 (file)
@@ -115,7 +115,7 @@ class QObjectPrototypeObject : public QObject
 {
     Q_OBJECT
 public:
-    QObjectPrototypeObject(QObject *parent = 0)
+    QObjectPrototypeObject(QObject *parent = Q_NULLPTR)
         : QObject(parent) { }
     ~QObjectPrototypeObject() { }
 };
index 85149d5..43c8465 100644 (file)
@@ -70,7 +70,7 @@ class Q_AUTOTEST_EXPORT QScriptBreakpointsModel
 public:
     QScriptBreakpointsModel(QScriptDebuggerJobSchedulerInterface *jobScheduler,
                             QScriptDebuggerCommandSchedulerInterface *commandScheduler,
-                            QObject *parent = 0);
+                            QObject *parent = Q_NULLPTR);
     ~QScriptBreakpointsModel();
 
     void setBreakpoint(const QScriptBreakpointData &data);
index 931dc1d..d33491f 100644 (file)
@@ -204,7 +204,7 @@ class QScriptBreakpointsItemDelegate : public QStyledItemDelegate
 {
     Q_OBJECT
 public:
-    QScriptBreakpointsItemDelegate(QObject *parent = 0)
+    QScriptBreakpointsItemDelegate(QObject *parent = Q_NULLPTR)
         : QStyledItemDelegate(parent) {}
 
     QWidget *createEditor(QWidget *parent,
index 03a10e8..b2af09a 100644 (file)
@@ -75,7 +75,7 @@ public:
         QScriptDebuggerCommandSchedulerInterface *commandScheduler,
         QScriptDebuggerJobSchedulerInterface *jobScheduler,
         QScriptDebuggerConsole *console,
-        QObject *parent = 0);
+        QObject *parent = Q_NULLPTR);
     ~QScriptCompletionTask();
 
     void start();
index cf0f7c2..f8efa00 100644 (file)
@@ -111,7 +111,7 @@ public:
         GoToLineAction
     };
 
-    QScriptDebugger(QObject *parent = 0);
+    QScriptDebugger(QObject *parent = Q_NULLPTR);
     ~QScriptDebugger();
 
     QScriptDebuggerFrontend *frontend() const;
index f880a72..1c17644 100644 (file)
@@ -114,7 +114,7 @@ class QScriptDebuggerBackendEventReceiver : public QObject
 {
 public:
     QScriptDebuggerBackendEventReceiver(QScriptDebuggerBackendPrivate *backend,
-                                        QObject *parent = 0)
+                                        QObject *parent = Q_NULLPTR)
         : QObject(parent), m_backend(backend) {}
     ~QScriptDebuggerBackendEventReceiver() {}
 
index f5d23b0..bc925f8 100644 (file)
@@ -76,7 +76,7 @@ class Q_AUTOTEST_EXPORT QScriptDebuggerConsoleGlobalObject
 {
     Q_OBJECT
 public:
-    QScriptDebuggerConsoleGlobalObject(QObject *parent = 0);
+    QScriptDebuggerConsoleGlobalObject(QObject *parent = Q_NULLPTR);
     ~QScriptDebuggerConsoleGlobalObject();
 
     QScriptDebuggerCommandSchedulerInterface *scheduler() const;
index deff7fe..22c7a11 100644 (file)
@@ -65,7 +65,7 @@ class QScriptDebuggerFrontendEventReceiver : public QObject
 {
 public:
     QScriptDebuggerFrontendEventReceiver(QScriptDebuggerFrontendPrivate *frontend,
-                                         QObject *parent = 0);
+                                         QObject *parent = Q_NULLPTR);
     ~QScriptDebuggerFrontendEventReceiver();
 
     bool event(QEvent *);
index 22814f8..b067dfe 100644 (file)
@@ -69,7 +69,7 @@ class Q_AUTOTEST_EXPORT QScriptDebuggerLocalsModel
 public:
     QScriptDebuggerLocalsModel(QScriptDebuggerJobSchedulerInterface *jobScheduler,
                                QScriptDebuggerCommandSchedulerInterface *commandScheduler,
-                               QObject *parent = 0);
+                               QObject *parent = Q_NULLPTR);
     ~QScriptDebuggerLocalsModel();
 
     void init(int frameIndex);
index e9c41b5..d17bb15 100644 (file)
@@ -65,7 +65,7 @@ namespace {
 class CustomProxyModel : public QSortFilterProxyModel
 {
 public:
-    CustomProxyModel(QObject *parent = 0)
+    CustomProxyModel(QObject *parent = Q_NULLPTR)
         : QSortFilterProxyModel(parent) {}
 
     bool hasChildren(const QModelIndex &parent) const
@@ -195,7 +195,7 @@ class QScriptDebuggerLocalsItemDelegate
 {
     Q_OBJECT
 public:
-    QScriptDebuggerLocalsItemDelegate(QObject *parent = 0);
+    QScriptDebuggerLocalsItemDelegate(QObject *parent = Q_NULLPTR);
 
     QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
     void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
index cabf31c..d4e7fd9 100644 (file)
@@ -66,7 +66,7 @@ class Q_AUTOTEST_EXPORT QScriptDebuggerScriptsModel
 {
     Q_OBJECT
 public:
-    QScriptDebuggerScriptsModel(QObject *parent = 0);
+    QScriptDebuggerScriptsModel(QObject *parent = Q_NULLPTR);
     ~QScriptDebuggerScriptsModel();
 
     void removeScript(qint64 id);
index b9efb50..712b256 100644 (file)
@@ -66,7 +66,7 @@ class Q_AUTOTEST_EXPORT QScriptDebuggerStackModel
     : public QAbstractTableModel
 {
 public:
-    QScriptDebuggerStackModel(QObject *parent = 0);
+    QScriptDebuggerStackModel(QObject *parent = Q_NULLPTR);
     ~QScriptDebuggerStackModel();
 
     QList<QScriptContextInfo> contextInfos() const;
index caa3f8e..641489e 100644 (file)
@@ -63,7 +63,7 @@ class Q_AUTOTEST_EXPORT QScriptDebuggerStandardWidgetFactory
     : public QObject, public QScriptDebuggerWidgetFactoryInterface
 {
 public:
-    QScriptDebuggerStandardWidgetFactory(QObject *parent = 0);
+    QScriptDebuggerStandardWidgetFactory(QObject *parent = Q_NULLPTR);
     virtual ~QScriptDebuggerStandardWidgetFactory();
 
     QScriptDebugOutputWidgetInterface *createDebugOutputWidget();
index 3c9bb7b..d002502 100644 (file)
@@ -265,7 +265,7 @@ class WidgetClosedNotifier : public QObject
 {
     Q_OBJECT
 public:
-    WidgetClosedNotifier(QWidget *w, QObject *parent = 0)
+    WidgetClosedNotifier(QWidget *w, QObject *parent = Q_NULLPTR)
         : QObject(parent), widget(w)
     {
         w->installEventFilter(this);
index 0911912..f655db1 100644 (file)
@@ -98,7 +98,7 @@ public:
         SuspendedState
     };
 
-    QScriptEngineDebugger(QObject *parent = 0);
+    QScriptEngineDebugger(QObject *parent = Q_NULLPTR);
     ~QScriptEngineDebugger();
 
     void attachTo(QScriptEngine *engine);
index 234f3cb..6ecb827 100644 (file)
@@ -59,7 +59,7 @@ class QtGradientManager : public QObject
 {
     Q_OBJECT
 public:
-    QtGradientManager(QObject *parent = 0);
+    QtGradientManager(QObject *parent = Q_NULLPTR);
 
     QMap<QString, QGradient> gradients() const;
 
index ed65c75..dd230a7 100644 (file)
@@ -52,7 +52,7 @@ class QtGradientStopsController : public QObject
 {
     Q_OBJECT
 public:
-    QtGradientStopsController(QObject *parent = 0);
+    QtGradientStopsController(QObject *parent = Q_NULLPTR);
     ~QtGradientStopsController();
 
     void setUi(Ui_QtGradientEditor *editor);
index cfe75cd..8c55459 100644 (file)
@@ -75,7 +75,7 @@ class QtGradientStopsModel : public QObject
 public:
     typedef QMap<qreal, QtGradientStop *> PositionStopMap;
 
-    QtGradientStopsModel(QObject *parent = 0);
+    QtGradientStopsModel(QObject *parent = Q_NULLPTR);
     ~QtGradientStopsModel();
 
     PositionStopMap stops() const;
index 669cdc2..ed6c938 100644 (file)
@@ -52,7 +52,7 @@ class QtSpinBoxFactory : public QtAbstractEditorFactory<QtIntPropertyManager>
 {
     Q_OBJECT
 public:
-    QtSpinBoxFactory(QObject *parent = 0);
+    QtSpinBoxFactory(QObject *parent = Q_NULLPTR);
     ~QtSpinBoxFactory();
 protected:
     void connectPropertyManager(QtIntPropertyManager *manager);
@@ -76,7 +76,7 @@ class QtSliderFactory : public QtAbstractEditorFactory<QtIntPropertyManager>
 {
     Q_OBJECT
 public:
-    QtSliderFactory(QObject *parent = 0);
+    QtSliderFactory(QObject *parent = Q_NULLPTR);
     ~QtSliderFactory();
 protected:
     void connectPropertyManager(QtIntPropertyManager *manager);
@@ -100,7 +100,7 @@ class QtScrollBarFactory : public QtAbstractEditorFactory<QtIntPropertyManager>
 {
     Q_OBJECT
 public:
-    QtScrollBarFactory(QObject *parent = 0);
+    QtScrollBarFactory(QObject *parent = Q_NULLPTR);
     ~QtScrollBarFactory();
 protected:
     void connectPropertyManager(QtIntPropertyManager *manager);
@@ -124,7 +124,7 @@ class QtCheckBoxFactory : public QtAbstractEditorFactory<QtBoolPropertyManager>
 {
     Q_OBJECT
 public:
-    QtCheckBoxFactory(QObject *parent = 0);
+    QtCheckBoxFactory(QObject *parent = Q_NULLPTR);
     ~QtCheckBoxFactory();
 protected:
     void connectPropertyManager(QtBoolPropertyManager *manager);
@@ -146,7 +146,7 @@ class QtDoubleSpinBoxFactory : public QtAbstractEditorFactory<QtDoublePropertyMa
 {
     Q_OBJECT
 public:
-    QtDoubleSpinBoxFactory(QObject *parent = 0);
+    QtDoubleSpinBoxFactory(QObject *parent = Q_NULLPTR);
     ~QtDoubleSpinBoxFactory();
 protected:
     void connectPropertyManager(QtDoublePropertyManager *manager);
@@ -171,7 +171,7 @@ class QtLineEditFactory : public QtAbstractEditorFactory<QtStringPropertyManager
 {
     Q_OBJECT
 public:
-    QtLineEditFactory(QObject *parent = 0);
+    QtLineEditFactory(QObject *parent = Q_NULLPTR);
     ~QtLineEditFactory();
 protected:
     void connectPropertyManager(QtStringPropertyManager *manager);
@@ -194,7 +194,7 @@ class QtDateEditFactory : public QtAbstractEditorFactory<QtDatePropertyManager>
 {
     Q_OBJECT
 public:
-    QtDateEditFactory(QObject *parent = 0);
+    QtDateEditFactory(QObject *parent = Q_NULLPTR);
     ~QtDateEditFactory();
 protected:
     void connectPropertyManager(QtDatePropertyManager *manager);
@@ -218,7 +218,7 @@ class QtTimeEditFactory : public QtAbstractEditorFactory<QtTimePropertyManager>
 {
     Q_OBJECT
 public:
-    QtTimeEditFactory(QObject *parent = 0);
+    QtTimeEditFactory(QObject *parent = Q_NULLPTR);
     ~QtTimeEditFactory();
 protected:
     void connectPropertyManager(QtTimePropertyManager *manager);
@@ -240,7 +240,7 @@ class QtDateTimeEditFactory : public QtAbstractEditorFactory<QtDateTimePropertyM
 {
     Q_OBJECT
 public:
-    QtDateTimeEditFactory(QObject *parent = 0);
+    QtDateTimeEditFactory(QObject *parent = Q_NULLPTR);
     ~QtDateTimeEditFactory();
 protected:
     void connectPropertyManager(QtDateTimePropertyManager *manager);
@@ -262,7 +262,7 @@ class QtKeySequenceEditorFactory : public QtAbstractEditorFactory<QtKeySequenceP
 {
     Q_OBJECT
 public:
-    QtKeySequenceEditorFactory(QObject *parent = 0);
+    QtKeySequenceEditorFactory(QObject *parent = Q_NULLPTR);
     ~QtKeySequenceEditorFactory();
 protected:
     void connectPropertyManager(QtKeySequencePropertyManager *manager);
@@ -284,7 +284,7 @@ class QtCharEditorFactory : public QtAbstractEditorFactory<QtCharPropertyManager
 {
     Q_OBJECT
 public:
-    QtCharEditorFactory(QObject *parent = 0);
+    QtCharEditorFactory(QObject *parent = Q_NULLPTR);
     ~QtCharEditorFactory();
 protected:
     void connectPropertyManager(QtCharPropertyManager *manager);
@@ -306,7 +306,7 @@ class QtEnumEditorFactory : public QtAbstractEditorFactory<QtEnumPropertyManager
 {
     Q_OBJECT
 public:
-    QtEnumEditorFactory(QObject *parent = 0);
+    QtEnumEditorFactory(QObject *parent = Q_NULLPTR);
     ~QtEnumEditorFactory();
 protected:
     void connectPropertyManager(QtEnumPropertyManager *manager);
@@ -332,7 +332,7 @@ class QtCursorEditorFactory : public QtAbstractEditorFactory<QtCursorPropertyMan
 {
     Q_OBJECT
 public:
-    QtCursorEditorFactory(QObject *parent = 0);
+    QtCursorEditorFactory(QObject *parent = Q_NULLPTR);
     ~QtCursorEditorFactory();
 protected:
     void connectPropertyManager(QtCursorPropertyManager *manager);
@@ -354,7 +354,7 @@ class QtColorEditorFactory : public QtAbstractEditorFactory<QtColorPropertyManag
 {
     Q_OBJECT
 public:
-    QtColorEditorFactory(QObject *parent = 0);
+    QtColorEditorFactory(QObject *parent = Q_NULLPTR);
     ~QtColorEditorFactory();
 protected:
     void connectPropertyManager(QtColorPropertyManager *manager);
@@ -376,7 +376,7 @@ class QtFontEditorFactory : public QtAbstractEditorFactory<QtFontPropertyManager
 {
     Q_OBJECT
 public:
-    QtFontEditorFactory(QObject *parent = 0);
+    QtFontEditorFactory(QObject *parent = Q_NULLPTR);
     ~QtFontEditorFactory();
 protected:
     void connectPropertyManager(QtFontPropertyManager *manager);
index 194e73f..8e9b554 100644 (file)
@@ -842,7 +842,7 @@ void QtAbstractPropertyManager::uninitializeProperty(QtProperty *property)
 */
 
 /*!
-    \fn QtAbstractEditorFactoryBase::QtAbstractEditorFactoryBase(QObject *parent = 0)
+    \fn QtAbstractEditorFactoryBase::QtAbstractEditorFactoryBase(QObject *parent = Q_NULLPTR)
 
     Creates an abstract editor factory with the given \a parent.
 */
@@ -937,7 +937,7 @@ void QtAbstractPropertyManager::uninitializeProperty(QtProperty *property)
 */
 
 /*!
-    \fn QtAbstractEditorFactory::QtAbstractEditorFactory(QObject *parent = 0)
+    \fn QtAbstractEditorFactory::QtAbstractEditorFactory(QObject *parent = Q_NULLPTR)
 
     Creates an editor factory with the given \a parent.
 
index 128a1f7..a6fd6c8 100644 (file)
@@ -95,7 +95,7 @@ class QtAbstractPropertyManager : public QObject
     Q_OBJECT
 public:
 
-    explicit QtAbstractPropertyManager(QObject *parent = 0);
+    explicit QtAbstractPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtAbstractPropertyManager();
 
     QSet<QtProperty *> properties() const;
@@ -129,7 +129,7 @@ class QtAbstractEditorFactoryBase : public QObject
 public:
     virtual QWidget *createEditor(QtProperty *property, QWidget *parent) = 0;
 protected:
-    explicit QtAbstractEditorFactoryBase(QObject *parent = 0)
+    explicit QtAbstractEditorFactoryBase(QObject *parent = Q_NULLPTR)
         : QObject(parent) {}
 
     virtual void breakConnection(QtAbstractPropertyManager *manager) = 0;
index 6f244be..662cd48 100644 (file)
@@ -55,7 +55,7 @@ class QtGroupPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtGroupPropertyManager(QObject *parent = 0);
+    QtGroupPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtGroupPropertyManager();
 
 protected:
@@ -71,7 +71,7 @@ class QtIntPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtIntPropertyManager(QObject *parent = 0);
+    QtIntPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtIntPropertyManager();
 
     int value(const QtProperty *property) const;
@@ -105,7 +105,7 @@ class QtBoolPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtBoolPropertyManager(QObject *parent = 0);
+    QtBoolPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtBoolPropertyManager();
 
     bool value(const QtProperty *property) const;
@@ -131,7 +131,7 @@ class QtDoublePropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtDoublePropertyManager(QObject *parent = 0);
+    QtDoublePropertyManager(QObject *parent = Q_NULLPTR);
     ~QtDoublePropertyManager();
 
     double value(const QtProperty *property) const;
@@ -168,7 +168,7 @@ class QtStringPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtStringPropertyManager(QObject *parent = 0);
+    QtStringPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtStringPropertyManager();
 
     QString value(const QtProperty *property) const;
@@ -196,7 +196,7 @@ class QtDatePropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtDatePropertyManager(QObject *parent = 0);
+    QtDatePropertyManager(QObject *parent = Q_NULLPTR);
     ~QtDatePropertyManager();
 
     QDate value(const QtProperty *property) const;
@@ -227,7 +227,7 @@ class QtTimePropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtTimePropertyManager(QObject *parent = 0);
+    QtTimePropertyManager(QObject *parent = Q_NULLPTR);
     ~QtTimePropertyManager();
 
     QTime value(const QtProperty *property) const;
@@ -252,7 +252,7 @@ class QtDateTimePropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtDateTimePropertyManager(QObject *parent = 0);
+    QtDateTimePropertyManager(QObject *parent = Q_NULLPTR);
     ~QtDateTimePropertyManager();
 
     QDateTime value(const QtProperty *property) const;
@@ -277,7 +277,7 @@ class QtKeySequencePropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtKeySequencePropertyManager(QObject *parent = 0);
+    QtKeySequencePropertyManager(QObject *parent = Q_NULLPTR);
     ~QtKeySequencePropertyManager();
 
     QKeySequence value(const QtProperty *property) const;
@@ -302,7 +302,7 @@ class QtCharPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtCharPropertyManager(QObject *parent = 0);
+    QtCharPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtCharPropertyManager();
 
     QChar value(const QtProperty *property) const;
@@ -328,7 +328,7 @@ class QtLocalePropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtLocalePropertyManager(QObject *parent = 0);
+    QtLocalePropertyManager(QObject *parent = Q_NULLPTR);
     ~QtLocalePropertyManager();
 
     QtEnumPropertyManager *subEnumPropertyManager() const;
@@ -357,7 +357,7 @@ class QtPointPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtPointPropertyManager(QObject *parent = 0);
+    QtPointPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtPointPropertyManager();
 
     QtIntPropertyManager *subIntPropertyManager() const;
@@ -386,7 +386,7 @@ class QtPointFPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtPointFPropertyManager(QObject *parent = 0);
+    QtPointFPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtPointFPropertyManager();
 
     QtDoublePropertyManager *subDoublePropertyManager() const;
@@ -418,7 +418,7 @@ class QtSizePropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtSizePropertyManager(QObject *parent = 0);
+    QtSizePropertyManager(QObject *parent = Q_NULLPTR);
     ~QtSizePropertyManager();
 
     QtIntPropertyManager *subIntPropertyManager() const;
@@ -453,7 +453,7 @@ class QtSizeFPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtSizeFPropertyManager(QObject *parent = 0);
+    QtSizeFPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtSizeFPropertyManager();
 
     QtDoublePropertyManager *subDoublePropertyManager() const;
@@ -491,7 +491,7 @@ class QtRectPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtRectPropertyManager(QObject *parent = 0);
+    QtRectPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtRectPropertyManager();
 
     QtIntPropertyManager *subIntPropertyManager() const;
@@ -523,7 +523,7 @@ class QtRectFPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtRectFPropertyManager(QObject *parent = 0);
+    QtRectFPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtRectFPropertyManager();
 
     QtDoublePropertyManager *subDoublePropertyManager() const;
@@ -558,7 +558,7 @@ class QtEnumPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtEnumPropertyManager(QObject *parent = 0);
+    QtEnumPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtEnumPropertyManager();
 
     int value(const QtProperty *property) const;
@@ -590,7 +590,7 @@ class QtFlagPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtFlagPropertyManager(QObject *parent = 0);
+    QtFlagPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtFlagPropertyManager();
 
     QtBoolPropertyManager *subBoolPropertyManager() const;
@@ -622,7 +622,7 @@ class QtSizePolicyPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtSizePolicyPropertyManager(QObject *parent = 0);
+    QtSizePolicyPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtSizePolicyPropertyManager();
 
     QtIntPropertyManager *subIntPropertyManager() const;
@@ -653,7 +653,7 @@ class QtFontPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtFontPropertyManager(QObject *parent = 0);
+    QtFontPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtFontPropertyManager();
 
     QtIntPropertyManager *subIntPropertyManager() const;
@@ -689,7 +689,7 @@ class QtColorPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtColorPropertyManager(QObject *parent = 0);
+    QtColorPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtColorPropertyManager();
 
     QtIntPropertyManager *subIntPropertyManager() const;
@@ -719,7 +719,7 @@ class QtCursorPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtCursorPropertyManager(QObject *parent = 0);
+    QtCursorPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtCursorPropertyManager();
 
 #ifndef QT_NO_CURSOR
index 501e5c9..1b64e21 100644 (file)
@@ -219,7 +219,7 @@ class QtPropertyEditorDelegate : public QItemDelegate
 {
     Q_OBJECT
 public:
-    QtPropertyEditorDelegate(QObject *parent = 0)
+    QtPropertyEditorDelegate(QObject *parent = Q_NULLPTR)
         : QItemDelegate(parent), m_editorPrivate(0), m_editedItem(0), m_editedWidget(0)
         {}
 
index 1cafacf..5f219b7 100644 (file)
@@ -74,7 +74,7 @@ class QtVariantPropertyManager : public QtAbstractPropertyManager
 {
     Q_OBJECT
 public:
-    QtVariantPropertyManager(QObject *parent = 0);
+    QtVariantPropertyManager(QObject *parent = Q_NULLPTR);
     ~QtVariantPropertyManager();
 
     virtual QtVariantProperty *addProperty(int propertyType, const QString &name = QString());
@@ -157,7 +157,7 @@ class QtVariantEditorFactory : public QtAbstractEditorFactory<QtVariantPropertyM
 {
     Q_OBJECT
 public:
-    QtVariantEditorFactory(QObject *parent = 0);
+    QtVariantEditorFactory(QObject *parent = Q_NULLPTR);
     ~QtVariantEditorFactory();
 protected:
     void connectPropertyManager(QtVariantPropertyManager *manager);
index e5d9d52..912bb8e 100644 (file)
@@ -65,7 +65,7 @@ class Q_SQL_EXPORT QSqlDriverPlugin : public QObject, public QSqlDriverFactoryIn
     Q_OBJECT
     Q_INTERFACES(QSqlDriverFactoryInterface:QFactoryInterface)
 public:
-    explicit QSqlDriverPlugin(QObject *parent = 0);
+    explicit QSqlDriverPlugin(QObject *parent = Q_NULLPTR);
     ~QSqlDriverPlugin();
 
     virtual QStringList keys() const = 0;
index ff5f964..03eff6f 100644 (file)
@@ -61,7 +61,7 @@ class Q_SQL_EXPORT QSqlQueryModel: public QAbstractTableModel
     Q_DECLARE_PRIVATE(QSqlQueryModel)
 
 public:
-    explicit QSqlQueryModel(QObject *parent = 0);
+    explicit QSqlQueryModel(QObject *parent = Q_NULLPTR);
     virtual ~QSqlQueryModel();
 
     int rowCount(const QModelIndex &parent = QModelIndex()) const;
@@ -94,7 +94,7 @@ protected:
 
     QModelIndex indexInQuery(const QModelIndex &item) const;
     void setLastError(const QSqlError &error);
-    QSqlQueryModel(QSqlQueryModelPrivate &dd, QObject *parent = 0);
+    QSqlQueryModel(QSqlQueryModelPrivate &dd, QObject *parent = Q_NULLPTR);
 };
 
 QT_END_NAMESPACE
index 2abbf16..ab4bc46 100644 (file)
@@ -148,7 +148,7 @@ struct QRelation
 class QRelatedTableModel : public QSqlTableModel
 {
 public:
-    QRelatedTableModel(QRelation *rel, QObject *parent = 0, QSqlDatabase db = QSqlDatabase());
+    QRelatedTableModel(QRelation *rel, QObject *parent = Q_NULLPTR, QSqlDatabase db = QSqlDatabase());
     bool select();
 private:
     bool firstSelect;
index da9b57f..86cdc99 100644 (file)
@@ -80,7 +80,7 @@ public:
         LeftJoin
     };
 
-    explicit QSqlRelationalTableModel(QObject *parent = 0,
+    explicit QSqlRelationalTableModel(QObject *parent = Q_NULLPTR,
                                       QSqlDatabase db = QSqlDatabase());
     virtual ~QSqlRelationalTableModel();
 
index 25ebc09..1ab17d0 100644 (file)
@@ -63,7 +63,7 @@ class Q_SQL_EXPORT QSqlTableModel: public QSqlQueryModel
 public:
     enum EditStrategy {OnFieldChange, OnRowChange, OnManualSubmit};
 
-    explicit QSqlTableModel(QObject *parent = 0, QSqlDatabase db = QSqlDatabase());
+    explicit QSqlTableModel(QObject *parent = Q_NULLPTR, QSqlDatabase db = QSqlDatabase());
     virtual ~QSqlTableModel();
 
     virtual bool select();
@@ -120,7 +120,7 @@ Q_SIGNALS:
     void beforeDelete(int row);
 
 protected:
-    QSqlTableModel(QSqlTableModelPrivate &dd, QObject *parent = 0, QSqlDatabase db = QSqlDatabase());
+    QSqlTableModel(QSqlTableModelPrivate &dd, QObject *parent = Q_NULLPTR, QSqlDatabase db = QSqlDatabase());
 
     virtual bool updateRowInTable(int row, const QSqlRecord &values);
     virtual bool insertRowIntoTable(const QSqlRecord &values);
index aa3b178..b0ae49e 100644 (file)
@@ -226,7 +226,7 @@ const AppFontManager::FileNameFontIdPairs &AppFontManager::fonts() const
 class AppFontModel : public QStandardItemModel {
     Q_DISABLE_COPY(AppFontModel)
 public:
-    AppFontModel(QObject *parent = 0);
+    AppFontModel(QObject *parent = Q_NULLPTR);
 
     void init(const AppFontManager &mgr);
     void add(const QString &fontFile, int id);
index 6c336dc..4fcc7f7 100644 (file)
@@ -1602,7 +1602,7 @@ class FeedbackItemDelegate : public QItemDelegate
 {
     Q_OBJECT
 public:
-    FeedbackItemDelegate(QObject *parent = 0) : QItemDelegate(parent) { }
+    FeedbackItemDelegate(QObject *parent = Q_NULLPTR) : QItemDelegate(parent) { }
 
     virtual void paint(QPainter *painter, const QStyleOptionViewItem &option,
                     const QModelIndex & index) const;
index e02204d..86cd6ca 100644 (file)
@@ -68,7 +68,7 @@ class QtToolBarManager : public QObject
     Q_OBJECT
 public:
 
-    explicit QtToolBarManager(QObject *parent = 0);
+    explicit QtToolBarManager(QObject *parent = Q_NULLPTR);
     ~QtToolBarManager();
 
     void setMainWindow(QMainWindow *mainWindow);
index b05d087..469ec58 100644 (file)
@@ -605,7 +605,7 @@ static void writeProxy(const QString &filename, const QDBusIntrospection::Interf
 
         // constructors/destructors:
         hs << "public:" << endl
-           << "    " << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);" << endl
+           << "    " << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = Q_NULLPTR);" << endl
            << endl
            << "    ~" << className << "();" << endl
            << endl;
index 31b34d8..bb618eb 100644 (file)
@@ -51,7 +51,7 @@ class ByteArrayPrototype : public QObject, public QScriptable
 {
     Q_OBJECT
 public:
-    ByteArrayPrototype(QObject *parent = 0);
+    ByteArrayPrototype(QObject *parent = Q_NULLPTR);
     ~ByteArrayPrototype();
 
 public slots:
index fa8df27..501a273 100644 (file)
@@ -61,7 +61,7 @@ class Q_UITOOLS_EXPORT QUiLoader : public QObject
 {
     Q_OBJECT
 public:
-    QUiLoader(QObject *parent = 0);
+    QUiLoader(QObject *parent = Q_NULLPTR);
     virtual ~QUiLoader();
 
     QStringList pluginPaths() const;
@@ -73,9 +73,9 @@ public:
     QStringList availableLayouts() const;
 
     virtual QWidget *createWidget(const QString &className, QWidget *parent = Q_NULLPTR, const QString &name = QString());
-    virtual QLayout *createLayout(const QString &className, QObject *parent = 0, const QString &name = QString());
-    virtual QActionGroup *createActionGroup(QObject *parent = 0, const QString &name = QString());
-    virtual QAction *createAction(QObject *parent = 0, const QString &name = QString());
+    virtual QLayout *createLayout(const QString &className, QObject *parent = Q_NULLPTR, const QString &name = QString());
+    virtual QActionGroup *createActionGroup(QObject *parent = Q_NULLPTR, const QString &name = QString());
+    virtual QAction *createAction(QObject *parent = Q_NULLPTR, const QString &name = QString());
 
     void setWorkingDirectory(const QDir &dir);
     QDir workingDirectory() const;