summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abeditor.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/addressbook/abeditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abeditor.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/core/pim/addressbook/abeditor.cpp b/core/pim/addressbook/abeditor.cpp
index 6354db9..91e8722 100644
--- a/core/pim/addressbook/abeditor.cpp
+++ b/core/pim/addressbook/abeditor.cpp
@@ -53,3 +53,3 @@ void parseEmailTo( const QString &strDefaultEmail,
-AbEditor::AbEditor( const Contact &entry, const QValueList<int> *newOrdered,
+AbEditor::AbEditor( const OContact &entry, const QValueList<int> *newOrdered,
QStringList *slNewOrdered,
@@ -184,3 +184,3 @@ void AbEditor::loadFields()
-void AbEditor::setEntry( const Contact &entry )
+void AbEditor::setEntry( const OContact &entry )
{
@@ -412,8 +412,8 @@ void AbEditor::saveEntry()
case Qtopia::Emails:
- parseEmailFrom( it.current()->text(), strDefaultEmail,
- strOtherEmail );
- ent.setDefaultEmail( strDefaultEmail );
- ent.setEmails( strOtherEmail );
- break;
-
+ parseEmailFrom( it.current()->text(), strDefaultEmail,
+ strOtherEmail );
+ ent.setDefaultEmail( strDefaultEmail );
+ ent.setEmails( strOtherEmail );
+ break;
+
// home
@@ -551,2 +551,3 @@ void parseEmailFrom( const QString &txt, QString &strDefaultEmail,
return;
+
// find the first