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 | a40b0e89b6b20ba9039d3f79e73afbeac6954ccb (patch) | |
tree | 07779032ca48d6e8e71887a329141f8e635c901c | |
parent | a2bae01d006ea8053e85bc16d09a8cf40a4b0b75 (diff) | |
download | tdewebdev-a40b0e89b6b20ba9039d3f79e73afbeac6954ccb.tar.gz tdewebdev-a40b0e89b6b20ba9039d3f79e73afbeac6954ccb.zip |
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
-rw-r--r-- | kimagemapeditor/drawzone.cpp | 56 | ||||
-rw-r--r-- | kimagemapeditor/drawzone.h | 4 | ||||
-rw-r--r-- | kimagemapeditor/imagemap.cpp | 22 | ||||
-rw-r--r-- | kimagemapeditor/imagemap.h | 2 | ||||
-rw-r--r-- | kimagemapeditor/kimagemapeditor.cpp | 20 | ||||
-rw-r--r-- | kimagemapeditor/kimecommands.cpp | 8 | ||||
-rw-r--r-- | kommander/editor/formwindow.cpp | 20 | ||||
-rw-r--r-- | kommander/editor/formwindow.h | 2 | ||||
-rw-r--r-- | kommander/editor/propertyeditor.cpp | 2 | ||||
-rw-r--r-- | kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp | 12 | ||||
-rw-r--r-- | kxsldbg/kxsldbgpart/xsldbgconfigimpl.h | 2 | ||||
-rw-r--r-- | quanta/project/projectupload.cpp | 2 | ||||
-rw-r--r-- | quanta/src/document.cpp | 4 | ||||
-rw-r--r-- | quanta/src/document.h | 4 | ||||
-rw-r--r-- | quanta/src/quanta.h | 2 | ||||
-rw-r--r-- | quanta/treeviews/basetreeview.h | 2 | ||||
-rw-r--r-- | quanta/treeviews/servertreeview.h | 2 |
17 files changed, 83 insertions, 83 deletions
diff --git a/kimagemapeditor/drawzone.cpp b/kimagemapeditor/drawzone.cpp index 152f5300..3ed3465a 100644 --- a/kimagemapeditor/drawzone.cpp +++ b/kimagemapeditor/drawzone.cpp @@ -189,7 +189,7 @@ void DrawZone::setZoom(double z) p.flush(); resizeContents(visibleWidth()>imageRect.width() ? visibleWidth() : imageRect.width(), visibleHeight()>imageRect.height() ? visibleHeight() : imageRect.height()); - tqrepaintContents(0,0,contentsWidth(),contentsHeight(),true); + repaintContents(0,0,contentsWidth(),contentsHeight(),true); } TQPoint DrawZone::translateFromZoom(const TQPoint & p) const { @@ -379,7 +379,7 @@ void DrawZone::contentsMousePressEvent(TQMouseEvent* e) r=oldArea->selectionRect(); if (currentArea) { r= r | currentArea->selectionRect(); - tqrepaintContents(translateToZoom(r),false); + repaintContents(translateToZoom(r),false); } @@ -501,7 +501,7 @@ void DrawZone::contentsMouseReleaseEvent(TQMouseEvent *e) { imageMapEditor->updateActionAccess(); imageMapEditor->updateSelection(); - tqrepaintContents(imageRect,false); + repaintContents(imageRect,false); } else { currentAction=None; } @@ -509,11 +509,11 @@ void DrawZone::contentsMouseReleaseEvent(TQMouseEvent *e) { if (currentArea) { currentArea->setMoving(false); - tqrepaintArea(*currentArea); + repaintArea(*currentArea); } delete oldArea; oldArea=0L; -// tqrepaintContents(0,0,contentsWidth(),contentsHeight(),false); +// repaintContents(0,0,contentsWidth(),contentsHeight(),false); imageMapEditor->slotUpdateSelectionCoords(); } @@ -550,7 +550,7 @@ void DrawZone::contentsMouseMoveEvent(TQMouseEvent *e) currentArea->setRect(TQRect(drawStart,drawCurrent).normalize()); TQRect newRect=translateToZoom(currentArea->selectionRect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords( currentArea->rect() ); } else if (currentAction==DrawCircle) { @@ -576,7 +576,7 @@ void DrawZone::contentsMouseMoveEvent(TQMouseEvent *e) currentArea->setRect(TQRect(drawStart,endPoint).normalize()); TQRect newRect=translateToZoom(currentArea->rect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords( currentArea->rect() ); } else if ( currentAction==DrawPolygon ) { @@ -584,14 +584,14 @@ void DrawZone::contentsMouseMoveEvent(TQMouseEvent *e) currentArea->moveSelectionPoint(currentSelectionPoint,drawCurrent); TQRect newRect=translateToZoom(currentArea->rect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); } else if ( currentAction==DrawFreehand) { TQRect oldRect=translateToZoom(currentArea->rect()); currentArea->insertCoord(currentArea->countSelectionPoints(), drawCurrent); TQRect newRect=translateToZoom(currentArea->rect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); } else if ( currentAction==MoveArea ) { TQRect oldRect=translateToZoom(currentArea->selectionRect()); @@ -599,7 +599,7 @@ void DrawZone::contentsMouseMoveEvent(TQMouseEvent *e) TQRect newRect=translateToZoom(currentArea->selectionRect()); TQRect r=oldRect | newRect; currentArea->setMoving(true); - tqrepaintContents(r,false); + repaintContents(r,false); drawStart=drawCurrent; imageMapEditor->slotUpdateSelectionCoords(); } else @@ -608,7 +608,7 @@ void DrawZone::contentsMouseMoveEvent(TQMouseEvent *e) currentArea->moveSelectionPoint(currentSelectionPoint,drawCurrent); TQRect newRect=translateToZoom(currentArea->selectionRect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords(); } else if (currentAction==DoSelect) { @@ -630,26 +630,26 @@ void DrawZone::contentsMouseMoveEvent(TQMouseEvent *e) } */ // We don't have to tqrepaint the hole selection rectangle - // only the borders have to be tqrepainted. + // only the borders have to be repainted. // So we have to create 4 rectangles for every rectangle // which represent the borders and then tqrepaint them. TQRect lb,rb,tb,bb; createBorderRectangles(translateToZoom(r),lb,rb,tb,bb); - tqrepaintContents(lb,false); - tqrepaintContents(rb,false); - tqrepaintContents(tb,false); - tqrepaintContents(bb,false); + repaintContents(lb,false); + repaintContents(rb,false); + repaintContents(tb,false); + repaintContents(bb,false); createBorderRectangles(translateToZoom(oldSelectionRect),lb,rb,tb,bb); - tqrepaintContents(lb,false); - tqrepaintContents(rb,false); - tqrepaintContents(tb,false); - tqrepaintContents(bb,false); + repaintContents(lb,false); + repaintContents(rb,false); + repaintContents(tb,false); + repaintContents(bb,false); -// tqrepaintContents(oldSelectionRect | r,false); +// repaintContents(oldSelectionRect | r,false); oldSelectionRect = r; -// tqrepaintContents(translateToZoom(r),false); +// repaintContents(translateToZoom(r),false); //+ imageMapEditor->updateSelection(); @@ -658,7 +658,7 @@ void DrawZone::contentsMouseMoveEvent(TQMouseEvent *e) // TQRect r2(drawStart.x(),drawStart.y(),drawOld.x()-drawStart.x(),drawOld.y()-drawStart.y()); // r2 = r2.normalize(); // r = translateToZoom(r | r2); -// tqrepaintContents(r,false); +// repaintContents(r,false); } else if ( currentAction==None ) { @@ -782,17 +782,17 @@ void DrawZone::cancelDrawing() TQRect r = translateToZoom(currentArea->selectionRect()); delete currentArea; currentArea = 0L; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords(); } } -void DrawZone::tqrepaintArea(const Area & a) { - tqrepaintContents(translateToZoom(a.selectionRect()),false); +void DrawZone::repaintArea(const Area & a) { + repaintContents(translateToZoom(a.selectionRect()),false); } -void DrawZone::tqrepaintRect(const TQRect & r) { - tqrepaintContents(translateToZoom(r),false); +void DrawZone::repaintRect(const TQRect & r) { + repaintContents(translateToZoom(r),false); } void DrawZone::drawContents(TQPainter* p,int clipx,int clipy,int clipw,int cliph) diff --git a/kimagemapeditor/drawzone.h b/kimagemapeditor/drawzone.h index f1b1d410..35838619 100644 --- a/kimagemapeditor/drawzone.h +++ b/kimagemapeditor/drawzone.h @@ -42,8 +42,8 @@ public: ~DrawZone(); TQImage picture() const; - void tqrepaintArea(const Area & a); - void tqrepaintRect(const TQRect & r); + void repaintArea(const Area & a); + void repaintRect(const TQRect & r); void cancelDrawing(); void setPicture(const TQImage &_image); diff --git a/kimagemapeditor/imagemap.cpp b/kimagemapeditor/imagemap.cpp index 070b54fa..188a443a 100644 --- a/kimagemapeditor/imagemap.cpp +++ b/kimagemapeditor/imagemap.cpp @@ -77,7 +77,7 @@ void ImageMap::setZoom(double z) { p.flush(); resizeContents(visibleWidth()>imageRect.width() ? visibleWidth() : imageRect.width(), visibleHeight()>imageRect.height() ? visibleHeight() : imageRect.height()); - tqrepaintContents(0,0,contentsWidth(),contentsHeight(),true); + repaintContents(0,0,contentsWidth(),contentsHeight(),true); } TQPoint ImageMap::translateFromZoom(const TQPoint & p) const { @@ -172,7 +172,7 @@ void ImageMap::contentsMousePressEvent(TQMouseEvent* e) { r=oldArea->selectionRect(); if (currentArea) { r= r | currentArea->selectionRect(); - tqrepaintContents(translateToZoom(r),false); + repaintContents(translateToZoom(r),false); } } @@ -233,8 +233,8 @@ void ImageMap::contentsMouseReleaseEvent(TQMouseEvent *e) { imageMapEditor->slotUpdateSelectionCoords(); if (currentArea) - tqrepaintArea(*currentArea); -// tqrepaintContents(0,0,contentsWidth(),contentsHeight(),false); + repaintArea(*currentArea); +// repaintContents(0,0,contentsWidth(),contentsHeight(),false); } @@ -264,7 +264,7 @@ void ImageMap::contentsMouseMoveEvent(TQMouseEvent *e) { currentArea->setRect(TQRect(drawStart,drawCurrent).normalize()); TQRect newRect=translateToZoom(currentArea->rect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords(currentArea->rect()); } else if (currentAction==DrawCircle) { @@ -272,7 +272,7 @@ void ImageMap::contentsMouseMoveEvent(TQMouseEvent *e) { currentArea->setRect(TQRect(drawStart,drawCurrent).normalize()); TQRect newRect=translateToZoom(currentArea->rect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords(currentArea->rect()); } else if ( currentAction==DrawPolygon ) { @@ -280,7 +280,7 @@ void ImageMap::contentsMouseMoveEvent(TQMouseEvent *e) { currentArea->moveSelectionPoint(currentSelectionPoint,drawCurrent); TQRect newRect=translateToZoom(currentArea->rect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords(currentArea->rect()); } else if ( currentAction==MoveArea ) { @@ -288,7 +288,7 @@ void ImageMap::contentsMouseMoveEvent(TQMouseEvent *e) { currentArea->moveBy((drawCurrent-drawStart).x(),(drawCurrent-drawStart).y()); TQRect newRect=translateToZoom(currentArea->selectionRect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); drawStart=drawCurrent; imageMapEditor->slotUpdateSelectionCoords(); } else @@ -297,7 +297,7 @@ void ImageMap::contentsMouseMoveEvent(TQMouseEvent *e) { currentArea->moveSelectionPoint(currentSelectionPoint,drawCurrent); TQRect newRect=translateToZoom(currentArea->selectionRect()); TQRect r=oldRect | newRect; - tqrepaintContents(r,false); + repaintContents(r,false); imageMapEditor->slotUpdateSelectionCoords(); } imageMapEditor->slotChangeStatusCoords(drawCurrent.x(),drawCurrent.y()); @@ -321,8 +321,8 @@ void ImageMap::resizeEvent(TQResizeEvent* e) { } -void ImageMap::tqrepaintArea(const Area & a) { - tqrepaintContents(translateToZoom(a.selectionRect()),false); +void ImageMap::repaintArea(const Area & a) { + repaintContents(translateToZoom(a.selectionRect()),false); } void ImageMap::drawContents(TQPainter* p,int clipx,int clipy,int clipw,int cliph) { diff --git a/kimagemapeditor/imagemap.h b/kimagemapeditor/imagemap.h index 5f24560e..eb31cc1c 100644 --- a/kimagemapeditor/imagemap.h +++ b/kimagemapeditor/imagemap.h @@ -55,7 +55,7 @@ public: ~ImageMap(); void setZoom(double z); void setPicture(const TQImage &_image); - void tqrepaintArea(const Area & a); + void repaintArea(const Area & a); TQImage picture() const; TQPoint translateFromZoom(const TQPoint & p) const; TQPoint translateToZoom(const TQPoint & p) const; diff --git a/kimagemapeditor/kimagemapeditor.cpp b/kimagemapeditor/kimagemapeditor.cpp index cfb5ee8c..a2ec27d4 100644 --- a/kimagemapeditor/kimagemapeditor.cpp +++ b/kimagemapeditor/kimagemapeditor.cpp @@ -1015,7 +1015,7 @@ void KImageMapEditor::deleteArea( Area * area ) area->deleteListViewItem(); } - drawZone->tqrepaintRect(redrawRect); + drawZone->repaintRect(redrawRect); // Only to disable cut and copy actions @@ -1037,7 +1037,7 @@ void KImageMapEditor::deleteSelected() { } - drawZone->tqrepaintArea( *currentSelected ); + drawZone->repaintArea( *currentSelected ); // Only to disable cut and copy actions if (areas->count()==0) deselectAll(); @@ -1083,7 +1083,7 @@ void KImageMapEditor::select(Area* a) currentSelected->add(a); updateActionAccess(); slotUpdateSelectionCoords(); -// drawZone->tqrepaintArea( *a); +// drawZone->repaintArea( *a); } @@ -1106,7 +1106,7 @@ void KImageMapEditor::slotSelectionChanged() ? select( it.current() ) : deselect( it.current() ); - drawZone->tqrepaintArea( *it.current()); + drawZone->repaintArea( *it.current()); } } @@ -1122,7 +1122,7 @@ void KImageMapEditor::select( TQListViewItem* item) if (it.current()->listViewItem() == item ) { select( it.current() ); - drawZone->tqrepaintArea( *it.current()); + drawZone->repaintArea( *it.current()); } } @@ -1162,7 +1162,7 @@ void KImageMapEditor::slotAreaChanged(Area *area) area->listViewItem()->setPixmap(1,makeListViewPix(*area)); } - drawZone->tqrepaintArea(*area); + drawZone->repaintArea(*area); } @@ -1170,7 +1170,7 @@ void KImageMapEditor::deselect(Area* a) { if (a) { currentSelected->remove(a); -// drawZone->tqrepaintArea(*a); +// drawZone->repaintArea(*a); updateActionAccess(); slotUpdateSelectionCoords(); } @@ -1290,7 +1290,7 @@ void KImageMapEditor::updateUpDownBtn() areaListView->upBtn->setEnabled(false); } - drawZone->tqrepaintArea(*currentSelected); + drawZone->repaintArea(*currentSelected); // if the last Area is in the selection can't move down if (list.tqfind( areas->getLast() ) == -1) @@ -1309,7 +1309,7 @@ void KImageMapEditor::deselectAll() { TQRect redrawRect= currentSelected->selectionRect(); currentSelected->reset(); - drawZone->tqrepaintRect(redrawRect); + drawZone->repaintRect(redrawRect); updateActionAccess(); } @@ -1324,7 +1324,7 @@ Area* KImageMapEditor::onArea(const TQPoint & p) const { int KImageMapEditor::showTagEditor(Area *a) { if (!a) return 0; - drawZone->tqrepaintArea(*a); + drawZone->repaintArea(*a); AreaDialog *dialog= new AreaDialog(this,a); connect (dialog, TQT_SIGNAL(areaChanged(Area*)), this, TQT_SLOT(slotAreaChanged(Area*))); diff --git a/kimagemapeditor/kimecommands.cpp b/kimagemapeditor/kimecommands.cpp index 1d2b08ee..e47f1b8f 100644 --- a/kimagemapeditor/kimecommands.cpp +++ b/kimagemapeditor/kimecommands.cpp @@ -147,7 +147,7 @@ MoveCommand::~MoveCommand () { void MoveCommand::execute() { - // only for tqrepainting reasons + // only for repainting reasons Area* tempArea = _areaSelection->clone(); _areaSelection->moveTo( _newPoint.x(), _newPoint.y() ); @@ -269,15 +269,15 @@ void AddPointCommand::execute() void AddPointCommand::unexecute() { // TQRect *selectionPoint = _areaSelection->onSelectionPoint(_point); - Area* tqrepaintArea = _areaSelection->clone(); + Area* repaintArea = _areaSelection->clone(); _areaSelection->removeCoord(_coordpos); _areaSelection->setMoving(false); _document->slotAreaChanged( _areaSelection ); - _document->slotAreaChanged( tqrepaintArea ); + _document->slotAreaChanged( repaintArea ); - delete tqrepaintArea; + delete repaintArea; } RemovePointCommand::RemovePointCommand (KImageMapEditor *document, AreaSelection *a, Area *oldArea) 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 ); } diff --git a/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp b/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp index 73c76ef8..dfbcdfe5 100644 --- a/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp +++ b/kxsldbg/kxsldbgpart/xsldbgconfigimpl.cpp @@ -308,7 +308,7 @@ void XsldbgConfigImpl::update() void XsldbgConfigImpl::refresh() { paramIndex = 0; - tqrepaintParam(); + repaintParam(); xslSourceEdit->setText(debugger->sourceFileName()); xmlDataEdit->setText(debugger->dataFileName()); outputFileEdit->setText(debugger->outputFileName()); @@ -410,7 +410,7 @@ void XsldbgConfigImpl::slotReloadFileNames() } -void XsldbgConfigImpl::tqrepaintParam() +void XsldbgConfigImpl::repaintParam() { if (paramIndex < getParamCount()){ LibxsltParam *param = getParam(paramIndex); @@ -428,13 +428,13 @@ void XsldbgConfigImpl::slotAddParam() if (paramIndex < getParamCount()) paramIndex++; - tqrepaintParam(); + repaintParam(); } void XsldbgConfigImpl::slotDeleteParam() { deleteParam(parameterNameEdit->text()); - tqrepaintParam(); + repaintParam(); } @@ -444,7 +444,7 @@ void XsldbgConfigImpl::slotNextParam() if (paramIndex < getParamCount()) paramIndex++; - tqrepaintParam(); + repaintParam(); } void XsldbgConfigImpl::slotPrevParam() @@ -453,7 +453,7 @@ void XsldbgConfigImpl::slotPrevParam() if (paramIndex > 0) paramIndex--; - tqrepaintParam(); + repaintParam(); } void XsldbgConfigImpl::slotProcParameterItem(TQString name, TQString value) diff --git a/kxsldbg/kxsldbgpart/xsldbgconfigimpl.h b/kxsldbg/kxsldbgpart/xsldbgconfigimpl.h index b11357a7..ce475d45 100644 --- a/kxsldbg/kxsldbgpart/xsldbgconfigimpl.h +++ b/kxsldbg/kxsldbgpart/xsldbgconfigimpl.h @@ -60,7 +60,7 @@ public: int getParamCount(); void addParam(TQString name, TQString value); void deleteParam(TQString name); - void tqrepaintParam(); + void repaintParam(); TQString getSourceFile(); TQString getDataFile(); diff --git a/quanta/project/projectupload.cpp b/quanta/project/projectupload.cpp index dd88ab5c..5502198f 100644 --- a/quanta/project/projectupload.cpp +++ b/quanta/project/projectupload.cpp @@ -235,7 +235,7 @@ void ProjectUpload::slotBuildTree() totalText->setText(i18n("Total:")); totalProgress->setTotalSteps(1); totalProgress->setValue(0); - //hack to force tqrepainting of the treeview + //hack to force repainting of the treeview resize(width() + 1, height()); resize(width() - 1, height()); if (m_quickUpload) diff --git a/quanta/src/document.cpp b/quanta/src/document.cpp index 7c2ff3f1..c0dc3816 100644 --- a/quanta/src/document.cpp +++ b/quanta/src/document.cpp @@ -193,7 +193,7 @@ Document::Document(KTextEditor::Document *doc, m_tempFileName = TQString(); dtdName = Project::ref()->defaultDTD(); reparseEnabled = true; - tqrepaintEnabled = true; + repaintEnabled = true; delayedTextChangedEnabled = true; docUndoRedo = new undoRedo(this); @@ -2632,7 +2632,7 @@ TQStringList Document::tagAreas(const TQString& tag, bool includeCoordinates, bo void Document::activateRepaintView(bool activation) { - tqrepaintEnabled = activation; + repaintEnabled = activation; m_view->setUpdatesEnabled(activation); } diff --git a/quanta/src/document.h b/quanta/src/document.h index 975b9f31..639ff27d 100644 --- a/quanta/src/document.h +++ b/quanta/src/document.h @@ -172,7 +172,7 @@ work correctly. */ /** disable/enable the tqrepaint of the Kate view */ void activateRepaintView(bool activation); - bool RepaintViewActivated() {return tqrepaintEnabled;} + bool RepaintViewActivated() {return repaintEnabled;} void setErrorMark(int line); void clearErrorMarks(); @@ -307,7 +307,7 @@ private: bool argHintVisible; bool hintRequested; bool reparseEnabled; - bool tqrepaintEnabled; + bool repaintEnabled; bool delayedTextChangedEnabled; /** True if the document is dirty (has been modified outside). */ bool m_dirty; diff --git a/quanta/src/quanta.h b/quanta/src/quanta.h index 404a9329..811fa60c 100644 --- a/quanta/src/quanta.h +++ b/quanta/src/quanta.h @@ -290,7 +290,7 @@ public slots: void slotRepaintPreview(); /** toggles showing the preview */ void slotToggleShowPreview(); - /** Shows the preview widget and tqrepaints the preview or + /** Shows the preview widget and repaints the preview or hides the preview widget and restores the original document */ void slotShowPreviewWidget(bool show); diff --git a/quanta/treeviews/basetreeview.h b/quanta/treeviews/basetreeview.h index 36c2d7fe..47dc5158 100644 --- a/quanta/treeviews/basetreeview.h +++ b/quanta/treeviews/basetreeview.h @@ -173,7 +173,7 @@ public slots: */ void slotNewProjectLoaded(const TQString &, const KURL &, const KURL &); /** - tqrepaints all treeview items + repaints all treeview items */ void slotDocumentClosed(const KURL& url); diff --git a/quanta/treeviews/servertreeview.h b/quanta/treeviews/servertreeview.h index 294bb23a..af5c0afa 100644 --- a/quanta/treeviews/servertreeview.h +++ b/quanta/treeviews/servertreeview.h @@ -69,7 +69,7 @@ protected slots: void slotMenu(KListView *listView, TQListViewItem *item, const TQPoint &point); - /** tqrepaints the treeview items, because they might be added to or removed from the project*/ + /** repaints the treeview items, because they might be added to or removed from the project*/ void slotReloadTree( ProjectList *fileList, bool buildNewTree, const TQStringList &folderToOpen); protected: |