diff options
author | Simon Rettberg | 2015-10-09 16:41:40 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-10-09 16:41:40 +0200 |
commit | 5c89ced85217787dc0530d6cb4c3b0a74c6fbf87 (patch) | |
tree | cbe4fe3ce57c8e4544c0bae58999a3922812cb7c /src/maingui/backdrop.h | |
parent | Merge branch 'master' of dnbd3:openslx-ng/printergui (diff) | |
download | printergui-onegui.tar.gz printergui-onegui.tar.xz printergui-onegui.zip |
WIP: Try move all GUI interaction to the first binaryonegui
This is broken, incomplete code
Diffstat (limited to 'src/maingui/backdrop.h')
-rw-r--r-- | src/maingui/backdrop.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/maingui/backdrop.h b/src/maingui/backdrop.h index b798a89..7df6d40 100644 --- a/src/maingui/backdrop.h +++ b/src/maingui/backdrop.h @@ -4,6 +4,9 @@ #include <QWidget> class QPixmap; +class QLocalServer; +class QLocalSocket; +class PwGui; class Backdrop : public QWidget { @@ -12,6 +15,16 @@ class Backdrop : public QWidget private: const QPixmap * screenshot; QWidget * mainWindow; + QLocalServer * server; + PwGui * pwgui; + + QLocalSocket* getClient(); + +private slots: + void newConnection(); + void closeConnection(); + void incomingData(); + void aboutToQuit(); protected: virtual void paintEvent(QPaintEvent * event); |