summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner/kudesigner_doc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/kudesigner/kudesigner_doc.cpp')
-rw-r--r--kugar/kudesigner/kudesigner_doc.cpp4
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 );