LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DimensionsSystemInterface::AppMonitor Class Reference

#include <appmonitor.h>

Inheritance diagram for DimensionsSystemInterface::AppMonitor:
[legend]
Collaboration diagram for DimensionsSystemInterface::AppMonitor:
[legend]

Public Slots

virtual void slotInitialScanStart ()
 
virtual void slotInitialScanEnd ()
 
virtual void slotScanFoundApp (const ApplicationDescription *pAppdescriptor)
 
virtual void slotScanFoundAuxiliaryLaunchPoint (const ApplicationDescription *p_appDesc, const LaunchPoint *p_launchPoint)
 
virtual void slotAppBeingRemoved (const ApplicationDescription *pAppdescriptor)
 
virtual void slotAppBeingRemoved (WebOSApp *p_webOSapp)
 
virtual void slotAppUpdated (const ApplicationDescription *pAppdescriptor)
 
virtual void slotLaunchPointAdded (const LaunchPoint *, QBitArray reasons)
 
virtual void slotLaunchPointUpdated (const LaunchPoint *, QBitArray reasons)
 
virtual void slotLaunchPointRemoved (const LaunchPoint *, QBitArray reasons)
 

Signals

void signalFullScanCompleted (bool initialScan=false)
 
void signalNewApp (const DimensionsSystemInterface::ExternalApp &eapp, DimensionsSystemInterface::AppMonitorSignalType::Enum origin=DimensionsSystemInterface::AppMonitorSignalType::INVALID)
 
void signalNewAdditionalLaunchPointForApp (const QUuid &appUid, const QUuid &newLaunchPointIconUid, DimensionsSystemInterface::AppMonitorSignalType::Enum origin=DimensionsSystemInterface::AppMonitorSignalType::INVALID)
 
void signalRemovedApp (const DimensionsSystemInterface::ExternalApp &eapp, DimensionsSystemInterface::AppMonitorSignalType::Enum origin=AppMonitorSignalType::INVALID)
 
void signalRemovedAppComplete (const QUuid &removedAppUid, DimensionsSystemInterface::AppMonitorSignalType::Enum origin=DimensionsSystemInterface::AppMonitorSignalType::INVALID)
 
void signalAppAuxiliaryIconRemove (const QUuid &appUid, const QString &launchpointId, DimensionsSystemInterface::AppMonitorSignalType::Enum origin=DimensionsSystemInterface::AppMonitorSignalType::INVALID)
 
void signalUpdatedApp (const DimensionsSystemInterface::ExternalApp &eapp, DimensionsSystemInterface::AppMonitorSignalType::Enum origin=DimensionsSystemInterface::AppMonitorSignalType::INVALID)
 

Public Member Functions

 AppMonitor ()
 
virtual ~AppMonitor ()
 
bool completedScan () const
 
QList< QUuid > allAppUids () const
 
QList< QPointer< ExternalApp > > allApps () const
 
ExternalAppappByUid (const QUuid &appUid) const
 
WebOSAppwebosAppByAppId (const QString &appId) const
 
bool isAppRemovable (const QUuid &appUid)
 
QString pageDesignatorForWebOSApp (const QString &appId)
 
QString pageNameFromDesignator (const QString &designator)
 
QList< QString > auxPageDesignators () const
 

Static Public Member Functions

static AppMonitorappMonitor ()
 
static QString webosAppLaunchPointTitle (const QString &appId, const QString &launchPointId)
 
static QString webosAppTitle (const QString &appId)
 
static QString webosAppVersion (const QString &appId)
 
static QString webosAppCategory (const QString &appId)
 
static bool webosAppNonRemovableSystemApp (const QString &appId)
 
static bool webosAppPlatformApp (const QString &appId)
 
static bool webosAppUserInstalledApp (const QString &appId)
 
static bool webosAppRemovableOrHideable (const QString &appId)
 
static QString appIdFromLaunchpointId (const QString &launchpointId)
 

Protected Types

typedef QMap< QUuid, QPointer
< ExternalApp > > 
AppMap
 
typedef AppMap::iterator AppMapIter
 
typedef AppMap::const_iterator AppMapConstIter
 
typedef QMap< QString,
QPointer< WebOSApp > > 
WebOSAppMap
 
typedef WebOSAppMap::iterator WebOSAppMapIter
 
typedef WebOSAppMap::const_iterator WebOSAppMapConstIter
 

Protected Member Functions

virtual bool rescanWebOSApp (WebOSApp &webOSApp)
 
virtual WebOSApppointerToWebOSApp (const QString &appId) const
 
virtual ExternalAppfind (const QUuid &uid) const
 
virtual WebOSAppnewPendingWebOSApp (const ApplicationDescription *pAppdescriptor)
 
