summaryrefslogtreecommitdiffabout
path: root/korganizer/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/mainwindow.cpp19
1 files changed, 3 insertions, 16 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index a69a0bd..58d8d34 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -1083,32 +1083,19 @@ void MainWindow::usertrans()
}
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") );
+
+ KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" );
}
void MainWindow::faq()
{
displayFile( "kopiFAQ.txt",i18n("KO/Pi FAQ") );
}
void MainWindow::whatsNew()
{
- displayFile( "kopiWhatsNew.txt",i18n("KO/Pi Version Info") );
+ KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" );
}
void MainWindow::licence()
{