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

GIT_SILENT: use nullptr

parent 1e036e74
......@@ -38,7 +38,7 @@ class MESSAGECOMPOSER_EXPORT RichTextComposerNg : public KPIMTextEdit::RichTextC
{
Q_OBJECT
public:
explicit RichTextComposerNg(QWidget *parent = Q_NULLPTR);
explicit RichTextComposerNg(QWidget *parent = nullptr);
~RichTextComposerNg();
PimCommon::AutoCorrection *autocorrection() const;
......
......@@ -34,7 +34,7 @@ class MESSAGECOMPOSER_EXPORT RichTextComposerSignatures : public QObject
{
Q_OBJECT
public:
explicit RichTextComposerSignatures(MessageComposer::RichTextComposerNg *composer, QObject *parent = Q_NULLPTR);
explicit RichTextComposerSignatures(MessageComposer::RichTextComposerNg *composer, QObject *parent = nullptr);
~RichTextComposerSignatures();
void cleanWhitespace(const KIdentityManagement::Signature &sig);
......
......@@ -50,7 +50,7 @@ class MESSAGECOMPOSER_EXPORT Composer : public JobBase
Q_OBJECT
public:
explicit Composer(QObject *parent = Q_NULLPTR);
explicit Composer(QObject *parent = nullptr);
virtual ~Composer();
QList<KMime::Message::Ptr> resultMessages() const;
......
......@@ -31,7 +31,7 @@ class MESSAGECOMPOSER_EXPORT ComposerLineEdit : public KPIM::AddresseeLineEdit
Q_OBJECT
public:
explicit ComposerLineEdit(bool useCompletion, QWidget *parent = Q_NULLPTR);
explicit ComposerLineEdit(bool useCompletion, QWidget *parent = nullptr);
~ComposerLineEdit();
Q_SIGNALS:
......
......@@ -86,7 +86,7 @@ class MESSAGECOMPOSER_EXPORT ComposerViewBase : public QObject
{
Q_OBJECT
public:
explicit ComposerViewBase(QObject *parent = Q_NULLPTR, QWidget *widget = Q_NULLPTR);
explicit ComposerViewBase(QObject *parent = nullptr, QWidget *widget = nullptr);
virtual ~ComposerViewBase();
enum Confirmation { LetUserConfirm, NoConfirmationNeeded };
......
......@@ -47,7 +47,7 @@ class MESSAGECOMPOSER_EXPORT SignatureController : public QObject
{
Q_OBJECT
public:
explicit SignatureController(QObject *parent = Q_NULLPTR);
explicit SignatureController(QObject *parent = nullptr);
~SignatureController();
void setEditor(MessageComposer::RichTextComposerNg *editor);
......
......@@ -34,7 +34,7 @@ class MESSAGECOMPOSER_EXPORT FollowupReminderCreateJob : public KJob
{
Q_OBJECT
public:
explicit FollowupReminderCreateJob(QObject *parent = Q_NULLPTR);
explicit FollowupReminderCreateJob(QObject *parent = nullptr);
~FollowupReminderCreateJob();
void setFollowUpReminderDate(const QDate &date);
......
......@@ -33,7 +33,7 @@ class MESSAGECOMPOSER_EXPORT FollowUpReminderSelectDateDialog : public QDialog
{
Q_OBJECT
public:
explicit FollowUpReminderSelectDateDialog(QWidget *parent = Q_NULLPTR, QAbstractItemModel *model = Q_NULLPTR);
explicit FollowUpReminderSelectDateDialog(QWidget *parent = nullptr, QAbstractItemModel *model = nullptr);
~FollowUpReminderSelectDateDialog();
QDate selectedDate() const;
......
......@@ -35,7 +35,7 @@ class MESSAGECOMPOSER_EXPORT ImageScalingWidget : public QWidget
{
Q_OBJECT
public:
explicit ImageScalingWidget(QWidget *parent = Q_NULLPTR);
explicit ImageScalingWidget(QWidget *parent = nullptr);
~ImageScalingWidget();
void loadConfig();
......
......@@ -51,7 +51,7 @@ public:
* @param defaultDomain The default domain that shall be used when expanding aliases.
* @param parent The parent object.
*/
AliasesExpandJob(const QString &recipients, const QString &defaultDomain, QObject *parent = Q_NULLPTR);
AliasesExpandJob(const QString &recipients, const QString &defaultDomain, QObject *parent = nullptr);
/**
* Destroys the aliases expand job.
......
......@@ -36,7 +36,7 @@ class MESSAGECOMPOSER_EXPORT AttachmentFromPublicKeyJob : public MessageCore::At
Q_OBJECT
public:
explicit AttachmentFromPublicKeyJob(const QString &fingerprint, QObject *parent = Q_NULLPTR);
explicit AttachmentFromPublicKeyJob(const QString &fingerprint, QObject *parent = nullptr);
virtual ~AttachmentFromPublicKeyJob();
QString fingerprint() const;
......
......@@ -37,7 +37,7 @@ class MESSAGECOMPOSER_EXPORT AttachmentJob : public ContentJobBase
Q_OBJECT
public:
explicit AttachmentJob(MessageCore::AttachmentPart::Ptr part, QObject *parent = Q_NULLPTR);
explicit AttachmentJob(MessageCore::AttachmentPart::Ptr part, QObject *parent = nullptr);
virtual ~AttachmentJob();
MessageCore::AttachmentPart::Ptr attachmentPart() const;
......
......@@ -28,7 +28,7 @@ class MESSAGECOMPOSER_EXPORT AttachmentVcardFromAddressBookJob : public MessageC
{
Q_OBJECT
public:
explicit AttachmentVcardFromAddressBookJob(const Akonadi::Item &item, QObject *parent = Q_NULLPTR);
explicit AttachmentVcardFromAddressBookJob(const Akonadi::Item &item, QObject *parent = nullptr);
~AttachmentVcardFromAddressBookJob();
protected Q_SLOTS:
......
......@@ -40,7 +40,7 @@ class MESSAGECOMPOSER_EXPORT ContentJobBase : public JobBase
Q_OBJECT
public:
explicit ContentJobBase(QObject *parent = Q_NULLPTR);
explicit ContentJobBase(QObject *parent = nullptr);
virtual ~ContentJobBase();
/**
......
......@@ -33,8 +33,8 @@ class ContentJobBasePrivate : public JobBasePrivate
public:
explicit ContentJobBasePrivate(ContentJobBase *qq)
: JobBasePrivate(qq)
, resultContent(Q_NULLPTR)
, extraContent(Q_NULLPTR)
, resultContent(nullptr)
, extraContent(nullptr)
{
}
......
......@@ -41,7 +41,7 @@ public:
* @param name The name of the distribution list to expand.
* @param parent The parent object.
*/
explicit DistributionListExpandJob(const QString &name, QObject *parent = Q_NULLPTR);
explicit DistributionListExpandJob(const QString &name, QObject *parent = nullptr);
/**
* Destroys the distribution list expand job.
......
......@@ -49,7 +49,7 @@ public:
*
* @param parent The parent object.
*/
explicit EmailAddressResolveJob(QObject *parent = Q_NULLPTR);
explicit EmailAddressResolveJob(QObject *parent = nullptr);
/**
* Destroys the email address resolve job.
......
......@@ -51,7 +51,7 @@ class MESSAGECOMPOSER_EXPORT EncryptJob : public ContentJobBase, public MessageC
Q_OBJECT
public:
explicit EncryptJob(QObject *parent = Q_NULLPTR);
explicit EncryptJob(QObject *parent = nullptr);
virtual ~EncryptJob();
void setContent(KMime::Content *content);
......
......@@ -50,7 +50,7 @@ public:
UserError = UserDefinedError + 42
};
explicit JobBase(QObject *parent = Q_NULLPTR);
explicit JobBase(QObject *parent = nullptr);
virtual ~JobBase();
// asserts if no Composer parent
......
......@@ -34,7 +34,7 @@ class MESSAGECOMPOSER_EXPORT MainTextJob : public ContentJobBase
Q_OBJECT
public:
explicit MainTextJob(TextPart *textPart = Q_NULLPTR, QObject *parent = Q_NULLPTR);
explicit MainTextJob(TextPart *textPart = nullptr, QObject *parent = nullptr);
virtual ~MainTextJob();
TextPart *textPart() 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