summaryrefslogtreecommitdiff
path: root/src/plugins/glsleditor/glslfilewizard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/glsleditor/glslfilewizard.h')
-rw-r--r--src/plugins/glsleditor/glslfilewizard.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/plugins/glsleditor/glslfilewizard.h b/src/plugins/glsleditor/glslfilewizard.h
index b3546c1812..4beeedb461 100644
--- a/src/plugins/glsleditor/glslfilewizard.h
+++ b/src/plugins/glsleditor/glslfilewizard.h
@@ -39,8 +39,6 @@ class GLSLFileWizard: public Core::BaseFileWizard
Q_OBJECT
public:
- typedef Core::BaseFileWizardParameters BaseFileWizardParameters;
-
enum ShaderType
{
VertexShaderES,
@@ -49,22 +47,18 @@ public:
FragmentShaderDesktop
};
- explicit GLSLFileWizard(const BaseFileWizardParameters &parameters,
- ShaderType shaderType, QObject *parent = 0);
-
- virtual Core::FeatureSet requiredFeatures() const;
- virtual WizardFlags flags() const;
+ explicit GLSLFileWizard(ShaderType shaderType);
-protected:
+private:
QString fileContents(const QString &baseName, ShaderType shaderType) const;
- virtual QWizard *createWizardDialog(QWidget *parent,
+ QWizard *createWizardDialog(QWidget *parent,
const Core::WizardDialogParameters &wizardDialogParameters) const;
- virtual Core::GeneratedFiles generateFiles(const QWizard *w,
+ Core::GeneratedFiles generateFiles(const QWizard *w,
QString *errorMessage) const;
- virtual QString preferredSuffix(ShaderType shaderType) const;
+ QString preferredSuffix(ShaderType shaderType) const;
private:
ShaderType m_shaderType;