summaryrefslogtreecommitdiffstats
path: root/kword/KWCommand.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
commitafbfdc507bfaafc8824a9808311d57a9ece87510 (patch)
tree47be45bbd69c321ce79e14b683e59318748be9cb /kword/KWCommand.cpp
parent880d042b2902fae8007f202dd35ad9330499867b (diff)
downloadkoffice-afbfdc507bfaafc8824a9808311d57a9ece87510.tar.gz
koffice-afbfdc507bfaafc8824a9808311d57a9ece87510.zip
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kword/KWCommand.cpp')
-rw-r--r--kword/KWCommand.cpp70
1 files changed, 35 insertions, 35 deletions
diff --git a/kword/KWCommand.cpp b/kword/KWCommand.cpp
index 810856ef..e1f0f52b 100644
--- a/kword/KWCommand.cpp
+++ b/kword/KWCommand.cpp
@@ -446,7 +446,7 @@ void KWFrameBorderCommand::execute()
if ( doc )
{
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
}
@@ -501,7 +501,7 @@ void KWFrameBorderCommand::unexecute()
if ( doc )
{
//update frames
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
}
@@ -536,7 +536,7 @@ void KWFrameBackGroundColorCommand::execute()
}
//update frame
if ( doc )
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
void KWFrameBackGroundColorCommand::unexecute()
@@ -557,15 +557,15 @@ void KWFrameBackGroundColorCommand::unexecute()
//update frames
if ( doc )
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
-KWFrameStyleCommand::KWFrameStyleCommand( const TQString &name, KWFrame *_frame, KWFrameStyle *_fs, bool _tqrepaintViews ) :
+KWFrameStyleCommand::KWFrameStyleCommand( const TQString &name, KWFrame *_frame, KWFrameStyle *_fs, bool _repaintViews ) :
KNamedCommand( name )
{
m_frame = _frame;
m_fs = _fs;
- tqrepaintViews = _tqrepaintViews;
+ repaintViews = _repaintViews;
m_oldValues = new KWFrameStyle( "Old", m_frame );
}
@@ -590,20 +590,20 @@ void KWFrameStyleCommand::applyFrameStyle( KWFrameStyle * _sty )
m_frame->setBottomBorder( _sty->bottomBorder() );
m_frame->frameBordersChanged();
- if ( tqrepaintViews )
- m_frame->frameSet()->kWordDocument()->tqrepaintAllViews();
+ if ( repaintViews )
+ m_frame->frameSet()->kWordDocument()->repaintAllViews();
}
-KWTableStyleCommand::KWTableStyleCommand( const TQString &name, KWFrame *_frame, KWTableStyle *_ts, bool _tqrepaintViews ) :
+KWTableStyleCommand::KWTableStyleCommand( const TQString &name, KWFrame *_frame, KWTableStyle *_ts, bool _repaintViews ) :
KNamedCommand( name )
{
m_frame = _frame;
m_ts = _ts;
- tqrepaintViews = _tqrepaintViews;
+ repaintViews = _repaintViews;
// No need for i18n because it will never be displayed.
- m_fsc = new KWFrameStyleCommand( "Apply Framestyle to Frame", m_frame, m_ts->frameStyle(), tqrepaintViews );
+ m_fsc = new KWFrameStyleCommand( "Apply Framestyle to Frame", m_frame, m_ts->frameStyle(), repaintViews );
m_sc = 0L;
}
@@ -627,8 +627,8 @@ void KWTableStyleCommand::execute()
}
m_frame->frameBordersChanged();
- if ( tqrepaintViews )
- m_frame->frameSet()->kWordDocument()->tqrepaintAllViews();
+ if ( repaintViews )
+ m_frame->frameSet()->kWordDocument()->repaintAllViews();
}
@@ -640,8 +640,8 @@ void KWTableStyleCommand::unexecute()
m_sc->unexecute();
m_frame->frameBordersChanged();
- if ( tqrepaintViews )
- m_frame->frameSet()->kWordDocument()->tqrepaintAllViews();
+ if ( repaintViews )
+ m_frame->frameSet()->kWordDocument()->repaintAllViews();
}
KWTableTemplateCommand::KWTableTemplateCommand( const TQString &name, KWTableFrameSet *_table, KWTableTemplate *_tt ) :
@@ -702,13 +702,13 @@ KWTableTemplateCommand::~KWTableTemplateCommand()
void KWTableTemplateCommand::execute()
{
m_tableCommands->execute();
- m_table->kWordDocument()->tqrepaintAllViews();
+ m_table->kWordDocument()->repaintAllViews();
}
void KWTableTemplateCommand::unexecute()
{
m_tableCommands->unexecute();
- m_table->kWordDocument()->tqrepaintAllViews();
+ m_table->kWordDocument()->repaintAllViews();
}
@@ -934,7 +934,7 @@ void KWFrameMoveCommand::execute()
doc->tqlayout();
doc->updateRulerFrameStartEnd();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
}
@@ -961,7 +961,7 @@ void KWFrameMoveCommand::unexecute()
if ( needRetqlayout )
doc->tqlayout();
doc->updateRulerFrameStartEnd();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
}
@@ -996,7 +996,7 @@ void KWFramePropertiesCommand::execute()
doc->frameChanged( frame );
doc->updateAllFrames();
doc->tqlayout();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
doc->updateRulerFrameStartEnd();
}
}
@@ -1017,7 +1017,7 @@ void KWFramePropertiesCommand::unexecute()
doc->frameChanged( frame );
doc->updateAllFrames();
doc->tqlayout();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
doc->updateRulerFrameStartEnd();
}
}
@@ -1180,7 +1180,7 @@ void KWUngroupTableCommand::execute()
doc->refreshDocStructure(refresh);
doc->updateAllFrames();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
void KWUngroupTableCommand::unexecute()
@@ -1206,7 +1206,7 @@ void KWUngroupTableCommand::unexecute()
doc->updateAllFrames();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
@@ -1227,7 +1227,7 @@ void KWDeleteTableCommand::execute()
doc->updateAllFrames();
m_pTable->updateFrames(); // not in the doc list anymore, so the above call didn't do it!
doc->tqlayout();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
doc->updateRulerFrameStartEnd();
}
@@ -1241,7 +1241,7 @@ void KWDeleteTableCommand::unexecute()
doc->refreshDocStructure((int)Tables);
doc->updateAllFrames();
doc->tqlayout();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
doc->updateRulerFrameStartEnd();
}
@@ -1285,7 +1285,7 @@ void KWInsertColumnCommand::execute()
Q_ASSERT(m_pTable->boundingRect().right() <= m_maxRight);
doc->updateAllFrames();
doc->tqlayout();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
void KWInsertColumnCommand::unexecute()
@@ -1301,7 +1301,7 @@ void KWInsertColumnCommand::unexecute()
}
doc->updateAllFrames();
doc->tqlayout();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
@@ -1333,7 +1333,7 @@ void KWInsertRowCommand::execute()
}
doc->updateAllFrames();
doc->tqlayout();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
void KWInsertRowCommand::unexecute()
@@ -1382,7 +1382,7 @@ void KWRemoveRowCommand::unexecute()
m_pTable->reInsertRow(*m_rr);
doc->updateAllFrames();
doc->tqlayout();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
KWRemoveColumnCommand::KWRemoveColumnCommand( const TQString &name, KWTableFrameSet * _table, int _col ):
@@ -1417,7 +1417,7 @@ void KWRemoveColumnCommand::unexecute()
m_pTable->reInsertColumn(*m_rc);
doc->updateAllFrames();
doc->tqlayout();
- doc->tqrepaintAllViews();
+ doc->repaintAllViews();
}
@@ -2027,7 +2027,7 @@ void KWChangeFootNoteLineSeparatorParametersCommand::changeLineSeparatorParamete
m_doc->setFootNoteSeparatorLineLength( _length);
m_doc->setFootNoteSeparatorLineWidth(_width );
m_doc->setFootNoteSeparatorLineType( _type );
- m_doc->tqrepaintAllViews();
+ m_doc->repaintAllViews();
}
@@ -2062,14 +2062,14 @@ void KWResizeColumnCommand::execute()
{
m_table->resizeColumn(m_col, m_newSize);
m_table->kWordDocument()->tqlayout();
- m_table->kWordDocument()->tqrepaintAllViews();
+ m_table->kWordDocument()->repaintAllViews();
}
void KWResizeColumnCommand::unexecute()
{
m_table->resizeColumn(m_col, m_oldSize);
m_table->kWordDocument()->tqlayout();
- m_table->kWordDocument()->tqrepaintAllViews();
+ m_table->kWordDocument()->repaintAllViews();
}
KWResizeRowCommand::KWResizeRowCommand( KWTableFrameSet *table, int row, double oldSize, double newSize ):
@@ -2084,11 +2084,11 @@ KWResizeRowCommand::KWResizeRowCommand( KWTableFrameSet *table, int row, double
void KWResizeRowCommand::execute()
{
m_table->resizeRow( m_row, m_newSize );
- m_table->kWordDocument()->tqrepaintAllViews();
+ m_table->kWordDocument()->repaintAllViews();
}
void KWResizeRowCommand::unexecute()
{
m_table->resizeRow( m_row, m_oldSize );
- m_table->kWordDocument()->tqrepaintAllViews();
+ m_table->kWordDocument()->repaintAllViews();
}