summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt2
-rw-r--r--korganizer/mainwindow.cpp10
-rw-r--r--korganizer/mainwindow.h1
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
@@ -5,7 +5,7 @@ Info about the changes in new versions of KDE-Pim/Pi
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 ************
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 481eab4..20f8b57 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -1064,6 +1064,11 @@ void MainWindow::initActions()
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
@@ -2420,7 +2425,10 @@ void MainWindow::getFile( bool success )
}
setCaption( i18n("Pi-Sync successful!") );
}
-
+void MainWindow::printListView()
+{
+ qDebug("MainWindow::printListView() ");
+}
void MainWindow::printSel( )
{
mView->viewManager()->agendaView()->agenda()->printSelection();
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h
index 6895e36..1105783 100644
--- a/korganizer/mainwindow.h
+++ b/korganizer/mainwindow.h
@@ -85,6 +85,7 @@ class MainWindow : public QMainWindow
void configureToolBar( int );
void printSel();
void printCal();
+ void printListView();
void saveCalendar();
void loadCalendar();
void exportVCalendar();