-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 ) | |||
1071 | displayText( text, cap); | 1071 | displayText( text, cap); |
1072 | } | 1072 | } |
1073 | void MainWindow::features() | 1073 | void MainWindow::features() |
1074 | { | 1074 | { |
1075 | 1075 | ||
1076 | displayFile( "featuresKOPI.txt",i18n("KO/Pi Features and hints") ); | 1076 | displayFile( "featuresKOPI.txt",i18n("KO/Pi Features and hints") ); |
1077 | } | 1077 | } |
1078 | 1078 | ||
1079 | void MainWindow::usertrans() | 1079 | void MainWindow::usertrans() |
1080 | { | 1080 | { |
1081 | 1081 | ||
1082 | displayFile( "usertranslationHOWTO.txt",i18n("KO/Pi User translation HowTo") ); | 1082 | displayFile( "usertranslationHOWTO.txt",i18n("KO/Pi User translation HowTo") ); |
1083 | } | 1083 | } |
1084 | 1084 | ||
1085 | void MainWindow::synchowto() | 1085 | void MainWindow::synchowto() |
1086 | { | 1086 | { |
1087 | #if 0 | 1087 | |
1088 | QPtrList<Incidence> er = mCalendar->rawIncidences(); | 1088 | KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" ); |
1089 | Incidence* inR = er.first(); | ||
1090 | VCalFormat vf; | ||
1091 | QString strout; | ||
1092 | while ( inR ) { | ||
1093 | if ( inR->type() == "Todo" ) | ||
1094 | strout = vf.todoToString( (Todo *) inR ); | ||
1095 | if ( inR->type() == "Event" ) | ||
1096 | strout = vf.eventToString( (Event *) inR ); | ||
1097 | qDebug("incidence: \n%s\n ente\n\n",strout.latin1() ); | ||
1098 | inR = er.next(); | ||
1099 | } | ||
1100 | #endif | ||
1101 | displayFile( "howtoSYNC.txt",i18n("KO/Pi Synchronization HowTo") ); | ||
1102 | } | 1089 | } |
1103 | void MainWindow::faq() | 1090 | void MainWindow::faq() |
1104 | { | 1091 | { |
1105 | displayFile( "kopiFAQ.txt",i18n("KO/Pi FAQ") ); | 1092 | displayFile( "kopiFAQ.txt",i18n("KO/Pi FAQ") ); |
1106 | 1093 | ||
1107 | } | 1094 | } |
1108 | void MainWindow::whatsNew() | 1095 | void MainWindow::whatsNew() |
1109 | { | 1096 | { |
1110 | displayFile( "kopiWhatsNew.txt",i18n("KO/Pi Version Info") ); | 1097 | KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); |
1111 | 1098 | ||
1112 | } | 1099 | } |
1113 | void MainWindow::licence() | 1100 | void MainWindow::licence() |
1114 | { | 1101 | { |
1115 | KApplication::showLicence(); | 1102 | KApplication::showLicence(); |
1116 | 1103 | ||
1117 | } | 1104 | } |
1118 | void MainWindow::about() | 1105 | void MainWindow::about() |
1119 | { | 1106 | { |
1120 | QString version; | 1107 | QString version; |
1121 | #include <../version> | 1108 | #include <../version> |
1122 | QMessageBox::about( this, i18n("About KOrganizer/Pi"), | 1109 | QMessageBox::about( this, i18n("About KOrganizer/Pi"), |
1123 | i18n("KOrganizer/Platform-independent\n") + | 1110 | i18n("KOrganizer/Platform-independent\n") + |
1124 | "(KO/Pi) " + version + " - " + | 1111 | "(KO/Pi) " + version + " - " + |
1125 | 1112 | ||
1126 | #ifdef DESKTOP_VERSION | 1113 | #ifdef DESKTOP_VERSION |