summaryrefslogtreecommitdiffstats
path: root/src/activeqt/container/qaxbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/activeqt/container/qaxbase.h')
-rw-r--r--src/activeqt/container/qaxbase.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/activeqt/container/qaxbase.h b/src/activeqt/container/qaxbase.h
index 7b667af..208a8ba 100644
--- a/src/activeqt/container/qaxbase.h
+++ b/src/activeqt/container/qaxbase.h
@@ -64,7 +64,7 @@ class QAxBase
public:
typedef QMap<QString, QVariant> PropertyBag;
- QAxBase(IUnknown *iface = 0);
+ QAxBase(IUnknown *iface = Q_NULLPTR);
virtual ~QAxBase();
QString control() const;
@@ -173,13 +173,13 @@ private:
template <> inline QAxBase *qobject_cast<QAxBase*>(const QObject *o)
{
- void *result = o ? const_cast<QObject *>(o)->qt_metacast("QAxBase") : 0;
+ void *result = o ? const_cast<QObject *>(o)->qt_metacast("QAxBase") : Q_NULLPTR;
return (QAxBase*)(result);
}
template <> inline QAxBase *qobject_cast<QAxBase*>(QObject *o)
{
- void *result = o ? o->qt_metacast("QAxBase") : 0;
+ void *result = o ? o->qt_metacast("QAxBase") : Q_NULLPTR;
return (QAxBase*)(result);
}