summaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/kofficecore/KoChild.h2
-rw-r--r--lib/kofficecore/THOUGHTS4
-rw-r--r--lib/kofficeui/KoGuides.cpp6
-rw-r--r--lib/kofficeui/KoGuides.h6
-rw-r--r--lib/kofficeui/KoPictureFilePreview.cpp2
-rw-r--r--lib/kopainter/koIconChooser.cc4
-rw-r--r--lib/koproperty/editor.cpp22
-rw-r--r--lib/kotext/KoBgSpellCheck.cpp4
-rw-r--r--lib/kotext/KoTextDocument.cpp4
-rw-r--r--lib/kotext/KoTextDocument.h6
-rw-r--r--lib/kotext/KoTextObject.cpp52
-rw-r--r--lib/kotext/KoTextObject.h8
-rw-r--r--lib/kotext/KoVariable.cpp2
-rw-r--r--lib/kotext/KoVariable.h2
14 files changed, 62 insertions, 62 deletions
diff --git a/lib/kofficecore/KoChild.h b/lib/kofficecore/KoChild.h
index 64f41064d..b79f6802d 100644
--- a/lib/kofficecore/KoChild.h
+++ b/lib/kofficecore/KoChild.h
@@ -261,7 +261,7 @@ public:
virtual void setTransparent( bool transparent );
/**
- * It might be interesting for view updates and tqrepainting in general
+ * It might be interesting for view updates and repainting in general
* whether a child is transparent or not.
* @return true when this child is marked as transparent.
*/
diff --git a/lib/kofficecore/THOUGHTS b/lib/kofficecore/THOUGHTS
index 5d0a93380..33befa051 100644
--- a/lib/kofficecore/THOUGHTS
+++ b/lib/kofficecore/THOUGHTS
@@ -28,7 +28,7 @@ just agree that this QRect represents screen pixels at the given zoom value(s)
and the app can calculate the requested area to be painted itself. This should
solve zooming and "scrolling" problems.
One ugly problem also is what we will do about performance problems on
-tqrepainting a part. Some time ago we got a mail on KOffice where some guy
+repainting a part. Some time ago we got a mail on KOffice where some guy
asked what to do about making that embedded painting faster. The reason is
that we *always* tqrepaint the whole area, no matter what. This can easily be
optimized to a WNorthWestGravity like behavior, because you can't edit those
@@ -72,7 +72,7 @@ each axe here. (i.e. x/y zoom factors)
Related to that is child-panning. Indepenent of the zoom factor
the child shouldn't just show the left/top corner, but it should
-"remember" the position inside the document when it's tqrepainted
+"remember" the position inside the document when it's repainted
as inactive child.
###
diff --git a/lib/kofficeui/KoGuides.cpp b/lib/kofficeui/KoGuides.cpp
index 5694889c2..a7e85bcfc 100644
--- a/lib/kofficeui/KoGuides.cpp
+++ b/lib/kofficeui/KoGuides.cpp
@@ -476,7 +476,7 @@ void KoGuides::snapToGuideLines( KoPoint &pos, int snap, SnaptqStatus &snaptqSta
}
-void KoGuides::tqrepaintSnapping( const KoRect &snappedRect )
+void KoGuides::repaintSnapping( const KoRect &snappedRect )
{
bool needRepaint = false;
for ( int i = 0; i < GL_END; ++i )
@@ -530,7 +530,7 @@ void KoGuides::tqrepaintSnapping( const KoRect &snappedRect )
}
-void KoGuides::tqrepaintSnapping( const KoPoint &snappedPoint, SnaptqStatus snaptqStatus )
+void KoGuides::repaintSnapping( const KoPoint &snappedPoint, SnaptqStatus snaptqStatus )
{
bool needRepaint = false;
for ( int i = 0; i < GL_END; ++i )
@@ -585,7 +585,7 @@ void KoGuides::tqrepaintSnapping( const KoPoint &snappedPoint, SnaptqStatus snap
}
-void KoGuides::tqrepaintAfterSnapping()
+void KoGuides::repaintAfterSnapping()
{
bool needRepaint = false;
diff --git a/lib/kofficeui/KoGuides.h b/lib/kofficeui/KoGuides.h
index e3529c720..15d99ca27 100644
--- a/lib/kofficeui/KoGuides.h
+++ b/lib/kofficeui/KoGuides.h
@@ -179,7 +179,7 @@ public:
*
* @param snappedRect the rect after it has been snapped
*/
- void tqrepaintSnapping( const KoRect &snappedRect );
+ void repaintSnapping( const KoRect &snappedRect );
/**
* @brief tqrepaint guides if any changed snapping status
@@ -188,7 +188,7 @@ public:
*
* @param snappedPoint the point after it has been snapped
*/
- void tqrepaintSnapping( const KoPoint &snappedPoint, SnaptqStatus snaptqStatus );
+ void repaintSnapping( const KoPoint &snappedPoint, SnaptqStatus snaptqStatus );
/**
* @brief tqrepaint guides so none is snapped
@@ -196,7 +196,7 @@ public:
* This issues a paint request if any guides have changed snapping status.
* It also effectively un-snaps all since it doesn't take an argument
*/
- void tqrepaintAfterSnapping( );
+ void repaintAfterSnapping( );
/**
* @brief Find the closesed disance to the next guide within the given distance
diff --git a/lib/kofficeui/KoPictureFilePreview.cpp b/lib/kofficeui/KoPictureFilePreview.cpp
index fade4e9a6..3f44f1e9b 100644
--- a/lib/kofficeui/KoPictureFilePreview.cpp
+++ b/lib/kofficeui/KoPictureFilePreview.cpp
@@ -65,7 +65,7 @@ public:
m_size = picture.getOriginalSize();
m_picture = picture;
resizeContents( m_size.width(), m_size.height() );
- tqrepaintContents();
+ repaintContents();
return true;
}
diff --git a/lib/kopainter/koIconChooser.cc b/lib/kopainter/koIconChooser.cc
index ae4bc6139..4c7aab32a 100644
--- a/lib/kopainter/koIconChooser.cc
+++ b/lib/kopainter/koIconChooser.cc
@@ -167,8 +167,8 @@ void KoIconChooser::setCurrentItem(KoIconItem *item)
mCurCol = index % mNCols;
// tqrepaint the old and the new item
- tqrepaintCell(oldRow, oldCol);
- tqrepaintCell(mCurRow, mCurCol);
+ repaintCell(oldRow, oldCol);
+ repaintCell(mCurRow, mCurCol);
ensureCellVisible(mCurRow, mCurCol);
}
diff --git a/lib/koproperty/editor.cpp b/lib/koproperty/editor.cpp
index d664b6b89..880ccc9c2 100644
--- a/lib/koproperty/editor.cpp
+++ b/lib/koproperty/editor.cpp
@@ -436,7 +436,7 @@ Editor::undo()
d->currentItem->property()->resetValue();
if (d->currentWidget && d->currentItem) {//(check because current widget could be removed by resetValue())
d->currentWidget->setValue( d->currentItem->property()->value());
- tqrepaintItem(d->currentItem);
+ repaintItem(d->currentItem);
}
}
@@ -451,7 +451,7 @@ Editor::slotPropertyChanged(Set& set, Property& property)
if (d->currentItem && d->currentItem->property() == &property) {
d->currentWidget->setValue(property.value(), false);
for(TQListViewItem *item = d->currentItem->firstChild(); item; item = item->nextSibling())
- tqrepaintItem(item);
+ repaintItem(item);
}
else {
// prop not in the dict, might be a child property:
@@ -459,9 +459,9 @@ Editor::slotPropertyChanged(Set& set, Property& property)
if(!item && property.tqparent())
item = d->itemDict[property.tqparent()->name()];
if (item) {
- tqrepaintItem(item);
+ repaintItem(item);
for(TQListViewItem *it = item->firstChild(); it; it = it->nextSibling())
- tqrepaintItem(it);
+ repaintItem(it);
}
}
@@ -499,7 +499,7 @@ Editor::slotPropertyReset(Set& set, Property& property)
if (d->currentItem && d->currentItem->property() == &property) {
d->currentWidget->setValue(property.value(), false);
for(TQListViewItem *item = d->currentItem->firstChild(); item; item = item->nextSibling())
- tqrepaintItem(item);
+ repaintItem(item);
}
else {
EditorItem *item = d->itemDict[property.name()];
@@ -507,9 +507,9 @@ Editor::slotPropertyReset(Set& set, Property& property)
if(!item && property.tqparent())
item = d->itemDict[property.tqparent()->name()];
if (item) {
- tqrepaintItem(item);
+ repaintItem(item);
for(TQListViewItem *it = item->firstChild(); it; it = it->nextSibling())
- tqrepaintItem(it);
+ repaintItem(it);
}
}
@@ -790,7 +790,7 @@ Editor::slotExpanded(TQListViewItem *item)
}
updateEditorGeometry();
updateGroupLabelsPosition();
- tqrepaintContents();
+ repaintContents();
tqrepaint();
}
@@ -814,7 +814,7 @@ Editor::slotCollapsed(TQListViewItem *item)
}
updateEditorGeometry();
updateGroupLabelsPosition();
- tqrepaintContents();
+ repaintContents();
tqrepaint();
}
@@ -842,7 +842,7 @@ Editor::slotColumnSizeChanged(int section, int oldSize, int newSize)
d->currentWidget->height());
}
}*/
-// tqrepaintContents();
+// repaintContents();
// tqrepaint();
updateEditorGeometry();
update();
@@ -1020,7 +1020,7 @@ Editor::setSorting( int column, bool ascending )
KListView::setSorting( column, ascending );
updateEditorGeometry();
updateGroupLabelsPosition();
- tqrepaintContents();
+ repaintContents();
tqrepaint();
}
diff --git a/lib/kotext/KoBgSpellCheck.cpp b/lib/kotext/KoBgSpellCheck.cpp
index d20dd80d9..ae2f3668e 100644
--- a/lib/kotext/KoBgSpellCheck.cpp
+++ b/lib/kotext/KoBgSpellCheck.cpp
@@ -242,7 +242,7 @@ void KoBgSpellCheck::slotParagraphModified( KoTextParag* parag, int /*ParagModif
// Tricky: KSpell2::Filter::nextWord's behavior makes the for() loop skip ignored words,
// so it doesn't mark them as OK... So we need to clear the marks everywhere first.
- // To avoid flickering the tqrepainting is only done once, after checking the parag.
+ // To avoid flickering the repainting is only done once, after checking the parag.
markWord( parag, curPos, parag->length() - curPos, false );
for ( Word w = filter.nextWord(); !w.end; w = filter.nextWord() ) {
@@ -287,7 +287,7 @@ void KoBgSpellCheck::slotClearPara()
// (e.g. due to adding a word to the ignore list, not due to editing)
//
// TODO: do this all only if there was a format with 'misspelled' in the paragraph,
- // to minimize tqrepaints
+ // to minimize repaints
KoTextStringChar *ch = parag->at( 0 );
KoTextFormat format( *ch->format() );
format.setMisspelled( false );
diff --git a/lib/kotext/KoTextDocument.cpp b/lib/kotext/KoTextDocument.cpp
index 2eb2dd005..b637f0a6c 100644
--- a/lib/kotext/KoTextDocument.cpp
+++ b/lib/kotext/KoTextDocument.cpp
@@ -1271,12 +1271,12 @@ void KoTextDocument::drawParagWYSIWYG( TQPainter *p, KoTextParag *parag, int cx,
#ifdef DEBUG_PAINTING
kdDebug(32500) << " Repainting from lineChanged=" << parag->lineChanged() << " -> adding " << offsetY << " to rect" << endl;
#endif
- // Skip the lines that are not tqrepainted by moving Top. The bottom doesn't change.
+ // Skip the lines that are not repainted by moving Top. The bottom doesn't change.
rect.rTop() += offsetY;
}
TQRect crect( cx, cy, cw, ch ); // the overall crect
- TQRect ir( rect ); // will be the rect to be tqrepainted
+ TQRect ir( rect ); // will be the rect to be repainted
TQBrush brush = cg.brush( TQColorGroup::Base );
diff --git a/lib/kotext/KoTextDocument.h b/lib/kotext/KoTextDocument.h
index 2b658a1a0..44bb00010 100644
--- a/lib/kotext/KoTextDocument.h
+++ b/lib/kotext/KoTextDocument.h
@@ -320,7 +320,7 @@ public:
emit newCommand( cmd );
}
void emitRepaintChanged() {
- emit tqrepaintChanged();
+ emit repaintChanged();
}
signals:
/**
@@ -330,10 +330,10 @@ signals:
*/
void newCommand( KCommand *cmd );
/**
- * Tell the world that we'd like some tqrepainting to happen.
+ * Tell the world that we'd like some repainting to happen.
* KoTextObject connects (and forwards) that one.
*/
- void tqrepaintChanged();
+ void repaintChanged();
protected:
void drawWithoutDoubleBuffer( TQPainter *p, const TQRect &rect, const TQColorGroup &cg,
diff --git a/lib/kotext/KoTextObject.cpp b/lib/kotext/KoTextObject.cpp
index c65e3bb69..f6716b2dc 100644
--- a/lib/kotext/KoTextObject.cpp
+++ b/lib/kotext/KoTextObject.cpp
@@ -105,7 +105,7 @@ void KoTextObject::init()
this, TQT_SLOT( slotParagraphDeleted( KoTextParag* ) ) );
connect( textdoc, TQT_SIGNAL( newCommand( KCommand* ) ),
this, TQT_SIGNAL( newCommand( KCommand* ) ) );
- connect( textdoc, TQT_SIGNAL( tqrepaintChanged() ),
+ connect( textdoc, TQT_SIGNAL( repaintChanged() ),
this, TQT_SLOT( emitRepaintChanged() ) );
connect( this, TQT_SIGNAL(paragraphModified( KoTextParag*, int, int , int ) ),
@@ -193,7 +193,7 @@ bool KoTextObject::selectionHasCustomItems( KoTextDocument::SelectionId selectio
void KoTextObject::slotAfterUndoRedo()
{
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
emit updateUI( true );
emit showCursor();
emit ensureCursorVisible();
@@ -520,7 +520,7 @@ void KoTextObject::doKeyboardAction( KoTextCursor * cursor, KoTextFormat * & /*c
cursor->parag()->setNoCounter();
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
emit ensureCursorVisible();
emit showCursor();
emit updateUI( doUpdateCurrentFormat );
@@ -588,7 +588,7 @@ void KoTextObject::doKeyboardAction( KoTextCursor * cursor, KoTextFormat * & /*c
clearUndoRedoInfo();
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
emit ensureCursorVisible();
emit showCursor();
emit updateUI( doUpdateCurrentFormat );
@@ -704,7 +704,7 @@ void KoTextObject::insert( KoTextCursor * cursor, KoTextFormat * currentFormat,
}
if ( tqrepaint ) {
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
emit ensureCursorVisible();
emit showCursor();
// we typed the first char of a paragraph in AlignAuto mode -> show correct tqalignment in UI
@@ -763,7 +763,7 @@ void KoTextObject::pasteText( KoTextCursor * cursor, const TQString & text, KoTe
insert( cursor, currentFormat, t, i18n("Paste Text"),
KoTextDocument::Standard, insertFlags );
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
}
}
@@ -793,7 +793,7 @@ KCommand* KoTextObject::setParagLayoutCommand( KoTextCursor * cursor, const KoPa
}
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
emit showCursor();
emit updateUI( true );
@@ -925,7 +925,7 @@ KCommand *KoTextObject::applyStyleCommand( KoTextCursor * cursor, const KoParagS
{
setLastFormattedParag( firstParag );
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
emit updateUI( true );
emit showCursor();
}
@@ -977,7 +977,7 @@ void KoTextObject::applyStyleChange( KoStyleChangeDefMap changed )
}
setLastFormattedParag( textdoc->firstParag() );
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
emit updateUI( true );
}
@@ -1054,7 +1054,7 @@ KCommand * KoTextObject::setFormatCommand( KoTextCursor * cursor, KoTextFormat *
undoRedoInfo.clear();
setLastFormattedParag( c1.parag() );
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
emit showCursor();
}
if ( isNewFormat ) {
@@ -1068,7 +1068,7 @@ KCommand * KoTextObject::setFormatCommand( KoTextCursor * cursor, KoTextFormat *
cursor->parag()->setFormat( newFormat );
cursor->parag()->tqinvalidate(0);
cursor->parag()->format();
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
}
}
}
@@ -1125,7 +1125,7 @@ KCommand *KoTextObject::setCounterCommand( KoTextCursor * cursor, const KoParagC
}
}
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
if ( !undoRedoInfo.newParagLayout.counter )
undoRedoInfo.newParagLayout.counter = new KoParagCounter;
*undoRedoInfo.newParagLayout.counter = counter;
@@ -1164,7 +1164,7 @@ KCommand * KoTextObject::setAlignCommand( KoTextCursor * cursor, int align, KoTe
start->setAlign(align);
}
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
undoRedoInfo.newParagLayout.tqalignment = align;
KoTextParagCommand *cmd = new KoTextParagCommand(
textdoc, undoRedoInfo.id, undoRedoInfo.eid,
@@ -1202,7 +1202,7 @@ KCommand * KoTextObject::setMarginCommand( KoTextCursor * cursor, TQStyleSheetIt
start->setMargin(m, margin);
}
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
undoRedoInfo.newParagLayout.margins[m] = margin;
KoTextParagCommand *cmd = new KoTextParagCommand(
textdoc, undoRedoInfo.id, undoRedoInfo.eid,
@@ -1250,7 +1250,7 @@ KCommand * KoTextObject::setBackgroundColorCommand( KoTextCursor * cursor,
start->setBackgroundColor(color);
}
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
// Update undo/redo info
undoRedoInfo.newParagLayout.backgroundColor = color;
@@ -1298,7 +1298,7 @@ KCommand * KoTextObject::setLineSpacingCommand( KoTextCursor * cursor, double sp
}
}
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
undoRedoInfo.newParagLayout.setLineSpacingValue( spacing );
undoRedoInfo.newParagLayout.lineSpacingType = _type;
KoTextParagCommand *cmd = new KoTextParagCommand(
@@ -1358,7 +1358,7 @@ KCommand * KoTextObject::setBordersCommand( KoTextCursor * cursor, const KoBorde
end->next()->setChanged( true );
}
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
undoRedoInfo.newParagLayout.leftBorder=leftBorder;
undoRedoInfo.newParagLayout.rightBorder=rightBorder;
undoRedoInfo.newParagLayout.topBorder=topBorder;
@@ -1414,7 +1414,7 @@ KCommand * KoTextObject::setJoinBordersCommand( KoTextCursor * cursor, bool join
}
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
undoRedoInfo.newParagLayout.joinBorder=join;
KoTextParagCommand *cmd = new KoTextParagCommand(
@@ -1456,7 +1456,7 @@ KCommand * KoTextObject::setTabListCommand( KoTextCursor * cursor, const KoTabul
}
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
undoRedoInfo.newParagLayout.setTabList( tabList );
KoTextParagCommand *cmd = new KoTextParagCommand(
textdoc, undoRedoInfo.id, undoRedoInfo.eid,
@@ -1494,7 +1494,7 @@ KCommand * KoTextObject::setParagDirectionCommand( KoTextCursor * cursor, TQChar
}
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
////// ### TODO
#if 0
undoRedoInfo.newParagLayout.direction = d;
@@ -1537,7 +1537,7 @@ void KoTextObject::removeSelectedText( KoTextCursor * cursor, KoTextDocument::Se
setLastFormattedParag( cursor->parag() );
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
emit ensureCursorVisible();
emit updateUI( true );
emit showCursor();
@@ -1628,7 +1628,7 @@ KCommand* KoTextObject::replaceSelectionCommand( KoTextCursor * cursor, const TQ
if ( tqrepaint )
{
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
emit ensureCursorVisible();
emit updateUI( true );
emit showCursor();
@@ -1665,7 +1665,7 @@ void KoTextObject::highlightPortion( KoTextParag * parag, int index, int length,
textdoc->setSelectionEnd( KoTextDocument::HighlightSelection, &cursor );
if ( tqrepaint ) {
parag->setChanged( true );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
}
}
@@ -1678,7 +1678,7 @@ void KoTextObject::removeHighlight(bool tqrepaint)
textdoc->removeSelection( KoTextDocument::HighlightSelection );
}
if ( tqrepaint )
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
}
void KoTextObject::selectAll( bool select )
@@ -1692,7 +1692,7 @@ void KoTextObject::selectAll( bool select )
void KoTextObject::selectionChangedNotify( bool enableActions /* = true */)
{
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
if ( enableActions )
emit selectionChanged( hasSelection() );
}
@@ -2020,7 +2020,7 @@ KCommand *KoTextObject::changeCaseOfText(KoTextCursor *cursor,KoChangeCaseDia::T
}
}
formatMore( 2 );
- emit tqrepaintChanged( this );
+ emit repaintChanged( this );
emit ensureCursorVisible();
emit updateUI( true );
emit showCursor();
diff --git a/lib/kotext/KoTextObject.h b/lib/kotext/KoTextObject.h
index e6414f990..e1519ff4b 100644
--- a/lib/kotext/KoTextObject.h
+++ b/lib/kotext/KoTextObject.h
@@ -348,7 +348,7 @@ public:
* @param paragLayoutFlags which settings from the paragraph tqlayout to apply
* @param formatFlags which settings from the text format to apply
* @param createUndoRedo if true, an undo/redo command will be created and emitted
- * @param interactive if true, the text will be reformatted/tqrepainted to show the new style
+ * @param interactive if true, the text will be reformatted/repainted to show the new style
*/
void applyStyle( KoTextCursor * cursor, const KoParagStyle * style,
KoTextDocument::SelectionId selectionId = KoTextDocument::Standard,
@@ -500,8 +500,8 @@ signals:
*/
void newCommand( KCommand *cmd );
- /** Tell the world that we'd like some tqrepainting to happen */
- void tqrepaintChanged( KoTextObject * );
+ /** Tell the world that we'd like some repainting to happen */
+ void repaintChanged( KoTextObject * );
void hideCursor();
void showCursor();
@@ -529,7 +529,7 @@ public slots:
// The return value is used by ensureFormatted
bool formatMore( int count = 10, bool emitAfterFormatting = true );
- void emitRepaintChanged() { emit tqrepaintChanged( this ); }
+ void emitRepaintChanged() { emit repaintChanged( this ); }
public: // made public for KWTextFrameSet...
diff --git a/lib/kotext/KoVariable.cpp b/lib/kotext/KoVariable.cpp
index 2e5663afe..e333eb369 100644
--- a/lib/kotext/KoVariable.cpp
+++ b/lib/kotext/KoVariable.cpp
@@ -541,7 +541,7 @@ TQValueList<KoVariable *> KoVariableCollection::recalcVariables(int type)
// TODO pass list of textdocuments as argument
// Or even better, call emitRepaintChanged on all modified textobjects
if( !modifiedVariables.isEmpty() )
- emit tqrepaintVariable();
+ emit repaintVariable();
#endif
return modifiedVariables;
}
diff --git a/lib/kotext/KoVariable.h b/lib/kotext/KoVariable.h
index d00dcb5c9..e0a5a5305 100644
--- a/lib/kotext/KoVariable.h
+++ b/lib/kotext/KoVariable.h
@@ -407,7 +407,7 @@ public:
/**
* Ask this variable to recalculate and to tqrepaint itself
* Only use this if you're working on a single variable (e.g. popupmenu).
- * Otherwise, better do the tqrepainting all at once.
+ * Otherwise, better do the repainting all at once.
* @see KoVariableCollection::recalcVariables()
*/
void recalcAndRepaint();