Qt 4.8
|
#include "QtGui/qwindowdefs.h"
#include "QtCore/qhash.h"
#include "QtCore/qlist.h"
#include "QtCore/qvariant.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xos.h>
#include <X11/Xatom.h>
#include <X11/extensions/shape.h>
#include <X11/extensions/XInput.h>
#include <X11/extensions/Xinerama.h>
#include <X11/extensions/Xrandr.h>
#include <X11/extensions/Xrender.h>
#include "X11/extensions/sync.h"
#include <X11/XKBlib.h>
#include <X11/Xcursor/Xcursor.h>
#include <fontconfig/fontconfig.h>
#include <X11/extensions/XShm.h>
Go to the source code of this file.
Classes | |
struct | QX11Data |
struct | QX11Data::PatternFills |
struct | QX11Data::ScrollInProgress |
struct | QX11Data::SolidFills |
struct | QX11InfoData |
struct | QXdndDropTransaction |
Macros | |
#define | ATOM(x) qt_x11Data->atoms[QX11Data::x] |
#define | QT_NO_XIM |
#define | X11 qt_x11Data |
#define | X11R4 |
#define | XRegisterIMInstantiateCallback qt_XRegisterIMInstantiateCallback |
#define | XSetIMValues qt_XSetIMValues |
#define | XUnregisterIMInstantiateCallback qt_XUnregisterIMInstantiateCallback |
Typedefs | |
typedef int(* | PtrXCloseDevice) (Display *, XDevice *) |
typedef Cursor(* | PtrXcursorLibraryLoadCursor) (Display *, const char *) |
typedef XID(* | PtrXFixesCreateRegionFromWindow) (Display *dpy, Window window, int kind) |
typedef void(* | PtrXFixesDestroyRegion) (Display *dpy, XID region) |
typedef XRectangle *(* | PtrXFixesFetchRegion) (Display *dpy, XID region, int *nrectanglesRet) |
typedef Bool(* | PtrXFixesQueryExtension) (Display *, int *, int *) |
typedef Status(* | PtrXFixesQueryVersion) (Display *, int *, int *) |
typedef void(* | PtrXFixesSelectSelectionInput) (Display *dpy, Window win, Atom selection, unsigned long eventMask) |
typedef void(* | PtrXFixesSetCursorName) (Display *dpy, Cursor cursor, const char *name) |
typedef void(* | PtrXFreeDeviceList) (XDeviceInfo *) |
typedef Bool(* | PtrXineramaIsActive) (Display *dpy) |
typedef Bool(* | PtrXineramaQueryExtension) (Display *dpy, int *event_base, int *error_base) |
typedef XineramaScreenInfo *(* | PtrXineramaQueryScreens) (Display *dpy, int *number) |
typedef XDeviceInfo *(* | PtrXListInputDevices) (Display *, int *) |
typedef XDevice *(* | PtrXOpenDevice) (Display *, XID) |
typedef Bool(* | PtrXRRQueryExtension) (Display *, int *, int *) |
typedef int(* | PtrXRRRootToScreen) (Display *, Window) |
typedef void(* | PtrXRRSelectInput) (Display *, Window, int) |
typedef int(* | PtrXRRUpdateConfiguration) (XEvent *) |
typedef int(* | PtrXSelectExtensionEvent) (Display *, Window, XEventClass *, int) |
typedef char * | XPointer |
Enumerations | |
enum | { XFocusOut = FocusOut, XFocusIn = FocusIn, XKeyPress = KeyPress, XKeyRelease = KeyRelease, XNone = None, XRevertToParent = RevertToParent, XGrayScale = GrayScale, XCursorShape = CursorShape } |
enum | DesktopEnvironment { DE_UNKNOWN, DE_KDE, DE_GNOME, DE_CDE, DE_MEEGO_COMPOSITOR, DE_4DWM } |
Functions | |
Q_DECLARE_TYPEINFO (XPoint, Q_PRIMITIVE_TYPE) | |
Q_DECLARE_TYPEINFO (XRectangle, Q_PRIMITIVE_TYPE) | |
Q_DECLARE_TYPEINFO (XChar2b, Q_PRIMITIVE_TYPE) | |
Q_DECLARE_TYPEINFO (XGlyphElt32, Q_PRIMITIVE_TYPE) | |
Variables | |
Q_GUI_EXPORT QX11Data * | qt_x11Data |
#define ATOM | ( | x | ) | qt_x11Data->atoms[QX11Data::x] |
Definition at line 723 of file qt_x11_p.h.
Referenced by QX11EmbedContainerPrivate::acceptClient(), QDialog::adjustPosition(), QApplicationPrivate::applyX11SpecificCommandLineArguments(), checkForClipboardEvents(), QAxWidget::clear(), QX11Data::clipboardReadProperty(), QX11Data::clipboardWaitForEvent(), QAxServerBase::create(), create_wm_client_leader(), QAxWidget::createHostWindow(), QX11Data::dndEnable(), DndFillClientMessage(), DndParseClientMessage(), DndReadSourceProperty(), DndWriteReceiverProperty(), do_size_hints(), QClipboardWatcher::empty(), QX11EmbedContainer::eventFilter(), QX11Data::findClientWindow(), findRealWindow(), findXdndAwareParent(), functor(), QClipboardWatcher::getDataInFormat(), GetMWMHints(), getNetWmState(), QSystemTrayIconSys::getSysTrayVisualInfo(), handle_xdnd_position(), QX11EmbedContainer::hideEvent(), QDesktopWidgetPrivate::init(), isPaintOrScrollDoneEvent(), QX11Data::motifdndFormat(), QX11Data::motifdndHandle(), QX11Data::motifdndObtainData(), MotifWindow(), QSizeGrip::mouseMoveEvent(), QSizeGrip::mousePressEvent(), QEventDispatcherX11::processEvents(), QClipboardWatcher::QClipboardWatcher(), qstring_to_xtp(), qt_change_net_wm_state(), qt_check_clipboard_sentinel(), qt_check_selection_sentinel(), qt_get_net_supported(), qt_get_net_virtual_roots(), qt_insert_sip(), qt_net_remove_user_time(), qt_net_update_user_time(), qt_reg_winclass(), qt_save_rootinfo(), qt_set_input_encoding(), qt_set_x11_resources(), qt_sync_request_scanner(), qt_wstate_iconified(), qt_x11_apply_settings_in_all_apps(), qt_x_errhandler(), qt_xdnd_send_leave(), qtaction_to_xdndaction(), QX11EmbedWidget::QX11EmbedWidget(), QXIMInputContext::QXIMInputContext(), send_selection(), send_targets_selection(), QWidgetPrivate::sendStartupMessage(), sendXEmbedMessage(), SetMWMHints(), QWidgetPrivate::setNetWmWindowTypes(), QWidgetPrivate::setWindowRole(), QX11EmbedContainer::showEvent(), QApplication::syncX(), QSystemTrayIconSys::sysTrayTracker(), TargetsTable(), QETWidget::translateConfigEvent(), QETWidget::translateMouseEvent(), QETWidget::translatePropertyEvent(), QApplication::x11ClientMessage(), QX11EmbedWidget::x11Event(), QX11EmbedContainer::x11Event(), x11EventSourceDispatch(), QApplication::x11ProcessEvent(), xdnd_position_scanner(), xdnd_status_scanner(), xdndaction_to_qtaction(), QX11Data::xdndAtomToString(), xdndEnable(), QX11Data::xdndHandleDrop(), QX11Data::xdndHandleEnter(), QX11Data::xdndMimeAtomForFormat(), QX11Data::xdndMimeAtomsForFormat(), QX11Data::xdndMimeConvertToFormat(), QX11Data::xdndMimeDataForAtom(), QX11Data::xdndMimeFormatsForAtom(), xdndObtainData(), and xdndProxy().
#define QT_NO_XIM |
Definition at line 188 of file qt_x11_p.h.
#define X11 qt_x11Data |
Definition at line 724 of file qt_x11_p.h.
Referenced by QDialog::adjustPosition(), QFontEngineX11FT::allocateServerGlyphSet(), QX11Info::appCells(), QX11Info::appColormap(), QX11Info::appDefaultColormap(), QX11Info::appDefaultVisual(), QX11Info::appDepth(), QX11Info::appDpiX(), QX11Info::appDpiY(), QApplicationPrivate::applyX11SpecificCommandLineArguments(), QX11Info::appRootWindow(), QX11Info::appScreen(), QX11Info::appTime(), QX11Info::appUserTime(), QX11Info::appVisual(), QX11WindowSurface::beginPaint(), QGLContextPrivate::bindTextureFromNativePixmap(), QX11PixmapData::bitmap_to_mask(), QX11PixmapData::bitmapFromImage(), QImage::bitPlaneCount(), buildSpec(), checkEmbedded(), QX11Data::clipboardReadIncrementalProperty(), QX11Data::clipboardWaitForEvent(), QXIMInputContext::close_xim(), QX11PixmapData::convertToARGB32(), QX11GLPixmapData::copy(), QX11PixmapData::copy(), create_wm_client_leader(), QXIMInputContext::create_xim(), QX11PixmapData::createBitmapFromImage(), QApplicationPrivate::currentPlatform(), QPixmap::depth(), QPixmap::detach(), QX11Info::display(), QX11Data::dndEnable(), do_size_hints(), QETWidget::doDeferredMap(), QShivaContext::doneCurrent(), QGraphicsScenePrivate::drawItemHelper(), QClipboardWatcher::empty(), ShivaVGWindowSurfacePrivate::ensureContext(), fallbackTheme(), fetchWacomToolId(), QX11GLPixmapData::fill(), QX11PixmapData::fill(), find_trans_colors(), QX11Data::findClientWindow(), findRealWindow(), findXdndAwareParent(), findXdndDropTransactionByTime(), findXdndDropTransactionByWindow(), ShivaVGWindowSurface::flush(), QX11GLWindowSurface::flush(), QEventDispatcherX11::flush(), QGuiEventDispatcherGlib::flush(), QX11WindowSurface::flush(), QRasterWindowSurface::flush(), fontPath(), QFontEngineX11FT::freeServerGlyphSet(), QX11PixmapData::fromImage(), QEgl::getCompatibleVisualId(), QClipboardWatcher::getDataInFormat(), getFcPattern(), getFontSet(), getNetWmState(), QX11Data::getSolidFill(), getXDefault(), QX11GLWindowSurface::grabWidget(), QX11WindowSurface::grabWidget(), handle_xdnd_position(), QEventDispatcherX11::hasPendingEvents(), QX11AlphaDetector::hasXRenderAndAlpha(), QFileIconProvider::icon(), QGuiPlatformPlugin::iconThemeSearchPaths(), QDesktopWidgetPrivate::init(), QPrinter::init(), init_direct(), initFontSubst(), initializeDb(), QApplication::inputContext(), QWidgetPrivate::isBackgroundInherited(), QX11Info::isCompositingManagerRunning(), QX11Data::isSupportedByWM(), QPrinter::isValid(), QKde::kdeHome(), QKde::kdeStyle(), launchWebBrowser(), load(), loadFontConfig(), QFontDatabase::loadXlfd(), QShivaContext::makeCurrent(), QWidgetPrivate::mapFromGlobal(), QWidgetPrivate::mapToGlobal(), QX11PixmapData::mask_to_bitmap(), QX11PixmapData::metric(), QX11Data::motifdndFormat(), QX11Data::motifdndHandle(), QX11Data::motifdndObtainData(), QSizeGrip::mouseMoveEvent(), QSizeGrip::mousePressEvent(), openDocument(), QX11PixmapData::paintEngine(), QGraphicsView::paintEvent(), QGLOverlayWidget::paintGL(), QGuiPlatformPlugin::palette(), QGuiPlatformPlugin::platformHint(), QMenuPrivate::popupGeometry(), QComboBoxPrivate::popupGeometry(), QEventDispatcherX11::processEvents(), qCanAllocColors(), QClipboardINCRTransaction::QClipboardINCRTransaction(), QCursor::QCursor(), QFontEngineX11FT::QFontEngineX11FT(), QGLGraphicsSystem::QGLGraphicsSystem(), qglx_getProcAddress(), QRasterWindowSurface::QRasterWindowSurface(), qStoreColors(), qstring_to_xtp(), qt_addPatternProps(), qt_change_net_wm_state(), qt_check_clipboard_sentinel(), qt_check_focus_model(), qt_check_selection_sentinel(), qt_cleanup(), qt_FcPatternToQFontDef(), qt_format_to_attrib_list(), qt_get_net_supported(), qt_get_net_virtual_roots(), qt_guiPlatformPlugin(), qt_init(), qt_init_timestamp_scanner(), qt_insert_sip(), qt_keyrelease_scanner(), qt_net_remove_user_time(), qt_net_update_user_time(), qt_renderformat_for_depth(), qt_save_rootinfo(), qt_set_input_encoding(), qt_set_x11_resources(), qt_sip_count(), qt_sync_request_scanner(), qt_wstate_iconified(), qt_x11_create_intern_atoms(), qt_x11_enforce_cursor(), qt_x11_getX11InfoForWindow(), qt_x11_wait_for_window_manager(), QPaintDevice::qt_x11Info(), qt_x_errhandler(), qt_xdnd_send_leave(), qt_xfixes_scanner(), qt_XTranslateKey(), QX11WindowSurface::QX11WindowSurface(), QXIMInputContext::QXIMInputContext(), registerFont(), QX11PixmapData::release(), QX11PixmapData::resize(), QX11GLWindowSurface::scroll(), QX11GLPixmapData::scroll(), QX11WindowSurface::scroll(), QX11PixmapData::scroll(), QGraphicsView::scrollContentsBy(), send_selection(), send_targets_selection(), QWidgetPrivate::sendStartupMessage(), QX11Info::setAppDpiX(), QX11Info::setAppDpiY(), QX11Info::setAppTime(), QX11Info::setAppUserTime(), QX11GLWindowSurface::setGeometry(), QX11WindowSurface::setGeometry(), QX11PixmapData::setMask(), QWidgetPrivate::setNetWmWindowTypes(), QWidgetPrivate::setWindowRole(), QGuiEventDispatcherGlib::startingUp(), QEventDispatcherX11::startingUp(), QCommonStyle::styleHint(), QGuiPlatformPlugin::styleName(), QRasterWindowSurface::syncX(), QApplication::syncX(), QNativeImage::systemFormat(), QGuiPlatformPlugin::systemIconThemeName(), QX11PixmapData::toImage(), QX11PixmapData::transformed(), translateBySips(), QETWidget::translateConfigEvent(), translateKeySym(), QETWidget::translateMouseEvent(), QETWidget::translatePaintEvent(), QETWidget::translatePropertyEvent(), QETWidget::translateScrollDoneEvent(), QETWidget::translateXinputEvent(), QWidgetPrivate::updateX11AcceptFocus(), QFontEngineX11FT::uploadGlyphToServer(), QApplicationPrivate::x11_apply_settings(), QApplication::x11ClientMessage(), QX11PixmapData::x11ConvertToDefaultDepth(), QX11EmbedWidget::x11Event(), QX11EmbedContainer::x11Event(), QClipboardINCRTransaction::x11Event(), x11EventSourceCheck(), x11EventSourceDispatch(), x11EventSourcePrepare(), QApplication::x11ProcessEvent(), QWidgetPrivate::x11UpdateIsOpaque(), xdndEnable(), QX11Data::xdndHandleDrop(), QX11Data::xdndHandleEnter(), QX11Data::xdndHandleFinished(), QX11Data::xdndHandlePosition(), QX11Data::xdndHandleSelectionRequest(), QX11Data::xdndHandleStatus(), QX11Data::xdndMimeDataForAtom(), xdndObtainData(), xdndProxy(), QClipboardINCRTransaction::~QClipboardINCRTransaction(), QCMapEntry::~QCMapEntry(), QRasterWindowSurface::~QRasterWindowSurface(), QX11WindowSurface::~QX11WindowSurface(), and ShivaVGWindowSurface::~ShivaVGWindowSurface().
#define X11R4 |
Definition at line 179 of file qt_x11_p.h.
#define XRegisterIMInstantiateCallback qt_XRegisterIMInstantiateCallback |
Definition at line 67 of file qt_x11_p.h.
#define XSetIMValues qt_XSetIMValues |
Definition at line 69 of file qt_x11_p.h.
Referenced by QXIMInputContext::create_xim().
#define XUnregisterIMInstantiateCallback qt_XUnregisterIMInstantiateCallback |
Definition at line 68 of file qt_x11_p.h.
typedef int(* PtrXCloseDevice) (Display *, XDevice *) |
Definition at line 236 of file qt_x11_p.h.
typedef Cursor(* PtrXcursorLibraryLoadCursor) (Display *, const char *) |
Definition at line 219 of file qt_x11_p.h.
Definition at line 213 of file qt_x11_p.h.
Definition at line 212 of file qt_x11_p.h.
Definition at line 214 of file qt_x11_p.h.
typedef Bool(* PtrXFixesQueryExtension) (Display *, int *, int *) |
Definition at line 208 of file qt_x11_p.h.
Definition at line 209 of file qt_x11_p.h.
typedef void(* PtrXFixesSelectSelectionInput) (Display *dpy, Window win, Atom selection, unsigned long eventMask) |
Definition at line 211 of file qt_x11_p.h.
Definition at line 210 of file qt_x11_p.h.
typedef void(* PtrXFreeDeviceList) (XDeviceInfo *) |
Definition at line 239 of file qt_x11_p.h.
typedef Bool(* PtrXineramaIsActive) (Display *dpy) |
Definition at line 224 of file qt_x11_p.h.
typedef Bool(* PtrXineramaQueryExtension) (Display *dpy, int *event_base, int *error_base) |
Definition at line 223 of file qt_x11_p.h.
typedef XineramaScreenInfo*(* PtrXineramaQueryScreens) (Display *dpy, int *number) |
Definition at line 225 of file qt_x11_p.h.
typedef XDeviceInfo*(* PtrXListInputDevices) (Display *, int *) |
Definition at line 237 of file qt_x11_p.h.
Definition at line 238 of file qt_x11_p.h.
typedef Bool(* PtrXRRQueryExtension) (Display *, int *, int *) |
Definition at line 232 of file qt_x11_p.h.
typedef int(* PtrXRRRootToScreen) (Display *, Window) |
Definition at line 231 of file qt_x11_p.h.
typedef void(* PtrXRRSelectInput) (Display *, Window, int) |
Definition at line 229 of file qt_x11_p.h.
typedef int(* PtrXRRUpdateConfiguration) (XEvent *) |
Definition at line 230 of file qt_x11_p.h.
typedef int(* PtrXSelectExtensionEvent) (Display *, Window, XEventClass *, int) |
Definition at line 240 of file qt_x11_p.h.
typedef char* XPointer |
Definition at line 180 of file qt_x11_p.h.
anonymous enum |
Enumerator | |
---|---|
XFocusOut | |
XFocusIn | |
XKeyPress | |
XKeyRelease | |
XNone | |
XRevertToParent | |
XGrayScale | |
XCursorShape |
Definition at line 728 of file qt_x11_p.h.
enum DesktopEnvironment |
Enumerator | |
---|---|
DE_UNKNOWN | |
DE_KDE | |
DE_GNOME | |
DE_CDE | |
DE_MEEGO_COMPOSITOR | |
DE_4DWM |
Definition at line 340 of file qt_x11_p.h.
Q_DECLARE_TYPEINFO | ( | XPoint | , |
Q_PRIMITIVE_TYPE | |||
) |
Q_DECLARE_TYPEINFO | ( | XRectangle | , |
Q_PRIMITIVE_TYPE | |||
) |
Q_DECLARE_TYPEINFO | ( | XChar2b | , |
Q_PRIMITIVE_TYPE | |||
) |
Q_DECLARE_TYPEINFO | ( | XGlyphElt32 | , |
Q_PRIMITIVE_TYPE | |||
) |
QX11Data* qt_x11Data |
Definition at line 722 of file qt_x11_p.h.
Referenced by QX11Data::badwindow(), QX11Data::ignoreBadwindow(), and x11Time().