Commit 9f370810 authored by Laurent Montel's avatar Laurent Montel 😁 Committed by Pali Rohár

Use nullptr

parent f4363e3f
......@@ -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();
......
......@@ -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();
......
......@@ -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:
......
......@@ -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();
/**
......
......@@ -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();
......
......@@ -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();
/**
......
......@@ -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();
......
......@@ -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();
/*
......
......@@ -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 *);
......
......@@ -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;
......
......@@ -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();
......
......@@ -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();
......
......@@ -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);
......
......@@ -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.
*/
......
......@@ -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();
......
......@@ -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();
......
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