summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/controller.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit937b2991d8e78166eea904c80ad04d34607017a4 (patch)
tree2accb8161eab09df5d7a5484ea9ea080ad123168 /ksirc/puke/controller.cpp
parentdba26cb985af370c33d1767037851705cc561726 (diff)
downloadtdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz
tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/puke/controller.cpp')
-rw-r--r--ksirc/puke/controller.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/ksirc/puke/controller.cpp b/ksirc/puke/controller.cpp
index a4e13f3c..771a5676 100644
--- a/ksirc/puke/controller.cpp
+++ b/ksirc/puke/controller.cpp
@@ -590,7 +590,7 @@ void PukeController::hdlrPukeFetchWidget(int fd, PukeMessage *pm)
obj = tqparent();
}
else {
- obj = objFinder::tqfind(name, 0x0);
+ obj = objFinder::find(name, 0x0);
if(obj == 0){
wIret.fd = 0;
wIret.iWinId = 0;
@@ -642,10 +642,10 @@ void PukeController::hdlrPukeDeleteWidget(int fd, PukeMessage *pm)
kdDebug(5008) << "WidgetRunner:: no such set of widget descriptors?" << endl;
throw(errorCommandFailed(PUKE_INVALID, INVALID_DEL_NO_SUCH_CONNECTION));
}
- if(qidWS->tqfind(wI.iWinId)){
+ if(qidWS->find(wI.iWinId)){
// Remove the list item then delete the widget. This will stop
// the destroyed signal from trying to remove it again.
- PObject *pw = qidWS->tqfind(wI.iWinId)->pwidget;
+ PObject *pw = qidWS->find(wI.iWinId)->pwidget;
qidWS->remove(wI.iWinId);
delete pw; pw = 0;
pmRet.iCommand = PUKE_WIDGET_DELETE_ACK;
@@ -661,8 +661,8 @@ void PukeController::hdlrPukeDeleteWidget(int fd, PukeMessage *pm)
throw(errorCommandFailed(PUKE_INVALID, INVALID_DEL_NO_SUCH_WIDGET));
}
- WidgetList[fd]->tqfind(wI.iWinId)->pwidget->manTerm();
- delete WidgetList[fd]->tqfind(wI.iWinId)->pwidget;
+ WidgetList[fd]->find(wI.iWinId)->pwidget->manTerm();
+ delete WidgetList[fd]->find(wI.iWinId)->pwidget;
PukeMessage pmRet = *pm;
pmRet.iCommand = PUKE_WIDGET_DELETE_ACK;
@@ -745,7 +745,7 @@ void PukeController::closefd(int fd)
bool PukeController::checkWidgetId(widgetId *pwi)
{
if(WidgetList[pwi->fd] != NULL)
- if(WidgetList[pwi->fd]->tqfind(pwi->iWinId) != NULL)
+ if(WidgetList[pwi->fd]->find(pwi->iWinId) != NULL)
return TRUE;
return FALSE;
@@ -753,7 +753,7 @@ bool PukeController::checkWidgetId(widgetId *pwi)
PObject *PukeController::id2pobject(widgetId *pwi){
if(checkWidgetId(pwi) == TRUE){
- return WidgetList[pwi->fd]->tqfind(pwi->iWinId)->pwidget;
+ return WidgetList[pwi->fd]->find(pwi->iWinId)->pwidget;
}
throw(errorNoSuchWidget(*pwi));
return 0; // never reached
@@ -899,7 +899,7 @@ void PukeController::messageHandler(int fd, PukeMessage *pm) {
}
else{
if(checkWidgetId(&wI) == TRUE){
- WidgetList[wI.fd]->tqfind(wI.iWinId)->pwidget->messageHandler(fd, pm);
+ WidgetList[wI.fd]->find(wI.iWinId)->pwidget->messageHandler(fd, pm);
}
else{
PukeMessage pmRet;
@@ -943,7 +943,7 @@ widgetId PukeController::createWidget(widgetId wI, PukeMessage *pm)
wIret.fd = wI.fd;
if(checkWidgetId(&wI) == TRUE){
- PObject *obj = WidgetList[wI.fd]->tqfind(wI.iWinId)->pwidget;
+ PObject *obj = WidgetList[wI.fd]->find(wI.iWinId)->pwidget;
if(obj->widget()->isWidgetType() == FALSE){
throw(errorCommandFailed(PUKE_INVALID, 0));
}