~ubuntu-branches/ubuntu/oneiric/kdebindings/oneiric

« back to all changes in this revision

Viewing changes to ruby/qtdeclarative/qtdeclarative.rb

  • Committer: Bazaar Package Importer
  • Author(s): Philip Muskovac
  • Date: 2010-12-07 00:10:46 UTC
  • mfrom: (1.1.42 upstream)
  • Revision ID: james.westby@ubuntu.com-20101207001046-h9gf2h54ym29tgui
Tags: 4:4.5.85-0ubuntu1
* New upstream beta release
* Disable libqwt-ruby1.8 and qwt files in libqt4-ruby1.8.examples
* Add libqtdeclarative-ruby1.8, libsmokeqt3support4-3,
  libsmokeqtdeclarative4-3 and libsmokeqthelp4-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/ruby
2
 
 
3
 
module QtDeclarative
4
 
    module Internal
5
 
        def self.init_all_classes
6
 
            getClassList.each do |c|
7
 
                classname = Qt::Internal::normalize_classname(c)
8
 
                id = Qt::Internal::findClass(c);
9
 
                Qt::Internal::insert_pclassid(classname, id)
10
 
                Qt::Internal::cpp_names[classname] = c
11
 
                klass = Qt::Internal::isQObject(c) ? Qt::Internal::create_qobject_class(classname, Qt) \
12
 
                                                    : Qt::Internal::create_qt_class(classname, Qt)
13
 
                Qt::Internal::classes[classname] = klass unless klass.nil?
14
 
            end
15
 
        end
16
 
    end
17
 
end