Make QWindowFormat in QWindow a setter and not a constructor argument.

(cherry picked from commit 61e0c55dd0c82031cf5cd021bf3f3537ee91b4a8)
bb10
Samuel Rødal 2011-04-26 10:09:28 +02:00
parent 6d28965b10
commit dffc816f49
1 changed files with 6 additions and 1 deletions

View File

@ -44,6 +44,8 @@
#include <QObject>
#include <QtGui/qwindowformat_qpa.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
@ -69,13 +71,16 @@ public:
};
Q_DECLARE_FLAGS(WindowTypes, WindowType)
QWindow(const QWindowFormat &format, WindowType type = Window, QWindow *parent = 0);
QWindow(WindowType type = Window, QWindow *parent = 0);
void setVisible(bool visible);
void create();
WId winId() const;
void setParent(const QWindow *parent);
void setWindowFormat(const QWindowFormat &format);
QWindowFormat windowFormat() const;
QString windowTitle() const;
void setOpacity(qreal level);