summaryrefslogtreecommitdiffabout
path: root/korganizer/mainwindow.cpp
authorzautrix <zautrix>2004-10-12 20:54:38 (UTC)
committer zautrix <zautrix>2004-10-12 20:54:38 (UTC)
commit95ce1ce07164da5660a2bf1992fed4c263c6afca (patch) (side-by-side diff)
tree46309cb90affec4c56f7453e3e87af7368744e98 /korganizer/mainwindow.cpp
parent60a63813f7ec38fe275e7ef06033a6d3eb3ec31c (diff)
downloadkdepimpi-95ce1ce07164da5660a2bf1992fed4c263c6afca.zip
kdepimpi-95ce1ce07164da5660a2bf1992fed4c263c6afca.tar.gz
kdepimpi-95ce1ce07164da5660a2bf1992fed4c263c6afca.tar.bz2
howto files moved
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
@@ -1063,72 +1063,59 @@ void MainWindow::displayFile( QString fn, QString cap )
QFile file( fileName );
if (!file.open( IO_ReadOnly ) ) {
return ;
}
QTextStream ts( &file );
text = ts.read();
file.close();
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
i18n("Desktop Edition\n") +
#else
i18n("PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n") +
#endif
i18n("(c) 2004 Lutz Rogowski\nEmail:lutz@pi-sync.net\nKO/Pi is based on KOrganizer\n(c) 2002,2003 Cornelius Schumacher\nEmail: schumacher@kde.org\nKOrganizer/Pi is licensed\nunder the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.korganizer.org\nwww.pi-sync.net\n") );
}
void MainWindow::keyBindings()
{