qtbindings 4.8.6.2-x86-mingw32 → 4.8.6.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +4 -4
  3. data/bin/2.0/rbrcc.exe +0 -0
  4. data/bin/2.0/rbuic4.exe +0 -0
  5. data/bin/2.0/smokeapi.exe +0 -0
  6. data/bin/2.0/smokedeptool.exe +0 -0
  7. data/bin/2.1/rbrcc.exe +0 -0
  8. data/bin/2.1/rbuic4.exe +0 -0
  9. data/bin/2.1/smokeapi.exe +0 -0
  10. data/bin/2.1/smokedeptool.exe +0 -0
  11. data/bin/2.2/rbrcc.exe +0 -0
  12. data/bin/2.2/rbuic4.exe +0 -0
  13. data/bin/2.2/smokeapi.exe +0 -0
  14. data/bin/2.2/smokedeptool.exe +0 -0
  15. data/bin/2.3/rbrcc.exe +0 -0
  16. data/bin/2.3/rbuic4.exe +0 -0
  17. data/bin/2.3/smokeapi.exe +0 -0
  18. data/bin/2.3/smokedeptool.exe +0 -0
  19. data/bin/rbqtapi +152 -152
  20. data/extconf.rb +2 -2
  21. data/lib/2.0/libqtruby4shared.dll +0 -0
  22. data/lib/2.0/libsmokebase.dll +0 -0
  23. data/lib/2.0/libsmokeqtcore.dll +0 -0
  24. data/lib/2.0/libsmokeqtdeclarative.dll +0 -0
  25. data/lib/2.0/libsmokeqtgui.dll +0 -0
  26. data/lib/2.0/libsmokeqthelp.dll +0 -0
  27. data/lib/2.0/libsmokeqtmultimedia.dll +0 -0
  28. data/lib/2.0/libsmokeqtnetwork.dll +0 -0
  29. data/lib/2.0/libsmokeqtopengl.dll +0 -0
  30. data/lib/2.0/libsmokeqtscript.dll +0 -0
  31. data/lib/2.0/libsmokeqtsql.dll +0 -0
  32. data/lib/2.0/libsmokeqtsvg.dll +0 -0
  33. data/lib/2.0/libsmokeqttest.dll +0 -0
  34. data/lib/2.0/libsmokeqtuitools.dll +0 -0
  35. data/lib/2.0/libsmokeqtwebkit.dll +0 -0
  36. data/lib/2.0/libsmokeqtxml.dll +0 -0
  37. data/lib/2.0/libsmokeqtxmlpatterns.dll +0 -0
  38. data/lib/2.0/qtdeclarative.so +0 -0
  39. data/lib/2.0/qtruby4.so +0 -0
  40. data/lib/2.0/qtscript.so +0 -0
  41. data/lib/2.0/qttest.so +0 -0
  42. data/lib/2.0/qtuitools.so +0 -0
  43. data/lib/2.0/qtwebkit.so +0 -0
  44. data/lib/2.1/libqtruby4shared.dll +0 -0
  45. data/lib/2.1/libsmokebase.dll +0 -0
  46. data/lib/2.1/libsmokeqtcore.dll +0 -0
  47. data/lib/2.1/libsmokeqtdeclarative.dll +0 -0
  48. data/lib/2.1/libsmokeqtgui.dll +0 -0
  49. data/lib/2.1/libsmokeqthelp.dll +0 -0
  50. data/lib/2.1/libsmokeqtmultimedia.dll +0 -0
  51. data/lib/2.1/libsmokeqtnetwork.dll +0 -0
  52. data/lib/2.1/libsmokeqtopengl.dll +0 -0
  53. data/lib/2.1/libsmokeqtscript.dll +0 -0
  54. data/lib/2.1/libsmokeqtsql.dll +0 -0
  55. data/lib/2.1/libsmokeqtsvg.dll +0 -0
  56. data/lib/2.1/libsmokeqttest.dll +0 -0
  57. data/lib/2.1/libsmokeqtuitools.dll +0 -0
  58. data/lib/2.1/libsmokeqtwebkit.dll +0 -0
  59. data/lib/2.1/libsmokeqtxml.dll +0 -0
  60. data/lib/2.1/libsmokeqtxmlpatterns.dll +0 -0
  61. data/lib/2.1/qtdeclarative.so +0 -0
  62. data/lib/2.1/qtruby4.so +0 -0
  63. data/lib/2.1/qtscript.so +0 -0
  64. data/lib/2.1/qttest.so +0 -0
  65. data/lib/2.1/qtuitools.so +0 -0
  66. data/lib/2.1/qtwebkit.so +0 -0
  67. data/lib/2.2/libqtruby4shared.dll +0 -0
  68. data/lib/2.2/libsmokebase.dll +0 -0
  69. data/lib/2.2/libsmokeqtcore.dll +0 -0
  70. data/lib/2.2/libsmokeqtdeclarative.dll +0 -0
  71. data/lib/2.2/libsmokeqtgui.dll +0 -0
  72. data/lib/2.2/libsmokeqthelp.dll +0 -0
  73. data/lib/2.2/libsmokeqtmultimedia.dll +0 -0
  74. data/lib/2.2/libsmokeqtnetwork.dll +0 -0
  75. data/lib/2.2/libsmokeqtopengl.dll +0 -0
  76. data/lib/2.2/libsmokeqtscript.dll +0 -0
  77. data/lib/2.2/libsmokeqtsql.dll +0 -0
  78. data/lib/2.2/libsmokeqtsvg.dll +0 -0
  79. data/lib/2.2/libsmokeqttest.dll +0 -0
  80. data/lib/2.2/libsmokeqtuitools.dll +0 -0
  81. data/lib/2.2/libsmokeqtwebkit.dll +0 -0
  82. data/lib/2.2/libsmokeqtxml.dll +0 -0
  83. data/lib/2.2/libsmokeqtxmlpatterns.dll +0 -0
  84. data/lib/2.2/qtdeclarative.so +0 -0
  85. data/lib/2.2/qtruby4.so +0 -0
  86. data/lib/2.2/qtscript.so +0 -0
  87. data/lib/2.2/qttest.so +0 -0
  88. data/lib/2.2/qtuitools.so +0 -0
  89. data/lib/2.2/qtwebkit.so +0 -0
  90. data/lib/2.3/libqtruby4shared.dll +0 -0
  91. data/lib/2.3/libsmokebase.dll +0 -0
  92. data/lib/2.3/libsmokeqtcore.dll +0 -0
  93. data/lib/2.3/libsmokeqtdeclarative.dll +0 -0
  94. data/lib/2.3/libsmokeqtgui.dll +0 -0
  95. data/lib/2.3/libsmokeqthelp.dll +0 -0
  96. data/lib/2.3/libsmokeqtmultimedia.dll +0 -0
  97. data/lib/2.3/libsmokeqtnetwork.dll +0 -0
  98. data/lib/2.3/libsmokeqtopengl.dll +0 -0
  99. data/lib/2.3/libsmokeqtscript.dll +0 -0
  100. data/lib/2.3/libsmokeqtsql.dll +0 -0
  101. data/lib/2.3/libsmokeqtsvg.dll +0 -0
  102. data/lib/2.3/libsmokeqttest.dll +0 -0
  103. data/lib/2.3/libsmokeqtuitools.dll +0 -0
  104. data/lib/2.3/libsmokeqtwebkit.dll +0 -0
  105. data/lib/2.3/libsmokeqtxml.dll +0 -0
  106. data/lib/2.3/libsmokeqtxmlpatterns.dll +0 -0
  107. data/lib/2.3/qtdeclarative.so +0 -0
  108. data/lib/2.3/qtruby4.so +0 -0
  109. data/lib/2.3/qtscript.so +0 -0
  110. data/lib/2.3/qttest.so +0 -0
  111. data/lib/2.3/qtuitools.so +0 -0
  112. data/lib/2.3/qtwebkit.so +0 -0
  113. data/lib/qtbindings_qt_version.rb +2 -0
  114. data/lib/qtbindings_version.rb +2 -2
  115. data/qtbindings.gemspec +1 -1
  116. data/qtbindingsnative.gemspec +2 -2
  117. metadata +131 -103
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b88a81bd9b29ce350d35bc8c8e7514545a71e76
4
- data.tar.gz: d5c50dac40161e8a187aa8475e1966d498917cfe
3
+ metadata.gz: 537b6f1ed79bd16d21c1dc05fc8cc6176c87ecf8
4
+ data.tar.gz: bb0d4583a3e0756f925ccd5720c344000dfbb6cc
5
5
  SHA512:
