-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 @@ -6,5 +6,5 @@ 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. diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 481eab4..20f8b57 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1065,4 +1065,9 @@ void MainWindow::initActions() 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 ); @@ -2421,5 +2426,8 @@ void MainWindow::getFile( bool success ) setCaption( i18n("Pi-Sync successful!") ); } - +void MainWindow::printListView() +{ + qDebug("MainWindow::printListView() "); +} void MainWindow::printSel( ) { diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 6895e36..1105783 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -86,4 +86,5 @@ class MainWindow : public QMainWindow void printSel(); void printCal(); + void printListView(); void saveCalendar(); void loadCalendar(); |