Logo Search packages:      
Sourcecode: kamefu version File versions

Kamefu::SystemManager Class Reference

#include <systemmanager.h>

List of all members.


Detailed Description

This class manage all loaded system plugins. This a singleton class, acces it with SystemManager::self()

Author:
Michaƫl Larouche

Definition at line 39 of file systemmanager.h.


Public Slots

void loadAllSystems ()
void loadSystem (const QString &pluginId)
bool unloadSystem (const QString &pluginName)
 Unload the plugin specified by pluginName.

Signals

void allSystemsLoaded ()
void systemLoaded (Kamefu::System *system)

Public Member Functions

QValueList< KPluginInfo * > availableSystems () const
QStringList getRegistredMimeTypes () const
SystemgetSystemFromMimeType (const QString &mimeType) const
QString guessSystemNameFromMimeType (const QString &mimeType) const
bool isAllSystemsLoaded () const
SystemList loadedSystems () const
void shutdown ()
Systemsystem (const QString &pluginName) const
 Search by plugin name. This is the key used as X-KDE-PluginInfo-Name in the .desktop file, e.g. "kamefu_snes".
KPluginInfo * systemInfo (const Kamefu::System *system) const

Static Public Member Functions

static SystemManagerself ()

Private Slots

void slotLoadNextSystem ()
void slotShutdownDone ()
void slotSystemDestroyed (QObject *system)
 Cleans up some references if the plugin is destroyed.

Private Member Functions

KPluginInfo * infoForPluginId (const QString &pluginId) const
SystemloadSystemInternal (const QString &pluginId)
 SystemManager (QObject *parent=0, const char *name=0)

Private Attributes

Private * d

Static Private Attributes

static SystemManagers_self = 0L

Classes

class  Private

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

Generated by  Doxygen 1.6.0   Back to index