summaryrefslogtreecommitdiffstats
path: root/qtsharp
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-06 12:46:20 +0900
commit93673b22d293f5bd5b2f90170756b499f534d9b5 (patch)
treeda1bdd01b2cd48150d95c8fc098b4181b4bd98aa /qtsharp
parentb7ae97b872d83751471a2a925ea2cdd4ce0eac08 (diff)
downloadtdebindings-93673b22d293f5bd5b2f90170756b499f534d9b5.tar.gz
tdebindings-93673b22d293f5bd5b2f90170756b499f534d9b5.zip
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtsharp')
-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 744f0925..9cf58705 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");