Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE Pim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Unmaintained
KDE Pim
Commits
baf4c503
Commit
baf4c503
authored
Nov 23, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initialize variable in constructor
parent
1f1f2580
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
9 deletions
+23
-9
messagecomposer/part/globalpart.cpp
messagecomposer/part/globalpart.cpp
+9
-5
messagecomposer/part/infopart.cpp
messagecomposer/part/infopart.cpp
+7
-2
messagecomposer/part/textpart.cpp
messagecomposer/part/textpart.cpp
+7
-2
No files found.
messagecomposer/part/globalpart.cpp
View file @
baf4c503
...
...
@@ -24,6 +24,15 @@ using namespace MessageComposer;
class
GlobalPart
::
Private
{
public:
Private
()
:
guiEnabled
(
true
),
parentWidgetForGui
(
0
),
fallbackCharsetEnabled
(
false
),
allow8Bit
(
false
),
MDNRequested
(
false
)
{
}
bool
guiEnabled
;
QWidget
*
parentWidgetForGui
;
bool
fallbackCharsetEnabled
;
...
...
@@ -36,11 +45,6 @@ GlobalPart::GlobalPart( QObject *parent )
:
MessagePart
(
parent
)
,
d
(
new
Private
)
{
d
->
guiEnabled
=
true
;
d
->
parentWidgetForGui
=
0
;
d
->
fallbackCharsetEnabled
=
false
;
d
->
allow8Bit
=
false
;
d
->
MDNRequested
=
false
;
}
GlobalPart
::~
GlobalPart
()
...
...
messagecomposer/part/infopart.cpp
View file @
baf4c503
...
...
@@ -24,6 +24,13 @@ using namespace MessageComposer;
class
InfoPart
::
Private
{
public:
Private
()
:
transportId
(
0
),
urgent
(
false
)
{
}
QString
from
;
QStringList
to
;
QStringList
cc
;
...
...
@@ -43,8 +50,6 @@ InfoPart::InfoPart( QObject *parent )
:
MessagePart
(
parent
)
,
d
(
new
Private
)
{
d
->
transportId
=
0
;
d
->
urgent
=
false
;
}
InfoPart
::~
InfoPart
()
...
...
messagecomposer/part/textpart.cpp
View file @
baf4c503
...
...
@@ -25,6 +25,13 @@ using namespace MessageComposer;
class
TextPart
::
Private
{
public:
Private
()
:
wordWrappingEnabled
(
true
),
warnBadCharset
(
true
)
{
}
bool
wordWrappingEnabled
;
bool
warnBadCharset
;
QString
cleanPlainText
;
...
...
@@ -37,8 +44,6 @@ TextPart::TextPart( QObject *parent )
:
MessagePart
(
parent
)
,
d
(
new
Private
)
{
d
->
wordWrappingEnabled
=
true
;
d
->
warnBadCharset
=
true
;
}
TextPart
::~
TextPart
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment