diff options
Diffstat (limited to 'ksirc/puke')
-rw-r--r-- | ksirc/puke/HOWTO-PUKE.pod | 2 | ||||
-rw-r--r-- | ksirc/puke/commands.h | 26 | ||||
-rw-r--r-- | ksirc/puke/palistbox.cpp | 4 | ||||
-rw-r--r-- | ksirc/puke/pframe.pm | 4 | ||||
-rw-r--r-- | ksirc/puke/pobject.cpp | 2 | ||||
-rw-r--r-- | ksirc/puke/pwidget.cpp | 2 | ||||
-rw-r--r-- | ksirc/puke/pwidget.pm | 2 |
7 files changed, 21 insertions, 21 deletions
diff --git a/ksirc/puke/HOWTO-PUKE.pod b/ksirc/puke/HOWTO-PUKE.pod index 600f2111..8cae9c86 100644 --- a/ksirc/puke/HOWTO-PUKE.pod +++ b/ksirc/puke/HOWTO-PUKE.pod @@ -106,7 +106,7 @@ These set and return your widget. If you care about inheritance, which you should, all these functions should be virtual. (Since we are using pointers to PWidget's -everywhere, it's a good bet you want your tqchildren's overriden +everywhere, it's a good bet you want your children's overriden functions called, not yours) The structure internally will have to hold a local copy of the widget, diff --git a/ksirc/puke/commands.h b/ksirc/puke/commands.h index 2baa316e..fc7f0f0d 100644 --- a/ksirc/puke/commands.h +++ b/ksirc/puke/commands.h @@ -130,38 +130,38 @@ // cArg: not define #define PUKE_WIDGET_HIDE_ACK -1003 -// Desc: tqrepaint widget -// iWinId: widget to tqrepaint +// Desc: repaint widget +// iWinId: widget to repaint // iArg: erase, 0 for false, 1 for true // cArg: no defines #define PUKE_WIDGET_REPAINT 1005 -// Desc: tqrepaint widget ack -// iWinId: widget to tqrepaint +// Desc: repaint widget ack +// iWinId: widget to repaint // iArg: not defined // cArg: not defined #define PUKE_WIDGET_REPAINT_ACK -1005 // Desc: update widget on next event loop -// iWinId: widget to tqrepaint +// iWinId: widget to repaint // iArg: erase, 0 for false, 1 for true // cArg: no defines #define PUKE_WIDGET_UPDATE 1010 -// Desc: tqrepaint widget ack -// iWinId: widget to tqrepaint +// Desc: repaint widget ack +// iWinId: widget to repaint // iArg: not defined // cArg: not defined #define PUKE_WIDGET_UPDATE_ACK -1010 // Desc: resize the widget -// iWinId: widget to tqrepaint +// iWinId: widget to repaint // iArg: width in the low 16 bit, height in next 16 bits // cArg: not defined #define PUKE_WIDGET_RESIZE 1015 -// Desc: tqrepaint widget ack -// iWinId: widget to tqrepaint +// Desc: repaint widget ack +// iWinId: widget to repaint // iArg: new widget in lower 16 bit, new height in lower 16 bits // cArg: not defined #define PUKE_WIDGET_RESIZE_ACK -1015 @@ -766,13 +766,13 @@ // Desc: Set label's allignment // iWinId: window id -// iArg: tqalignment +// iArg: alignment // cArg: not defined #define PUKE_LABEL_SETALIGNMENT 1715 // Desc: Set label's allignment, ACK // iWinId: window id -// iArg: tqalignment +// iArg: alignment // cArg: not defined #define PUKE_LABEL_SETALIGNMENT_ACK -1715 @@ -1012,7 +1012,7 @@ // Desc: add widget into tqlayout manager // iWinId: Layout Manager to add widget too // iArg: Widget Id to be added -// cArg: 2 characters, char[0] strech, char[1] tqalignment +// cArg: 2 characters, char[0] strech, char[1] alignment #define PUKE_LAYOUT_ADDWIDGET 11010 // Desc: ack for add widget // iWinId: Layout manager diff --git a/ksirc/puke/palistbox.cpp b/ksirc/puke/palistbox.cpp index 05124441..9f43b124 100644 --- a/ksirc/puke/palistbox.cpp +++ b/ksirc/puke/palistbox.cpp @@ -88,7 +88,7 @@ void PAListBox::messageHandler(int fd, PukeMessage *pm) widget()->removeItem(index); item->setVoice(pm->iArg); widget()->inSort(item); - widget()->tqrepaint(TRUE); + widget()->repaint(TRUE); pmRet.iCommand = - pm->iCommand; pmRet.iWinId = pm->iWinId; @@ -108,7 +108,7 @@ void PAListBox::messageHandler(int fd, PukeMessage *pm) widget()->removeItem(index); item->setOp(pm->iArg); widget()->inSort(item); - widget()->tqrepaint(TRUE); + widget()->repaint(TRUE); pmRet.iCommand = - pm->iCommand; pmRet.iWinId = pm->iWinId; diff --git a/ksirc/puke/pframe.pm b/ksirc/puke/pframe.pm index 2ef36ebc..f851cdb8 100644 --- a/ksirc/puke/pframe.pm +++ b/ksirc/puke/pframe.pm @@ -44,13 +44,13 @@ sub setFrameStyle { my $self = shift; my $frame = shift; - my $tqrepaint = shift; + my $repaint = shift; $self->sendMessage('iCommand' => $::PUKE_QFRAME_SET_FRAME, 'iArg' => $frame, 'CallBack' => sub {}); - $self->tqrepaint(1) if($tqrepaint == 1); + $self->repaint(1) if($repaint == 1); } diff --git a/ksirc/puke/pobject.cpp b/ksirc/puke/pobject.cpp index ab729315..9e46e042 100644 --- a/ksirc/puke/pobject.cpp +++ b/ksirc/puke/pobject.cpp @@ -131,7 +131,7 @@ void PObject::manTerm() { void PObject::errorInvalidSet(TQObject *_w) { - m_error = TQString("Tried setting a %1 to %2").tqarg(_w->className()).tqarg(className()); + m_error = TQString("Tried setting a %1 to %2").arg(_w->className()).arg(className()); m_hasError = true; } #include "pobject.moc" diff --git a/ksirc/puke/pwidget.cpp b/ksirc/puke/pwidget.cpp index af041c19..b62f64c1 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()->tqrepaint(pm->iArg); + widget()->repaint(pm->iArg); pmRet.iCommand = PUKE_WIDGET_REPAINT_ACK; pmRet.iWinId = pm->iWinId; pmRet.iArg = 0; diff --git a/ksirc/puke/pwidget.pm b/ksirc/puke/pwidget.pm index 56381db6..5a73d393 100644 --- a/ksirc/puke/pwidget.pm +++ b/ksirc/puke/pwidget.pm @@ -61,7 +61,7 @@ sub hide { $self->sendMessage('iCommand' => $::PUKE_WIDGET_HIDE); } -sub tqrepaint { +sub repaint { my $self = shift; my $erase = shift; # 1 for erase and reapint |