diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:47:01 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-15 20:10:31 +0900 |
commit | 65ea671221fd8c4da167553547097672ff12610e (patch) | |
tree | 18391347cf4bc97d29d8678aa2d13cd2359d1a1b /kbattleship | |
parent | ef381c09614ad289332c5f1e5a987213861e4f2d (diff) | |
download | tdegames-65ea671221fd8c4da167553547097672ff12610e.tar.gz tdegames-65ea671221fd8c4da167553547097672ff12610e.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 6c1a3b2f458949d56c9e1ff2bdf0b1cb33e73d93)
Diffstat (limited to 'kbattleship')
-rw-r--r-- | kbattleship/kbattleship/kbattleshipclient.cpp | 2 | ||||
-rw-r--r-- | kbattleship/kbattleship/kbattleshipserver.cpp | 2 | ||||
-rw-r--r-- | kbattleship/kbattleship/kchatwidget.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/kbattleship/kbattleship/kbattleshipclient.cpp b/kbattleship/kbattleship/kbattleshipclient.cpp index d895e934..039dcc0c 100644 --- a/kbattleship/kbattleship/kbattleshipclient.cpp +++ b/kbattleship/kbattleship/kbattleshipclient.cpp @@ -44,7 +44,7 @@ void KBattleshipClient::init() } m_readNotifier = new TQSocketNotifier(fd(), TQSocketNotifier::Read, TQT_TQOBJECT(this)); - TQT_BASE_OBJECT_NAME::connect(m_readNotifier, TQT_SIGNAL(activated(int)), TQT_SLOT(slotReadData())); + TQObject::connect(m_readNotifier, TQT_SIGNAL(activated(int)), TQT_SLOT(slotReadData())); emit sigConnected(); } diff --git a/kbattleship/kbattleship/kbattleshipserver.cpp b/kbattleship/kbattleship/kbattleshipserver.cpp index a864cb61..df171f7a 100644 --- a/kbattleship/kbattleship/kbattleshipserver.cpp +++ b/kbattleship/kbattleship/kbattleshipserver.cpp @@ -50,7 +50,7 @@ void KBattleshipServer::init() m_service.setPort(m_port); m_service.publishAsync(); m_connectNotifier = new TQSocketNotifier(fd(), TQSocketNotifier::Read, TQT_TQOBJECT(this)); - TQT_BASE_OBJECT_NAME::connect(m_connectNotifier, TQT_SIGNAL(activated(int)), TQT_SLOT(slotNewConnection())); + TQObject::connect(m_connectNotifier, TQT_SIGNAL(activated(int)), TQT_SLOT(slotNewConnection())); } void KBattleshipServer::slotNewConnection() diff --git a/kbattleship/kbattleship/kchatwidget.cpp b/kbattleship/kbattleship/kchatwidget.cpp index f6b804ee..649fd777 100644 --- a/kbattleship/kbattleship/kchatwidget.cpp +++ b/kbattleship/kbattleship/kchatwidget.cpp @@ -61,7 +61,7 @@ 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); return true; |