summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/printing/year
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/plugins/printing/year')
-rw-r--r--korganizer/plugins/printing/year/calprintyearconfig_base.ui6
-rw-r--r--korganizer/plugins/printing/year/yearprint.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/plugins/printing/year/calprintyearconfig_base.ui b/korganizer/plugins/printing/year/calprintyearconfig_base.ui
index d02ca9f0e..e0f52d6cb 100644
--- a/korganizer/plugins/printing/year/calprintyearconfig_base.ui
+++ b/korganizer/plugins/printing/year/calprintyearconfig_base.ui
@@ -84,7 +84,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>120</width>
<height>21</height>
@@ -106,7 +106,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>131</width>
<height>21</height>
@@ -187,7 +187,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>21</width>
<height>40</height>
diff --git a/korganizer/plugins/printing/year/yearprint.cpp b/korganizer/plugins/printing/year/yearprint.cpp
index 0c124bbeb..5c36772fb 100644
--- a/korganizer/plugins/printing/year/yearprint.cpp
+++ b/korganizer/plugins/printing/year/yearprint.cpp
@@ -177,8 +177,8 @@ void CalPrintYear::print( TQPainter &p, int width, int height )
title = i18n("date from -\nto", "%1 -\n%2");
}
drawHeader( p, title
- .arg( locale->formatDate( start ) )
- .arg( locale->formatDate( end ) ),
+ .tqarg( locale->formatDate( start ) )
+ .tqarg( locale->formatDate( end ) ),
calsys->addMonths( start, -1), calsys->addMonths( start, monthsPerPage ),
headerBox );