diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 13:39:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 20:34:33 +0900 |
commit | 0c1c90f9b03e0c9e157a14840e7552e3bcaef344 (patch) | |
tree | b560f7e57cee43845bf7a565a3f32e1249095811 /libtdegames | |
parent | 97aa1eeecf0cbfe017981828b94e55b9e5d2fd71 (diff) | |
download | tdegames-r14.1.1.tar.gz tdegames-r14.1.1.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 66d008ccdda6d84f96e2aa7b64fea67735742b17)
Diffstat (limited to 'libtdegames')
-rw-r--r-- | libtdegames/TODO | 2 | ||||
-rw-r--r-- | libtdegames/kgame/DESIGN | 4 | ||||
-rw-r--r-- | libtdegames/kgame/messages.txt | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libtdegames/TODO b/libtdegames/TODO index 136c4fdd..5acd38a6 100644 --- a/libtdegames/TODO +++ b/libtdegames/TODO @@ -5,6 +5,6 @@ - 10.07.2001: global decks/carddirs need extensive testing -These pertain to the highscore widget -The Ok button when adding a name should be enabled when the lineedit is filled with a QString of length() > 0 +The Ok button when adding a name should be enabled when the lineedit is filled with a TQString of length() > 0 The lineedit by default should come up with the user name that is loged in. diff --git a/libtdegames/kgame/DESIGN b/libtdegames/kgame/DESIGN index b1c48146..1b834454 100644 --- a/libtdegames/kgame/DESIGN +++ b/libtdegames/kgame/DESIGN @@ -256,7 +256,7 @@ class. To overload the "<<" you would e.g. do something like this: QDataStream& operator<<(QDataStream& stream, MyData& data) { int type = data.type; - QString name = data.name; + TQString name = data.name; stream << type << name; return stream; } @@ -374,7 +374,7 @@ the memory of the names in a release version. For as long as you use standard types for your properties (int, long, bool, ...) you should always be able to see the value of the property. If you just see "unknown" then this type has not been implemented. You can connect to the signal -KGamePropertyHandler::signalRequestValue() and supply a QString with the value +KGamePropertyHandler::signalRequestValue() and supply a TQString with the value yourself. If you do so for a standard type please also submit a bug report! Currently the dialog does *not* update automatically! So you alway have to click diff --git a/libtdegames/kgame/messages.txt b/libtdegames/kgame/messages.txt index 3a163790..5a313f72 100644 --- a/libtdegames/kgame/messages.txt +++ b/libtdegames/kgame/messages.txt @@ -80,7 +80,7 @@ IdAddPlayer rtti IdRemovePlayer Q_INT16 playerid IdError Q_INT32 errorcode - QString errortext + TQString errortext IdGameStatus Q_INT32 status |