summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-05-29 07:52:26 +0200
committerPali Roh├ír <[email protected]>2017-12-22 09:10:30 +0100
commit9f3708106af41fa44531b54f2d81a16735c11d9f (patch)
tree864bf13bada1ce26fd6639b6fdb0dd95ec6e0d0d
parentf4363e3fdfa949ebdba63e68abb8e859b02640fd (diff)
Use nullptr
-rw-r--r--doc-dev/t3/tutorialpreferences.h2
-rw-r--r--plugins/alias/aliaspreferences.h2
-rw-r--r--plugins/alias/editaliasdialog.h2
-rw-r--r--plugins/history/historydialog.h2
-rw-r--r--plugins/history/historypreferences.h2
-rw-r--r--plugins/history2/history2dialog.h2
-rw-r--r--plugins/history2/history2preferences.h2
-rw-r--r--plugins/pipes/pipespreferences.h2
-rw-r--r--protocols/gadu/gaduaddcontactpage.h2
-rw-r--r--protocols/gadu/gaduaway.h2
-rw-r--r--protocols/gadu/gadueditaccount.h2
-rw-r--r--protocols/gadu/gadueditcontact.h4
-rw-r--r--protocols/gadu/gadupubdir.h4
-rw-r--r--protocols/skype/skypeeditaccount.h2
-rw-r--r--protocols/sms/smsaddcontactpage.h2
-rw-r--r--protocols/sms/smseditaccountwidget.h2
16 files changed, 18 insertions, 18 deletions
diff --git a/doc-dev/t3/tutorialpreferences.h b/doc-dev/t3/tutorialpreferences.h
index 5b6d047..b2195f4 100644
--- a/doc-dev/t3/tutorialpreferences.h
+++ b/doc-dev/t3/tutorialpreferences.h
@@ -28,7 +28,7 @@ class TutorialPreferences : public KCModule
{
Q_OBJECT
public:
- explicit TutorialPreferences(QWidget *parent = 0, const QStringList &args = QStringList());
+ explicit TutorialPreferences(QWidget *parent = nullptr, const QStringList &args = QStringList());
~TutorialPreferences();
virtual void save();
virtual void load();
diff --git a/plugins/alias/aliaspreferences.h b/plugins/alias/aliaspreferences.h
index dab5aad..b8d82b8 100644
--- a/plugins/alias/aliaspreferences.h
+++ b/plugins/alias/aliaspreferences.h
@@ -39,7 +39,7 @@ class AliasPreferences : public KCModule
Q_OBJECT
public:
- explicit AliasPreferences(QWidget *parent = 0, const QVariantList &args = QVariantList());
+ explicit AliasPreferences(QWidget *parent = nullptr, const QVariantList &args = QVariantList());
~AliasPreferences();
virtual void save();
diff --git a/plugins/alias/editaliasdialog.h b/plugins/alias/editaliasdialog.h
index f46c1ca..945379b 100644
--- a/plugins/alias/editaliasdialog.h
+++ b/plugins/alias/editaliasdialog.h
@@ -28,7 +28,7 @@ class EditAliasDialog : public QDialog, public Ui::AliasDialog
{
Q_OBJECT
public:
- EditAliasDialog(QWidget *parent = 0);
+ EditAliasDialog(QWidget *parent = nullptr);
virtual ~EditAliasDialog();
public slots:
diff --git a/plugins/history/historydialog.h b/plugins/history/historydialog.h
index b46dcdc..52e7f8b 100644
--- a/plugins/history/historydialog.h
+++ b/plugins/history/historydialog.h
@@ -96,7 +96,7 @@ class HistoryDialog : public QDialog
Q_OBJECT
public:
- explicit HistoryDialog(Kopete::MetaContact *mc, QWidget *parent = 0);
+ explicit HistoryDialog(Kopete::MetaContact *mc, QWidget *parent = nullptr);
~HistoryDialog();
/**
diff --git a/plugins/history/historypreferences.h b/plugins/history/historypreferences.h
index c3656ef..91efd27 100644
--- a/plugins/history/historypreferences.h
+++ b/plugins/history/historypreferences.h
@@ -32,7 +32,7 @@ class HistoryPreferences : public KCModule
{
Q_OBJECT
public:
- explicit HistoryPreferences(QWidget *parent = 0, const QVariantList &args = QVariantList());
+ explicit HistoryPreferences(QWidget *parent = nullptr, const QVariantList &args = QVariantList());
~HistoryPreferences();
virtual void save();
diff --git a/plugins/history2/history2dialog.h b/plugins/history2/history2dialog.h
index 48fbef0..82ade2d 100644
--- a/plugins/history2/history2dialog.h
+++ b/plugins/history2/history2dialog.h
@@ -95,7 +95,7 @@ class History2Dialog : public KDialog
Q_OBJECT
public:
- explicit History2Dialog(Kopete::MetaContact *mc, QWidget *parent = 0);
+ explicit History2Dialog(Kopete::MetaContact *mc, QWidget *parent = nullptr);
~History2Dialog();
/**
diff --git a/plugins/history2/history2preferences.h b/plugins/history2/history2preferences.h
index bc7301e..ed9de06 100644
--- a/plugins/history2/history2preferences.h
+++ b/plugins/history2/history2preferences.h
@@ -32,7 +32,7 @@ class History2Preferences : public KCModule
{
Q_OBJECT
public:
- explicit History2Preferences(QWidget *parent = 0, const QVariantList &args = QVariantList());
+ explicit History2Preferences(QWidget *parent = nullptr, const QVariantList &args = QVariantList());
~History2Preferences();
virtual void save();
diff --git a/plugins/pipes/pipespreferences.h b/plugins/pipes/pipespreferences.h
index 14cf5ea..b7a3513 100644
--- a/plugins/pipes/pipespreferences.h
+++ b/plugins/pipes/pipespreferences.h
@@ -37,7 +37,7 @@ class PipesPreferences : public KCModule
Q_OBJECT
public:
- explicit PipesPreferences(QWidget *parent = 0, const QVariantList &args = QVariantList());
+ explicit PipesPreferences(QWidget *parent = nullptr, const QVariantList &args = QVariantList());
~PipesPreferences();
/*
diff --git a/protocols/gadu/gaduaddcontactpage.h b/protocols/gadu/gaduaddcontactpage.h
index ed787a0..4490576 100644
--- a/protocols/gadu/gaduaddcontactpage.h
+++ b/protocols/gadu/gaduaddcontactpage.h
@@ -43,7 +43,7 @@ class GaduAddContactPage : public AddContactPage
Q_OBJECT
public:
- explicit GaduAddContactPage(GaduAccount *, QWidget *parent = 0);
+ explicit GaduAddContactPage(GaduAccount *, QWidget *parent = nullptr);
~GaduAddContactPage();
virtual bool validateData();
virtual bool apply(Kopete::Account *, Kopete::MetaContact *);
diff --git a/protocols/gadu/gaduaway.h b/protocols/gadu/gaduaway.h
index 0f206e8..e7fd45d 100644
--- a/protocols/gadu/gaduaway.h
+++ b/protocols/gadu/gaduaway.h
@@ -35,7 +35,7 @@ class GaduAway : public KDialog
Q_OBJECT
public:
- explicit GaduAway(GaduAccount *, QWidget *parent = 0);
+ explicit GaduAway(GaduAccount *, QWidget *parent = nullptr);
~GaduAway();
int status() const;
QString awayText() const;
diff --git a/protocols/gadu/gadueditaccount.h b/protocols/gadu/gadueditaccount.h
index 4f308da..642ceb9 100644
--- a/protocols/gadu/gadueditaccount.h
+++ b/protocols/gadu/gadueditaccount.h
@@ -38,7 +38,7 @@ class GaduEditAccount : public QWidget, private Ui::GaduAccountEditUI, public Ko
Q_OBJECT
public:
- GaduEditAccount(GaduProtocol *, Kopete::Account *, QWidget *parent = 0);
+ GaduEditAccount(GaduProtocol *, Kopete::Account *, QWidget *parent = nullptr);
virtual bool validateData();
Kopete::Account *apply();
diff --git a/protocols/gadu/gadueditcontact.h b/protocols/gadu/gadueditcontact.h
index 9b3c059..f2d6a9d 100644
--- a/protocols/gadu/gadueditcontact.h
+++ b/protocols/gadu/gadueditcontact.h
@@ -42,8 +42,8 @@ class GaduEditContact : public KDialog
Q_OBJECT
public:
- GaduEditContact(GaduAccount *, GaduContact *, QWidget *parent = 0);
- GaduEditContact(GaduAccount *, GaduContactsList::ContactLine *, QWidget *parent = 0);
+ GaduEditContact(GaduAccount *, GaduContact *, QWidget *parent = nullptr);
+ GaduEditContact(GaduAccount *, GaduContactsList::ContactLine *, QWidget *parent = nullptr);
~GaduEditContact();
protected slots:
void slotApply();
diff --git a/protocols/gadu/gadupubdir.h b/protocols/gadu/gadupubdir.h
index 45761fa..d9c3040 100644
--- a/protocols/gadu/gadupubdir.h
+++ b/protocols/gadu/gadupubdir.h
@@ -43,8 +43,8 @@ class GaduPublicDir : public KDialog
Q_OBJECT
public:
- explicit GaduPublicDir(GaduAccount *, QWidget *parent = 0);
- GaduPublicDir(GaduAccount *, int searchFor, QWidget *parent = 0);
+ explicit GaduPublicDir(GaduAccount *, QWidget *parent = nullptr);
+ GaduPublicDir(GaduAccount *, int searchFor, QWidget *parent = nullptr);
~GaduPublicDir();
QPixmap iconForStatus(uint status);
diff --git a/protocols/skype/skypeeditaccount.h b/protocols/skype/skypeeditaccount.h
index 508fd52..907735e 100644
--- a/protocols/skype/skypeeditaccount.h
+++ b/protocols/skype/skypeeditaccount.h
@@ -53,7 +53,7 @@ Q_OBJECT
* @param account The account we are editing. 0 if new should be created.
* @param parent Inside what it will be showed.
*/
- skypeEditAccount(SkypeProtocol *protocol, Kopete::Account *account, QWidget *parent = 0L);
+ skypeEditAccount(SkypeProtocol *protocol, Kopete::Account *account, QWidget *parent = nullptrL);
/**
* Destructor.
*/
diff --git a/protocols/sms/smsaddcontactpage.h b/protocols/sms/smsaddcontactpage.h
index d3ef8aa..3055075 100644
--- a/protocols/sms/smsaddcontactpage.h
+++ b/protocols/sms/smsaddcontactpage.h
@@ -26,7 +26,7 @@ class SMSAddContactPage : public AddContactPage
{
Q_OBJECT
public:
- SMSAddContactPage(QWidget *parent = 0);
+ SMSAddContactPage(QWidget *parent = nullptr);
~SMSAddContactPage();
smsAddUI *smsdata;
virtual bool validateData();
diff --git a/protocols/sms/smseditaccountwidget.h b/protocols/sms/smseditaccountwidget.h
index aac75ab..45b7d6d 100644
--- a/protocols/sms/smseditaccountwidget.h
+++ b/protocols/sms/smseditaccountwidget.h
@@ -32,7 +32,7 @@ class SMSEditAccountWidget : public QWidget, public KopeteEditAccountWidget
{
Q_OBJECT
public:
- SMSEditAccountWidget(SMSProtocol *protocol, Kopete::Account *theAccount, QWidget *parent = 0);
+ SMSEditAccountWidget(SMSProtocol *protocol, Kopete::Account *theAccount, QWidget *parent = nullptr);
~SMSEditAccountWidget();
bool validateData();