summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2004-08-09 18:02:44 (UTC)
committer zautrix <zautrix>2004-08-09 18:02:44 (UTC)
commit4f05a9fcbb9e54184aef93883886aaf865104463 (patch) (side-by-side diff)
treef5e94f7694b74dca3b11e1e74a94058a4526dafe /korganizer
parente1909ade2188e53feee65089d5f2882563876c58 (diff)
downloadkdepimpi-4f05a9fcbb9e54184aef93883886aaf865104463.zip
kdepimpi-4f05a9fcbb9e54184aef93883886aaf865104463.tar.gz
kdepimpi-4f05a9fcbb9e54184aef93883886aaf865104463.tar.bz2
more syncing
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/mainwindow.cpp21
1 files changed, 20 insertions, 1 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index cce182a..6c0aa9b 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -1069,9 +1069,28 @@ void MainWindow::usertrans()
displayFile( "usertranslationHOWTO.txt",i18n("KO/Pi User translation HowTo") );
}
+#if 0
+#include <libkcal/vcalformat.h>
+#include <libkcal/event.h>
+#include <libkcal/todo.h>
+#include <libkcal/incidence.h>
+#endif
void MainWindow::synchowto()
{
-
+#if 0
+ QPtrList<Incidence> er = mCalendar->rawIncidences();
+ Incidence* inR = er.first();
+ VCalFormat vf;
+ QString strout;
+ while ( inR ) {
+ if ( inR->type() == "Todo" )
+ strout = vf.todoToString( (Todo *) inR );
+ if ( inR->type() == "Event" )
+ strout = vf.eventToString( (Event *) inR );
+ qDebug("incidence: \n%s\n ente\n\n",strout.latin1() );
+ inR = er.next();
+ }
+#endif
displayFile( "howtoSYNC.txt",i18n("KO/Pi Synchronization HowTo") );
}
void MainWindow::faq()