Qt 4.8
Functions | Variables
qwidget_qws.cpp File Reference
#include "qcursor.h"
#include "qapplication.h"
#include "qapplication_p.h"
#include "qpainter.h"
#include "qbitmap.h"
#include "qimage.h"
#include "qhash.h"
#include "qstack.h"
#include "qlayout.h"
#include "qtextcodec.h"
#include "qinputcontext.h"
#include "qdesktopwidget.h"
#include "qwsdisplay_qws.h"
#include "private/qwsdisplay_qws_p.h"
#include "qscreen_qws.h"
#include "qwsmanager_qws.h"
#include <private/qwsmanager_p.h>
#include <private/qbackingstore_p.h>
#include <private/qwindowsurface_qws_p.h>
#include <private/qwslock_p.h>
#include "qpaintengine.h"
#include "qdebug.h"
#include "qwidget_p.h"

Go to the source code of this file.

Functions

static Qt::WindowStates effectiveState (Qt::WindowStates state)
 
static bool isServerProcess ()
 
static int takeLocalId ()
 

Variables

static QWidgetkeyboardGrb = 0
 
WId qt_last_cursor
 
int * qt_last_x
 
int * qt_last_y
 
QWidgetqt_mouseGrb
 
QWidgetqt_pressGrab
 
bool qws_overrideCursor
 
QWSServerqwsServer
 

Function Documentation

◆ effectiveState()

static Qt::WindowStates effectiveState ( Qt::WindowStates  state)
static

Definition at line 665 of file qwidget_qws.cpp.

666  {
667  if (state & Qt::WindowMinimized)
668  return Qt::WindowMinimized;
669  else if (state & Qt::WindowFullScreen)
670  return Qt::WindowFullScreen;
671  else if (state & Qt::WindowMaximized)
672  return Qt::WindowMaximized;
673  return Qt::WindowNoState;
674  }

◆ isServerProcess()

static bool isServerProcess ( )
inlinestatic

Definition at line 91 of file qwidget_qws.cpp.

92 {
93  return (qwsServer != 0);
94 }
QWSServer * qwsServer

◆ takeLocalId()

static int takeLocalId ( )
static

Definition at line 82 of file qwidget_qws.cpp.

Referenced by isServerProcess().

83 {
84  static int n=-1000;
85  return --n;
86 }

Variable Documentation

◆ keyboardGrb

QWidget* keyboardGrb = 0
static

Definition at line 80 of file qwidget_qws.cpp.

Referenced by isServerProcess().

◆ qt_last_cursor

WId qt_last_cursor

◆ qt_last_x

int* qt_last_x

◆ qt_last_y

int* qt_last_y

◆ qt_mouseGrb

QWidget* qt_mouseGrb

Definition at line 138 of file qapplication_qws.cpp.

Referenced by isServerProcess().

◆ qt_pressGrab

QWidget* qt_pressGrab

Definition at line 137 of file qapplication_qws.cpp.

Referenced by isServerProcess().

◆ qws_overrideCursor

bool qws_overrideCursor

Definition at line 149 of file qapplication_qws.cpp.

Referenced by parseGeometry(), and QApplication::qwsProcessEvent().

◆ qwsServer

QWSServer* qwsServer