summaryrefslogtreecommitdiffabout
path: root/korganizer
Side-by-side diff
Diffstat (limited to 'korganizer') (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
@@ -1075,48 +1075,35 @@ 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"),