diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-03 18:10:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-03 18:10:36 +0000 |
commit | e7e4b0b68cf15e861bb8f0f7ee76156460cdf97d (patch) | |
tree | 0d7b18b719cc71b15efcb5be91e4ca2f9926bf9e /kugar/kudesigner | |
parent | 86ea45fe5947020ff39e593b7f86f3c8b518d79b (diff) | |
download | koffice-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')
-rw-r--r-- | kugar/kudesigner/kudesigner_doc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kugar/kudesigner/kudesigner_doc.cpp b/kugar/kudesigner/kudesigner_doc.cpp index aa5cec46..28ed36d1 100644 --- a/kugar/kudesigner/kudesigner_doc.cpp +++ b/kugar/kudesigner/kudesigner_doc.cpp @@ -251,7 +251,7 @@ bool KudesignerDoc::loadXML( TQIODevice *, const TQDomDocument &rt ) int height = 297; int width = 210; - if ( attributes.namedItem( "PageQt::Orientation" ).nodeValue().toInt() ) + if ( attributes.namedItem( "PageOrientation" ).nodeValue().toInt() ) { int temp = height; height = width; @@ -265,7 +265,7 @@ bool KudesignerDoc::loadXML( TQIODevice *, const TQDomDocument &rt ) printer = new TQPrinter(); printer->setFullPage( true ); printer->setPageSize( ( TQPrinter::PageSize ) attributes.namedItem( "PageSize" ).nodeValue().toInt() ); - printer->setOrientation( ( TQPrinter::Orientation ) attributes.namedItem( "PageQt::Orientation" ).nodeValue().toInt() ); + printer->setOrientation( ( TQPrinter::Orientation ) attributes.namedItem( "PageOrientation" ).nodeValue().toInt() ); // Get the page metrics and set appropriate wigth and height TQPaintDeviceMetrics pdm( printer ); |