def propertyNames(inherits = false)
      res = []
      if inherits
        for p in 0...propertyCount()
          res.push property(p).name
        end
      else
        for p in propertyOffset()...propertyCount()
          res.push property(p).name
        end
      end
      return res
    end
def propertyNames(inherits = false)
      res = []
      if inherits
        for p in 0...propertyCount()
          res.push property(p).name
        end
      else
        for p in propertyOffset()...propertyCount()
          res.push property(p).name
        end
      end
      return res
    end
Add three methods, 'propertyNames()', 'slotNames()' and 'signalNames()'
 from Qt3, as they are very useful when debugging