diff options
Diffstat (limited to 'kbattleship/kbattleship/kchatwidget.cpp')
-rw-r--r-- | kbattleship/kbattleship/kchatwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kbattleship/kbattleship/kchatwidget.cpp b/kbattleship/kbattleship/kchatwidget.cpp index f6b804ee..15449eaf 100644 --- a/kbattleship/kbattleship/kchatwidget.cpp +++ b/kbattleship/kbattleship/kchatwidget.cpp @@ -20,8 +20,8 @@ KChatWidget::KChatWidget(TQWidget *parent, const char *name) : chatDlg(parent, name) { - connect(sendBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotComputeMessage())); - connect(commentEdit, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(slotComputeMessage())); + connect(sendBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotComputeMessage())); + connect(commentEdit, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(slotComputeMessage())); chatView->setFocusProxy(commentEdit); chatView->setMinimumSize(0, 50); commentEdit->installEventFilter(this); @@ -61,9 +61,9 @@ void KChatWidget::slotReceivedMessage(const TQString &nickname, const TQString & bool KChatWidget::eventFilter(TQObject *obj, TQEvent *e) { - if(TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(commentEdit) && e->type() == TQEvent::Wheel) + if(obj == commentEdit && e->type() == TQEvent::Wheel) { - kapp->notify(TQT_TQOBJECT(chatView), e); + kapp->notify(chatView, e); return true; } return chatDlg::eventFilter(obj, e); |