summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/opiemail.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/noncore/net/mail/opiemail.cpp b/noncore/net/mail/opiemail.cpp
index 2f87e44..b153292 100644
--- a/noncore/net/mail/opiemail.cpp
+++ b/noncore/net/mail/opiemail.cpp
@@ -25,3 +25,3 @@ using namespace Opie::Core;
25 25
26OpieMail::OpieMail( QWidget *parent, const char *name, WFlags flags ) 26OpieMail::OpieMail( QWidget *parent, const char *name, WFlags )
27 : MainWindow( parent, name, WStyle_ContextHelp ) 27 : MainWindow( parent, name, WStyle_ContextHelp )
@@ -66,2 +66,14 @@ void OpieMail::appMessage(const QCString &msg, const QByteArray &data)
66 66
67/**
68 * Konqueror calls us with the mailto:name@address
69 */
70void OpieMail::setDocument(const QString& mail)
71{
72 /*
73 * It looks like a mailto address, lets try it
74 */
75 if( mail.startsWith(QString::fromLatin1("mailto:")) )
76 slotwriteMail(QString::null, mail.mid(7));
77}
78
67void OpieMail::slotwriteMail(const QString&name,const QString&email) 79void OpieMail::slotwriteMail(const QString&name,const QString&email)