Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit a98747e5 authored by Laurent Montel's avatar Laurent Montel 😁

Use nullptr

parent 7bf0b2e5
......@@ -60,7 +60,7 @@ const QVector<Node const *> &Node::children() const
DocumentNode::DocumentNode(int version)
: Node(Document, Q_NULLPTR)
: Node(Document, nullptr)
, mVersion(version)
{}
......
......@@ -28,7 +28,7 @@
#define qPrintableRef(x) reinterpret_cast<const char *>(x.unicode())
XmlParser::XmlParser()
: mTree(Q_NULLPTR)
: mTree(nullptr)
{
}
......
......@@ -69,7 +69,7 @@ public:
QVector<Collection> retrieveCollections(const Scope &scope,
int depth, int ancestorDepth,
const QString &resource = QString(),
CommandContext *context = Q_NULLPTR) const;
CommandContext *context = nullptr) const;
public Q_SLOTS:
void collectionAdded(const Collection &col);
......@@ -116,7 +116,7 @@ CollectionTreeCache::Node *CollectionTreeCache::findNode(Node *root, Predicate p
}
}
return Q_NULLPTR;
return nullptr;
}
} // namespace Server
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment