QtGui/qwsdisplay_qws.h Source File
Go to the documentation of this file.
42 #ifndef QWSDISPLAY_QWS_H
43 #define QWSDISPLAY_QWS_H
75 #define QT_QWS_PROPERTY_CONVERTSELECTION 999
76 #define QT_QWS_PROPERTY_WINDOWNAME 998
77 #define QT_QWS_PROPERTY_MARKEDTEXT 997
90 bool eventPending()
const;
94 uchar* frameBuffer()
const;
98 int pixmapDepth()
const;
99 bool supportsDepth(
int)
const;
101 uchar *sharedRam()
const;
102 int sharedRamSize()
const;
104 #ifndef QT_NO_QWS_PROPERTIES
105 void addProperty(
int winId,
int property);
107 void setProperty(
int winId,
int property,
int mode,
const char *
data);
108 void removeProperty(
int winId,
int property);
109 bool getProperty(
int winId,
int property,
char *&
data,
int &
len);
110 #endif // QT_NO_QWS_PROPERTIES
113 int windowAt(
const QPoint &);
115 void setIdentity(
const QString &appName);
117 void requestRegion(
int winId,
const QString &surfacekey,
120 void repaintRegion(
int winId,
int windowFlags,
bool opaque,
QRegion);
121 void moveRegion(
int winId,
int dx,
int dy);
122 void destroyRegion(
int winId);
123 void requestFocus(
int winId,
bool get);
124 void setAltitude(
int winId,
int altitude,
bool fixed =
false);
125 void setOpacity(
int winId,
int opacity);
127 void setSelectionOwner(
int winId,
const QTime &time);
128 void convertSelection(
int winId,
int selectionProperty,
const QString &mimeTypes);
131 void destroyCursor(
int id);
132 void selectCursor(
QWidget *
w,
unsigned int id);
133 void setCursorPosition(
int x,
int y);
134 void grabMouse(
QWidget *
w,
bool grab);
135 void grabKeyboard(
QWidget *
w,
bool grab);
136 void playSoundFile(
const QString&);
140 void flushCommands();
141 #ifndef QT_NO_QWS_INPUTMETHODS
142 void sendIMUpdate(
int type,
int winId,
int widgetid);
144 void sendIMResponse(
int winId,
int property,
const QVariant &result);
145 void sendIMMouseEvent(
int index,
bool isPress);
153 static bool initLock(
const QString &filename,
bool create =
false);
154 static bool grabbed();
156 static void grab(
bool write);
157 static void ungrab();
159 static void setTransformation(
int transformation,
int screenNo = -1);
163 friend int qt_fork_qapplication();
164 friend void qt_app_reinit(
const QString& newAppName );
168 friend class QWSEmbedWidgetPrivate;
173 friend class QWSMemorySurface;
174 friend class QWSOnScreenSurface;
175 friend class QWSDirectPainterSurface;
177 char *getPropertyData;
185 #endif // QWSDISPLAY_QWS_H
GLuint GLuint GLsizei GLenum type
static QWSDisplay * instance()
Q_GUI_EXPORT QWSDisplay * qt_fbdpy
Q_CORE_EXPORT QTextStream & fixed(QTextStream &s)
#define QT_BEGIN_NAMESPACE
GLsizei GLsizei GLenum GLenum const GLvoid * data
GLenum GLsizei GLsizei height
GLint GLint GLsizei GLsizei GLsizei depth
GLubyte GLubyte GLubyte GLubyte w