kplugininfo.cpp
154 TQValueList<KPluginInfo*> KPluginInfo::fromServices( const KService::List & services, TDEConfig * config, const TQString & group )
168 TQValueList<KPluginInfo*> KPluginInfo::fromFiles( const TQStringList & files, TDEConfig * config, const TQString & group )
180 TQValueList<KPluginInfo*> KPluginInfo::fromKPartsInstanceName( const TQString & name, TDEConfig * config, const TQString & group )
347 setPluginEnabled( d->config->readBoolEntry( d->pluginName + "Enabled", isPluginEnabledByDefault() ) );
350 setPluginEnabled( config->readBoolEntry( d->pluginName + "Enabled", isPluginEnabledByDefault() ) );
TQString readComment() const
TQString readName() const
bool isPluginEnabledByDefault() const
Definition: kplugininfo.cpp:204
virtual void save(TDEConfigGroup *config=0)
Save state of the plugin - enabled or not.
Definition: kplugininfo.cpp:319
static KPluginInfo::List fromKPartsInstanceName(const TQString &, TDEConfig *config=0, const TQString &group=TQString::null)
Definition: kplugininfo.cpp:180
static KPluginInfo::List fromServices(const KService::List &services, TDEConfig *config=0, const TQString &group=TQString::null)
Definition: kplugininfo.cpp:154
TQVariant operator[](const TQString &key) const
This is the same as property().
Definition: kplugininfo.cpp:314
virtual void load(TDEConfigGroup *config=0)
Load the state of the plugin - enabled or not.
Definition: kplugininfo.cpp:336
static KPluginInfo::List fromFiles(const TQStringList &files, TDEConfig *config=0, const TQString &group=TQString::null)
Definition: kplugininfo.cpp:168
virtual void setPluginEnabled(bool enabled)
Set whether the plugin is currently loaded.
Definition: kplugininfo.cpp:192
void setConfig(TDEConfig *config, const TQString &group)
Set the TDEConfigGroup to use for load()ing and save()ing the configuration.
Definition: kplugininfo.cpp:290
KPluginInfo(const TQString &filename, const char *resource=0)
Read plugin info from filename.
Definition: kplugininfo.cpp:70
const TQValueList< KService::Ptr > & kcmServices() const
Definition: kplugininfo.cpp:275
TQString readEntry(const TQString &pKey, const TQString &aDefault=TQString::null) const
bool readBoolEntry(const TQString &pKey, bool bDefault=false) const
void setDesktopGroup()
int readListEntry(const TQString &pKey, TQStrList &list, char sep=',') const
void writeEntry(const TQString &pKey, const TQString &pValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)
TQString readPathEntry(const TQString &pKey, const TQString &aDefault=TQString::null) const
static TDEStandardDirs * dirs()
TQStringList findAllResources(const char *type, const TQString &filter=TQString::null, bool recursive=false, bool unique=false) const
kndbgstream & endl(kndbgstream &s)
kdbgstream kdWarning(int area=0)
kdbgstream kdDebug(int area=0)