Obsolete Members for QAxFactory
QAxFactory 클래스의 다음 멤버는 더 이상 사용되지 않습니다. 이들은 이전 소스 코드의 작동을 유지하기 위해 제공됩니다. 새 코드에서는 사용하지 않는 것이 좋습니다.
매크로
(deprecated) | QAXFACTORY_DEFAULT(Class, ClassID, InterfaceID, EventID, LibID, AppID) |
매크로 문서
[deprecated]
QAXFACTORY_DEFAULT(Class, ClassID, InterfaceID, EventID, LibID, AppID)
이 매크로는 더 이상 사용되지 않습니다. 새 코드에서 이 매크로를 사용하지 않는 것이 좋습니다.
이 매크로는 암시적으로 선언된 QAxFactory 구현을 통해 단일 QObject 하위 클래스 Class 를 이 COM 서버로 내보내는 데 사용할 수 있습니다.
이 매크로는 Class 클래스를 CLSID가 ClassID 인 COM 코클래스로 내보냅니다. 프로퍼티와 슬롯은 IID InterfaceID 를 가진 COM 인터페이스를 통해 선언되고, 신호는 IID EventID 를 가진 COM 이벤트 인터페이스를 통해 선언됩니다. 모든 선언은 ID가 LibID 인 타입 라이브러리에 있으며, 서버가 실행 서버인 경우 애플리케이션 ID가 AppID 입니다.
#include <qaxfactory.h> #include "theactivex.h" QAXFACTORY_DEFAULT( TheActiveX, // widget class "{01234567-89AB-CDEF-0123-456789ABCDEF}", // class ID "{01234567-89AB-CDEF-0123-456789ABCDEF}", // interface ID "{01234567-89AB-CDEF-0123-456789ABCDEF}", // event interface ID "{01234567-89AB-CDEF-0123-456789ABCDEF}", // type library ID "{01234567-89AB-CDEF-0123-456789ABCDEF}" // application ID )
참고: 이 클래스는 QAXFACTORY_BEGIN()를 위해 더 이상 사용되지 않습니다.
QAXFACTORY_EXPORT()도 참조하세요 .
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.