-rw-r--r-- | korganizer/mainwindow.cpp | 10 | ||||
-rw-r--r-- | korganizer/mainwindow.h | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 357154e..7aa3b60 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1084,3 +1084,7 @@ void MainWindow::initActions() connect( action, SIGNAL( activated() ), - SLOT( keyBindings() ) ); + SLOT( keyBindings() ) ); + action = new QAction( "Storage Howto", i18n("Storage HowTo..."), 0,this ); + action->addTo( helpMenu ); + connect( action, SIGNAL( activated() ), + SLOT( storagehowto() ) ); action = new QAction( "Sync Howto", i18n("Sync HowTo..."), 0,this ); @@ -1395,2 +1399,6 @@ void MainWindow::usertrans() +void MainWindow::storagehowto() +{ + KApplication::showFile( "KDE-Pim/Pi Storage HowTo", "kdepim/storagehowto.txt" ); +} void MainWindow::kdesynchowto() diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 4d1753f..3151f50 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -69,2 +69,3 @@ class MainWindow : public QMainWindow void synchowto(); + void storagehowto(); void kdesynchowto(); |