summaryrefslogtreecommitdiffstats
path: root/qtruby
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-20 01:09:59 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-06-20 01:09:59 -0500
commita5ebcd697325e8e6ac9756cc96857d9298d2c114 (patch)
tree83ad2687d35b7c717b2ac5a0c69e61dac17cb0dd /qtruby
parentb9190991168c11cd8a602c3b4490300ac01776fb (diff)
downloadtdebindings-a5ebcd697325e8e6ac9756cc96857d9298d2c114.tar.gz
tdebindings-a5ebcd697325e8e6ac9756cc96857d9298d2c114.zip
Update for recent TQ changes.
Diffstat (limited to 'qtruby')
-rw-r--r--qtruby/ChangeLog2
-rw-r--r--qtruby/rubylib/qtruby/handlers.cpp12
-rw-r--r--qtruby/rubylib/qtruby/lib/Qt/qtruby.rb6
3 files changed, 10 insertions, 10 deletions
diff --git a/qtruby/ChangeLog b/qtruby/ChangeLog
index dfc0daa1..0acd866f 100644
--- a/qtruby/ChangeLog
+++ b/qtruby/ChangeLog
@@ -160,7 +160,7 @@
2006-05-07 Richard Dale <rdale@foton.es>
- * An an type of Q_UINT16 wasn't working with QtRuby. Fixes problem
+ * An an type of TQ_UINT16 wasn't working with QtRuby. Fixes problem
reported by maelclerambault.
2006-05-03 Richard Dale <rdale@foton.es>
diff --git a/qtruby/rubylib/qtruby/handlers.cpp b/qtruby/rubylib/qtruby/handlers.cpp
index e85f47df..703c9d03 100644
--- a/qtruby/rubylib/qtruby/handlers.cpp
+++ b/qtruby/rubylib/qtruby/handlers.cpp
@@ -1894,16 +1894,16 @@ TypeHandler Qt_handlers[] = {
{ "TQStrList*", marshall_TQStrList },
{ "long long int", marshall_longlong },
{ "long long int&", marshall_longlong },
- { "TQ_INT64", marshall_longlong },
- { "TQ_INT64&", marshall_longlong },
- { "TQ_LLONG", marshall_longlong },
- { "TQ_LLONG&", marshall_longlong },
+ { "TTQ_INT64", marshall_longlong },
+ { "TTQ_INT64&", marshall_longlong },
+ { "TTQ_LLONG", marshall_longlong },
+ { "TTQ_LLONG&", marshall_longlong },
{ "KIO::filesize_t", marshall_longlong },
{ "DOM::DOMTimeStamp", marshall_ulonglong },
{ "unsigned long long int", marshall_ulonglong },
{ "unsigned long long int&", marshall_ulonglong },
- { "TQ_UINT64", marshall_ulonglong },
- { "TQ_UINT64&", marshall_ulonglong },
+ { "TTQ_UINT64", marshall_ulonglong },
+ { "TTQ_UINT64&", marshall_ulonglong },
{ "TQ_ULLONG", marshall_ulonglong },
{ "TQ_ULLONG&", marshall_ulonglong },
{ "signed int&", marshall_intR },
diff --git a/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb b/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb
index e6a1cc82..a8bb72a0 100644
--- a/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb
+++ b/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb
@@ -1382,9 +1382,9 @@ module Qt
def Internal.checkarg(argtype, typename)
puts " #{typename} (#{argtype})" if debug_level >= DebugLevel::High
if argtype == 'i'
- if typename =~ /^int&?$|^signed int&?$|^signed$|^Q_INT32&?$/
+ if typename =~ /^int&?$|^signed int&?$|^signed$|^TQ_INT32&?$/
return 1
- elsif typename =~ /^(?:short|ushort|unsigned short int|uchar|uint|long|ulong|unsigned long int|unsigned|float|double|Q_UINT32|Q_UINT16|Q_INT16)$/
+ elsif typename =~ /^(?:short|ushort|unsigned short int|uchar|uint|long|ulong|unsigned long int|unsigned|float|double|TQ_UINT32|TQ_UINT16|TQ_INT16)$/
return 0
else
t = typename.sub(/^const\s+/, '')
@@ -1459,7 +1459,7 @@ module Qt
elsif classIsa(argtype, t)
return 0
elsif isEnum(argtype) and
- (t =~ /int|Q_INT32|uint|Q_UINT32|long|ulong/ or isEnum(t))
+ (t =~ /int|TQ_INT32|uint|TQ_UINT32|long|ulong/ or isEnum(t))
return 0
end
end