Class: Qt::ItemSelection

Inherits:
Object show all
Includes:
Enumerable
Defined in:
lib/qtext/extensions.rb

Instance Method Summary collapse

Instance Method Details

#firstObject



114
115
116
# File 'lib/qtext/extensions.rb', line 114

def first
  self.at(0)
end

#lastObject



118
119
120
# File 'lib/qtext/extensions.rb', line 118

def last
  self.at(count-1)
end

#sizeObject

can’t alias this because it doesn’t work with Qt bindings



112
# File 'lib/qtext/extensions.rb', line 112

def size; self.count; end