summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/generator/TQMethod.cs
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:06:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 21:06:26 -0600
commite1a0e352b6ead69ed6f55476272ace842fbbdf74 (patch)
treef3052eff3deddf34c2297517f59cc178c130feda /qtsharp/src/generator/TQMethod.cs
parentbf9353f84ee5920dec2872f63de9f07508e7b4a8 (diff)
downloadtdebindings-e1a0e352b6ead69ed6f55476272ace842fbbdf74.tar.gz
tdebindings-e1a0e352b6ead69ed6f55476272ace842fbbdf74.zip
Rename java files to TQ
Diffstat (limited to 'qtsharp/src/generator/TQMethod.cs')
-rw-r--r--qtsharp/src/generator/TQMethod.cs54
1 files changed, 54 insertions, 0 deletions
diff --git a/qtsharp/src/generator/TQMethod.cs b/qtsharp/src/generator/TQMethod.cs
new file mode 100644
index 00000000..085935c4
--- /dev/null
+++ b/qtsharp/src/generator/TQMethod.cs
@@ -0,0 +1,54 @@
+// A Qt to C# binding generator.
+//
+// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com)
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation; either version 2
+// of the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+using System;
+//using System.IO;
+using System.Collections;
+
+namespace QtCSharp {
+
+ public class TQMethod : TQMember {
+
+ bool qstringreturn;
+ string returntype, pinvokereturn, pascalname;
+
+ public string Return
+ {
+ get {return returntype;}
+ set {returntype = value;}
+ }
+
+ public string PinvokeReturn
+ {
+ get {return pinvokereturn;}
+ set {pinvokereturn = value;}
+ }
+
+ public bool TQStringReturn
+ {
+ get {return qstringreturn;}
+ set {qstringreturn = value;}
+ }
+
+ public string PascalName
+ {
+ get {return pascalname;}
+ set {pascalname = value;}
+ }
+ }
+}