文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Meta Object System

Meta Object System

时间:2009-05-25  来源:zhengwenwei_123

The Meta Object System in Qt is responsible for the signal/slot mechanism for communication between objects, runtime type information and the dynamic property system. 元对象系统负责 信号/插槽 机制,用以对象之间的交换,运行时类型信息和动态属性系统。
  • the QObject class,
  • the "Q_OBJECT" macro inside the private section of the class declaration and
  • the Meta Object Compiler (moc).

它包括QObject类型,私有域的Q_OBJECT宏,和元对象编译器。

The moc reads a C++ source file. If it finds one or more class declarations that contain the "Q_OBJECT" macro, it produces another C++ source file which contains the meta object code for this class. This generated source file is either #included into the class' source file or compiled and linked with the class implementation.

相关阅读 更多 +
排行榜 更多 +
脱出游戏海之星球

脱出游戏海之星球

冒险解谜 下载
越狱模拟器3D中文版下载

越狱模拟器3D中文版下载

休闲益智 下载
MC大战僵尸2EXPAND版下载最新版本

MC大战僵尸2EXPAND版下载最新版本

策略塔防 下载