Summary: | KOrganizer prints empty timetable | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Michael Stather <kontakt> |
Component: | general | Assignee: | Reinhold Kainhofer <reinhold> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 3.4.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Michael Stather
2005-11-22 18:31:47 UTC
Yes, 'print day' outputs only border with day and small calendar. Also '0:00' is printed. Not all hours, any events and tasks. But 'Print week' works correct. When I tried it I wanted to print a full week and it didn´t work. SVN commit 539490 by bram: Do load and save settings when printing. This will set sane initial values, fixing bug 116893 for example. BUG:116893 BUG:111301 BUG:126592 M +2 -2 interfaces/korganizer/printplugin.h M +3 -0 printing/calprinter.cpp M +6 -1 printing/calprintweekconfig_base.ui --- branches/KDE/3.5/kdepim/korganizer/interfaces/korganizer/printplugin.h #539489:539490 @@ -92,11 +92,11 @@ /** Load complete config. */ - void doLoadConfig() {} + virtual void doLoadConfig() {}; /** Save complete config. */ - void doSaveConfig() {} + virtual void doSaveConfig() {}; public: --- branches/KDE/3.5/kdepim/korganizer/printing/calprinter.cpp #539489:539490 @@ -78,6 +78,7 @@ { mCalendar = calendar; mPrinter = printer; + mHelper = new CalPrintHelper( mPrinter, mCalendar, mConfig, mCoreHelper ); mPrintPlugins.clear(); mPrintPlugins.setAutoDelete( true ); @@ -95,6 +96,8 @@ (*it)->setConfig( mConfig ); (*it)->setCalendar( calendar ); (*it)->setPrinter( printer ); + (*it)->setKOrgCoreHelper( mCoreHelper ); + (*it)->setCalPrintHelper( mHelper ); (*it)->doLoadConfig(); } --- branches/KDE/3.5/kdepim/korganizer/printing/calprintweekconfig_base.ui #539489:539490 @@ -14,6 +14,9 @@ <height>262</height> </rect> </property> + <property name="caption"> + <string>CalPrintWeek_Base</string> + </property> <grid> <property name="name"> <cstring>unnamed</cstring> @@ -128,7 +131,7 @@ </property> <property name="time"> <time> - <hour>16</hour> + <hour>18</hour> <minute>0</minute> <second>0</second> </time> @@ -275,6 +278,8 @@ </widget> </grid> </widget> +<customwidgets> +</customwidgets> <tabstops> <tabstop>mFromDate</tabstop> <tabstop>mFromTime</tabstop> |