QFlag 类

The QFlag class is a helper data type for QFlags . 更多...

头: #include <QFlag>

公共函数

QFlag (int value )
operator int () const

详细描述

The QFlag class is a helper data type for QFlags .

它相当于纯 int ,除了函数重载和类型转换方面。应该从不需要使用此类在您的应用程序中。

另请参阅 QFlags .

成员函数文档编制

QFlag:: QFlag ( int value )

构造 QFlag object that stores the given value .

QFlag:: operator int () const

Returns the value stored by the QFlag 对象。