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
A
Akonadi Contacts
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
PIM
Akonadi Contacts
Commits
0c7c567c
Commit
0c7c567c
authored
Aug 23, 2012
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug 97239 - better support for including own vCard into mails
(need kdepim) FIXED-IN: 4.10 BUG: 97239
parent
fde66c0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
akonadi/contact/contacteditor.cpp
akonadi/contact/contacteditor.cpp
+7
-0
akonadi/contact/contacteditor.h
akonadi/contact/contacteditor.h
+6
-0
No files found.
akonadi/contact/contacteditor.cpp
View file @
0c7c567c
...
...
@@ -232,6 +232,13 @@ void ContactEditor::loadContact( const Akonadi::Item &item )
d
->
mMonitor
->
setItemMonitored
(
item
);
}
KABC
::
Addressee
ContactEditor
::
contact
()
{
KABC
::
Addressee
addr
;
d
->
storeContact
(
addr
,
d
->
mContactMetaData
);
return
addr
;
}
bool
ContactEditor
::
saveContact
()
{
if
(
d
->
mMode
==
EditMode
)
{
...
...
akonadi/contact/contacteditor.h
View file @
0c7c567c
...
...
@@ -129,6 +129,12 @@ class AKONADI_CONTACT_EXPORT ContactEditor : public QWidget
*/
void
setDefaultAddressBook
(
const
Akonadi
::
Collection
&
addressbook
);
/**
* @since 4.10
* @brief ContactEditor::contact
* @return
*/
KABC
::
Addressee
contact
();
public
Q_SLOTS
:
/**
* Loads the @p contact into the editor.
...
...
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