summaryrefslogtreecommitdiffstats
path: root/examples/qtmail/emailcomposer.cpp
diff options
context:
space:
mode:
authorPekka Vuorela <pvuorela@iki.fi>2025-12-05 11:18:23 +0200
committerPekka Vuorela <pvuorela@iki.fi>2025-12-05 12:37:19 +0200
commitd3cc588c0e8290ad22e7cc07e50702524c95c967 (patch)
tree8c92030658a07c6b2a1bdfc3b8cbed51259fb2cd /examples/qtmail/emailcomposer.cpp
parent8313f48cfdaa543ec581229404130b3c2be5a616 (diff)
Adjust again some smaller code details
- Wrap some overly long lines - Honor coding conventions better here and there - Use nullptr more instead of '0' - Switch remaining cases of Q_DECL_OVERRIDE and Q_NULLPTR to standard keywords. - Removed some unnecessary #includes - etc. Change-Id: Ia9a01807da88298a6c1c1bbb22c854743ed19429 Reviewed-by: Pekka Vuorela <pvuorela@iki.fi> Reviewed-by: <matti.viljanen@kapsi.fi> Reviewed-by: Damien Caliste <dcaliste@free.fr>
Diffstat (limited to 'examples/qtmail/emailcomposer.cpp')
-rw-r--r--examples/qtmail/emailcomposer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/qtmail/emailcomposer.cpp b/examples/qtmail/emailcomposer.cpp
index be8b471c..e6fc38d1 100644
--- a/examples/qtmail/emailcomposer.cpp
+++ b/examples/qtmail/emailcomposer.cpp
@@ -101,7 +101,7 @@ class RecipientWidget : public QWidget
Q_OBJECT
public:
- RecipientWidget(QWidget* parent = Q_NULLPTR);
+ RecipientWidget(QWidget* parent = nullptr);
bool isRemoveEnabled() const;
void setRemoveEnabled(bool val);
@@ -229,7 +229,7 @@ class RecipientListWidget : public QWidget
Q_OBJECT
public:
- RecipientListWidget(QWidget* parent = Q_NULLPTR);
+ RecipientListWidget(QWidget* parent = nullptr);
QStringList recipients(RecipientType t) const;
QStringList recipients() const;
void setRecipients(RecipientType, const QStringList& list);
@@ -487,7 +487,7 @@ class BodyTextEdit : public QTextEdit
Q_OBJECT
public:
- BodyTextEdit(EmailComposerInterface* composer, QWidget* parent = Q_NULLPTR);
+ BodyTextEdit(EmailComposerInterface* composer, QWidget* parent = nullptr);
bool isComposing();
bool isEmpty();