-rw-r--r-- | korganizer/mainwindow.cpp | 12 | ||||
-rw-r--r-- | korganizer/mainwindow.h | 1 |
2 files changed, 11 insertions, 2 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 481eab4..20f8b57 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1045,3 +1045,3 @@ void MainWindow::initActions() //importMenu->insertSeparator(); - icon = loadPixmap( pathString + "print" ); + icon = loadPixmap( pathString + "print" ); action = new QAction( i18n("Print calendar..."),icon,i18n("Print calendar..."), 0, this ); @@ -1066,2 +1066,7 @@ void MainWindow::initActions() + 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() ) ); @@ -2422,3 +2427,6 @@ void MainWindow::getFile( bool success ) } - +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 @@ -87,2 +87,3 @@ class MainWindow : public QMainWindow void printCal(); + void printListView(); void saveCalendar(); |