kresources
factory.cpp
Go to the documentation of this file.
85 const int currentVersion = migrationCfg.readEntry( QLatin1String("Version-") + resourceFamily, 0 );
90 QStringList args = QStringList() << QLatin1String("--interactive-on-change") << QLatin1String("--type") << resourceFamily;
An abstract base class for deriving resource configuration dialogs.
Definition configwidget.h:48
QStringList typeNames() const
Returns a list of all available resource types.
Definition factory.cpp:148
QString typeDescription(const QString &type) const
Returns the description for a special type.
Definition factory.cpp:193
QString typeName(const QString &type) const
Returns the name for a special type.
Definition factory.cpp:183
ConfigWidget * configWidget(const QString &type, QWidget *parent=0)
Returns the config widget for the given resource type, or a null pointer if resource type doesn't exi...
Definition factory.cpp:153
Resource * resource(const QString &type, const KConfigGroup &group)
Returns a pointer to a resource object or a null pointer if resource type doesn't exist.
Definition factory.cpp:245
This class provides a manager for resources of a specified family.
Definition manager.h:83
This class provides a resource which is managed in a general way.
Definition resource.h:76
This file is part of the KDE resource framework and defines the Factory class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.