6
- metadata.gz: 8d39b0522ea1034d999184195d0ca7fac35958bf2be1ff787a3590a23598d6f72df682240b124144607e50c35f8c25a1c6e3aef7d3dd6768b8d06625aee4da01
7
- data.tar.gz: e07417bc2d25200318b61df60b6e1dcf58593e8ba8f55cfcdd28ffedc2bfbe2d4859db87560b92cff011680ab1ad8c74b823e05d2ca4d9d801a6c04f2a3a8832
6
+ metadata.gz: 9cc208fc23fc6ff5d3242b7d599eb2771fafd4ca94a28f08a84252feb6a073d2c091b75a6b223195d54bf72b8dc5c5d2d8fc29ca780f1b4df0f97fdeb12955a7
7
+ data.tar.gz: cec317faa57dbcf57f8117e4e7e67617a617730c4a89fb2f024da6b723682dfadd9ad36daac7a81a12b83f221a7b78fcda462bd75194dfbbbfd1c18f6e2d48d6
data/Rakefile CHANGED
@@ -27,9 +27,9 @@ def set_version
27
27
  file.write("QTBINDINGS_RELEASE_DATE = '#{Time.now}'\n")
28
28
  end
29
29
  File.open('qtlib/qtbindings_qt_version.rb', 'w') do |file|
30
- file.write("QTBINDINGS_QT_VERSION = '#{ENV['VERSION'].split('.')[0..-2].join('.')}'\n")
30
+ file.write("QTBINDINGS_QT_VERSION = '#{ENV['VERSION']}'\n")
31
31
  file.write("QTBINDINGS_QT_RELEASE_DATE = '#{Time.now}'\n")
32
- end
32
+ end
33
33
  end
34
34
  end
35
35
 
@@ -40,9 +40,9 @@ def clear_version
40
40
  file.write("QTBINDINGS_RELEASE_DATE = ''\n")
41
41
  end
42
42
  File.open('lib/qtbindings_qt_version.rb', 'w') do |file|
43
- file.write("QTBINDINGS_QT_VERSION = '0.0.0'\n")
43
+ file.write("QTBINDINGS_QT_VERSION = '0.0.0.0'\n")
44
44
  file.write("QTBINDINGS_QT_RELEASE_DATE = ''\n")
45
- end
45
+ end
46
46
  end
47
47
  end
48
48
 
