Class: RuGUI::FrameworkAdapters::Qt4::BaseMainController

Inherits:
BaseController show all
Defined in:
lib/rugui/framework_adapters/Qt4.rb

Instance Attribute Summary

Attributes inherited from BaseFrameworkAdapter::Base

#adapted_object

Instance Method Summary collapse

Methods inherited from BaseController

#queue

Methods inherited from BaseFrameworkAdapter::BaseController

#queue

Methods inherited from BaseFrameworkAdapter::Base

#initialize

Constructor Details

This class inherits a constructor from RuGUI::FrameworkAdapters::BaseFrameworkAdapter::Base

Instance Method Details

#quitObject



35
36
37
# File 'lib/rugui/framework_adapters/Qt4.rb', line 35

def quit
  Qt.application.exit
end

#refreshObject

Raises:

  • (NotImplementedError)


30
31
32
33
# File 'lib/rugui/framework_adapters/Qt4.rb', line 30

def refresh
  # TODO: Vicente Mundim - 03/06/2009 - Implement this method for Qt.
  raise NotImplementedError.new("Sorry, refresh is not implemented for Qt yet!")
end

#runObject



26
27
28
# File 'lib/rugui/framework_adapters/Qt4.rb', line 26

def run
  Qt.application.exec
end