KDELibs4Support
kcomponentdata.cpp
126 KComponentData::KComponentData(const QByteArray &name, const QByteArray &catalog, MainComponentRegistration registerAsMain)
141 KComponentData::KComponentData(const K4AboutData *aboutData, MainComponentRegistration registerAsMain)
156 KComponentData::KComponentData(const K4AboutData &aboutData, MainComponentRegistration registerAsMain)
233 if (kde_kiosk_admin && !kde_kiosk_exception && !qgetenv("KDE_KIOSK_NO_RESTRICTIONS").isEmpty()) {
KComponentData & operator=(const KComponentData &)
Assignment operator.
Definition: kcomponentdata.cpp:54
bool operator!=(const KComponentData &rhs) const
Returns whether two KComponentData objects do not reference the same data.
Definition: kcomponentdata.cpp:73
const K4AboutData * aboutData() const
Returns the about data of this component.
Definition: kcomponentdata.cpp:254
bool operator==(const KComponentData &) const
Returns whether two KComponentData objects reference the same data.
Definition: kcomponentdata.cpp:68
bool isEmpty() const const
virtual void virtual_hook(int id, void *data)
Standard trick to add virtuals later.
Definition: kcomponentdata.cpp:310
QString appName() const
Returns the application's internal name.
Definition: k4aboutdata.cpp:688
void addLibraryPath(const QString &path)
QString catalogName() const
Returns the name of the translation catalog.
Definition: kcomponentdata.cpp:271
const KSharedConfig::Ptr & config() const
Returns the general config object ("appnamerc").
Definition: kcomponentdata.cpp:240
void setConfigName(const QString &name)
Set name of default config file.
Definition: kcomponentdata.cpp:248
bool isEmpty() const const
QCoreApplication * instance()
QList::iterator end()
static void setApplicationData(const KAboutData &aboutData)
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:1147
QByteArray toLatin1() const const
typedef ConstIterator
static void setMainConfigName(const QString &str)
QString fromLatin1(const char *str, int size)
void setAboutData(const K4AboutData &aboutData)
Sets the about data of this component.
Definition: kcomponentdata.cpp:260
static const KComponentData & mainComponent()
Returns the global component data, if one was set.
Definition: kcomponentdata.cpp:283
T readEntry(const QString &key, const T &aDefault) const
static void setActiveComponent(const KComponentData &d)
Set the active component for use by KAboutDialog and KBugReport.
Definition: kcomponentdata.cpp:295
QList::iterator begin()
QString applicationName()
static const KComponentData & activeComponent()
The component currently active (useful in a multi-component application, such as a KParts application...
Definition: kcomponentdata.cpp:289
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:01:10 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:01:10 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.