Qt logo

Qt Class Reference


The Qt class is a namespace for miscellaneous identifiers that need to be global-like. More...

#include <qnamespace.h>

Inherited by QBrush, QEvent, QListViewItem, QObject, QPainter, QPen, QPixmap, QStyleSheetItem, QToolTip and QWhatsThis.

List of all member functions.

Public Members


Detailed Description

The Qt class is a namespace for miscellaneous identifiers that need to be global-like.

Normally, you can ignore this class. QObject and a few other classes inherit it, so that all the identifiers in the Qt namespace are visible to you without qualification.

However, occasionally you may need to say Qt::black instead just black, particularly in static utility functions (such as many class factories).

Examples: menu/menu.cpp


Member Type Documentation

Qt::Orientation

This type is used to signify whether an object should be Horizontal or Vertical (for example in QScrollBar).

Search the documentation, FAQ, qt-interest archive and more (uses www.troll.no):


This file is part of the Qt toolkit, copyright © 1995-99 Troll Tech, all rights reserved.


Copyright © 1999 Troll TechTrademarks
Qt version 2.0.2