Qt 4.8
Classes | Functions
qplatformwindowformat_qpa.cpp File Reference
#include "qplatformwindowformat_qpa.h"
#include <QtCore/QDebug>

Go to the source code of this file.

Classes

class  QPlatformWindowFormatPrivate
 

Functions

QDebug operator<< (QDebug dbg, const QPlatformWindowFormat &f)
 
 Q_GLOBAL_STATIC (QPlatformWindowFormat, q_platformwindow_default_format)
 

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug  dbg,
const QPlatformWindowFormat f 
)

Definition at line 1042 of file qplatformwindowformat_qpa.cpp.

1043 {
1044  const QPlatformWindowFormatPrivate * const d = f.d;
1045 
1046  dbg.nospace() << "QGLFormat("
1047  << "options " << d->opts
1048  << ", depthBufferSize " << d->depthSize
1049  << ", accumBufferSize " << d->accumSize
1050  << ", stencilBufferSize " << d->stencilSize
1051  << ", redBufferSize " << d->redSize
1052  << ", greenBufferSize " << d->greenSize
1053  << ", blueBufferSize " << d->blueSize
1054  << ", alphaBufferSize " << d->alphaSize
1055  << ", samples " << d->numSamples
1056  << ", swapInterval " << d->swapInterval
1057  << ')';
1058 
1059  return dbg.space();
1060 }
double d
Definition: qnumeric_p.h:62
QPlatformWindowFormat::FormatOptions opts
QDebug & nospace()
Clears the stream&#39;s internal flag that records whether the last character was a space and returns a r...
Definition: qdebug.h:92
QPlatformWindowFormatPrivate * d
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
Definition: qdebug.h:91

◆ Q_GLOBAL_STATIC()

Q_GLOBAL_STATIC ( QPlatformWindowFormat  ,
q_platformwindow_default_format   
)