author | zautrix <zautrix> | 2005-06-09 08:40:10 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-09 08:40:10 (UTC) |
commit | a9a6a8f4eb0200fb5fbf67091e6348a3859976f9 (patch) (side-by-side diff) | |
tree | e7b3fd38bb51895d188bb83fd140f33190322422 | |
parent | d7265f0e400f0613340d43beabdf99d9ec0e904c (diff) | |
download | kdepimpi-a9a6a8f4eb0200fb5fbf67091e6348a3859976f9.zip kdepimpi-a9a6a8f4eb0200fb5fbf67091e6348a3859976f9.tar.gz kdepimpi-a9a6a8f4eb0200fb5fbf67091e6348a3859976f9.tar.bz2 |
print
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 2 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 10 | ||||
-rw-r--r-- | korganizer/mainwindow.h | 1 |
3 files changed, 11 insertions, 2 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index af994ae..ec6a4ec 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt @@ -2,13 +2,13 @@ Info about the changes in new versions of KDE-Pim/Pi ********** VERSION 2.1.6 ************ KO/Pi: Added to the list view (the list view is used in search dialog as well) the possibility to print it. Added to the list view the possibility to hide entries, if you do not want to print all entries of the list view. -Added to the list view the possibility to add all subtodos of selected todos to an export. +Added to the list view the possibility to add all subtodos of selected todos to an export/beam. Added to the search dialog the possibility to make an additive search such that you can get a better list for export/printout. ********** VERSION 2.1.5 ************ This is the new stable version. Bugfix: diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 481eab4..20f8b57 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1061,12 +1061,17 @@ void MainWindow::initActions() action = new QAction( i18n("Print selected event / todo..."),icon,i18n("Print selected event / todo..."), 0, this ); action->addTo( beamMenu_X ); connect( action, SIGNAL( activated() ), mView, SLOT( slotprintSelInc() ) ); + icon = loadPixmap( pathString + "print" ); + action = new QAction( i18n("Print list view..."),icon,i18n("Print list view..."), 0, this ); + action->addTo( beamMenu_X ); + connect( action, SIGNAL( activated() ), + this, SLOT( printListView() ) ); importMenu->insertItem( i18n("Print"), beamMenu_X ); #endif importMenu->insertSeparator(); action = new QAction( "manage cat", i18n("Manage new categories..."), 0, this ); @@ -2417,13 +2422,16 @@ void MainWindow::getFile( bool success ) mView->openCalendar( sentSyncFile() ); if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { mSyncManager->slotSyncMenu( 999 ); } setCaption( i18n("Pi-Sync successful!") ); } - +void MainWindow::printListView() +{ + qDebug("MainWindow::printListView() "); +} void MainWindow::printSel( ) { mView->viewManager()->agendaView()->agenda()->printSelection(); } void MainWindow::printCal() diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 6895e36..1105783 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -82,12 +82,13 @@ class MainWindow : public QMainWindow void save(); void saveStopTimer(); void configureToolBar( int ); void printSel(); void printCal(); + void printListView(); void saveCalendar(); void loadCalendar(); void exportVCalendar(); void fillFilterMenu(); void fillFilterMenuTB(); void selectFilter( int ); |