summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner_lib/kugartemplate.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-03 18:10:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-03 18:10:36 +0000
commite7e4b0b68cf15e861bb8f0f7ee76156460cdf97d (patch)
tree0d7b18b719cc71b15efcb5be91e4ca2f9926bf9e /kugar/kudesigner_lib/kugartemplate.cpp
parent86ea45fe5947020ff39e593b7f86f3c8b518d79b (diff)
downloadkoffice-e7e4b0b68cf15e861bb8f0f7ee76156460cdf97d.tar.gz
koffice-e7e4b0b68cf15e861bb8f0f7ee76156460cdf97d.zip
Fix instances of Orientation in quotes which were accidentally renamed to Qt::Orientation during TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1244690 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kugar/kudesigner_lib/kugartemplate.cpp')
-rw-r--r--kugar/kudesigner_lib/kugartemplate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kugar/kudesigner_lib/kugartemplate.cpp b/kugar/kudesigner_lib/kugartemplate.cpp
index deffdcc6..28dc10d7 100644
--- a/kugar/kudesigner_lib/kugartemplate.cpp
+++ b/kugar/kudesigner_lib/kugartemplate.cpp
@@ -97,7 +97,7 @@ KugarTemplate::KugarTemplate( int x, int y, int width, int height, Canvas *canva
m[ i18n( "Portrait" ) ] = "0";
m[ i18n( "Landscape" ) ] = "1";
- props.addProperty( new Property( "PageQt::Orientation", m.values(), m.keys(), "0", i18n( "Page Qt::Orientation" ), i18n( "Page Qt::Orientation" ) ), "DocumentSettings" );
+ props.addProperty( new Property( "PageOrientation", m.values(), m.keys(), "0", i18n( "Page Orientation" ), i18n( "Page Orientation" ) ), "DocumentSettings" );
m.clear();
props.addProperty( new Property( "TopMargin", 0, i18n( "Top Margin" ), i18n( "Top Margin" ), KoProperty::Integer ), "DocumentSettings" );
@@ -177,7 +177,7 @@ void KugarTemplate::updatePaperProps()
printer = new TQPrinter();
printer->setFullPage( true );
printer->setPageSize( ( TQPrinter::PageSize ) props[ "PageSize" ].value().toInt() );
- printer->setOrientation( ( TQPrinter::Orientation ) props[ "PageQt::Orientation" ].value().toInt() );
+ printer->setOrientation( ( TQPrinter::Orientation ) props[ "PageOrientation" ].value().toInt() );
// Get the page metrics and set appropriate wigth and height
TQPaintDeviceMetrics pdm( printer );