diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
commit | 82324bf130254bac6932131a55607c866773ca84 (patch) | |
tree | 0e534d2cc0ec08f75916d501017bd960f8260ceb | |
parent | 2cb2dfe421fb3f11a70368dafbd8a1ec7383d30b (diff) | |
download | tdevelop-82324bf130254bac6932131a55607c866773ca84.tar.gz tdevelop-82324bf130254bac6932131a55607c866773ca84.zip |
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r-- | kdevdesigner/designer/formwindow.cpp | 20 | ||||
-rw-r--r-- | kdevdesigner/designer/formwindow.h | 2 | ||||
-rw-r--r-- | kdevdesigner/designer/propertyeditor.cpp | 2 | ||||
-rw-r--r-- | languages/cpp/doc/kde2book.toc | 6 | ||||
-rw-r--r-- | lib/widgets/propeditor/propertyeditor.cpp | 6 | ||||
-rw-r--r-- | parts/documentation/docconfiglistview.cpp | 2 | ||||
-rw-r--r-- | parts/filelist/filelist_widget.cpp | 2 |
7 files changed, 20 insertions, 20 deletions
diff --git a/kdevdesigner/designer/formwindow.cpp b/kdevdesigner/designer/formwindow.cpp index de98ad44..e2520fde 100644 --- a/kdevdesigner/designer/formwindow.cpp +++ b/kdevdesigner/designer/formwindow.cpp @@ -643,7 +643,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 ); @@ -1189,7 +1189,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; } @@ -1198,7 +1198,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; } @@ -1210,7 +1210,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 ); @@ -1242,7 +1242,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(); @@ -1272,7 +1272,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 ) @@ -1290,7 +1290,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(); @@ -1593,7 +1593,7 @@ void FormWindow::focusOutEvent( TQFocusEvent * ) TQObject *opw = propertyWidget; propertyWidget = TQT_TQOBJECT(mainContainer()); if ( opw->isWidgetType() ) - tqrepaintSelection( (TQWidget*)opw ); + repaintSelection( (TQWidget*)opw ); } } @@ -1643,7 +1643,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 ); @@ -2588,7 +2588,7 @@ void FormWindow::setMainContainer( TQWidget *w ) TQObject *opw = propertyWidget; propertyWidget = TQT_TQOBJECT(mContainer); if ( opw && opw->isWidgetType() ) - tqrepaintSelection( (TQWidget*)opw ); + repaintSelection( (TQWidget*)opw ); } if ( project() ) { LanguageInterface *iface = MetaDataBase::languageInterface( project()->language() ); diff --git a/kdevdesigner/designer/formwindow.h b/kdevdesigner/designer/formwindow.h index e6d9c65e..9e60806c 100644 --- a/kdevdesigner/designer/formwindow.h +++ b/kdevdesigner/designer/formwindow.h @@ -108,7 +108,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/kdevdesigner/designer/propertyeditor.cpp b/kdevdesigner/designer/propertyeditor.cpp index 9d9678ad..49eac9eb 100644 --- a/kdevdesigner/designer/propertyeditor.cpp +++ b/kdevdesigner/designer/propertyeditor.cpp @@ -445,7 +445,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 ); } diff --git a/languages/cpp/doc/kde2book.toc b/languages/cpp/doc/kde2book.toc index 2c4451a6..2b1b33b5 100644 --- a/languages/cpp/doc/kde2book.toc +++ b/languages/cpp/doc/kde2book.toc @@ -2143,7 +2143,7 @@ <entry name="painting, widgets, invoking paint events" url="ch04lev1sec2.html"/> <entry name="painting, widgets, KXOSquare example" url="ch04lev1sec2.html"/> <entry name="painting, widgets, paintEvent() method" url="ch04lev1sec2.html"/> -<entry name="painting, widgets, tqrepainting" url="ch04lev1sec2.html"/> +<entry name="painting, widgets, repainting" url="ch04lev1sec2.html"/> <entry name="painting, widgets" url="ch04lev1sec2.html"/> <entry name="panel applet (KWeather), kweather.cpp class definition" url="ch11lev1sec3.html"/> <entry name="panel applet (KWeather), kweather.h class definition" url="ch11lev1sec3.html"/> @@ -2385,7 +2385,7 @@ <entry name="remove option (cvs command)" url="ch17lev1sec5.html"/> <entry name="removing, modeless dialog boxes" url="ch08lev1sec3.html"/> <entry name="rendering, HTML files" url="ch10.html"/> -<entry name="tqrepainting, widgets" url="ch04lev1sec2.html"/> +<entry name="repainting, widgets" url="ch04lev1sec2.html"/> <entry name="tqrepaint() method, QPainter class" url="ch04lev1sec2.html"/> <entry name="replace action" url="ch06.html"/> <entry name="reportBug action" url="ch06.html"/> @@ -2832,7 +2832,7 @@ <entry name="widgets, painting, invoking paint events" url="ch04lev1sec2.html"/> <entry name="widgets, painting, KXOSquare example" url="ch04lev1sec2.html"/> <entry name="widgets, painting, paintEvent() method" url="ch04lev1sec2.html"/> -<entry name="widgets, painting, tqrepainting" url="ch04lev1sec2.html"/> +<entry name="widgets, painting, repainting" url="ch04lev1sec2.html"/> <entry name="widgets, painting" url="ch04lev1sec2.html"/> <entry name="widgets, QGL" url="ch03lev1sec6.html"/> <entry name="widgets, sample class declaration" url="ch04.html"/> diff --git a/lib/widgets/propeditor/propertyeditor.cpp b/lib/widgets/propeditor/propertyeditor.cpp index ce154236..b51ff4fc 100644 --- a/lib/widgets/propeditor/propertyeditor.cpp +++ b/lib/widgets/propeditor/propertyeditor.cpp @@ -305,7 +305,7 @@ void PropertyEditor::propertyValueChanged(Property *property) TQListViewItemIterator it(this); while (it.current()) { - tqrepaintItem(it.current()); + repaintItem(it.current()); ++it; } } @@ -323,7 +323,7 @@ void PropertyEditor::propertyChanged(MultiProperty *property, const TQVariant &v if (m_currentEditItem && (m_currentEditItem->property() == property)) { m_currentEditItem->setChanged(true); - tqrepaintItem(m_currentEditItem); + repaintItem(m_currentEditItem); } emit changed(); @@ -470,7 +470,7 @@ void PropertyEditor::undo() m_currentEditWidget->undo(); m_currentEditItem->setChanged(false); - tqrepaintItem(m_currentEditItem); + repaintItem(m_currentEditItem); } } diff --git a/parts/documentation/docconfiglistview.cpp b/parts/documentation/docconfiglistview.cpp index 17735dd6..9068c188 100644 --- a/parts/documentation/docconfiglistview.cpp +++ b/parts/documentation/docconfiglistview.cpp @@ -66,7 +66,7 @@ void DocConfigListView::clickedItem(TQListViewItem *item, const TQPoint &// pnt cfg->setIndex(!cfg->index()); else if ((c == 2) && (cfg->fullTextSearchPossible())) cfg->setFullTextSearch(!cfg->fullTextSearch()); - tqrepaintItem(item); + repaintItem(item); } #include "docconfiglistview.moc" diff --git a/parts/filelist/filelist_widget.cpp b/parts/filelist/filelist_widget.cpp index e31f3fbd..7043deed 100644 --- a/parts/filelist/filelist_widget.cpp +++ b/parts/filelist/filelist_widget.cpp @@ -208,7 +208,7 @@ void FileListWidget::activePartChanged( KParts::Part * part ) item = static_cast<FileListItem*>( item->nextSibling() ); } } - tqrepaintContents(); + repaintContents(); } void FileListWidget::documentChangedState( const KURL & url, DocumentState state ) |