aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/RootSubWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/libLumina/RootSubWindow.h')
-rw-r--r--src-qt5/core/libLumina/RootSubWindow.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.h b/src-qt5/core/libLumina/RootSubWindow.h
index d4119ccc..c56f3c96 100644
--- a/src-qt5/core/libLumina/RootSubWindow.h
+++ b/src-qt5/core/libLumina/RootSubWindow.h
@@ -16,35 +16,36 @@
#include <QWidget>
#include <QCloseEvent>
+#include <NativeWindow.h>
+
class RootSubWindow : public QMdiSubWindow{
Q_OBJECT
public:
- RootSubWindow(QMdiArea *root, WId window, Qt::WindowFlags flags = Qt::WindowFlags());
+ RootSubWindow(QMdiArea *root, NativeWindow *win);
~RootSubWindow();
WId id();
private:
- WId CID; //client window ID
- QWindow *WIN; //Embedded window container
+ NativeWindow *WIN;
QWidget *WinWidget;
bool closing;
+
+ void LoadProperties( QList< NativeWindow::Property> list);
+
public slots:
void clientClosed();
- void clientHidden();
- void clientShown();
private slots:
+ void clientHidden();
+ void clientShown();
void aboutToActivate();
- void adjustHeight(int);
- void adjustWidth(int);
+ void propertyChanged(NativeWindow::Property, QVariant);
+
protected:
void closeEvent(QCloseEvent*);
-signals:
- void Activated(WId);
-
};
#endif
bgstack15