diff options
Diffstat (limited to 'ksirc/puke/pwidget.cpp')
-rw-r--r-- | ksirc/puke/pwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ksirc/puke/pwidget.cpp b/ksirc/puke/pwidget.cpp index b62f64c1..cf3ac667 100644 --- a/ksirc/puke/pwidget.cpp +++ b/ksirc/puke/pwidget.cpp @@ -90,7 +90,7 @@ void PWidget::messageHandler(int fd, PukeMessage *pm) emit outputMessage(fd, &pmRet); break; case PUKE_WIDGET_REPAINT: - widget()->repaint(pm->iArg); + widget()->tqrepaint(pm->iArg); pmRet.iCommand = PUKE_WIDGET_REPAINT_ACK; pmRet.iWinId = pm->iWinId; pmRet.iArg = 0; @@ -209,12 +209,12 @@ void PWidget::messageHandler(int fd, PukeMessage *pm) int *pos; pos = (int *) pm->cArg; TQColor bg(pos[0], pos[1], pos[2]); - TQColorGroup cg = TQColorGroup(widget()->colorGroup().foreground(), + TQColorGroup cg = TQColorGroup(widget()->tqcolorGroup().foreground(), bg, - widget()->colorGroup().light(), - widget()->colorGroup().dark(), - widget()->colorGroup().mid(), - widget()->colorGroup().text(), + widget()->tqcolorGroup().light(), + widget()->tqcolorGroup().dark(), + widget()->tqcolorGroup().mid(), + widget()->tqcolorGroup().text(), bg); widget()->setPalette(TQPalette(cg,cg,cg)); |