-rw-r--r-- | libkdepim/addresseeview.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/libkdepim/addresseeview.cpp b/libkdepim/addresseeview.cpp index deafd34..70fc57c 100644 --- a/libkdepim/addresseeview.cpp +++ b/libkdepim/addresseeview.cpp | |||
@@ -37,2 +37,9 @@ | |||
37 | 37 | ||
38 | |||
39 | #ifndef DESKTOP_VERSION | ||
40 | #include <qtopia/qcopenvelope_qws.h> | ||
41 | #endif | ||
42 | |||
43 | |||
44 | |||
38 | using namespace KPIM; | 45 | using namespace KPIM; |
@@ -55,3 +62,11 @@ AddresseeView::AddresseeView( QWidget *parent, const char *name ) | |||
55 | } | 62 | } |
63 | void AddresseeView::setSource(const QString& n) | ||
64 | { | ||
65 | //qDebug("********AddresseeView::setSource %s", n.mid(7).latin1()); | ||
66 | #ifndef DESKTOP_VERSION | ||
67 | QCopEnvelope e("QPE/Application/kmpi", "newMail(QString)"); | ||
68 | e << n.mid(7); | ||
69 | #endif | ||
56 | 70 | ||
71 | } | ||
57 | void AddresseeView::setAddressee( const KABC::Addressee& addr ) | 72 | void AddresseeView::setAddressee( const KABC::Addressee& addr ) |
@@ -87,4 +102,5 @@ void AddresseeView::setAddressee( const KABC::Addressee& addr ) | |||
87 | "<tr><td align=\"right\"><b>%1</b></td>" | 102 | "<tr><td align=\"right\"><b>%1</b></td>" |
88 | "<td align=\"left\"><a href=\"mailto:%2\">%3</a></td></tr>" ) | 103 | "<td align=\"left\"><a href=\"mailto:%2 <%3> \">%4</a></td></tr>" ) |
89 | .arg( type ) | 104 | .arg( type ) |
105 | .arg( name ) | ||
90 | .arg( *emailIt ) | 106 | .arg( *emailIt ) |