private Method

Base.qt_methods(meths, flags)

There's no documentation for this item.

Source Code

# File qt/qtruby4.rb, line 185
def qt_methods(meths, flags)
        ids = []
        # These methods are all defined in Qt::Base, even if they aren't supported by a particular
        # subclass, so remove them to avoid confusion
        meths -= ["%", "&", "*", "**", "+", "-", "-@", "/", "<", "<<", "<=", ">", ">=", ">>", "|", "~", "^"]
        classid = Qt::Internal::idInstance(self)
        Qt::Internal::getAllParents(classid, ids)
        ids << classid
        ids.each { |c| Qt::Internal::findAllMethodNames(meths, c, flags) }
        return meths.uniq
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.