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 對象。