-rw-r--r-- | korganizer/mainwindow.cpp | 19 |
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 @@ -1071,56 +1071,43 @@ void MainWindow::displayFile( QString fn, QString cap ) displayText( text, cap); } void MainWindow::features() { displayFile( "featuresKOPI.txt",i18n("KO/Pi Features and hints") ); } void MainWindow::usertrans() { displayFile( "usertranslationHOWTO.txt",i18n("KO/Pi User translation HowTo") ); } 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() { KApplication::showLicence(); } void MainWindow::about() { QString version; #include <../version> QMessageBox::about( this, i18n("About KOrganizer/Pi"), i18n("KOrganizer/Platform-independent\n") + "(KO/Pi) " + version + " - " + #ifdef DESKTOP_VERSION |