QtGui/qx11info_x11.h Source File
Go to the documentation of this file.
42 #ifndef QX11INFO_X11_H
43 #define QX11INFO_X11_H
58 class QApplicationPrivate;
59 class QX11InfoPrivate;
60 struct QX11WindowAttributes;
63 class Q_GUI_EXPORT QX11Info
68 QX11Info(
const QX11Info &other);
69 QX11Info &operator=(
const QX11Info &other);
72 static const char *appClass();
77 bool defaultColormap()
const;
79 bool defaultVisual()
const;
81 static int appScreen();
82 static int appDepth(
int screen = -1);
83 static int appCells(
int screen = -1);
84 static Qt::HANDLE appColormap(
int screen = -1);
85 static void *appVisual(
int screen = -1);
86 static Qt::HANDLE appRootWindow(
int screen = -1);
87 static bool appDefaultColormap(
int screen = -1);
88 static bool appDefaultVisual(
int screen = -1);
89 static int appDpiX(
int screen = -1);
90 static int appDpiY(
int screen = -1);
91 static void setAppDpiX(
int screen,
int dpi);
92 static void setAppDpiY(
int screen,
int dpi);
93 static unsigned long appTime();
94 static unsigned long appUserTime();
95 static void setAppTime(
unsigned long time);
96 static void setAppUserTime(
unsigned long time);
97 static bool isCompositingManagerRunning();
100 void copyX11Data(
const QPaintDevice *);
101 void cloneX11Data(
const QPaintDevice *);
102 void setX11Data(
const QX11InfoData *);
103 QX11InfoData* getX11Data(
bool def =
false)
const;
107 friend class QX11PaintEngine;
109 friend class QX11PixmapData;
111 friend class QWidgetPrivate;
113 friend void qt_init(QApplicationPrivate *priv,
int,
Display *display,
Qt::HANDLE visual,
115 friend void qt_cleanup();
123 #endif // QX11INFO_X11_H
typedefQT_END_NAMESPACE QT_END_HEADER struct _XDisplay Display
#define QT_BEGIN_NAMESPACE
void qt_x11_getX11InfoForWindow(QX11Info *xinfo, const QX11WindowAttributes &a)
GLint GLint GLsizei GLsizei GLsizei depth
GLubyte GLubyte GLubyte a