diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /qtsharp/src/generator/ParseAPI.cs | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtsharp/src/generator/ParseAPI.cs')
-rw-r--r-- | qtsharp/src/generator/ParseAPI.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qtsharp/src/generator/ParseAPI.cs b/qtsharp/src/generator/ParseAPI.cs index 57569c7b..a79a8ab9 100644 --- a/qtsharp/src/generator/ParseAPI.cs +++ b/qtsharp/src/generator/ParseAPI.cs @@ -72,13 +72,13 @@ namespace QtCSharp { private static bool IsQObject(QType t, Hashtable typehash) { if (t.IsInterface) return false; - if (t.Name == "QObject") return true; + if (t.Name == "TQObject") return true; foreach (QAncestor a in t.QAncestors) { QType at = (QType)typehash[a.Name]; if (at == null) continue; - else if (at.Name == "QObject") + else if (at.Name == "TQObject") return true; else if (IsQObject(at, typehash)) return true; |