26 |
|
|
27 |
#include <QApplication> |
#include <QApplication> |
28 |
|
|
29 |
#if QT_VERSION < 0x050000 |
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) |
30 |
#if defined(Q_WS_X11) |
#if defined(Q_WS_X11) |
31 |
#define CONFIG_X11 |
#define CONFIG_X11 |
32 |
#endif |
#endif |
41 |
class QWidget; |
class QWidget; |
42 |
class QTranslator; |
class QTranslator; |
43 |
|
|
44 |
#if QT_VERSION < 0x050000 |
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) |
45 |
#ifdef CONFIG_XUNIQUE |
#ifdef CONFIG_XUNIQUE |
46 |
#ifdef CONFIG_X11 |
#ifdef CONFIG_X11 |
47 |
#include <QX11Info> |
#include <QX11Info> |
82 |
// and raise its proper main widget... |
// and raise its proper main widget... |
83 |
bool setup(); |
bool setup(); |
84 |
|
|
85 |
#if QT_VERSION < 0x050000 |
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) |
86 |
#ifdef CONFIG_XUNIQUE |
#ifdef CONFIG_XUNIQUE |
87 |
#ifdef CONFIG_X11 |
#ifdef CONFIG_X11 |
88 |
void x11PropertyNotify(Window w); |
void x11PropertyNotify(Window w); |
107 |
// Instance variables. |
// Instance variables. |
108 |
QWidget *m_pWidget; |
QWidget *m_pWidget; |
109 |
|
|
110 |
#if QT_VERSION < 0x050000 |
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) |
111 |
#ifdef CONFIG_XUNIQUE |
#ifdef CONFIG_XUNIQUE |
112 |
#ifdef CONFIG_X11 |
#ifdef CONFIG_X11 |
113 |
Display *m_pDisplay; |
Display *m_pDisplay; |