lib/clevic/qt.rb in clevic-0.13.0.b3 vs lib/clevic/qt.rb in clevic-0.13.0.b5
- old
+ new
@@ -1,15 +1,18 @@
=begin
Require this file to do Clevic in Qt
=end
-require 'pathname'
+require 'clevic/framework'
+require 'Qt4'
+
# require these first, so TableModel and TableView get the correct ancestors
require 'clevic/qt/table_model.rb'
require 'clevic/qt/table_view.rb'
# all other files in the qt subdirectory
+require 'pathname'
( Pathname.new( __FILE__ ).parent + 'qt' ).children.grep( /.rb$/ ).each do |child|
require child.to_s
end
# now require the generic parts