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

ApplicationPackageMonitor::ExtraDirWatcher Class Reference

Inheritance diagram for ApplicationPackageMonitor::ExtraDirWatcher:
Inheritance graph
[legend]
Collaboration diagram for ApplicationPackageMonitor::ExtraDirWatcher:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExtraDirWatcher (MDataStore *dataStore, const QString &directoryPath)
 ~ExtraDirWatcher ()

Protected Member Functions

virtual bool isDesktopEntryValid (const MDesktopEntry &entry, const QStringList &acceptedTypes)

Detailed Description

Definition at line 54 of file applicationpackagemonitor.cpp.


Constructor & Destructor Documentation

ApplicationPackageMonitor::ExtraDirWatcher::ExtraDirWatcher ( MDataStore *  dataStore,
const QString &  directoryPath 
)

Definition at line 293 of file applicationpackagemonitor.cpp.

                                                                                                             :
    LauncherDataStore(dataStore, directoryPath)
{
}

ApplicationPackageMonitor::ExtraDirWatcher::~ExtraDirWatcher (  ) 

Definition at line 298 of file applicationpackagemonitor.cpp.

{
}


Member Function Documentation

bool ApplicationPackageMonitor::ExtraDirWatcher::isDesktopEntryValid ( const MDesktopEntry &  entry,
const QStringList &  acceptedTypes 
) [protected, virtual]

Checks if desktop entry is valid.

Parameters:
entry Desktop entry to be validated
acceptedTypes List of accepted entry types
Returns:
is desktop entry valid

Reimplemented from LauncherDataStore.

Definition at line 302 of file applicationpackagemonitor.cpp.

{
    Q_UNUSED(acceptedTypes);

    return entry.contains(DESKTOP_ENTRY_GROUP_MEEGO, DESKTOP_ENTRY_KEY_PACKAGE_NAME)
        && entry.contains(DESKTOP_ENTRY_GROUP_MEEGO, DESKTOP_ENTRY_KEY_PACKAGE_STATE);
}


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

Copyright © 2010 Nokia Corporation Generated on Thu Nov 4 2010 18:20:42
Doxygen 1.7.1
MeeGo Touch