author | zautrix <zautrix> | 2004-08-09 18:02:44 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-09 18:02:44 (UTC) |
commit | 4f05a9fcbb9e54184aef93883886aaf865104463 (patch) (unidiff) | |
tree | f5e94f7694b74dca3b11e1e74a94058a4526dafe /korganizer | |
parent | e1909ade2188e53feee65089d5f2882563876c58 (diff) | |
download | kdepimpi-4f05a9fcbb9e54184aef93883886aaf865104463.zip kdepimpi-4f05a9fcbb9e54184aef93883886aaf865104463.tar.gz kdepimpi-4f05a9fcbb9e54184aef93883886aaf865104463.tar.bz2 |
more syncing
-rw-r--r-- | korganizer/mainwindow.cpp | 21 |
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 | |||
@@ -1071,5 +1071,24 @@ void MainWindow::usertrans() | |||
1071 | } | 1071 | } |
1072 | #if 0 | ||
1073 | #include <libkcal/vcalformat.h> | ||
1074 | #include <libkcal/event.h> | ||
1075 | #include <libkcal/todo.h> | ||
1076 | #include <libkcal/incidence.h> | ||
1077 | #endif | ||
1072 | void MainWindow::synchowto() | 1078 | void MainWindow::synchowto() |
1073 | { | 1079 | { |
1074 | 1080 | #if 0 | |
1081 | QPtrList<Incidence> er = mCalendar->rawIncidences(); | ||
1082 | Incidence* inR = er.first(); | ||
1083 | VCalFormat vf; | ||
1084 | QString strout; | ||
1085 | while ( inR ) { | ||
1086 | if ( inR->type() == "Todo" ) | ||
1087 | strout = vf.todoToString( (Todo *) inR ); | ||
1088 | if ( inR->type() == "Event" ) | ||
1089 | strout = vf.eventToString( (Event *) inR ); | ||
1090 | qDebug("incidence: \n%s\n ente\n\n",strout.latin1() ); | ||
1091 | inR = er.next(); | ||
1092 | } | ||
1093 | #endif | ||
1075 | displayFile( "howtoSYNC.txt",i18n("KO/Pi Synchronization HowTo") ); | 1094 | displayFile( "howtoSYNC.txt",i18n("KO/Pi Synchronization HowTo") ); |