summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 13:39:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 13:39:56 +0900
commit66d008ccdda6d84f96e2aa7b64fea67735742b17 (patch)
treef57b84ad948b94094b9c4f479197b44fefcdb6d3
parent446a628826c40489fea85f82b7d5b1cae8ff33cb (diff)
downloadtdegames-66d008ccdda6d84f96e2aa7b64fea67735742b17.tar.gz
tdegames-66d008ccdda6d84f96e2aa7b64fea67735742b17.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kpoker/TODO2
-rw-r--r--kreversi/DESIGN2
-rw-r--r--kreversi/kreversi.kcfg2
-rw-r--r--libtdegames/TODO2
-rw-r--r--libtdegames/kgame/DESIGN4
-rw-r--r--libtdegames/kgame/messages.txt2
-rw-r--r--lskat/TODO4
-rw-r--r--twin4/twin4/AboutDlg.kdevdlg2
8 files changed, 10 insertions, 10 deletions
diff --git a/kpoker/TODO b/kpoker/TODO
index fb954169..34fe1f7d 100644
--- a/kpoker/TODO
+++ b/kpoker/TODO
@@ -18,7 +18,7 @@
- Separate the waving motion into the winner box widget.
- - CardImages shouldn't inherit QWidget.
+ - CardImages shouldn't inherit TQWidget.
- Make CardWidget::heldLabel private.
diff --git a/kreversi/DESIGN b/kreversi/DESIGN
index 8b01b879..893911af 100644
--- a/kreversi/DESIGN
+++ b/kreversi/DESIGN
@@ -94,7 +94,7 @@ QReversiBoardView
A view for a Reversi board. The rest of the game view is
implemented in the class QReversiGameView.
- Inherits: QWidget.
+ Inherits: TQWidget.
Contains: *QReversiGame (not owner)
FIXME: Enhance the view with timing information, clock, etc.
diff --git a/kreversi/kreversi.kcfg b/kreversi/kreversi.kcfg
index 64fa5039..ef6707f1 100644
--- a/kreversi/kreversi.kcfg
+++ b/kreversi/kreversi.kcfg
@@ -55,7 +55,7 @@
</entry>
<entry name="BackgroundImage" type="Path">
<label>Image to use as background.</label>
- <code>#define PICDATA(x) TDEGlobal::dirs()->findResource("appdata", QString("pics/")+ x)</code>
+ <code>#define PICDATA(x) TDEGlobal::dirs()->findResource("appdata", TQString("pics/")+ x)</code>
<default code="true">PICDATA("background/Light_Wood.png")</default>
</entry>
<entry name="MenubarVisible" type="Bool" key="menubar visible">
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
diff --git a/lskat/TODO b/lskat/TODO
index 7c90f740..db5732d8 100644
--- a/lskat/TODO
+++ b/lskat/TODO
@@ -1,3 +1,3 @@
- Convert BMP graphics to PNG (done)
-- Checke QT QString-char * casting
- (Its a bit of a QCString/QString mess right now)
+- Checke QT TQString-char * casting
+ (Its a bit of a QCString/TQString mess right now)
diff --git a/twin4/twin4/AboutDlg.kdevdlg b/twin4/twin4/AboutDlg.kdevdlg
index 7755ee94..5b54c03e 100644
--- a/twin4/twin4/AboutDlg.kdevdlg
+++ b/twin4/twin4/AboutDlg.kdevdlg
@@ -20,7 +20,7 @@ data SessionManagement
OpenedRootCount="4"
}
-item QWidget
+item TQWidget
{
Name="TWin4"
VarName="this"