data/bin/2.0/rbrcc.exe CHANGED
Binary file
data/bin/2.0/rbuic4.exe CHANGED
Binary file
data/bin/2.0/smokeapi.exe CHANGED
Binary file
Binary file
data/bin/2.1/rbrcc.exe CHANGED
Binary file
data/bin/2.1/rbuic4.exe CHANGED
Binary file
data/bin/2.1/smokeapi.exe CHANGED
Binary file
Binary file
data/bin/2.2/rbrcc.exe CHANGED
Binary file
data/bin/2.2/rbuic4.exe CHANGED
Binary file
data/bin/2.2/smokeapi.exe CHANGED
Binary file
Binary file
data/bin/2.3/rbrcc.exe ADDED
Binary file
Binary file
Binary file
Binary file
data/bin/rbqtapi CHANGED
@@ -1,152 +1,152 @@
1
- #!/usr/bin/env ruby
2
-
3
- # Note: this program is part of qtruby and makes use of its internal functions.
4
- # You should not rely on those in your own programs.
5
-
6
- require 'Qt4'
7
- require 'getoptlong'
8
-
9
- $usage = <<USAGE
10
- rbqtapi - a qtruby introspection tool
11
-
12
- usage: rbqtapi [-h] [-v] [-p] [-m <re> [-i]] [-r <extension> ...] [<class>]
13
-
14
- options:
15
- -m <re> : find all functions matching regular expression/keyword <re>
16
- -i : together with -m, performs a case insensitive search
17
- -p : also display inherited methods for <class>
18
- -s | show method names with ruby types
19
- -r : require a qtruby extension
20
- -v : print qtruby and Qt versions
21
- -h : print this help message
22
- USAGE
23
-
24
- pattern = helpOpt = matchOpt = parentsOpt = showOpt = versionOpt = insensitiveOpt = nil
25
-
26
- opts = GetoptLong.new(
27
- [ "--help", "-h", GetoptLong::NO_ARGUMENT ],
28
- [ "--match", "-m", GetoptLong::REQUIRED_ARGUMENT ],
29
- [ "--parents", "-p", GetoptLong::NO_ARGUMENT ],
30
- [ "--show", "-s", GetoptLong::NO_ARGUMENT ],
31
- [ "--version", "-v", GetoptLong::NO_ARGUMENT ],
32
- [ "--insensitive", "-i", GetoptLong::NO_ARGUMENT ],
33
- [ "--require", "-r", GetoptLong::REQUIRED_ARGUMENT ]
34
- )
35
-
36
- opts.each do |opt, arg|
37
- case opt
38
- when '--parents'
39
- parentsOpt = true
40
- when '--insensitive'
41
- insensitiveOpt = true
42
- when '--match'
43
- matchOpt = arg
44
- when '--show'
45
- showOpt = arg
46
- when '--version'
47
- versionOpt = true
48
- when '--help'
49
- helpOpt = true
50
- when '--require'
51
- require(arg)
52
- end
53
- end
54
-
55
- if versionOpt
56
- print "QtRuby #{Qt::qtruby_version} using Qt-#{Qt::version}\n"
57
- exit 0
58
- elsif helpOpt
59
- print $usage
60
- exit 0
61
- end
62
-
63
- if matchOpt
64
- pattern = insensitiveOpt ? Regexp.new(matchOpt, Regexp::IGNORECASE) : Regexp.new(matchOpt)
65
- end
66
-
67
- classnames = []
68
- if ARGV.length == 0
69
- classnames = Qt::Internal.classes.keys
70
- else
71
- ARGV.each do |classname|
72
- classid = Qt::Internal::find_pclassid(classname)
73
- if !classid.index
74
- puts "ERROR: class '#{classname}' not found"
75
- exit 1
76
- end
77
- classnames << classname
78
- end
79
- end
80
-
81
- candidates = ""
82
-
83
- classnames.each do |classname|
84
- classid = Qt::Internal::find_pclassid(classname)
85
- if !classid.index
86
- next
87
- end
88
-
89
- a = Qt::Internal.findAllMethods(classid)
90
- ids = (a.keys.sort.map{|k|a[k]}).flatten
91
- candidates << Qt::Internal::dumpCandidates(ids)
92
-
93
- if parentsOpt
94
- superclasses = []
95
- Qt::Internal::getAllParents(classid, superclasses)
96
- superclasses.each do |klass|
97
- a = Qt::Internal::findAllMethods(klass)
98
- ids = (a.keys.sort.map{|k|a[k]}).flatten
99
- candidates << Qt::Internal::dumpCandidates(ids)
100
- end
101
- end
102
- end
103
-
104
- class String
105
- def to_ruby_method(show)
106
- if !show
107
- return self
108
- end
109
-
110
- method_name = self.clone
111
-
112
- if method_name =~ /([:A-Za-z0-9]+)\*.*[ :]+([A-Za-z0-9]+)::([A-Za-z0-9]+)(\(.*\))/ && $2 == $3
113
- method_name = $1 + '#new' + $4 + "\n"
114
- end
115
-
116
- method_name.gsub!(/char*/, 'String')
117
- method_name.gsub!(/[*&]/, '')
118
- method_name.gsub!(/KSharedPtr<([^>]*)>/) { $1 }
119
- method_name.gsub!(/QPair<([^>]*)>/) { '[' + $1 + ']' }
120
- method_name.gsub!(/(static|void|const) /, '')
121
- method_name.gsub!(/operator/, '')
122
- method_name.gsub!(/ const/, '')
123
- method_name.gsub!(/enum /, '')
124
- method_name.gsub!(/QStringList/, '[String, ...]')
125
- method_name.gsub!(/QString/, 'String')
126
- method_name.gsub!(/bool/, 'Boolean')
127
- method_name.gsub!(/mode_t|time_t|long/, 'Integer')
128
- method_name.gsub!(/float|double|qreal/, 'Float')
129
- method_name.gsub!(/q?u?longlong/, 'Integer')
130
- method_name.gsub!(/^q?u?(int|long|short)[0-9]?[0-9]?/, 'Integer')
131
- method_name.gsub!(/([^A-Za-z])q?u?(int|long|short)[0-9]?[0-9]?([,)])/) { $1 + 'Integer' + $3 }
132
- method_name.gsub!(/Q(List|Vector)<([^>]+)>/) { '[' + $2 + ', ...]' }
133
- method_name.gsub!(/Q(Hash|Map)<([^>]+),([^>]+)>/) { '{' + $2 + ' => ' + $3 + ', ...}' }
134
- method_name.gsub!(/::setRange\(([a-zA-Z]+), ([a-zA-Z]+)\)/) { '::range=' + $1 + '..' + $2 }
135
- method_name.gsub!(/::(is|has)([A-Z])([\w]+)\(/) { '::' + $2.downcase + $3 + "?" + "(" }
136
- method_name.gsub!(/::set([A-Z])([a-zA-Z]+)(\([^,]*\))/) { '::' + $1.downcase + $2 + '=' + $3 }
137
- method_name.sub!(/::([a-z])/) { '#' + $1 }
138
- method_name.gsub!(/Q([A-Z])/) { 'Qt::' + $1 }
139
- method_name.sub!('()', '')
140
- return method_name
141
- end
142
- end
143
-
144
- candidates.gsub!("\t", "")
145
- candidates.split($/).each do |candidate|
146
- if candidate =~ /~|qt_metacall|staticMetaObject/
147
- next
148
- end
149
- puts candidate.to_ruby_method(showOpt) if pattern.nil? || pattern =~ candidate
150
- end
151
-
152
- # kate: space-indent on; indent-width 2; replace-tabs on; mixed-indent off;
1
+ #!/usr/bin/env ruby
2
+
3
+ # Note: this program is part of qtruby and makes use of its internal functions.
4
+ # You should not rely on those in your own programs.
5
+
6
+ require 'Qt4'
7
+ require 'getoptlong'
8
+
9
+ $usage = <<USAGE
10
+ rbqtapi - a qtruby introspection tool
11
+
12
+ usage: rbqtapi [-h] [-v] [-p] [-m <re> [-i]] [-r <extension> ...] [<class>]
13
+
14
+ options:
15
+ -m <re> : find all functions matching regular expression/keyword <re>
16
+ -i : together with -m, performs a case insensitive search
17
+ -p : also display inherited methods for <class>
18
+ -s | show method names with ruby types
19
+ -r : require a qtruby extension
20
+ -v : print qtruby and Qt versions
21
+ -h : print this help message
22
+ USAGE
23
+
24
+ pattern = helpOpt = matchOpt = parentsOpt = showOpt = versionOpt = insensitiveOpt = nil
25
+
26
+ opts = GetoptLong.new(
27
+ [ "--help", "-h", GetoptLong::NO_ARGUMENT ],
28
+ [ "--match", "-m", GetoptLong::REQUIRED_ARGUMENT ],
29
+ [ "--parents", "-p", GetoptLong::NO_ARGUMENT ],
30
+ [ "--show", "-s", GetoptLong::NO_ARGUMENT ],
31
+ [ "--version", "-v", GetoptLong::NO_ARGUMENT ],
32
+ [ "--insensitive", "-i", GetoptLong::NO_ARGUMENT ],
33
+ [ "--require", "-r", GetoptLong::REQUIRED_ARGUMENT ]
34
+ )
35
+
36
+ opts.each do |opt, arg|
37
+ case opt
38
+ when '--parents'
39
+ parentsOpt = true
40
+ when '--insensitive'
41
+ insensitiveOpt = true
42
+ when '--match'
43
+ matchOpt = arg
44
+ when '--show'
45
+ showOpt = arg
46
+ when '--version'
47
+ versionOpt = true
48
+ when '--help'
49
+ helpOpt = true
50
+ when '--require'
51
+ require(arg)
52
+ end
53
+ end
54
+
55
+ if versionOpt
56
+ print "QtRuby #{Qt::qtruby_version} using Qt-#{Qt::version}\n"
57
+ exit 0
58
+ elsif helpOpt
59
+ print $usage
60
+ exit 0
61
+ end
62
+
63
+ if matchOpt
64
+ pattern = insensitiveOpt ? Regexp.new(matchOpt, Regexp::IGNORECASE) : Regexp.new(matchOpt)
65
+ end
66
+
67
+ classnames = []
68
+ if ARGV.length == 0
69
+ classnames = Qt::Internal.classes.keys
70
+ else
71
+ ARGV.each do |classname|
72
+ classid = Qt::Internal::find_pclassid(classname)
73
+ if !classid.index
74
+ puts "ERROR: class '#{classname}' not found"
75
+ exit 1
76
+ end
77
+ classnames << classname
78
+ end
79
+ end
80
+
81
+ candidates = ""
82
+
83
+ classnames.each do |classname|
84
+ classid = Qt::Internal::find_pclassid(classname)
85
+ if !classid.index
86
+ next
87
+ end
88
+
89
+ a = Qt::Internal.findAllMethods(classid)
90
+ ids = (a.keys.sort.map{|k|a[k]}).flatten
91
+ candidates << Qt::Internal::dumpCandidates(ids)
92
+
93
+ if parentsOpt
94
+ superclasses = []
95
+ Qt::Internal::getAllParents(classid, superclasses)
96
+ superclasses.each do |klass|
97
+ a = Qt::Internal::findAllMethods(klass)
98
+ ids = (a.keys.sort.map{|k|a[k]}).flatten
99
+ candidates << Qt::Internal::dumpCandidates(ids)
100
+ end
101
+ end
102
+ end
103
+
104
+ class String
105
+ def to_ruby_method(show)
106
+ if !show
107
+ return self
108
+ end
109
+
110
+ method_name = self.clone
111
+
112
+ if method_name =~ /([:A-Za-z0-9]+)\*.*[ :]+([A-Za-z0-9]+)::([A-Za-z0-9]+)(\(.*\))/ && $2 == $3
113
+ method_name = $1 + '#new' + $4 + "\n"
114
+ end
115
+
116
+ method_name.gsub!(/char*/, 'String')
117
+ method_name.gsub!(/[*&]/, '')
118
+ method_name.gsub!(/KSharedPtr<([^>]*)>/) { $1 }
119
+ method_name.gsub!(/QPair<([^>]*)>/) { '[' + $1 + ']' }
120
+ method_name.gsub!(/(static|void|const) /, '')
121
+ method_name.gsub!(/operator/, '')
122
+ method_name.gsub!(/ const/, '')
123
+ method_name.gsub!(/enum /, '')
124
+ method_name.gsub!(/QStringList/, '[String, ...]')
125
+ method_name.gsub!(/QString/, 'String')
126
+ method_name.gsub!(/bool/, 'Boolean')
127
+ method_name.gsub!(/mode_t|time_t|long/, 'Integer')
128
+ method_name.gsub!(/float|double|qreal/, 'Float')
129
+ method_name.gsub!(/q?u?longlong/, 'Integer')
130
+ method_name.gsub!(/^q?u?(int|long|short)[0-9]?[0-9]?/, 'Integer')
131
+ method_name.gsub!(/([^A-Za-z])q?u?(int|long|short)[0-9]?[0-9]?([,)])/) { $1 + 'Integer' + $3 }
132
+ method_name.gsub!(/Q(List|Vector)<([^>]+)>/) { '[' + $2 + ', ...]' }
133
+ method_name.gsub!(/Q(Hash|Map)<([^>]+),([^>]+)>/) { '{' + $2 + ' => ' + $3 + ', ...}' }
134
+ method_name.gsub!(/::setRange\(([a-zA-Z]+), ([a-zA-Z]+)\)/) { '::range=' + $1 + '..' + $2 }
135
+ method_name.gsub!(/::(is|has)([A-Z])([\w]+)\(/) { '::' + $2.downcase + $3 + "?" + "(" }
136
+ method_name.gsub!(/::set([A-Z])([a-zA-Z]+)(\([^,]*\))/) { '::' + $1.downcase + $2 + '=' + $3 }
137
+ method_name.sub!(/::([a-z])/) { '#' + $1 }
138
+ method_name.gsub!(/Q([A-Z])/) { 'Qt::' + $1 }
139
+ method_name.sub!('()', '')
140
+ return method_name
141
+ end
142
+ end
143
+
144
+ candidates.gsub!("\t", "")
145
+ candidates.split($/).each do |candidate|
146
+ if candidate =~ /~|qt_metacall|staticMetaObject/
147
+ next
148
+ end
149
+ puts candidate.to_ruby_method(showOpt) if pattern.nil? || pattern =~ candidate
150
+ end
151
+
152
+ # kate: space-indent on; indent-width 2; replace-tabs on; mixed-indent off;
data/extconf.rb CHANGED
@@ -18,11 +18,11 @@ end
18
18
  if windows
19
19
  # README! - Modify this path if you have QT installed somewhere else
20
20
  # or if you have a different version of QT you want to link to.
21
- qt_sdk_path = "C:\\Qt\\4.8.6"
21
+ qt_sdk_path = ENV['QTBINDINGS_QT_PATH']
22
22
  begin
23
23
  File::Stat.new(qt_sdk_path)
24
24
  rescue
25
- puts "ERROR! QT SDK doesn't exist at #{qt_sdk_path}"
25
+ puts "ERROR! QT SDK doesn't exist at #{qt_sdk_path}. Please set environment QTBINDINGS_QT_PATH"
26
26
  exit # Not much we can do if the QT SDK doesn't exist
27
27
  end
28
28
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/lib/2.0/qtruby4.so CHANGED
Binary file
data/lib/2.0/qtscript.so CHANGED
Binary file
data/lib/2.0/qttest.so CHANGED
Binary file
data/lib/2.0/qtuitools.so CHANGED
Binary file
data/lib/2.0/qtwebkit.so CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/lib/2.1/qtruby4.so CHANGED
Binary file
data/lib/2.1/qtscript.so CHANGED
Binary file
data/lib/2.1/qttest.so CHANGED
Binary file
data/lib/2.1/qtuitools.so CHANGED
Binary file
data/lib/2.1/qtwebkit.so CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/lib/2.2/qtruby4.so CHANGED
Binary file
data/lib/2.2/qtscript.so CHANGED
Binary file
data/lib/2.2/qttest.so CHANGED
Binary file
data/lib/2.2/qtuitools.so CHANGED
Binary file
data/lib/2.2/qtwebkit.so CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/lib/2.3/qttest.so ADDED
Binary file
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ QTBINDINGS_QT_VERSION = '0.0.0.0'
2
+ QTBINDINGS_QT_RELEASE_DATE = ''
@@ -1,2 +1,2 @@
1
- QTBINDINGS_VERSION = '4.8.6.2'
2
- QTBINDINGS_RELEASE_DATE = '2015-05-08 10:50:07 -0600'
1
+ QTBINDINGS_VERSION = '4.8.6.3'
2
+ QTBINDINGS_RELEASE_DATE = '2016-11-21 17:53:25 -0700'
data/qtbindings.gemspec CHANGED
@@ -14,5 +14,5 @@ spec = Gem::Specification.new do |s|
14
14
  s.extensions = ['extconf.rb']
15
15
  s.executables = ['smokeapi', 'smokedeptool', 'rbrcc', 'rbuic4', 'rbqtapi']
16
16
  s.description = 'qtbindings provides ruby bindings to QT4.x. It is derived from the kdebindings project.'
17
- s.licenses = ['LGPLv2.1']
17
+ s.licenses = ['LGPL-2.1']
18
18
  end
@@ -10,10 +10,10 @@ spec = Gem::Specification.new do |s|
10
10
  s.name = 'qtbindings'
11
11
  s.version = QTBINDINGS_VERSION
12
12
  s.required_ruby_version = '>= 2.0.0'
13
- s.add_dependency 'qtbindings-qt', QTBINDINGS_VERSION.split('.')[0..-2].join('.')
13
+ s.add_dependency 'qtbindings-qt', "~> #{QTBINDINGS_VERSION.split('.')[0..-2].join('.')}.0"
14
14
  s.require_path = 'lib'
15
15
  s.files = Dir['lib/**/*', 'bin/**/*', 'examples/**/*', '*.txt', 'extconf.rb', '*.gemspec', 'Rakefile'].to_a
16
16
  s.executables = ['smokeapi', 'smokedeptool', 'rbrcc', 'rbuic4', 'rbqtapi']
17
17
  s.description = 'qtbindings provides ruby bindings to QT4.x. It is derived from the kdebindings project.'
18
- s.licenses = ['LGPLv2.1']
18
+ s.licenses = ['LGPL-2.1']
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qtbindings
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.8.6.2
4
+ version: 4.8.6.3
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Ryan Melton
@@ -11,22 +11,22 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-05-08 00:00:00.000000000 Z
14
+ date: 2016-11-22 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: qtbindings-qt
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  requirements:
20
- - - '='
20
+ - - "~>"
21
21
  - !ruby/object:Gem::Version
22
- version: 4.8.6
22
+ version: 4.8.6.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - '='
27
+ - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 4.8.6
29
+ version: 4.8.6.0
30
30
  description: qtbindings provides ruby bindings to QT4.x. It is derived from the kdebindings
31
31
  project.
32
32
  email: kde-bindings@kde.org
@@ -39,84 +39,12 @@ executables:
39
39
  extensions: []
40
40
  extra_rdoc_files: []
41
41
  files:
42
- - lib/2.0/libqtruby4shared.dll
43
- - lib/2.0/libsmokebase.dll
44
- - lib/2.0/libsmokeqtcore.dll
45
- - lib/2.0/libsmokeqtdeclarative.dll
46
- - lib/2.0/libsmokeqtgui.dll
47
- - lib/2.0/libsmokeqthelp.dll
48
- - lib/2.0/libsmokeqtmultimedia.dll
49
- - lib/2.0/libsmokeqtnetwork.dll
50
- - lib/2.0/libsmokeqtopengl.dll
51
- - lib/2.0/libsmokeqtscript.dll
52
- - lib/2.0/libsmokeqtsql.dll
53
- - lib/2.0/libsmokeqtsvg.dll
54
- - lib/2.0/libsmokeqttest.dll
55
- - lib/2.0/libsmokeqtuitools.dll
56
- - lib/2.0/libsmokeqtwebkit.dll
57
- - lib/2.0/libsmokeqtxml.dll
58
- - lib/2.0/libsmokeqtxmlpatterns.dll
59
- - lib/2.0/qtdeclarative.so
60
- - lib/2.0/qtruby4.so
61
- - lib/2.0/qtscript.so
62
- - lib/2.0/qttest.so
63
- - lib/2.0/qtuitools.so
64
- - lib/2.0/qtwebkit.so
65
- - lib/2.1/libqtruby4shared.dll
66
- - lib/2.1/libsmokebase.dll
67
- - lib/2.1/libsmokeqtcore.dll
68
- - lib/2.1/libsmokeqtdeclarative.dll
69
- - lib/2.1/libsmokeqtgui.dll
70
- - lib/2.1/libsmokeqthelp.dll
71
- - lib/2.1/libsmokeqtmultimedia.dll
72
- - lib/2.1/libsmokeqtnetwork.dll
73
- - lib/2.1/libsmokeqtopengl.dll
74
- - lib/2.1/libsmokeqtscript.dll
75
- - lib/2.1/libsmokeqtsql.dll
76
- - lib/2.1/libsmokeqtsvg.dll
77
- - lib/2.1/libsmokeqttest.dll
78
- - lib/2.1/libsmokeqtuitools.dll
79
- - lib/2.1/libsmokeqtwebkit.dll
80
- - lib/2.1/libsmokeqtxml.dll
81
- - lib/2.1/libsmokeqtxmlpatterns.dll
82
- - lib/2.1/qtdeclarative.so
83
- - lib/2.1/qtruby4.so
84
- - lib/2.1/qtscript.so
85
- - lib/2.1/qttest.so
86
- - lib/2.1/qtuitools.so
87
- - lib/2.1/qtwebkit.so
88
- - lib/2.2/libqtruby4shared.dll
89
- - lib/2.2/libsmokebase.dll
90
- - lib/2.2/libsmokeqtcore.dll
91
- - lib/2.2/libsmokeqtdeclarative.dll
92
- - lib/2.2/libsmokeqtgui.dll
93
- - lib/2.2/libsmokeqthelp.dll
94
- - lib/2.2/libsmokeqtmultimedia.dll
95
- - lib/2.2/libsmokeqtnetwork.dll
96
- - lib/2.2/libsmokeqtopengl.dll
97
- - lib/2.2/libsmokeqtscript.dll
98
- - lib/2.2/libsmokeqtsql.dll
99
- - lib/2.2/libsmokeqtsvg.dll
100
- - lib/2.2/libsmokeqttest.dll
101
- - lib/2.2/libsmokeqtuitools.dll
102
- - lib/2.2/libsmokeqtwebkit.dll
103
- - lib/2.2/libsmokeqtxml.dll
104
- - lib/2.2/libsmokeqtxmlpatterns.dll
105
- - lib/2.2/qtdeclarative.so
106
- - lib/2.2/qtruby4.so
107
- - lib/2.2/qtscript.so
108
- - lib/2.2/qttest.so
109
- - lib/2.2/qtuitools.so
110
- - lib/2.2/qtwebkit.so
111
- - lib/Qt/qtruby4.rb
112
- - lib/Qt.rb
113
- - lib/Qt4.rb
114
- - lib/qtbindings_version.rb
115
- - lib/qtdeclarative/qtdeclarative.rb
116
- - lib/qtscript/qtscript.rb
117
- - lib/qttest/qttest.rb
118
- - lib/qtuitools/qtuitools.rb
119
- - lib/qtwebkit/qtwebkit.rb
42
+ - CHANGELOG.txt
43
+ - COPYING.LIB.txt
44
+ - COPYING.txt
45
+ - KNOWN_ISSUES.txt
46
+ - Rakefile
47
+ - TODO.txt
120
48
  - bin/2.0/rbrcc.exe
121
49
  - bin/2.0/rbuic4.exe
122
50
  - bin/2.0/smokeapi.exe
@@ -129,6 +57,10 @@ files:
129
57
  - bin/2.2/rbuic4.exe
130
58
  - bin/2.2/smokeapi.exe
131
59
  - bin/2.2/smokedeptool.exe
60
+ - bin/2.3/rbrcc.exe
61
+ - bin/2.3/rbuic4.exe
62
+ - bin/2.3/smokeapi.exe
63
+ - bin/2.3/smokedeptool.exe
132
64
  - bin/rbqtapi
133
65
  - bin/rbrcc
134
66
  - bin/rbuic4
@@ -213,8 +145,8 @@ files:
213
145
  - examples/itemviews/chart/qtdata.cht
214
146
  - examples/itemviews/dirview/main.rb
215
147
  - examples/itemviews/pixelator/imagemodel.rb
216
- - examples/itemviews/pixelator/images/qt.png
217
148
  - examples/itemviews/pixelator/images.qrc
149
+ - examples/itemviews/pixelator/images/qt.png
218
150
  - examples/itemviews/pixelator/main.rb
219
151
  - examples/itemviews/pixelator/mainwindow.rb
220
152
  - examples/itemviews/pixelator/makefile
@@ -356,10 +288,10 @@ files:
356
288
  - examples/painting/transformations/window.rb
357
289
  - examples/passivepopup/passivepopup.rb
358
290
  - examples/qdbus/chat/chat.rb
359
- - examples/qdbus/chat/chatmainwindow.ui
360
- - examples/qdbus/chat/chatsetnickname.ui
361
291
  - examples/qdbus/chat/chat_adaptor.rb
362
292
  - examples/qdbus/chat/chat_interface.rb
293
+ - examples/qdbus/chat/chatmainwindow.ui
294
+ - examples/qdbus/chat/chatsetnickname.ui
363
295
  - examples/qdbus/chat/makefile
364
296
  - examples/qdbus/complexpingpong/complexping.rb
365
297
  - examples/qdbus/complexpingpong/complexpong.rb
@@ -384,12 +316,13 @@ files:
384
316
  - examples/richtext/syntaxhighlighter/highlighter.rb
385
317
  - examples/richtext/syntaxhighlighter/main.rb
386
318
  - examples/richtext/syntaxhighlighter/mainwindow.rb
387
- - examples/ruboids/boids.properties
388
- - examples/ruboids/generateManifest.rb
389
- - examples/ruboids/index.html
390
319
  - examples/ruboids/LICENSE.txt
391
320
  - examples/ruboids/Manifest
392
321
  - examples/ruboids/README
322
+ - examples/ruboids/TODO
323
+ - examples/ruboids/boids.properties
324
+ - examples/ruboids/generateManifest.rb
325
+ - examples/ruboids/index.html
393
326
  - examples/ruboids/release.rb
394
327
  - examples/ruboids/ruboids/Boid.rb
395
328
  - examples/ruboids/ruboids/BoidView.rb
@@ -400,16 +333,15 @@ files:
400
333
  - examples/ruboids/ruboids/CloudView.rb
401
334
  - examples/ruboids/ruboids/Flock.rb
402
335
  - examples/ruboids/ruboids/Graphics.rb
403
- - examples/ruboids/ruboids/info.rb
404
336
  - examples/ruboids/ruboids/Params.rb
405
337
  - examples/ruboids/ruboids/Point.rb
406
- - examples/ruboids/ruboids/ruboids.rb
407
338
  - examples/ruboids/ruboids/Thing.rb
408
339
  - examples/ruboids/ruboids/Triangle.rb
409
340
  - examples/ruboids/ruboids/View.rb
410
341
  - examples/ruboids/ruboids/World.rb
411
342
  - examples/ruboids/ruboids/WorldWindow.rb
412
- - examples/ruboids/TODO
343
+ - examples/ruboids/ruboids/info.rb
344
+ - examples/ruboids/ruboids/ruboids.rb
413
345
  - examples/run_all.rb
414
346
  - examples/threading/main_thread.rb
415
347
  - examples/tutorial/t1/t1.rb
@@ -523,18 +455,114 @@ files:
523
455
  - examples/xml/saxbookmarks/mainwindow.rb
524
456
  - examples/xml/saxbookmarks/xbelgenerator.rb
525
457
  - examples/xml/saxbookmarks/xbelhandler.rb
526
- - CHANGELOG.txt
527
- - COPYING.LIB.txt
528
- - COPYING.txt
529
- - KNOWN_ISSUES.txt
530
- - TODO.txt
531
458
  - extconf.rb
459
+ - lib/2.0/libqtruby4shared.dll
460
+ - lib/2.0/libsmokebase.dll
461
+ - lib/2.0/libsmokeqtcore.dll
462
+ - lib/2.0/libsmokeqtdeclarative.dll
463
+ - lib/2.0/libsmokeqtgui.dll
464
+ - lib/2.0/libsmokeqthelp.dll
465
+ - lib/2.0/libsmokeqtmultimedia.dll
466
+ - lib/2.0/libsmokeqtnetwork.dll
467
+ - lib/2.0/libsmokeqtopengl.dll
468
+ - lib/2.0/libsmokeqtscript.dll
469
+ - lib/2.0/libsmokeqtsql.dll
470
+ - lib/2.0/libsmokeqtsvg.dll
471
+ - lib/2.0/libsmokeqttest.dll
472
+ - lib/2.0/libsmokeqtuitools.dll
473
+ - lib/2.0/libsmokeqtwebkit.dll
474
+ - lib/2.0/libsmokeqtxml.dll
475
+ - lib/2.0/libsmokeqtxmlpatterns.dll
476
+ - lib/2.0/qtdeclarative.so
477
+ - lib/2.0/qtruby4.so
478
+ - lib/2.0/qtscript.so
479
+ - lib/2.0/qttest.so
480
+ - lib/2.0/qtuitools.so
481
+ - lib/2.0/qtwebkit.so
482
+ - lib/2.1/libqtruby4shared.dll
483
+ - lib/2.1/libsmokebase.dll
484
+ - lib/2.1/libsmokeqtcore.dll
485
+ - lib/2.1/libsmokeqtdeclarative.dll
486
+ - lib/2.1/libsmokeqtgui.dll
487
+ - lib/2.1/libsmokeqthelp.dll
488
+ - lib/2.1/libsmokeqtmultimedia.dll
489
+ - lib/2.1/libsmokeqtnetwork.dll
490
+ - lib/2.1/libsmokeqtopengl.dll
491
+ - lib/2.1/libsmokeqtscript.dll
492
+ - lib/2.1/libsmokeqtsql.dll
493
+ - lib/2.1/libsmokeqtsvg.dll
494
+ - lib/2.1/libsmokeqttest.dll
495
+ - lib/2.1/libsmokeqtuitools.dll
496
+ - lib/2.1/libsmokeqtwebkit.dll
497
+ - lib/2.1/libsmokeqtxml.dll
498
+ - lib/2.1/libsmokeqtxmlpatterns.dll
499
+ - lib/2.1/qtdeclarative.so
500
+ - lib/2.1/qtruby4.so
501
+ - lib/2.1/qtscript.so
502
+ - lib/2.1/qttest.so
503
+ - lib/2.1/qtuitools.so
504
+ - lib/2.1/qtwebkit.so
505
+ - lib/2.2/libqtruby4shared.dll
506
+ - lib/2.2/libsmokebase.dll
507
+ - lib/2.2/libsmokeqtcore.dll
508
+ - lib/2.2/libsmokeqtdeclarative.dll
509
+ - lib/2.2/libsmokeqtgui.dll
510
+ - lib/2.2/libsmokeqthelp.dll
511
+ - lib/2.2/libsmokeqtmultimedia.dll
512
+ - lib/2.2/libsmokeqtnetwork.dll
513
+ - lib/2.2/libsmokeqtopengl.dll
514
+ - lib/2.2/libsmokeqtscript.dll
515
+ - lib/2.2/libsmokeqtsql.dll
516
+ - lib/2.2/libsmokeqtsvg.dll
517
+ - lib/2.2/libsmokeqttest.dll
518
+ - lib/2.2/libsmokeqtuitools.dll
519
+ - lib/2.2/libsmokeqtwebkit.dll
520
+ - lib/2.2/libsmokeqtxml.dll
521
+ - lib/2.2/libsmokeqtxmlpatterns.dll
522
+ - lib/2.2/qtdeclarative.so
523
+ - lib/2.2/qtruby4.so
524
+ - lib/2.2/qtscript.so
525
+ - lib/2.2/qttest.so
526
+ - lib/2.2/qtuitools.so
527
+ - lib/2.2/qtwebkit.so
528
+ - lib/2.3/libqtruby4shared.dll
529
+ - lib/2.3/libsmokebase.dll
530
+ - lib/2.3/libsmokeqtcore.dll
531
+ - lib/2.3/libsmokeqtdeclarative.dll
532
+ - lib/2.3/libsmokeqtgui.dll
533
+ - lib/2.3/libsmokeqthelp.dll
534
+ - lib/2.3/libsmokeqtmultimedia.dll
535
+ - lib/2.3/libsmokeqtnetwork.dll
536
+ - lib/2.3/libsmokeqtopengl.dll
537
+ - lib/2.3/libsmokeqtscript.dll
538
+ - lib/2.3/libsmokeqtsql.dll
539
+ - lib/2.3/libsmokeqtsvg.dll
540
+ - lib/2.3/libsmokeqttest.dll
541
+ - lib/2.3/libsmokeqtuitools.dll
542
+ - lib/2.3/libsmokeqtwebkit.dll
543
+ - lib/2.3/libsmokeqtxml.dll
544
+ - lib/2.3/libsmokeqtxmlpatterns.dll
545
+ - lib/2.3/qtdeclarative.so
546
+ - lib/2.3/qtruby4.so
547
+ - lib/2.3/qtscript.so
548
+ - lib/2.3/qttest.so
549
+ - lib/2.3/qtuitools.so
550
+ - lib/2.3/qtwebkit.so
551
+ - lib/Qt.rb
552
+ - lib/Qt/qtruby4.rb
553
+ - lib/Qt4.rb
554
+ - lib/qtbindings_qt_version.rb
555
+ - lib/qtbindings_version.rb
556
+ - lib/qtdeclarative/qtdeclarative.rb
557
+ - lib/qtscript/qtscript.rb
558
+ - lib/qttest/qttest.rb
559
+ - lib/qtuitools/qtuitools.rb
560
+ - lib/qtwebkit/qtwebkit.rb
532
561
  - qtbindings.gemspec
533
562
  - qtbindingsnative.gemspec
534
- - Rakefile
535
563
  homepage: http://github.com/ryanmelt/qtbindings
536
564
  licenses:
537
- - LGPLv2.1
565
+ - LGPL-2.1
538
566
  metadata: {}
539
567
  post_install_message:
540
568
  rdoc_options: []
@@ -542,17 +570,17 @@ require_paths:
542
570
  - lib
543
571
  required_ruby_version: !ruby/object:Gem::Requirement
544
572
  requirements:
545
- - - '>='
573
+ - - ">="
546
574
  - !ruby/object:Gem::Version
547
575
  version: 2.0.0
548
576
  required_rubygems_version: !ruby/object:Gem::Requirement
549
577
  requirements:
550
- - - '>='
578
+ - - ">="
551
579
  - !ruby/object:Gem::Version
552
580
  version: '0'
553
581
  requirements: []
554
582
  rubyforge_project: qtbindings
555
- rubygems_version: 2.0.14
583
+ rubygems_version: 2.5.1
556
584
  signing_key:
557
585
  specification_version: 4
558
586
  summary: Qt bindings for ruby