class Qt::Base::Signal

Attributes

symbol[R]

Public Class Methods

create(signal, types) click to toggle source
# File lib/rui/toolkits/qtbase/qt.rb, line 256
def self.create(signal, types)
  if signal.is_a?(self)
    signal
  else
    new(signal, types)
  end
end
new(signal, types) click to toggle source
# File lib/rui/toolkits/qtbase/qt.rb, line 250
def initialize(signal, types)
  raise "Only symbols are supported as signals" unless signal.is_a?(Symbol)
  @symbol = signal
  @types = types
end

Public Instance Methods

to_s() click to toggle source
# File lib/rui/toolkits/qtbase/qt.rb, line 264
def to_s
  @symbol.to_s
end