Commit 84f14426 authored by Laurent Montel's avatar Laurent Montel 😁

use nullptr

parent 948d024e
......@@ -42,7 +42,7 @@ namespace Kleo
class SelfTest;
std::shared_ptr<SelfTest> makeGpgConfCheckConfigurationSelfTest(const char *component = 0);
std::shared_ptr<SelfTest> makeGpgConfCheckConfigurationSelfTest(const char *component = nullptr);
}
......
......@@ -50,7 +50,7 @@ public:
* @p baseWidget must not be null.
* @p parent must not be equal to @p baseWidget
*/
explicit KeyCacheOverlay(QWidget *baseWidget, QWidget *parent = 0);
explicit KeyCacheOverlay(QWidget *baseWidget, QWidget *parent = nullptr);
protected:
bool eventFilter(QObject *object, QEvent *event) Q_DECL_OVERRIDE;
......
......@@ -69,7 +69,7 @@ public:
QAbstractItemView *addView(const QString &title = QString(), const QString &keyFilterID = QString(), const QString &searchString = QString());
QAbstractItemView *addView(const KConfigGroup &group);
QAbstractItemView *addTemporaryView(const QString &title = QString(), AbstractKeyListSortFilterProxyModel *proxy = 0, const QString &tabToolTip = QString());
QAbstractItemView *addTemporaryView(const QString &title = QString(), AbstractKeyListSortFilterProxyModel *proxy = nullptr, const QString &tabToolTip = QString());
void loadViews(const KConfig *cfg);
void saveViews(KConfig *cfg) const;
......
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