diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:34:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:34:45 -0600 |
commit | 6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71 (patch) | |
tree | 35c87e21025b800ecd5840f96a9638c964e930b8 /ksirc/puke | |
parent | b251e315b57c6665336289a940e9b1d4a179e463 (diff) | |
download | tdenetwork-6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71.tar.gz tdenetwork-6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71.zip |
Rename additional global TQt functions
Diffstat (limited to 'ksirc/puke')
-rw-r--r-- | ksirc/puke/controller.cpp | 8 | ||||
-rw-r--r-- | ksirc/puke/playout.cpp | 4 | ||||
-rw-r--r-- | ksirc/puke/pobject.cpp | 2 | ||||
-rw-r--r-- | ksirc/puke/pobjfinder.cpp | 4 | ||||
-rw-r--r-- | ksirc/puke/ppopmenu.cpp | 2 | ||||
-rw-r--r-- | ksirc/puke/pprogress.cpp | 2 | ||||
-rw-r--r-- | ksirc/puke/ptabdialog.cpp | 2 | ||||
-rw-r--r-- | ksirc/puke/ptablevw.cpp | 2 | ||||
-rw-r--r-- | ksirc/puke/pwidget.cpp | 2 |
9 files changed, 14 insertions, 14 deletions
diff --git a/ksirc/puke/controller.cpp b/ksirc/puke/controller.cpp index 5a646973..a7c95091 100644 --- a/ksirc/puke/controller.cpp +++ b/ksirc/puke/controller.cpp @@ -310,7 +310,7 @@ void PukeController::Traffic(int fd) } #endif /* DEBUG */ if(pm.iHeader != iPukeHeader){ - qWarning("Invalid packet received, discarding!"); + tqWarning("Invalid packet received, discarding!"); return; } if(pm.iTextSize > 0){ @@ -527,7 +527,7 @@ void PukeController::hdlrPukeSetup(int fd, PukeMessage *pm) pmOut.iArg = 1; if((strlen(pm->cArg) > 0) && (this->qidConnectFd[fd] != NULL)){ - this->qidConnectFd[fd]->server = qstrdup(pm->cArg); + this->qidConnectFd[fd]->server = tqstrdup(pm->cArg); pmOut.iWinId = pm->iWinId; pmOut.iArg = sizeof(PukeMessage) - sizeof(char *); } @@ -651,13 +651,13 @@ void PukeController::hdlrPukeDeleteWidget(int fd, PukeMessage *pm) pmRet.iCommand = PUKE_WIDGET_DELETE_ACK; } else { - qWarning("WidgetRunner: no such widget: %d", wI.iWinId); + tqWarning("WidgetRunner: no such widget: %d", wI.iWinId); throw(errorCommandFailed(PUKE_INVALID, INVALID_DEL_NO_SUCH_WIDGET)); } */ if(checkWidgetId(&wI) == FALSE){ - qWarning("WidgetRunner: no such widget: %d", wI.iWinId); + tqWarning("WidgetRunner: no such widget: %d", wI.iWinId); throw(errorCommandFailed(PUKE_INVALID, INVALID_DEL_NO_SUCH_WIDGET)); } diff --git a/ksirc/puke/playout.cpp b/ksirc/puke/playout.cpp index a2b6fbae..f57bacc9 100644 --- a/ksirc/puke/playout.cpp +++ b/ksirc/puke/playout.cpp @@ -55,7 +55,7 @@ void PLayout::messageHandler(int fd, PukeMessage *pm) if(pm->iCommand == PUKE_LAYOUT_ADDWIDGET){ if(pm->iTextSize != 2*sizeof(char)){ - qWarning("PLayout/addwidget: incorrent cArg size, bailing out. Needed: %u wanted: %d\n", sizeof(int), pm->iTextSize); + tqWarning("PLayout/addwidget: incorrent cArg size, bailing out. Needed: %u wanted: %d\n", sizeof(int), pm->iTextSize); pmRet.iCommand = PUKE_LAYOUT_ADDWIDGET_ACK; // ack the add widget pmRet.iWinId = pm->iWinId; pmRet.iArg = 1; @@ -78,7 +78,7 @@ void PLayout::messageHandler(int fd, PukeMessage *pm) } else if(pm->iCommand == PUKE_LAYOUT_ADDLAYOUT){ if(pm->iTextSize != sizeof(char)){ - qWarning("PLayout: incorrent cArg size, bailing out. Needed: %u wanted: %d\n", sizeof(int), pm->iTextSize); + tqWarning("PLayout: incorrent cArg size, bailing out. Needed: %u wanted: %d\n", sizeof(int), pm->iTextSize); pmRet.iCommand = PUKE_LAYOUT_ADDLAYOUT_ACK; // ack the add widget pmRet.iWinId = pm->iWinId; pmRet.iArg = 1; diff --git a/ksirc/puke/pobject.cpp b/ksirc/puke/pobject.cpp index 9e46e042..99be1274 100644 --- a/ksirc/puke/pobject.cpp +++ b/ksirc/puke/pobject.cpp @@ -69,7 +69,7 @@ void PObject::messageHandler(int fd, PukeMessage *pm) delete this; } else { - qWarning("PObject: Unkown Command: %d", pm->iCommand); + tqWarning("PObject: Unkown Command: %d", pm->iCommand); pmRet.iCommand = PUKE_INVALID; pmRet.iWinId = pm->iWinId; pmRet.iArg = 0; diff --git a/ksirc/puke/pobjfinder.cpp b/ksirc/puke/pobjfinder.cpp index 6870e142..2931ec77 100644 --- a/ksirc/puke/pobjfinder.cpp +++ b/ksirc/puke/pobjfinder.cpp @@ -43,7 +43,7 @@ void PObjFinder::messageHandler(int fd, PukeMessage *pm) pmRet.iCommand = - pm->iCommand; pmRet.iWinId = pm->iWinId; pmRet.iArg = 0; - pmRet.cArg = qstrdup(qscArg); + pmRet.cArg = tqstrdup(qscArg); pmRet.iTextSize = qscArg.length(); emit outputMessage(fd, &pmRet); delete pmRet.cArg; @@ -77,7 +77,7 @@ void PObjFinder::newObject(TQObject *name){ pmRet.iCommand = - PUKE_OBJFINDER_NEWOBJECT_ACK; pmRet.iWinId = widgetIden().iWinId; pmRet.iArg = 0; - pmRet.cArg = qstrdup(info); + pmRet.cArg = tqstrdup(info); pmRet.iTextSize = info.length(); emit outputMessage(widgetIden().fd, &pmRet); delete pmRet.cArg; diff --git a/ksirc/puke/ppopmenu.cpp b/ksirc/puke/ppopmenu.cpp index 3ed66aa3..02687c2a 100644 --- a/ksirc/puke/ppopmenu.cpp +++ b/ksirc/puke/ppopmenu.cpp @@ -102,7 +102,7 @@ TQPopupMenu *PPopupMenu::widget() } void PPopupMenu::got_activated(int itemId){ - qWarning("Item got activated: %d", itemId); + tqWarning("Item got activated: %d", itemId); widgetId wI; PukeMessage pmRet; diff --git a/ksirc/puke/pprogress.cpp b/ksirc/puke/pprogress.cpp index 09ed39d2..e1a6203c 100644 --- a/ksirc/puke/pprogress.cpp +++ b/ksirc/puke/pprogress.cpp @@ -42,7 +42,7 @@ void PProgress::messageHandler(int fd, PukeMessage *pm) // kdDebug(5008) << "PProgress handler called" << endl; PukeMessage pmRet; if(widget() == 0){ - qWarning("Null widget"); + tqWarning("Null widget"); return; } switch(pm->iCommand){ diff --git a/ksirc/puke/ptabdialog.cpp b/ksirc/puke/ptabdialog.cpp index 30bc3e0a..e4fc8dea 100644 --- a/ksirc/puke/ptabdialog.cpp +++ b/ksirc/puke/ptabdialog.cpp @@ -49,7 +49,7 @@ void PTabDialog::messageHandler(int fd, PukeMessage *pm) if(pm->iCommand == PUKE_TABDIALOG_ADDTAB){ if(!(pm->iTextSize > 0)){ - qWarning("TQTabDialog/addtab: incorrent cArg size, bailing out. Needed: >0 got: %d\n", pm->iTextSize); + tqWarning("TQTabDialog/addtab: incorrent cArg size, bailing out. Needed: >0 got: %d\n", pm->iTextSize); pmRet.iCommand = PUKE_TABDIALOG_ADDTAB_ACK; // ack the add widget pmRet.iWinId = pm->iWinId; pmRet.iArg = 1; diff --git a/ksirc/puke/ptablevw.cpp b/ksirc/puke/ptablevw.cpp index 64c8fa2e..918b0676 100644 --- a/ksirc/puke/ptablevw.cpp +++ b/ksirc/puke/ptablevw.cpp @@ -4,7 +4,7 @@ PObject * PTableView::createWidget(CreateArgs &ca) { - qWarning("Table View is abstract class, cannot create an object from it!!!"); + tqWarning("Table View is abstract class, cannot create an object from it!!!"); PTableView *pt = new PTableView(ca.parent); pt->setWidget(0); pt->setWidgetId(ca.pwI); diff --git a/ksirc/puke/pwidget.cpp b/ksirc/puke/pwidget.cpp index b62f64c1..7bf30cda 100644 --- a/ksirc/puke/pwidget.cpp +++ b/ksirc/puke/pwidget.cpp @@ -248,7 +248,7 @@ void PWidget::messageHandler(int fd, PukeMessage *pm) } int *point_show = (int *) pm->cArg; - qWarning("Recreate: %d %d %d", point_show[0], point_show[1], point_show[3]); + tqWarning("Recreate: %d %d %d", point_show[0], point_show[1], point_show[3]); widget()->reparent(nparent, (WFlags) 0, TQPoint(point_show[0], point_show[1]), point_show[3]); |