Fixed projects to build in Simulator
[situare] / src / application.h
index 32d5e03..e2774a9 100644 (file)
@@ -61,6 +61,7 @@ public:
     void unregisterWindow(WId wId);
 
 private:
+#ifdef Q_WS_X11
     /**
     * @brief Return active window
     *
@@ -70,6 +71,7 @@ private:
     */
     WId activeDesktopWindow(Display *display, WId rootWindow);
 
+
     /**
     * @brief Event filter for window
     *
@@ -78,6 +80,7 @@ private:
     *         Return false for normal event dispatching
     */
     bool x11EventFilter(XEvent *event);
+#endif
 
 /*******************************************************************************
  * SIGNALS
@@ -93,11 +96,11 @@ signals:
     void showFullScreenButton();
 
     /**
-    * @brief Signals when window state is changed
+    * @brief Emitted when topmost window is changed
     *
-    * @param topmost true for topmost either false
+    * @param mainWindowIsTopmost True if MainWindow is the topmost window
     */
-    void topmostChanged(bool topmost);
+    void topmostWindowChanged(bool mainWindowIsTopmost);
 
 /*******************************************************************************
  * DATA MEMBERS