From a9a6a8f4eb0200fb5fbf67091e6348a3859976f9 Mon Sep 17 00:00:00 2001 From: zautrix Date: Thu, 09 Jun 2005 08:40:10 +0000 Subject: print --- 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 @@ -1043,7 +1043,7 @@ void MainWindow::initActions() importMenu->insertItem( i18n("Beam"), beamMenu_X ); #else //importMenu->insertSeparator(); - icon = loadPixmap( pathString + "print" ); + icon = loadPixmap( pathString + "print" ); action = new QAction( i18n("Print calendar..."),icon,i18n("Print calendar..."), 0, this ); action->addTo( beamMenu_X ); connect( action, SIGNAL( activated() ), @@ -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(); -- cgit v0.9.0.2