Qt 3 Support Members for QObjectОписанные ниже члены класса являются частью слоя поддержки Qt 3. Они введены для поддержки старого кода в Qt 4. Мы советуем не использовать их во вновь создаваемом коде. Открытые функции
Защищенные функции
Static Protected Members
Описание функций-членовQObject::QObject ( QObject * parent, const char * name )Creates a new QObject with the given parent and object name. bool QObject::checkConnectArgs ( const char * signal, const QObject * object, const char * method ) [protected]Use QMetaObject::checkConnectArgs() instead. QObject * QObject::child ( const char * objName, const char * inheritsClass = 0, bool recursiveSearch = true ) constSearches the children and optionally grandchildren of this object, and returns a child that is called objName that inherits inheritsClass. If inheritsClass is 0 (the default), any class matches. If recursiveSearch is true (the default), child() performs a depth-first search of the object's children. If there is no such object, this function returns 0. If there are more than one, the first one found is returned. const char * QObject::className () constUse metaObject()->className() instead. void QObject::insertChild ( QObject * object )Use setParent() instead, i.e., call object->setParent(this). bool QObject::isA ( const char * className ) constCompare className with the object's metaObject()->className() instead. const char * QObject::name () constUse objectName() instead. See also setName(). const char * QObject::name ( const char * defaultName ) constЭто перегруженная функция, предоставленная для удобства. Use objectName() instead. QByteArray QObject::normalizeSignalSlot ( const char * signalSlot ) [static protected]Use QMetaObject::normalizedSignature() instead. void QObject::removeChild ( QObject * object )Use setParent() instead, i.e., call object->setParent(0). void QObject::setName ( const char * name )Use setObjectName() instead. See also name().
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |