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