summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/generator
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp/src/generator')
-rw-r--r--qtsharp/src/generator/Printer.cs2
-rw-r--r--qtsharp/src/generator/TQTypeMap.cs5
2 files changed, 2 insertions, 5 deletions
diff --git a/qtsharp/src/generator/Printer.cs b/qtsharp/src/generator/Printer.cs
index 1289f107..3b852e72 100644
--- a/qtsharp/src/generator/Printer.cs
+++ b/qtsharp/src/generator/Printer.cs
@@ -518,7 +518,7 @@ namespace QtCSharp {
public string DefaultConnections ()
{
if (qtype.IsTQObject)
- return "\n\t\t\tConnect (this, TQT_SIGNAL (\"destroyed ()\"), TQT_SLOT (\"NativeDestroyed ()\"));";
+ return "\n\t\t\tConnect (this, TQ_SIGNAL (\"destroyed ()\"), TQ_SLOT (\"NativeDestroyed ()\"));";
else
return "";
}
diff --git a/qtsharp/src/generator/TQTypeMap.cs b/qtsharp/src/generator/TQTypeMap.cs
index b2f71dac..378c0d10 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");
@@ -193,8 +193,6 @@ namespace QtCSharp {
mastermap.Add ("Access", "TQMetaData.Access");
mastermap.Add ("Flags", "TQMetaProperty.Flags");
mastermap.Add ("Status", "TQMovie.Status");
- mastermap.Add ("InstanceMode", "TQNPInstance.InstanceMode");
- mastermap.Add ("StreamMode", "TQNPInstance.StreamMode");
mastermap.Add ("Operation", "TQNetworkProtocol.Operation");
mastermap.Add ("ConnectionState", "TQNetworkProtocol.ConnectionState");
mastermap.Add ("DisposalMethod", "TQPNGImageWriter.DisposalMethod");
@@ -305,7 +303,6 @@ namespace QtCSharp {
//mastermap.Add ("Direction", "TQChar.Direction");
//mastermap.Add ("Reason", "TQContextMenuEvent.Reason");
//mastermap.Add ("Reason", "TQFocusEvent.Reason");
- //mastermap.Add ("Reason", "TQNPInstance.Reason");
//mastermap.Add ("Mode", "TQFileDialog.Mode");
//mastermap.Add ("Mode", "TQIconSet.Mode");
//mastermap.Add ("Mode", "TQLCDNumber.Mode");