summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-02-04 13:30:05 (UTC)
committer zautrix <zautrix>2005-02-04 13:30:05 (UTC)
commit76e6ad6cc6a3be8df896a3e7cf8375234b3212a9 (patch) (side-by-side diff)
treee5dc828bed35195ae3c24bc487986efc7e0d6011 /korganizer
parent83256090c493dab56f1afba4829e864598bf70d2 (diff)
downloadkdepimpi-76e6ad6cc6a3be8df896a3e7cf8375234b3212a9.zip
kdepimpi-76e6ad6cc6a3be8df896a3e7cf8375234b3212a9.tar.gz
kdepimpi-76e6ad6cc6a3be8df896a3e7cf8375234b3212a9.tar.bz2
compile fix
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeventviewer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp
index bf41edb..2faf18f 100644
--- a/korganizer/koeventviewer.cpp
+++ b/korganizer/koeventviewer.cpp
@@ -186,33 +186,35 @@ void KOEventViewer::mailToAttendees( bool all )
{
QPtrList<Attendee> attendees = mCurrentIncidence->attendees();
if (attendees.count() == 0) return;
QStringList nameList;
QStringList emailList;
QStringList uidList;
Attendee* a;
for(a=attendees.first();a;a=attendees.next()) {
if ( !all && !a->RSVP() ) continue;
if (!a->email().isEmpty()) {
nameList.append (a->name() );
emailList.append (a->email() );
uidList.append (a->uid() );
}
}
QString uid = "ComposeMailUIpick2"+mMailSubject;
+#ifndef DESKTOP_VERSION
bool res = ExternalAppHandler::instance()->returnNameEmailUidListFromKAPI("QPE/Application/ompi", uid, nameList, emailList, uidList);
+#endif
}
void KOEventViewer::addTag(const QString & tag,const QString & text)
{
int number=text.contains("\n");
QString str = "<" + tag + ">";
QString tmpText=text;
QString tmpStr=str;
if(number !=-1)
{
if (number > 0) {
int pos=0;
QString tmp;
for(int i=0;i<=number;i++) {
pos=tmpText.find("\n");
tmp=tmpText.left(pos);