summaryrefslogtreecommitdiffstats
path: root/qtsharp/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-06 12:46:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-07 16:37:23 +0900
commit5a0036e68c4e9c04af242ccfccfd432db06b698c (patch)
treebc63cb075df950c4d1099f7d411805e8532562c5 /qtsharp/src
parentdc455b48d8efe559350586d70d1214c209531720 (diff)
downloadtdebindings-5a0036e68c4e9c04af242ccfccfd432db06b698c.tar.gz
tdebindings-5a0036e68c4e9c04af242ccfccfd432db06b698c.zip
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 93673b22d293f5bd5b2f90170756b499f534d9b5)
Diffstat (limited to 'qtsharp/src')
-rw-r--r--qtsharp/src/api/qt.xml2
-rw-r--r--qtsharp/src/generator/TQTypeMap.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/qtsharp/src/api/qt.xml b/qtsharp/src/api/qt.xml
index 9ffcacf3..68d69b34 100644
--- a/qtsharp/src/api/qt.xml
+++ b/qtsharp/src/api/qt.xml
@@ -305,7 +305,7 @@
<qparam type="TQUuidamp" name="arg1"/>
<qparam type="TQUnknownInterface**" name="arg2"/>
</qmethod>
- <qmethod name="isValid" access="public" return="Q_REFCOUNT bool" id="0"/>
+ <qmethod name="isValid" access="public" return="TQ_REFCOUNT bool" id="0"/>
<qmethod name="protected_object" access="protected" return="TQObject*" id="0"/>
</qtype> <qtype name="TQAction" access="public">
<qancestor name="TQObject"/>
diff --git a/qtsharp/src/generator/TQTypeMap.cs b/qtsharp/src/generator/TQTypeMap.cs
index b2f71dac..3acda3c7 100644
--- a/qtsharp/src/generator/TQTypeMap.cs
+++ b/qtsharp/src/generator/TQTypeMap.cs
@@ -59,7 +59,7 @@ namespace QtCSharp {
mastermap.Add ("HPALETTE", "uint");
mastermap.Add ("HRGN", "uint");
mastermap.Add ("Display", "IntPtr");
- mastermap.Add ("Q_REFCOUNT bool", "bool");
+ mastermap.Add ("TQ_REFCOUNT bool", "bool");
mastermap.Add ("EventRef", "IntPtr");
mastermap.Add ("MSG", "IntPtr");
mastermap.Add ("XEvent", "IntPtr");