summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qwindowsurface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qwindowsurface.cpp')
-rw-r--r--src/gui/painting/qwindowsurface.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/gui/painting/qwindowsurface.cpp b/src/gui/painting/qwindowsurface.cpp
index 1bd343d..c750a05 100644
--- a/src/gui/painting/qwindowsurface.cpp
+++ b/src/gui/painting/qwindowsurface.cpp
@@ -349,4 +349,35 @@ void qt_scrollRectInImage(QImage &img, const QRect &rect, const QPoint &offset)
}
}
+
+#ifdef Q_WS_LITE
+/*!
+Requests setting the window flags of this surface to \a type. Returns the actual flags set.
+*/
+Qt::WindowFlags QWindowSurface::setWindowFlags(Qt::WindowFlags type)
+{
+ Q_UNUSED(type);
+ qDebug() << "QWindowSurface::setWindowFlags" << hex << type;
+ return Qt::Window;
+}
+
+/*!
+ Returns the effective window flags for this surface.
+*/
+Qt::WindowFlags QWindowSurface::windowFlags() const
+{
+ return Qt::Window;
+}
+
+/*!
+Reimplemented in subclasses to show the surface if \a visible is \c true, and hide it if \a visible is \c false.
+*/
+
+void QWindowSurface::setVisible(bool visible)
+{
+ Q_UNUSED(visible);
+}
+
+#endif
+
QT_END_NAMESPACE