virtual WebOSAppnewWebOSApp (const ApplicationDescription *pAppdescriptor)
 
virtual IconBasecreateAppIcon (const QString &mainIconFile, const QString &label)
 
virtual void remove (ExternalApp *p_eapp)
 
virtual void loadDesignatorKeywordMapping (const QString &mapFile)
 

Protected Attributes

bool m_withinInitialScan
 
quint32 m_fullScanCounter
 
AppMap m_appMapByUid
 
WebOSAppMap m_aliasWebosAppMapByAppId
 
Blacklist m_appBlacklist
 
QMap< QString, QString > m_pageDesignatorByKeyword
 
QList< QString > m_auxDesignatorList
 
QMap< QString, QString > m_designatorToNameMap
 

Static Protected Attributes

static QPointer< AppMonitors_qp_mainInstance = 0
 

Member Typedef Documentation

typedef QMap<QUuid,QPointer<ExternalApp> > DimensionsSystemInterface::AppMonitor::AppMap
protected
typedef AppMap::const_iterator DimensionsSystemInterface::AppMonitor::AppMapConstIter
protected
typedef AppMap::iterator DimensionsSystemInterface::AppMonitor::AppMapIter
protected
typedef QMap<QString,QPointer<WebOSApp> > DimensionsSystemInterface::AppMonitor::WebOSAppMap
protected
typedef WebOSAppMap::const_iterator DimensionsSystemInterface::AppMonitor::WebOSAppMapConstIter
protected
typedef WebOSAppMap::iterator DimensionsSystemInterface::AppMonitor::WebOSAppMapIter
protected

Constructor & Destructor Documentation

DimensionsSystemInterface::AppMonitor::AppMonitor ( )
DimensionsSystemInterface::AppMonitor::~AppMonitor ( )
virtual

Member Function Documentation

