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 @@ -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(); |