26 #include "internal/berryQtStylePreferencePage.h"
27 #include "internal/dialogs/berryPerspectivesPreferencePage.h"
42 return Configure(
new QtStylePreferencePage());
46 return Configure(
new PerspectivesPreferencePage());
55 QString(
"Unknown id in data argument for ") + this->metaObject()->className(),
69 QString(
"Data argument must be a String for ") + this->metaObject()->className(),
73 this->config = config;
74 this->propertyName = propertyName;
77 QObject*ExtensionFactory::Configure(QObject* obj)
81 execExt->SetInitializationData(config, propertyName,
Object::Pointer());
static const QString STYLE_PREFERENCE_PAGE
static const QString PERSPECTIVES_PREFERENCE_PAGE
QObject * Create() override
void SetInitializationData(const SmartPointer< IConfigurationElement > &config, const QString &propertyName, const Object::Pointer &data) override
SmartPointer< Other > Cast() const