QList< QPointer< ExternalApp > > DimensionsSystemInterface::AppMonitor::allApps ( ) const
QList< QUuid > DimensionsSystemInterface::AppMonitor::allAppUids ( ) const
ExternalApp * DimensionsSystemInterface::AppMonitor::appByUid ( const QUuid &  appUid) const
QString DimensionsSystemInterface::AppMonitor::appIdFromLaunchpointId ( const QString &  launchpointId)
static
AppMonitor * DimensionsSystemInterface::AppMonitor::appMonitor ( )
static
QList< QString > DimensionsSystemInterface::AppMonitor::auxPageDesignators ( ) const
bool DimensionsSystemInterface::AppMonitor::completedScan ( ) const
IconBase * DimensionsSystemInterface::AppMonitor::createAppIcon ( const QString &  mainIconFile,
const QString &  label 
)
protectedvirtual
ExternalApp * DimensionsSystemInterface::AppMonitor::find ( const QUuid &  uid) const
protectedvirtual
bool DimensionsSystemInterface::AppMonitor::isAppRemovable ( const QUuid &  appUid)
void DimensionsSystemInterface::AppMonitor::loadDesignatorKeywordMapping ( const QString &  mapFile)
protectedvirtual
WebOSApp * DimensionsSystemInterface::AppMonitor::newPendingWebOSApp ( const ApplicationDescription pAppdescriptor)
protectedvirtual
WebOSApp * DimensionsSystemInterface::AppMonitor::newWebOSApp ( const ApplicationDescription pAppdescriptor)
protectedvirtual
QString DimensionsSystemInterface::AppMonitor::pageDesignatorForWebOSApp ( const QString &  appId)
QString DimensionsSystemInterface::AppMonitor::pageNameFromDesignator ( const QString &  designator)
WebOSApp * DimensionsSystemInterface::AppMonitor::pointerToWebOSApp ( const QString &  appId) const
protectedvirtual
void DimensionsSystemInterface::AppMonitor::remove ( ExternalApp p_eapp)
protectedvirtual
bool DimensionsSystemInterface::AppMonitor::rescanWebOSApp ( WebOSApp webOSApp)
protectedvirtual
void DimensionsSystemInterface::AppMonitor::signalAppAuxiliaryIconRemove ( const QUuid &  appUid,
const QString &  launchpointId,
DimensionsSystemInterface::AppMonitorSignalType::Enum  origin = DimensionsSystemInterface::AppMonitorSignalType::INVALID 
)
signal
void DimensionsSystemInterface::AppMonitor::signalFullScanCompleted ( bool  initialScan = false)
signal
void DimensionsSystemInterface::AppMonitor::signalNewAdditionalLaunchPointForApp ( const QUuid &  appUid,
const QUuid &  newLaunchPointIconUid,
DimensionsSystemInterface::AppMonitorSignalType::Enum  origin = DimensionsSystemInterface::AppMonitorSignalType::INVALID 
)
signal
void DimensionsSystemInterface::AppMonitor::signalNewApp ( const DimensionsSystemInterface::ExternalApp eapp,
DimensionsSystemInterface::AppMonitorSignalType::Enum  origin = DimensionsSystemInterface::AppMonitorSignalType::INVALID 
)
signal
void DimensionsSystemInterface::AppMonitor::signalRemovedApp ( const DimensionsSystemInterface::ExternalApp eapp,
DimensionsSystemInterface::AppMonitorSignalType::Enum  origin = AppMonitorSignalType::INVALID 
)
signal
void DimensionsSystemInterface::AppMonitor::signalRemovedAppComplete ( const QUuid &  removedAppUid,
DimensionsSystemInterface::AppMonitorSignalType::Enum  origin = DimensionsSystemInterface::AppMonitorSignalType::INVALID 
)
signal
void DimensionsSystemInterface::AppMonitor::signalUpdatedApp ( const DimensionsSystemInterface::ExternalApp eapp,
DimensionsSystemInterface::AppMonitorSignalType::Enum  origin = DimensionsSystemInterface::AppMonitorSignalType::INVALID 
)
signal
void DimensionsSystemInterface::AppMonitor::slotAppBeingRemoved ( const ApplicationDescription pAppdescriptor)
virtualslot
void DimensionsSystemInterface::AppMonitor::slotAppBeingRemoved ( WebOSApp p_webOSapp)
virtualslot
void DimensionsSystemInterface::AppMonitor::slotAppUpdated ( const ApplicationDescription pAppdescriptor)
virtualslot
void DimensionsSystemInterface::AppMonitor::slotInitialScanEnd ( )
virtualslot
void DimensionsSystemInterface::AppMonitor::slotInitialScanStart ( )
virtualslot
void DimensionsSystemInterface::AppMonitor::slotLaunchPointAdded ( const LaunchPoint p_launchpoint,
QBitArray  reasons 
)
virtualslot
void DimensionsSystemInterface::AppMonitor::slotLaunchPointRemoved ( const LaunchPoint p_launchpoint,
QBitArray  reasons 
)
virtualslot
void DimensionsSystemInterface::AppMonitor::slotLaunchPointUpdated ( const LaunchPoint p_launchpoint,
QBitArray  reasons 
)
virtualslot
void DimensionsSystemInterface::AppMonitor::slotScanFoundApp ( const ApplicationDescription pAppdescriptor)
virtualslot
void DimensionsSystemInterface::AppMonitor::slotScanFoundAuxiliaryLaunchPoint ( const ApplicationDescription p_appDesc,
const LaunchPoint p_launchPoint 
)
virtualslot
WebOSApp * DimensionsSystemInterface::AppMonitor::webosAppByAppId ( const QString &  appId) const
QString DimensionsSystemInterface::AppMonitor::webosAppCategory ( const QString &  appId)
static
QString DimensionsSystemInterface::AppMonitor::webosAppLaunchPointTitle ( const QString &  appId,
const QString &  launchPointId 
)
static
bool DimensionsSystemInterface::AppMonitor::webosAppNonRemovableSystemApp ( const QString &  appId)
static
bool DimensionsSystemInterface::AppMonitor::webosAppPlatformApp ( const QString &  appId)
static
bool DimensionsSystemInterface::AppMonitor::webosAppRemovableOrHideable ( const QString &  appId)
static
QString DimensionsSystemInterface::AppMonitor::webosAppTitle ( const QString &  appId)
static
bool DimensionsSystemInterface::AppMonitor::webosAppUserInstalledApp ( const QString &  appId)
static
QString DimensionsSystemInterface::AppMonitor::webosAppVersion ( const QString &  appId)
static

Member Data Documentation

WebOSAppMap DimensionsSystemInterface::AppMonitor::m_aliasWebosAppMapByAppId
protected
Blacklist DimensionsSystemInterface::AppMonitor::m_appBlacklist
protected
AppMap DimensionsSystemInterface::AppMonitor::m_appMapByUid
protected
QList<QString> DimensionsSystemInterface::AppMonitor::m_auxDesignatorList
protected
QMap<QString,QString> DimensionsSystemInterface::AppMonitor::m_designatorToNameMap
protected
quint32 DimensionsSystemInterface::AppMonitor::m_fullScanCounter
protected
QMap<QString,QString> DimensionsSystemInterface::AppMonitor::m_pageDesignatorByKeyword
protected
bool DimensionsSystemInterface::AppMonitor::m_withinInitialScan
protected
QPointer< AppMonitor > DimensionsSystemInterface::AppMonitor::s_qp_mainInstance = 0
staticprotected

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