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 /korganizer | |
parent | d7265f0e400f0613340d43beabdf99d9ec0e904c (diff) | |
download | kdepimpi-a9a6a8f4eb0200fb5fbf67091e6348a3859976f9.zip kdepimpi-a9a6a8f4eb0200fb5fbf67091e6348a3859976f9.tar.gz kdepimpi-a9a6a8f4eb0200fb5fbf67091e6348a3859976f9.tar.bz2 |
print
-rw-r--r-- | korganizer/mainwindow.cpp | 10 | ||||
-rw-r--r-- | korganizer/mainwindow.h | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 481eab4..20f8b57 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1063,8 +1063,13 @@ void MainWindow::initActions() 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(); @@ -2419,9 +2424,12 @@ void MainWindow::getFile( bool success ) mSyncManager->slotSyncMenu( 999 ); } 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 @@ -84,8 +84,9 @@ class MainWindow : public QMainWindow void saveStopTimer(); void configureToolBar( int ); void printSel(); void printCal(); + void printListView(); void saveCalendar(); void loadCalendar(); void exportVCalendar(); void fillFilterMenu(); |