Application Class Reference

Application class is a subclass of QApplication. More...

#include <application.h>

List of all members.

Signals

void showFullScreenButton ()
 Signal is emitted when full screen button must be invoked and it's hiding timer cleared.
void topmostWindowChanged (bool mainWindowIsTopmost)
 Emitted when topmost window is changed.

Public Member Functions

 Application (int &argc, char **argv)
 Constructor.
void registerWindow (WId wId)
 Registers window.
void unregisterWindow (WId wId)
 Unregisters window.

Private Member Functions

WId activeDesktopWindow (Display *display, WId rootWindow)
 Return active window.
bool x11EventFilter (XEvent *event)
 Event filter for window.

Private Attributes

bool m_topmost
 Flag for topmost.
QList< WId > m_windows
 List of window ids.

Detailed Description

Application class is a subclass of QApplication.

This class handles X11 events


Constructor & Destructor Documentation

Application::Application ( int &  argc,
char **  argv 
)

Constructor.

Parameters:
argc number of arguments
argv arguments

Member Function Documentation

WId Application::activeDesktopWindow ( Display *  display,
WId  rootWindow 
) [private]

Return active window.

Parameters:
display display
rootWindow rootwindow
Returns:
WId window id
void Application::registerWindow ( WId  wId  ) 

Registers window.

Parameters:
wId window id
void Application::showFullScreenButton (  )  [signal]

Signal is emitted when full screen button must be invoked and it's hiding timer cleared.

Signal is emitted when user interacts with keyboard or with mouse/finger, or when the main window is exposed.

void Application::topmostWindowChanged ( bool  mainWindowIsTopmost  )  [signal]

Emitted when topmost window is changed.

Parameters:
mainWindowIsTopmost True if MainWindow is the topmost window
void Application::unregisterWindow ( WId  wId  ) 

Unregisters window.

Parameters:
wId window id
bool Application::x11EventFilter ( XEvent *  event  )  [private]

Event filter for window.

Parameters:
event window event
Returns:
bool Return true if you want to stop the event from being processed. Return false for normal event dispatching

The documentation for this class was generated from the following files:

Generated on Fri Sep 3 12:05:41 2010 for Situare client for Maemo by  doxygen 1.6.1