diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-03 16:26:44 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-03 17:11:17 +0900 |
commit | d03fd4942f7977417ee8de13c05904434f9c126b (patch) | |
tree | 1a1378a6390c6d75ad17a04abacb49663f01cb5b /libtdegames/kgame | |
parent | d6118d8a635f3686b0dbb2ea559fbfb8d9550a22 (diff) | |
download | tdegames-d03fd4942f7977417ee8de13c05904434f9c126b.tar.gz tdegames-d03fd4942f7977417ee8de13c05904434f9c126b.zip |
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libtdegames/kgame')
-rw-r--r-- | libtdegames/kgame/COMPAT | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libtdegames/kgame/COMPAT b/libtdegames/kgame/COMPAT index b85ec9b6..cfe81537 100644 --- a/libtdegames/kgame/COMPAT +++ b/libtdegames/kgame/COMPAT @@ -10,8 +10,8 @@ KGameIO::signalPrepareMove(..., bool*): don't know why this was necessary but it didn't work anymore... 16.09.2001: KGamePropertyHandler uses bool* for the sent parameter now. This is - because QT3 obviously doesn't honor referneces in Q_SIGNALS/Q_SLOTS. - This might even be a QT bug. Bad situation - we use references + because TQt3 obviously doesn't honor references in signals/slots. + This might even be a Qt bug. Bad situation - we use references everywhere in KGame... hope nothing else is affecterd by this problem (signalPrepareMove was fixed already by me) 18.09.2001: bool* for Key/Mouseevents and IOAdded in kgameio.h too @@ -47,7 +47,7 @@ KPlayer::sendProperty() and related functions contain a "int msgid" parameter. This is the id() of the property handler. This parameter enables us to easily add any number of property handler to a game - just by connecting it to existing send Q_SLOTS and call + just by connecting it to existing send slots and call processMessage() in slotNetworkData() 03.11.2001 KPlayer::signalNetworkData now emits msgid-KGameMessage::IdUser just like KGame::signalNetworkData does |