Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KMailTransport
Commits
4f13afdb
Commit
4f13afdb
authored
Jul 05, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Not necessary to create empty private class
parent
4eb42a2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
30 deletions
+1
-30
src/kmailtransportakonadi/outboxactions.cpp
src/kmailtransportakonadi/outboxactions.cpp
+1
-19
src/kmailtransportakonadi/outboxactions_p.h
src/kmailtransportakonadi/outboxactions_p.h
+0
-11
No files found.
src/kmailtransportakonadi/outboxactions.cpp
View file @
4f13afdb
...
...
@@ -29,18 +29,12 @@
using
namespace
Akonadi
;
using
namespace
MailTransport
;
class
MailTransport
::
SendQueuedAction
::
Private
{
};
SendQueuedAction
::
SendQueuedAction
()
:
d
(
new
Private
)
{
}
SendQueuedAction
::~
SendQueuedAction
()
{
delete
d
;
}
ItemFetchScope
SendQueuedAction
::
fetchScope
()
const
...
...
@@ -74,18 +68,12 @@ Job *SendQueuedAction::itemAction(const Item &item, FilterActionJob *parent) con
return
new
ItemModifyJob
(
cp
,
parent
);
}
class
MailTransport
::
ClearErrorAction
::
Private
{
};
ClearErrorAction
::
ClearErrorAction
()
:
d
(
new
Private
)
{
}
ClearErrorAction
::~
ClearErrorAction
()
{
delete
d
;
}
ItemFetchScope
ClearErrorAction
::
fetchScope
()
const
...
...
@@ -111,19 +99,13 @@ Job *ClearErrorAction::itemAction(const Item &item, FilterActionJob *parent) con
return
new
ItemModifyJob
(
cp
,
parent
);
}
class
MailTransport
::
DispatchManualTransportAction
::
Private
{
};
DispatchManualTransportAction
::
DispatchManualTransportAction
(
int
transportId
)
:
d
(
new
Private
)
,
mTransportId
(
transportId
)
:
mTransportId
(
transportId
)
{
}
DispatchManualTransportAction
::~
DispatchManualTransportAction
()
{
delete
d
;
}
ItemFetchScope
DispatchManualTransportAction
::
fetchScope
()
const
...
...
src/kmailtransportakonadi/outboxactions_p.h
View file @
4f13afdb
...
...
@@ -53,10 +53,6 @@ public:
bool
itemAccepted
(
const
Akonadi
::
Item
&
item
)
const
override
;
Akonadi
::
Job
*
itemAction
(
const
Akonadi
::
Item
&
item
,
Akonadi
::
FilterActionJob
*
parent
)
const
override
;
private:
class
Private
;
Private
*
const
d
;
};
/**
...
...
@@ -84,10 +80,6 @@ public:
bool
itemAccepted
(
const
Akonadi
::
Item
&
item
)
const
override
;
virtual
Akonadi
::
Job
*
itemAction
(
const
Akonadi
::
Item
&
item
,
Akonadi
::
FilterActionJob
*
parent
)
const
override
;
private:
class
Private
;
Private
*
const
d
;
};
/**
...
...
@@ -115,9 +107,6 @@ public:
virtual
Akonadi
::
Job
*
itemAction
(
const
Akonadi
::
Item
&
item
,
Akonadi
::
FilterActionJob
*
parent
)
const
override
;
private:
class
Private
;
Private
*
const
d
;
int
mTransportId
;
};
}
// namespace MailTransport
...
...
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