diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:05:41 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:05:41 -0600 |
commit | 2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch) | |
tree | 88e6436b2e81d4e68313f02a9021054252e14cc4 /kpresenter/KPrPage.cpp | |
parent | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff) | |
download | koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kpresenter/KPrPage.cpp')
-rw-r--r-- | kpresenter/KPrPage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrPage.cpp b/kpresenter/KPrPage.cpp index 3eff9180..656b48e2 100644 --- a/kpresenter/KPrPage.cpp +++ b/kpresenter/KPrPage.cpp @@ -538,7 +538,7 @@ bool KPrPage::saveOasisPage( KoStore *store, KoXmlWriter &xmlWriter, int posPage xmlWriter.startElement( "style:master-page" ); xmlWriter.addAttribute( "style:name", "Standard" ); - xmlWriter.addAttribute( "style:page-tqlayout-name", pageLayoutName ); + xmlWriter.addAttribute( "style:page-layout-name", pageLayoutName ); TQString styleName = saveOasisPageStyle( store, context.mainStyles() ); if ( !styleName.isEmpty() ) @@ -655,7 +655,7 @@ bool KPrPage::saveOasisNote( KoXmlWriter &xmlWriter ) const return true; //todo : add size for draw:text-box otherwise we can't import into oo - //<draw:text-box presentation:style-name="pr1" draw:text-style-name="P1" draw:layer="tqlayout" svg:width="14.5cm" svg:height="11.408cm" svg:x="3.247cm" svg:y="14.126cm" presentation:class="notes"> + //<draw:text-box presentation:style-name="pr1" draw:text-style-name="P1" draw:layer="layout" svg:width="14.5cm" svg:height="11.408cm" svg:x="3.247cm" svg:y="14.126cm" presentation:class="notes"> xmlWriter.startElement( "presentation:notes" ); xmlWriter.startElement( "draw:frame" ); //todo save style @@ -2445,7 +2445,7 @@ void KPrPage::changeTabStopValue ( double _tabStop ) if ( obj ) { obj->textDocument()->setTabStops( m_doc->zoomHandler()->ptToLayoutUnitPixX( _tabStop )); - obj->tqlayout(); + obj->layout(); m_doc->repaint( obj ); } } |