QMetaMethod Class Reference
|
Constant | Value | Description |
---|---|---|
QMetaMethod::Method | 0 | The function is a plain member function. |
QMetaMethod::Signal | 1 | The function is a signal. |
QMetaMethod::Slot | 2 | The function is a slot. |
Returns the access specification of this method (private, protected, or public).
Signals are always protected, meaning that you can only emit them from the class or from a subclass.
See also methodType().
Returns the type of this method (signal, slot, or method).
See also access().
Returns a list of parameter names.
See also parameterTypes() and signature().
Returns a list of parameter types.
See also parameterNames() and signature().
Returns the signature of this method (e.g., setValue(double)).
See also parameterTypes() and parameterNames().
Returns the tag associated with this method.
Tags are special macros recognized by moc that make it possible to add extra information about a method. For the moment, moc doesn't support any special tags.
Returns the return type of this method, or an empty string if the return type is void.
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.2 |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |