author | zautrix <zautrix> | 2005-06-09 08:40:10 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-09 08:40:10 (UTC) |
commit | a9a6a8f4eb0200fb5fbf67091e6348a3859976f9 (patch) (unidiff) | |
tree | e7b3fd38bb51895d188bb83fd140f33190322422 | |
parent | d7265f0e400f0613340d43beabdf99d9ec0e904c (diff) | |
download | kdepimpi-a9a6a8f4eb0200fb5fbf67091e6348a3859976f9.zip kdepimpi-a9a6a8f4eb0200fb5fbf67091e6348a3859976f9.tar.gz kdepimpi-a9a6a8f4eb0200fb5fbf67091e6348a3859976f9.tar.bz2 |
print
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 2 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 12 | ||||
-rw-r--r-- | korganizer/mainwindow.h | 1 |
3 files changed, 12 insertions, 3 deletions
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 | |||
@@ -2,13 +2,13 @@ Info about the changes in new versions of KDE-Pim/Pi | |||
2 | 2 | ||
3 | ********** VERSION 2.1.6 ************ | 3 | ********** VERSION 2.1.6 ************ |
4 | 4 | ||
5 | KO/Pi: | 5 | KO/Pi: |
6 | Added to the list view (the list view is used in search dialog as well) the possibility to print it. | 6 | Added to the list view (the list view is used in search dialog as well) the possibility to print it. |
7 | Added to the list view the possibility to hide entries, if you do not want to print all entries of the list view. | 7 | Added to the list view the possibility to hide entries, if you do not want to print all entries of the list view. |
8 | Added to the list view the possibility to add all subtodos of selected todos to an export. | 8 | Added to the list view the possibility to add all subtodos of selected todos to an export/beam. |
9 | Added to the search dialog the possibility to make an additive search such that you can get a better list for export/printout. | 9 | Added to the search dialog the possibility to make an additive search such that you can get a better list for export/printout. |
10 | 10 | ||
11 | ********** VERSION 2.1.5 ************ | 11 | ********** VERSION 2.1.5 ************ |
12 | 12 | ||
13 | This is the new stable version. | 13 | This is the new stable version. |
14 | Bugfix: | 14 | Bugfix: |
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 481eab4..20f8b57 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -1040,13 +1040,13 @@ void MainWindow::initActions() | |||
1040 | this ); | 1040 | this ); |
1041 | action->addTo( beamMenu_X ); | 1041 | action->addTo( beamMenu_X ); |
1042 | connect( action, SIGNAL( activated() ), mView, SLOT( beamFilteredCalendar()) ); | 1042 | connect( action, SIGNAL( activated() ), mView, SLOT( beamFilteredCalendar()) ); |
1043 | importMenu->insertItem( i18n("Beam"), beamMenu_X ); | 1043 | importMenu->insertItem( i18n("Beam"), beamMenu_X ); |
1044 | #else | 1044 | #else |
1045 | //importMenu->insertSeparator(); | 1045 | //importMenu->insertSeparator(); |
1046 | icon = loadPixmap( pathString + "print" ); | 1046 | icon = loadPixmap( pathString + "print" ); |
1047 | action = new QAction( i18n("Print calendar..."),icon,i18n("Print calendar..."), 0, this ); | 1047 | action = new QAction( i18n("Print calendar..."),icon,i18n("Print calendar..."), 0, this ); |
1048 | action->addTo( beamMenu_X ); | 1048 | action->addTo( beamMenu_X ); |
1049 | connect( action, SIGNAL( activated() ), | 1049 | connect( action, SIGNAL( activated() ), |
1050 | this, SLOT( printCal() ) ); | 1050 | this, SLOT( printCal() ) ); |
1051 | 1051 | ||
1052 | icon = loadPixmap( pathString + "print" ); | 1052 | icon = loadPixmap( pathString + "print" ); |
@@ -1061,12 +1061,17 @@ void MainWindow::initActions() | |||
1061 | 1061 | ||
1062 | action = new QAction( i18n("Print selected event / todo..."),icon,i18n("Print selected event / todo..."), 0, this ); | 1062 | action = new QAction( i18n("Print selected event / todo..."),icon,i18n("Print selected event / todo..."), 0, this ); |
1063 | action->addTo( beamMenu_X ); | 1063 | action->addTo( beamMenu_X ); |
1064 | connect( action, SIGNAL( activated() ), | 1064 | connect( action, SIGNAL( activated() ), |
1065 | mView, SLOT( slotprintSelInc() ) ); | 1065 | mView, SLOT( slotprintSelInc() ) ); |
1066 | 1066 | ||
1067 | icon = loadPixmap( pathString + "print" ); | ||
1068 | action = new QAction( i18n("Print list view..."),icon,i18n("Print list view..."), 0, this ); | ||
1069 | action->addTo( beamMenu_X ); | ||
1070 | connect( action, SIGNAL( activated() ), | ||
1071 | this, SLOT( printListView() ) ); | ||
1067 | 1072 | ||
1068 | importMenu->insertItem( i18n("Print"), beamMenu_X ); | 1073 | importMenu->insertItem( i18n("Print"), beamMenu_X ); |
1069 | #endif | 1074 | #endif |
1070 | importMenu->insertSeparator(); | 1075 | importMenu->insertSeparator(); |
1071 | action = new QAction( "manage cat", i18n("Manage new categories..."), 0, | 1076 | action = new QAction( "manage cat", i18n("Manage new categories..."), 0, |
1072 | this ); | 1077 | this ); |
@@ -2417,13 +2422,16 @@ void MainWindow::getFile( bool success ) | |||
2417 | mView->openCalendar( sentSyncFile() ); | 2422 | mView->openCalendar( sentSyncFile() ); |
2418 | if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { | 2423 | if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { |
2419 | mSyncManager->slotSyncMenu( 999 ); | 2424 | mSyncManager->slotSyncMenu( 999 ); |
2420 | } | 2425 | } |
2421 | setCaption( i18n("Pi-Sync successful!") ); | 2426 | setCaption( i18n("Pi-Sync successful!") ); |
2422 | } | 2427 | } |
2423 | 2428 | void MainWindow::printListView() | |
2429 | { | ||
2430 | qDebug("MainWindow::printListView() "); | ||
2431 | } | ||
2424 | void MainWindow::printSel( ) | 2432 | void MainWindow::printSel( ) |
2425 | { | 2433 | { |
2426 | mView->viewManager()->agendaView()->agenda()->printSelection(); | 2434 | mView->viewManager()->agendaView()->agenda()->printSelection(); |
2427 | } | 2435 | } |
2428 | 2436 | ||
2429 | void MainWindow::printCal() | 2437 | void MainWindow::printCal() |
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 6895e36..1105783 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h | |||
@@ -82,12 +82,13 @@ class MainWindow : public QMainWindow | |||
82 | 82 | ||
83 | void save(); | 83 | void save(); |
84 | void saveStopTimer(); | 84 | void saveStopTimer(); |
85 | void configureToolBar( int ); | 85 | void configureToolBar( int ); |
86 | void printSel(); | 86 | void printSel(); |
87 | void printCal(); | 87 | void printCal(); |
88 | void printListView(); | ||
88 | void saveCalendar(); | 89 | void saveCalendar(); |
89 | void loadCalendar(); | 90 | void loadCalendar(); |
90 | void exportVCalendar(); | 91 | void exportVCalendar(); |
91 | void fillFilterMenu(); | 92 | void fillFilterMenu(); |
92 | void fillFilterMenuTB(); | 93 | void fillFilterMenuTB(); |
93 | void selectFilter( int ); | 94 | void selectFilter( int ); |