Code Review
/
staging
/
HomeScreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix and improve switching applications
[staging/HomeScreen.git]
/
HomeScreen
/
src
/
layouthandler.h
diff --git
a/HomeScreen/src/layouthandler.h
b/HomeScreen/src/layouthandler.h
index
7487be5
..
e3c0246
100644
(file)
--- a/
HomeScreen/src/layouthandler.h
+++ b/
HomeScreen/src/layouthandler.h
@@
-12,23
+12,28
@@
public:
explicit LayoutHandler(QObject *parent = 0);
~LayoutHandler();
explicit LayoutHandler(QObject *parent = 0);
~LayoutHandler();
- void setUpLayouts();
-
signals:
public slots:
signals:
public slots:
- void showAppLayer();
+ void showAppLayer(
int pid
);
void hideAppLayer();
void makeMeVisible(int pid);
private:
void checkToDoQueue();
public slots:
void hideAppLayer();
void makeMeVisible(int pid);
private:
void checkToDoQueue();
public slots:
- QList<int> requestGetAllSurfacesOfProcess(int pid);
+
//
QList<int> requestGetAllSurfacesOfProcess(int pid);
int requestGetSurfaceStatus(int surfaceId);
int requestGetSurfaceStatus(int surfaceId);
- void requestRenderSurfaceToArea(int surfaceId, const QRect &renderArea);
+ void requestRenderSurfaceToArea(int surfaceId, int layoutArea);
+ bool requestRenderSurfaceToAreaAllowed(int surfaceId, int layoutArea);
void requestSurfaceIdToFullScreen(int surfaceId);
void setLayoutByName(QString layoutName);
void requestSurfaceIdToFullScreen(int surfaceId);
void setLayoutByName(QString layoutName);
+ // this will receive the surfaceVisibilityChanged signal of the windowmanager
+ void requestSurfaceVisibilityChanged(int surfaceId, bool visible);
+
+Q_SIGNALS: // SIGNALS
+ void surfaceVisibilityChanged(int surfaceId, bool visible);
+
protected:
void timerEvent(QTimerEvent *e);
private:
protected:
void timerEvent(QTimerEvent *e);
private: