summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-02-04 13:30:05 (UTC)
committer zautrix <zautrix>2005-02-04 13:30:05 (UTC)
commit76e6ad6cc6a3be8df896a3e7cf8375234b3212a9 (patch) (unidiff)
treee5dc828bed35195ae3c24bc487986efc7e0d6011
parent83256090c493dab56f1afba4829e864598bf70d2 (diff)
downloadkdepimpi-76e6ad6cc6a3be8df896a3e7cf8375234b3212a9.zip
kdepimpi-76e6ad6cc6a3be8df896a3e7cf8375234b3212a9.tar.gz
kdepimpi-76e6ad6cc6a3be8df896a3e7cf8375234b3212a9.tar.bz2
compile fix
Diffstat (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
@@ -190,25 +190,27 @@ void KOEventViewer::mailToAttendees( bool all )
190 QStringList emailList; 190 QStringList emailList;
191 QStringList uidList; 191 QStringList uidList;
192 Attendee* a; 192 Attendee* a;
193 for(a=attendees.first();a;a=attendees.next()) { 193 for(a=attendees.first();a;a=attendees.next()) {
194 if ( !all && !a->RSVP() ) continue; 194 if ( !all && !a->RSVP() ) continue;
195 if (!a->email().isEmpty()) { 195 if (!a->email().isEmpty()) {
196 nameList.append (a->name() ); 196 nameList.append (a->name() );
197 emailList.append (a->email() ); 197 emailList.append (a->email() );
198 uidList.append (a->uid() ); 198 uidList.append (a->uid() );
199 } 199 }
200 } 200 }
201 QString uid = "ComposeMailUIpick2"+mMailSubject; 201 QString uid = "ComposeMailUIpick2"+mMailSubject;
202#ifndef DESKTOP_VERSION
202 bool res = ExternalAppHandler::instance()->returnNameEmailUidListFromKAPI("QPE/Application/ompi", uid, nameList, emailList, uidList); 203 bool res = ExternalAppHandler::instance()->returnNameEmailUidListFromKAPI("QPE/Application/ompi", uid, nameList, emailList, uidList);
204#endif
203 205
204} 206}
205void KOEventViewer::addTag(const QString & tag,const QString & text) 207void KOEventViewer::addTag(const QString & tag,const QString & text)
206{ 208{
207 int number=text.contains("\n"); 209 int number=text.contains("\n");
208 QString str = "<" + tag + ">"; 210 QString str = "<" + tag + ">";
209 QString tmpText=text; 211 QString tmpText=text;
210 QString tmpStr=str; 212 QString tmpStr=str;
211 if(number !=-1) 213 if(number !=-1)
212 { 214 {
213 if (number > 0) { 215 if (number > 0) {
214 int pos=0; 216 int pos=0;