KSvg
imageset.cpp
35 connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, ImageSetPrivate::globalImageSet, &ImageSetPrivate::onAppExitCleanup);
51 connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, priv, &ImageSetPrivate::onAppExitCleanup);
142 connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, priv, &ImageSetPrivate::onAppExitCleanup);
KPluginMetaData metadata() const
This method returns the plugin metadata for this theme.
Definition imageset.cpp:256
QStringList selectors() const
This method returns the current selectors in order of preference.
Definition imageset.cpp:121
void setImageSetName(const QString &imageSetName)
This method sets the current theme.
Definition imageset.cpp:126
void setSelectors(const QStringList &selectors)
This method sets the file selectors.
Definition imageset.cpp:115
void imageSetChanged(const QString &basePath)
@brif This signal is emitted when the user makes changes to the theme.
void setCacheLimit(int kbytes)
This method sets the maximum size of the cache (in kilobytes).
Definition imageset.cpp:249
void setUseGlobalSettings(bool useGlobal)
This method sets whether the theme should follow the global settings or use application-specific sett...
Definition imageset.cpp:233
bool currentImageSetHasImage(const QString &name) const
This method checks whether this theme contains an image with the given name.
Definition imageset.cpp:219
QString imagePath(const QString &name) const
This method returns the path for an SVG image in the current theme.
Definition imageset.cpp:158
QString filePath(const QString &name) const
This method returns the path for a generic file in the current theme.
Definition imageset.cpp:194
void setBasePath(const QString &basePath)
This method sets a base path for the theme to look for SVGs.
Definition imageset.cpp:89
void basePathChanged(const QString &basePath)
This signal is emitted when the user changes the base path of the image set.
void aboutToQuit()
QCoreApplication * instance()
QChar separator()
QObject(QObject *parent)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
QObject * parent() const const
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:46:35 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:46:35 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.