Emit error signal when login fails
[situare] / src / application.h
index 3348bb6..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
@@ -95,9 +98,9 @@ signals:
     /**
     * @brief Emitted when topmost window is changed
     *
-    * @param isMainWindow True if MainWindow is the topmost window
+    * @param mainWindowIsTopmost True if MainWindow is the topmost window
     */
-    void topmostWindowChanged(bool isMainWindow);
+    void topmostWindowChanged(bool mainWindowIsTopmost);
 
 /*******************************************************************************
  * DATA MEMBERS