author | zautrix <zautrix> | 2005-07-06 19:14:52 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-06 19:14:52 (UTC) |
commit | c79a8a4950c098fa6f5a7ae8396feb4dd3a91577 (patch) (side-by-side diff) | |
tree | 7c6e03165f85a4bb42c8a20f6090fc533f3133f0 /korganizer/mainwindow.cpp | |
parent | 2038f7363c31e1a0ab139a1184cbed10086e1862 (diff) | |
download | kdepimpi-c79a8a4950c098fa6f5a7ae8396feb4dd3a91577.zip kdepimpi-c79a8a4950c098fa6f5a7ae8396feb4dd3a91577.tar.gz kdepimpi-c79a8a4950c098fa6f5a7ae8396feb4dd3a91577.tar.bz2 |
fixes
-rw-r--r-- | korganizer/mainwindow.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index cbf6096..e960424 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1016,13 +1016,16 @@ void MainWindow::initActions() actionMenu->insertSeparator(); icon = loadPixmap( pathString + "configure" ); action = new QAction( i18n("Configure"),icon, i18n("Configure KO/Pi..."), 0, this ); action->addTo( actionMenu ); connect( action, SIGNAL( activated() ), mView, SLOT( edit_options() ) ); - icon = loadPixmap( pathString + "configure" ); + action = new QAction( i18n("Configure"),icon, i18n("Configure Calendar Files..."), 0, this ); + action->addTo( actionMenu ); + connect( action, SIGNAL( activated() ), + this, SLOT( calHint() ) ); action = new QAction( i18n("Configure"),icon, i18n("Global Settings..."), 0, this ); action->addTo( actionMenu ); connect( action, SIGNAL( activated() ), mView, SLOT( edit_global_options() ) ); if ( KOPrefs::instance()->mShowFullMenu ) { actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu ); @@ -1357,13 +1360,18 @@ void MainWindow::initActions() connect( mView, SIGNAL( filtersUpdated() ), SLOT( updateFilterToolbar() ) ); } connect( configureToolBarMenu, SIGNAL( activated( int ) ),this, SLOT(configureToolBar( int ) ) ); configureAgenda( p->mHourSize ); connect( configureAgendaMenu, SIGNAL( activated( int ) ),this, SLOT(configureAgenda( int ) ) ); } - +void MainWindow::calHint() +{ + QString message = i18n("You can use and display <b>more than one</b> calendar file in KO/Pi. A calendar file is called a <b>resource</b>. To add a calendar or change calendar settings please use menu: <b>View -> Toggle Resource View</b>."); + + KMessageBox::information( this, message); +} void MainWindow::exportToPhone( int mode ) { //ex2phone->insertItem(i18n("Complete calendar..."), 1 ); //ex2phone->insertItem(i18n("Filtered calendar..."), 2 ); KOex2phonePrefs ex2phone; |