Commit 639481e9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: use nullptr

parent 6d6229e9
......@@ -49,7 +49,7 @@ public:
* Create a link dialog.
* @param parent Parent widget.
*/
explicit KLinkDialog(QWidget *parent = Q_NULLPTR);
explicit KLinkDialog(QWidget *parent = nullptr);
/**
* Destructor
......
......@@ -36,7 +36,7 @@ class KPIMTEXTEDIT_EXPORT RichTextComposer : public KPIMTextEdit::RichTextEditor
{
Q_OBJECT
public:
explicit RichTextComposer(QWidget *parent = Q_NULLPTR);
explicit RichTextComposer(QWidget *parent = nullptr);
~RichTextComposer();
enum Mode {
......
......@@ -33,7 +33,7 @@ class KPIMTEXTEDIT_EXPORT RichTextComposerActions : public QObject
{
Q_OBJECT
public:
explicit RichTextComposerActions(KPIMTextEdit::RichTextComposerControler *controler, QObject *parent = Q_NULLPTR);
explicit RichTextComposerActions(KPIMTextEdit::RichTextComposerControler *controler, QObject *parent = nullptr);
~RichTextComposerActions();
void createActions(KActionCollection *ac);
......
......@@ -33,7 +33,7 @@ class KPIMTEXTEDIT_EXPORT RichTextComposerControler : public QObject
{
Q_OBJECT
public:
explicit RichTextComposerControler(RichTextComposer *richtextComposer, QObject *parent = Q_NULLPTR);
explicit RichTextComposerControler(RichTextComposer *richtextComposer, QObject *parent = nullptr);
~RichTextComposerControler();
RichTextComposer *richTextComposer() const;
......
......@@ -58,7 +58,7 @@ class KPIMTEXTEDIT_EXPORT RichTextComposerImages : public QObject
{
Q_OBJECT
public:
explicit RichTextComposerImages(RichTextComposer *composer, QObject *parent = Q_NULLPTR);
explicit RichTextComposerImages(RichTextComposer *composer, QObject *parent = nullptr);
~RichTextComposerImages();
/**
......
......@@ -34,7 +34,7 @@ class KPIMTEXTEDIT_EXPORT RichTextComposerWidget : public QWidget
{
Q_OBJECT
public:
explicit RichTextComposerWidget(QWidget *parent = Q_NULLPTR);
explicit RichTextComposerWidget(QWidget *parent = nullptr);
~RichTextComposerWidget();
KPIMTextEdit::RichTextComposer *richTextComposer() const;
......
......@@ -31,7 +31,7 @@ class KPIMTEXTEDIT_EXPORT RichTextExternalComposer : public QObject
{
Q_OBJECT
public:
explicit RichTextExternalComposer(RichTextComposer *composer, QObject *parent = Q_NULLPTR);
explicit RichTextExternalComposer(RichTextComposer *composer, QObject *parent = nullptr);
~RichTextExternalComposer();
bool useExternalEditor() const;
......
......@@ -33,7 +33,7 @@ class KPIMTEXTEDIT_EXPORT TextEditFindBarBase : public QWidget
Q_OBJECT
public:
explicit TextEditFindBarBase(QWidget *parent = Q_NULLPTR);
explicit TextEditFindBarBase(QWidget *parent = nullptr);
~TextEditFindBarBase();
QString text() const;
......
......@@ -33,7 +33,7 @@ class TextFindWidget : public QWidget
{
Q_OBJECT
public:
explicit TextFindWidget(QWidget *parent = Q_NULLPTR);
explicit TextFindWidget(QWidget *parent = nullptr);
~TextFindWidget();
QTextDocument::FindFlags searchOptions() const;
......@@ -67,7 +67,7 @@ class TextReplaceWidget : public QWidget
{
Q_OBJECT
public:
explicit TextReplaceWidget(QWidget *parent = Q_NULLPTR);
explicit TextReplaceWidget(QWidget *parent = nullptr);
~TextReplaceWidget();
QLineEdit *replace() const;
......
......@@ -30,7 +30,7 @@ class KPIMTEXTEDIT_EXPORT TextGoToLineWidget : public QWidget
{
Q_OBJECT
public:
explicit TextGoToLineWidget(QWidget *parent = Q_NULLPTR);
explicit TextGoToLineWidget(QWidget *parent = nullptr);
~TextGoToLineWidget();
void goToLine();
......
......@@ -35,7 +35,7 @@ class TextMessageIndicator : public QWidget
{
Q_OBJECT
public:
explicit TextMessageIndicator(QWidget *parent = Q_NULLPTR);
explicit TextMessageIndicator(QWidget *parent = nullptr);
enum Icon {
None,
......
......@@ -33,7 +33,7 @@ class KPIMTEXTEDIT_EXPORT PlainTextEditFindBar : public TextEditFindBarBase
Q_OBJECT
public:
explicit PlainTextEditFindBar(QPlainTextEdit *view, QWidget *parent = Q_NULLPTR);
explicit PlainTextEditFindBar(QPlainTextEdit *view, QWidget *parent = nullptr);
~PlainTextEditFindBar();
protected:
......
......@@ -39,7 +39,7 @@ class KPIMTEXTEDIT_EXPORT PlainTextEditor : public QPlainTextEdit
Q_PROPERTY(bool textToSpeechSupport READ textToSpeechSupport WRITE setTextToSpeechSupport)
Q_PROPERTY(bool webShortcutSupport READ webShortcutSupport WRITE setWebShortcutSupport)
public:
explicit PlainTextEditor(QWidget *parent = Q_NULLPTR);
explicit PlainTextEditor(QWidget *parent = nullptr);
~PlainTextEditor();
enum SupportFeature {
......
......@@ -32,8 +32,8 @@ class KPIMTEXTEDIT_EXPORT PlainTextEditorWidget : public QWidget
Q_OBJECT
Q_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly)
public:
explicit PlainTextEditorWidget(QWidget *parent = Q_NULLPTR);
explicit PlainTextEditorWidget(PlainTextEditor *customEditor, QWidget *parent = Q_NULLPTR);
explicit PlainTextEditorWidget(QWidget *parent = nullptr);
explicit PlainTextEditorWidget(PlainTextEditor *customEditor, QWidget *parent = nullptr);
~PlainTextEditorWidget();
PlainTextEditor *editor() const;
......@@ -53,7 +53,7 @@ private Q_SLOTS:
void slotHideFindBar();
private:
void init(PlainTextEditor *customEditor = Q_NULLPTR);
void init(PlainTextEditor *customEditor = nullptr);
PlainTextEditorWidgetPrivate *const d;
};
}
......
......@@ -32,7 +32,7 @@ class KPIMTEXTEDIT_EXPORT RichTextEditFindBar : public TextEditFindBarBase
{
Q_OBJECT
public:
explicit RichTextEditFindBar(QTextEdit *view, QWidget *parent = Q_NULLPTR);
explicit RichTextEditFindBar(QTextEdit *view, QWidget *parent = nullptr);
~RichTextEditFindBar();
protected:
......
......@@ -42,7 +42,7 @@ class KPIMTEXTEDIT_EXPORT RichTextEditor : public QTextEdit
Q_PROPERTY(bool tabSupport READ allowTabSupport WRITE setAllowTabSupport)
Q_PROPERTY(bool webShortcutSupport READ webShortcutSupport WRITE setWebShortcutSupport)
public:
explicit RichTextEditor(QWidget *parent = Q_NULLPTR);
explicit RichTextEditor(QWidget *parent = nullptr);
~RichTextEditor();
enum SupportFeature {
None = 0,
......
......@@ -33,8 +33,8 @@ class KPIMTEXTEDIT_EXPORT RichTextEditorWidget : public QWidget
Q_OBJECT
Q_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly)
public:
explicit RichTextEditorWidget(QWidget *parent = Q_NULLPTR);
explicit RichTextEditorWidget(RichTextEditor *customEditor, QWidget *parent = Q_NULLPTR);
explicit RichTextEditorWidget(QWidget *parent = nullptr);
explicit RichTextEditorWidget(RichTextEditor *customEditor, QWidget *parent = nullptr);
~RichTextEditorWidget();
void clear();
......@@ -63,7 +63,7 @@ public Q_SLOTS:
private:
void slotHideFindBar();
void init(RichTextEditor *customEditor = Q_NULLPTR);
void init(RichTextEditor *customEditor = nullptr);
RichTextEditorWidgetPrivate *const d;
};
}
......
......@@ -30,7 +30,7 @@ class KPIMTEXTEDIT_EXPORT AbstractTextToSpeechConfigInterface : public QObject
{
Q_OBJECT
public:
explicit AbstractTextToSpeechConfigInterface(QObject *parent = Q_NULLPTR);
explicit AbstractTextToSpeechConfigInterface(QObject *parent = nullptr);
~AbstractTextToSpeechConfigInterface();
virtual QVector<QLocale> availableLocales() const;
virtual QLocale locale() const;
......
......@@ -29,7 +29,7 @@ class KPIMTEXTEDIT_EXPORT AbstractTextToSpeechInterface : public QObject
{
Q_OBJECT
public:
explicit AbstractTextToSpeechInterface(QObject *parent = Q_NULLPTR);
explicit AbstractTextToSpeechInterface(QObject *parent = nullptr);
~AbstractTextToSpeechInterface();
virtual bool isReady() const;
......
......@@ -72,7 +72,7 @@ Q_SIGNALS:
private:
void slotStateChanged();
explicit TextToSpeech(QObject *parent = Q_NULLPTR);
explicit TextToSpeech(QObject *parent = nullptr);
friend class TextToSpeechPrivate;
#if KPIMTEXTEDIT_HAVE_TEXTTOSPEECH
......
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