diff options
Diffstat (limited to 'kpresenter/KPrCommand.cpp')
-rw-r--r-- | kpresenter/KPrCommand.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpresenter/KPrCommand.cpp b/kpresenter/KPrCommand.cpp index 85e66845..5f88381d 100644 --- a/kpresenter/KPrCommand.cpp +++ b/kpresenter/KPrCommand.cpp @@ -1345,7 +1345,7 @@ KPrPgLayoutCmd::KPrPgLayoutCmd( const TQString &_name, KoPageLayout _layout, KoP : KNamedCommand( _name ) { m_doc=_doc; - tqlayout = _layout; + layout = _layout; oldLayout = _oldLayout; oldUnit = _oldUnit; unit = _unit; @@ -1354,7 +1354,7 @@ KPrPgLayoutCmd::KPrPgLayoutCmd( const TQString &_name, KoPageLayout _layout, KoP void KPrPgLayoutCmd::execute() { m_doc->setUnit( unit ); - m_doc->setPageLayout( tqlayout ); + m_doc->setPageLayout( layout ); m_doc->updateHeaderFooterPosition(); m_doc->updateRuler(); m_doc->updateRulerPageLayout(); @@ -1842,7 +1842,7 @@ void KPrResizeCmd::execute() { if(object->isSelected()) doc->updateRuler(); - doc->tqlayout( object ); + doc->layout( object ); } if ( object->isSelected()) doc->updateObjectStatusBarItem(); @@ -1863,7 +1863,7 @@ void KPrResizeCmd::unexecute() { if(object->isSelected()) doc->updateRuler(); - doc->tqlayout( object ); + doc->layout( object ); } if ( object->isSelected()) doc->updateObjectStatusBarItem(); @@ -2668,7 +2668,7 @@ void KPrChangeMarginCommand::execute() it.current()->setTextMargins( m_newMargins.leftMargin, m_newMargins.topMargin, m_newMargins.rightMargin, m_newMargins.bottomMargin); it.current()->resizeTextDocument(); - it.current()->tqlayout(); + it.current()->layout(); } m_doc->repaint( false ); @@ -2684,7 +2684,7 @@ void KPrChangeMarginCommand::unexecute() object->setTextMargins( marginsStruct->leftMargin, marginsStruct->topMargin, marginsStruct->rightMargin, marginsStruct->bottomMargin); object->resizeTextDocument(); - object->tqlayout(); + object->layout(); } m_doc->repaint( false ); @@ -2708,7 +2708,7 @@ KPrChangeVerticalAlignmentCommand::KPrChangeVerticalAlignmentCommand( const TQSt void KPrChangeVerticalAlignmentCommand::execute() { m_obj->setVerticalAligment( m_newAlign ); - m_obj->kPresenterDocument()->tqlayout(m_obj); + m_obj->kPresenterDocument()->layout(m_obj); m_obj->kPresenterDocument()->repaint(m_obj); m_doc->updateSideBarItem( m_page ); @@ -2717,7 +2717,7 @@ void KPrChangeVerticalAlignmentCommand::execute() void KPrChangeVerticalAlignmentCommand::unexecute() { m_obj->setVerticalAligment( m_oldAlign ); - m_obj->kPresenterDocument()->tqlayout(m_obj); + m_obj->kPresenterDocument()->layout(m_obj); m_obj->kPresenterDocument()->repaint(m_obj); m_doc->updateSideBarItem( m_page ); |