From a40b0e89b6b20ba9039d3f79e73afbeac6954ccb Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 7 Jul 2011 21:14:06 +0000 Subject: Rename incorrect instances of tqrepaint[...] to repaint[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/editor/formwindow.cpp | 20 ++++++++++---------- kommander/editor/formwindow.h | 2 +- kommander/editor/propertyeditor.cpp | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'kommander') diff --git a/kommander/editor/formwindow.cpp b/kommander/editor/formwindow.cpp index f3228b6f..e6088172 100644 --- a/kommander/editor/formwindow.cpp +++ b/kommander/editor/formwindow.cpp @@ -583,7 +583,7 @@ void FormWindow::handleMousePress(TQMouseEvent *e, TQWidget *w) TQObject *opw = propertyWidget; propertyWidget = TQT_TQOBJECT(mainContainer()); if (opw->isWidgetType()) - tqrepaintSelection((TQWidget*)opw); + repaintSelection((TQWidget*)opw); } currRect = TQRect(0, 0, -1, -1); startRectDraw(mapFromGlobal(e->globalPos()), e->globalPos(), this, Rubber); @@ -1091,7 +1091,7 @@ void FormWindow::selectWidget(TQObject * o, bool select) TQObject *opw = propertyWidget; propertyWidget = TQT_TQOBJECT(mainContainer()); if (opw->isWidgetType()) - tqrepaintSelection((TQWidget *) opw); + repaintSelection((TQWidget *) opw); emitShowProperties(propertyWidget); return; } @@ -1102,7 +1102,7 @@ void FormWindow::selectWidget(TQObject * o, bool select) TQObject *opw = propertyWidget; propertyWidget = TQT_TQOBJECT(mainContainer()); if (opw->isWidgetType()) - tqrepaintSelection((TQWidget *) opw); + repaintSelection((TQWidget *) opw); emitShowProperties(propertyWidget); return; } @@ -1115,7 +1115,7 @@ void FormWindow::selectWidget(TQObject * o, bool select) TQObject *opw = propertyWidget; propertyWidget = TQT_TQOBJECT(w); if (opw->isWidgetType()) - tqrepaintSelection((TQWidget *) opw); + repaintSelection((TQWidget *) opw); if (!isPropertyShowingBlocked()) emitShowProperties(propertyWidget); WidgetSelection *s = usedSelections.tqfind(w); @@ -1152,7 +1152,7 @@ void FormWindow::selectWidget(TQObject * o, bool select) else propertyWidget = TQT_TQOBJECT(mainContainer()); if (opw->isWidgetType()) - tqrepaintSelection((TQWidget *) opw); + repaintSelection((TQWidget *) opw); if (!isPropertyShowingBlocked()) emitShowProperties(propertyWidget); emitSelectionChanged(); @@ -1182,7 +1182,7 @@ void FormWindow::raiseSelection(TQWidget * w) s->show(); } -void FormWindow::tqrepaintSelection(TQWidget * w) +void FormWindow::repaintSelection(TQWidget * w) { WidgetSelection *s = usedSelections.tqfind(w); if (s) @@ -1201,7 +1201,7 @@ void FormWindow::clearSelection(bool changePropertyDisplay) TQObject *opw = propertyWidget; propertyWidget = TQT_TQOBJECT(mainContainer()); if (opw->isWidgetType()) - tqrepaintSelection((TQWidget *) opw); + repaintSelection((TQWidget *) opw); emitShowProperties(propertyWidget); } emitSelectionChanged(); @@ -1529,7 +1529,7 @@ void FormWindow::focusOutEvent(TQFocusEvent *) TQObject *opw = propertyWidget; propertyWidget = TQT_TQOBJECT(mainContainer()); if (opw->isWidgetType()) - tqrepaintSelection((TQWidget *) opw); + repaintSelection((TQWidget *) opw); } } @@ -1564,7 +1564,7 @@ void FormWindow::emitShowProperties(TQObject * w) TQObject *opw = propertyWidget; propertyWidget = w; if (opw->isWidgetType()) - tqrepaintSelection((TQWidget *) opw); + repaintSelection((TQWidget *) opw); } showPropertiesTimer->stop(); showPropertiesTimer->start(0, true); @@ -2510,7 +2510,7 @@ void FormWindow::setMainContainer(TQWidget *w) TQObject *opw = propertyWidget; propertyWidget = TQT_TQOBJECT(mContainer); if (opw && opw->isWidgetType()) - tqrepaintSelection((TQWidget*)opw); + repaintSelection((TQWidget*)opw); } } diff --git a/kommander/editor/formwindow.h b/kommander/editor/formwindow.h index 214ea668..30500a87 100644 --- a/kommander/editor/formwindow.h +++ b/kommander/editor/formwindow.h @@ -101,7 +101,7 @@ public: virtual void selectAll(); virtual void updateSelection( TQWidget *w ); virtual void raiseSelection( TQWidget *w ); - virtual void tqrepaintSelection( TQWidget *w ); + virtual void repaintSelection( TQWidget *w ); virtual void clearSelection( bool changePropertyDisplay = TRUE ); virtual void selectWidgets(); bool isWidgetSelected( TQObject *w ); diff --git a/kommander/editor/propertyeditor.cpp b/kommander/editor/propertyeditor.cpp index 18558be1..220613f5 100644 --- a/kommander/editor/propertyeditor.cpp +++ b/kommander/editor/propertyeditor.cpp @@ -429,7 +429,7 @@ void PropertyItem::placeEditor( TQWidget *w ) if ( !r.size().isValid() ) { listview->ensureItemVisible( this ); #if defined(TQ_WS_WIN) - listview->tqrepaintContents( false ); + listview->repaintContents( false ); #endif r = listview->tqitemRect( this ); } -- cgit v1.2.1