src/opengl/qgl.h File Reference

#include <QtGui/qwidget.h>
#include <QtOpenGL/qglcolormap.h>
#include <QtCore/qmap.h>
#include <GL/gl.h>
#include <GL/glu.h>

Include dependency graph for qgl.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QGL

Classes

class  QGLFormat
 The QGLFormat class specifies the display format of an OpenGL rendering context. More...
class  QGLContext
 The QGLContext class encapsulates an OpenGL rendering context. More...
class  QGLWidget
 The QGLWidget class is a widget for rendering OpenGL graphics. More...

Enumerations

enum  QGL::FormatOption

Functions

Q_OPENGL_EXPORT bool operator== (const QGLFormat &, const QGLFormat &)
Q_OPENGL_EXPORT bool operator!= (const QGLFormat &, const QGLFormat &)


Function Documentation

Q_OPENGL_EXPORT bool operator!= ( const QGLFormat a,
const QGLFormat b 
)

Returns false if all the options of the two QGLFormats are equal; otherwise returns true.

Definition at line 1231 of file qgl.cpp.

References a, and b.

01232 {
01233     return !(a == b);
01234 }

Q_OPENGL_EXPORT bool operator== ( const QGLFormat a,
const QGLFormat b 
)

Returns true if all the options of the two QGLFormats are equal; otherwise returns false.

Definition at line 1218 of file qgl.cpp.

References a, b, and int.

01219 {
01220     return (int) a.d->opts == (int) b.d->opts && a.d->pln == b.d->pln && a.d->alphaSize == b.d->alphaSize
01221         && a.d->accumSize == b.d->accumSize && a.d->stencilSize == b.d->stencilSize
01222         && a.d->depthSize == b.d->depthSize;
01223 }


Generated on Thu Mar 15 13:54:19 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1