Commit dab40b77 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: use nullptr now

parent 321d7187
......@@ -26,7 +26,7 @@ class ServerSieveSettingsTest : public QObject
{
Q_OBJECT
public:
explicit ServerSieveSettingsTest(QObject *parent = Q_NULLPTR);
explicit ServerSieveSettingsTest(QObject *parent = nullptr);
~ServerSieveSettingsTest();
private Q_SLOTS:
......
......@@ -26,7 +26,7 @@ class SieveEditorConfigureServerPageTest : public QObject
{
Q_OBJECT
public:
explicit SieveEditorConfigureServerPageTest(QObject *parent = Q_NULLPTR);
explicit SieveEditorConfigureServerPageTest(QObject *parent = nullptr);
~SieveEditorConfigureServerPageTest();
private Q_SLOTS:
......
......@@ -26,7 +26,7 @@ class SieveEditorUtilTest : public QObject
{
Q_OBJECT
public:
explicit SieveEditorUtilTest(QObject *parent = Q_NULLPTR);
explicit SieveEditorUtilTest(QObject *parent = nullptr);
~SieveEditorUtilTest();
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -26,7 +26,7 @@ class ImportImapSettingFinishPageTest : public QObject
{
Q_OBJECT
public:
explicit ImportImapSettingFinishPageTest(QObject *parent = Q_NULLPTR);
explicit ImportImapSettingFinishPageTest(QObject *parent = nullptr);
~ImportImapSettingFinishPageTest();
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -26,7 +26,7 @@ class ImportImapSettingNoFoundPageTest : public QObject
{
Q_OBJECT
public:
explicit ImportImapSettingNoFoundPageTest(QObject *parent = Q_NULLPTR);
explicit ImportImapSettingNoFoundPageTest(QObject *parent = nullptr);
~ImportImapSettingNoFoundPageTest();
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -26,7 +26,7 @@ class ImportImapSettingProgressPageTest : public QObject
{
Q_OBJECT
public:
explicit ImportImapSettingProgressPageTest(QObject *parent = Q_NULLPTR);
explicit ImportImapSettingProgressPageTest(QObject *parent = nullptr);
~ImportImapSettingProgressPageTest();
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -26,7 +26,7 @@ class ImportImapSettingsAkonadiCheckJobTest : public QObject
{
Q_OBJECT
public:
explicit ImportImapSettingsAkonadiCheckJobTest(QObject *parent = Q_NULLPTR);
explicit ImportImapSettingsAkonadiCheckJobTest(QObject *parent = nullptr);
~ImportImapSettingsAkonadiCheckJobTest();
};
......
......@@ -26,7 +26,7 @@ class ImportImapSettingSearchPageTest : public QObject
{
Q_OBJECT
public:
explicit ImportImapSettingSearchPageTest(QObject *parent = Q_NULLPTR);
explicit ImportImapSettingSearchPageTest(QObject *parent = nullptr);
~ImportImapSettingSearchPageTest();
private Q_SLOTS:
void shouldHaveDefaultValue();
......
......@@ -26,7 +26,7 @@
class ServerSieveListWidgetItem : public QListWidgetItem
{
public:
explicit ServerSieveListWidgetItem(QListWidget *parent = Q_NULLPTR);
explicit ServerSieveListWidgetItem(QListWidget *parent = nullptr);
~ServerSieveListWidgetItem();
SieveEditorUtil::SieveServerConfig serverConfig() const;
......@@ -40,7 +40,7 @@ class ServerSieveListWidget : public QListWidget
{
Q_OBJECT
public:
explicit ServerSieveListWidget(QWidget *parent = Q_NULLPTR);
explicit ServerSieveListWidget(QWidget *parent = nullptr);
~ServerSieveListWidget();
void readConfig();
......
......@@ -81,7 +81,7 @@ static void setCurrentAuthMode(QComboBox *authCombo, MailTransport::Transport::E
ServerSieveSettings::ServerSieveSettings(QWidget *parent) :
QWidget(parent),
ui(new Ui::ServerSieveSettings),
mServerTest(Q_NULLPTR)
mServerTest(nullptr)
{
ui->setupUi(this);
ui->serversievelabel->setMinimumSize(ui->serversievelabel->sizeHint());
......@@ -359,7 +359,7 @@ void ServerSieveSettings::slotEncryptionRadioChanged()
void ServerSieveSettings::slotSafetyChanged()
{
if (mServerTest == Q_NULLPTR) {
if (mServerTest == nullptr) {
qCDebug(SIEVEEDITOR_LOG) << "serverTest null";
ui->noRadio->setEnabled(true);
ui->sslRadio->setEnabled(true);
......
......@@ -37,7 +37,7 @@ class ServerSieveSettings : public QWidget
Q_OBJECT
public:
explicit ServerSieveSettings(QWidget *parent = Q_NULLPTR);
explicit ServerSieveSettings(QWidget *parent = nullptr);
~ServerSieveSettings();
QString serverName() const;
......
......@@ -28,7 +28,7 @@ class ServerSieveSettingsDialog : public QDialog
{
Q_OBJECT
public:
explicit ServerSieveSettingsDialog(QWidget *parent = Q_NULLPTR);
explicit ServerSieveSettingsDialog(QWidget *parent = nullptr);
~ServerSieveSettingsDialog();
QString serverName() const;
......
......@@ -27,7 +27,7 @@
SieveEditorBookmarks::SieveEditorBookmarks(SieveEditorMainWindow *mainWindow, KActionCollection *collection, QMenu *menu, QObject *parent)
: QObject(parent),
KBookmarkOwner(),
mBookmarkMenu(Q_NULLPTR),
mBookmarkMenu(nullptr),
mMenu(menu),
mMainWindow(mainWindow)
{
......
......@@ -30,7 +30,7 @@ class SieveEditorBookmarks : public QObject, public KBookmarkOwner
{
Q_OBJECT
public:
explicit SieveEditorBookmarks(SieveEditorMainWindow *mainWindow, KActionCollection *collection, QMenu *menu, QObject *parent = Q_NULLPTR);
explicit SieveEditorBookmarks(SieveEditorMainWindow *mainWindow, KActionCollection *collection, QMenu *menu, QObject *parent = nullptr);
~SieveEditorBookmarks();
QMenu *menu() const;
......
......@@ -28,7 +28,7 @@ class SieveEditorCentralWidget : public QStackedWidget
{
Q_OBJECT
public:
explicit SieveEditorCentralWidget(QWidget *parent = Q_NULLPTR, KActionCollection *ac = Q_NULLPTR);
explicit SieveEditorCentralWidget(QWidget *parent = nullptr, KActionCollection *ac = nullptr);
~SieveEditorCentralWidget();
SieveEditorMainWidget *sieveEditorMainWidget() const;
......
......@@ -28,7 +28,7 @@ class SieveEditorConfigureDialog : public QDialog
{
Q_OBJECT
public:
explicit SieveEditorConfigureDialog(QWidget *parent = Q_NULLPTR);
explicit SieveEditorConfigureDialog(QWidget *parent = nullptr);
~SieveEditorConfigureDialog();
void saveServerSieveConfig();
......
......@@ -26,7 +26,7 @@ class SieveEditorConfigureServerPage : public QWidget
{
Q_OBJECT
public:
explicit SieveEditorConfigureServerPage(QWidget *parent = Q_NULLPTR);
explicit SieveEditorConfigureServerPage(QWidget *parent = nullptr);
~SieveEditorConfigureServerPage();
Q_SIGNALS:
......
......@@ -32,7 +32,7 @@ class SieveEditorConfigureServerWidget : public QWidget
Q_OBJECT
public:
explicit SieveEditorConfigureServerWidget(QWidget *parent = Q_NULLPTR);
explicit SieveEditorConfigureServerWidget(QWidget *parent = nullptr);
~SieveEditorConfigureServerWidget();
void readConfig();
......
......@@ -46,7 +46,7 @@ class SieveEditorEmptyTabWidgetLabel : public QLabel
{
Q_OBJECT
public:
explicit SieveEditorEmptyTabWidgetLabel(QWidget *parent = Q_NULLPTR);
explicit SieveEditorEmptyTabWidgetLabel(QWidget *parent = nullptr);
~SieveEditorEmptyTabWidgetLabel();
private:
......
......@@ -86,7 +86,7 @@ QWidget *SieveEditorMainWidget::hasExistingPage(const QUrl &url)
}
}
}
return Q_NULLPTR;
return nullptr;
}
void SieveEditorMainWidget::updateStackedWidget()
......
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