Home · All Namespaces · All Classes
Signals | Public Member Functions | Protected Member Functions

HomeApplication Class Reference

#include <homeapplication.h>

Collaboration diagram for HomeApplication:
Collaboration graph
[legend]

List of all members.

Signals

void focusToLauncherAppRequested (const QString &fileEntryPath)
 A Signal to request launcher focus on specific launcher application.

Public Member Functions

 HomeApplication (int &argc, char **argv, const QString &appIdentifier=QString())
virtual ~HomeApplication ()
void addXEventListener (XEventListener *listener)
void removeXEventListener (XEventListener *listener)
QVariant lockedOrientation () const

Protected Member Functions

virtual bool x11EventFilter (XEvent *event)
 REIMPLEMENTATION

Detailed Description

HomeApplication extends MApplication with additional services.


Constructor & Destructor Documentation

HomeApplication::HomeApplication ( int &  argc,
char **  argv,
const QString &  appIdentifier = QString() 
)

Constructs an application object.

Parameters:
argc number of arguments passed to the application from the command line
argv argument strings passed to the application from the command line
appIdentifier An optional identifier for the application
HomeApplication::~HomeApplication (  )  [virtual]

Destroys the HomeApplication.


Member Function Documentation

void HomeApplication::addXEventListener ( XEventListener listener  ) 

Adds an X event listener object for this application. When X events arrive, they are forwarded to the listener. Before destroying the event listener object, remove the listener from the application by calling removeXEventListener.

Parameters:
listener the X event listener
void HomeApplication::focusToLauncherAppRequested ( const QString &  fileEntryPath  )  [signal]

A Signal to request launcher focus on specific launcher application.

QVariant HomeApplication::lockedOrientation (  )  const

Returns the locked orientation as set using the command line arguments. The orientation is returned as a QVariant. If the variant is not valid, the orientation locking has not been set through the command line arguments. Otherwise the variant contains a string representing the orientation to which the UI should be locked to: either an empty string (meaning no locking), portrait or landscape.

Returns:
a QVariant representing the locked orientation: invalid (use default), an empty string (unlocked), portrait or landscape
void HomeApplication::removeXEventListener ( XEventListener listener  ) 

Removes the X11 event listener object. The listener won't receive anymore events from this application.

Parameters:
listener the listener object to remove.
bool HomeApplication::x11EventFilter ( XEvent *  event  )  [protected, virtual]

REIMPLEMENTATION


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

Copyright © 2011 Nokia Corporation Generated on Thu Jul 7 2011 22:14:50
Doxygen 1.7.1
MeeGo Touch