Class: Qt::Internal::ModuleIndex

Inherits:
Object
  • Object
show all
Defined in:
lib/Qt/qtruby4.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(smoke, index) ⇒ ModuleIndex

Returns a new instance of ModuleIndex.



2478
2479
2480
2481
# File 'lib/Qt/qtruby4.rb', line 2478

def initialize(smoke, index)
  @smoke = smoke
  @index = index
end

Instance Attribute Details

#indexObject

Returns the value of attribute index.



2469
2470
2471
# File 'lib/Qt/qtruby4.rb', line 2469

def index
  @index
end

Instance Method Details

#smokeObject



2471
2472
2473
2474
2475
2476
# File 'lib/Qt/qtruby4.rb', line 2471

def smoke
  if ! @smoke
      return 0
  end
  return @smoke
end