summaryrefslogtreecommitdiffstats
path: root/src/maingui/backdrop.h
diff options
context:
space:
mode:
authorSimon Rettberg2015-10-09 16:41:40 +0200
committerSimon Rettberg2015-10-09 16:41:40 +0200
commit5c89ced85217787dc0530d6cb4c3b0a74c6fbf87 (patch)
treecbe4fe3ce57c8e4544c0bae58999a3922812cb7c /src/maingui/backdrop.h
parentMerge branch 'master' of dnbd3:openslx-ng/printergui (diff)
downloadprintergui-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.h13
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);