summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrCommand.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
commit2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch)
tree88e6436b2e81d4e68313f02a9021054252e14cc4 /kpresenter/KPrCommand.cpp
parentf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff)
downloadkoffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz
koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kpresenter/KPrCommand.cpp')
-rw-r--r--kpresenter/KPrCommand.cpp16
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 );