Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions

QFlag Class Reference

The QFlag class is a helper data type for QFlags. More...

#include <QFlag>

Part of the QtCore module.

Public Functions


Detailed Description

The QFlag class is a helper data type for QFlags.

It is equivalent to a plain int, except with respect to function overloading and type conversions. You should never need to use it in your applications.

See also QFlags.


Member Function Documentation

QFlag::QFlag ( int value )

Constructs a QFlag object that stores the given value.

QFlag::operator int () const

Returns the value stored by the QFlag object.


Copyright © 2005 Trolltech Trademarks
Qt 4.0.0-rc1