KDECore
kcomponentdata.cpp
Go to the documentation of this file.
75 KComponentData::KComponentData(const QByteArray &name, const QByteArray &catalog, MainComponentRegistration registerAsMain)
76 : d(new KComponentDataPrivate(KAboutData(name, catalog, KLocalizedString(), "", KLocalizedString())))
90 KComponentData::KComponentData(const KAboutData *aboutData, MainComponentRegistration registerAsMain)
105 KComponentData::KComponentData(const KAboutData &aboutData, MainComponentRegistration registerAsMain)
186 if (kde_kiosk_admin && !kde_kiosk_exception && !qgetenv("KDE_KIOSK_NO_RESTRICTIONS").isEmpty()) {
KComponentData & operator=(const KComponentData &)
Assignment operator.
Definition: kcomponentdata.cpp:49
Definition: kcomponentdata.cpp:71
void configInit(const KComponentData &component)
Definition: kcomponentdata.cpp:165
bool addResourceType(const char *type, const QString &relativename, bool priority=true)
Adds suffixes for types.
Definition: kstandarddirs.cpp:393
static KdeLibraryPathsAdded kdeLibraryPathsAdded
Definition: kcomponentdata.cpp:73
bool operator==(const KComponentData &) const
Returns whether two KComponentData objects reference the same data.
Definition: kcomponentdata.cpp:63
Definition: kcomponentdata.cpp:69
virtual void virtual_hook(int id, void *data)
Standard trick to add virtuals later.
Definition: kcomponentdata.cpp:238
const KAboutData * aboutData() const
Returns the about data of this component.
Definition: kcomponentdata.cpp:215
QString catalogName() const
Returns the name of the translation catalog.
Definition: kcomponentdata.cpp:232
const KSharedConfig::Ptr & config() const
Returns the general config object ("appnamerc").
Definition: kcomponentdata.cpp:201
void setConfigName(const QString &name)
Set name of default config file.
Definition: kcomponentdata.cpp:209
Definition: kcomponentdata_p.h:33
void lazyInit(const KComponentData &component)
Definition: kcomponentdata.cpp:133
QStringList resourceDirs(const char *type) const
This function is used internally by almost all other function as it serves and fills the directories ...
Definition: kstandarddirs.cpp:1069
Definition: kcomponentdata.cpp:70
void reparseConfiguration()
Updates the state of this object to match the persistent storage.
Definition: kconfig.cpp:583
void setAboutData(const KAboutData &aboutData)
Sets the about data of this component.
Definition: kcomponentdata.cpp:221
bool addCustomized(KConfig *config)
Reads customized entries out of the given config object and add them via addResourceDirs().
Definition: kstandarddirs.cpp:1939
T readEntry(const QString &key, const T &aDefault) const
Reads the value of an entry specified by pKey in the current group.
Definition: kconfiggroup.h:248
Class for producing and handling localized messages.
Definition: klocalizedstring.h:299
KStandardDirs * dirs() const
Returns the application standard dirs object.
Definition: kcomponentdata.cpp:193
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.