Qt 4.8
Public Functions | Public Variables | List of all members
QCMapEntry Struct Reference

Public Functions

 QCMapEntry ()
 
 ~QCMapEntry ()
 

Public Variables

bool alloc
 
Colormap cmap
 
XStandardColormap scmap
 

Detailed Description

Definition at line 141 of file qgl_x11.cpp.

Constructors and Destructors

◆ QCMapEntry()

QCMapEntry::QCMapEntry ( )

Definition at line 150 of file qgl_x11.cpp.

Referenced by qt_gl_choose_cmap().

151 {
152  cmap = 0;
153  alloc = false;
154  scmap.colormap = 0;
155 }
bool alloc
Definition: qgl_x11.cpp:146
Colormap cmap
Definition: qgl_x11.cpp:145
XStandardColormap scmap
Definition: qgl_x11.cpp:147

◆ ~QCMapEntry()

QCMapEntry::~QCMapEntry ( )

Definition at line 157 of file qgl_x11.cpp.

158 {
159  if (alloc)
160  XFreeColormap(X11->display, cmap);
161 }
bool alloc
Definition: qgl_x11.cpp:146
#define X11
Definition: qt_x11_p.h:724
Colormap cmap
Definition: qgl_x11.cpp:145

Properties

◆ alloc

bool QCMapEntry::alloc

Definition at line 146 of file qgl_x11.cpp.

Referenced by QCMapEntry(), qt_gl_choose_cmap(), qt_transparent_pixel(), and ~QCMapEntry().

◆ cmap

Colormap QCMapEntry::cmap

Definition at line 145 of file qgl_x11.cpp.

Referenced by QCMapEntry(), qt_gl_choose_cmap(), qt_transparent_pixel(), and ~QCMapEntry().

◆ scmap

XStandardColormap QCMapEntry::scmap

Definition at line 147 of file qgl_x11.cpp.

Referenced by QCMapEntry(), qt_gl_choose_cmap(), and qt_transparent_pixel().


The documentation for this struct was generated from the following file: