QSettingsDialog
1.0.0
A Qt library to easily create a settings dialog for user configurable settings
Main Page
Modules
Classes
Files
File List
dialogui
qsettingswidgetfactoryregistry.h
1
#ifndef QSETTINGSWIDGETFACTORYREGISTRY_H
2
#define QSETTINGSWIDGETFACTORYREGISTRY_H
3
4
#include "qsettingsdialog_global.h"
5
#include "qsettingswidgetfactory.h"
6
#include <QSharedPointer>
7
9
class
QSETTINGSDIALOGSHARED_EXPORT
QSettingsWidgetFactoryRegistry
10
{
11
public
:
13
inline
virtual
~QSettingsWidgetFactoryRegistry
() {}
14
16
virtual
inline
int
priority
()
const
{
17
return
0;
18
}
20
virtual
QSharedPointer<QSettingsWidgetFactory>
tryResolve(
int
displayId) = 0;
21
};
22
23
#endif // QSETTINGSWIDGETFACTORYREGISTRY_H
QSettingsWidgetFactoryRegistry::priority
virtual int priority() const
The prioritoy of this registry.
Definition:
qsettingswidgetfactoryregistry.h:16
QSettingsWidgetFactoryRegistry
A registry to load widget factories based on an id.
Definition:
qsettingswidgetfactoryregistry.h:9
QSharedPointer
QSettingsWidgetFactoryRegistry::~QSettingsWidgetFactoryRegistry
virtual ~QSettingsWidgetFactoryRegistry()
Virtual Destructor.
Definition:
qsettingswidgetfactoryregistry.h:13
Generated on Fri Jul 22 2016 23:08:07 for QSettingsDialog by
1.8.11