summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/generatedfile.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2014-08-27 13:06:49 +0200
committerTobias Hunger <tobias.hunger@digia.com>2014-09-03 16:54:57 +0200
commit0841690d67f877028070cc46695b65887500c54e (patch)
treea7e80e6edb544b8f327b2e3b8cd54131d59d3c0d /src/plugins/coreplugin/generatedfile.h
parent000035f769dd5a7e6c618c7243f1c780162b1d37 (diff)
downloadqt-creator-0841690d67f877028070cc46695b65887500c54e.tar.gz
Core: Define some more constants for the wizards
Define constants for the different kinds of wizards as well as to force override of files. Change-Id: Ic4bf49bdb8a0b7469ddcab12d61ed8f0498c7d87 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/coreplugin/generatedfile.h')
-rw-r--r--src/plugins/coreplugin/generatedfile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/generatedfile.h b/src/plugins/coreplugin/generatedfile.h
index 0e5464cfde..d8c3b06848 100644
--- a/src/plugins/coreplugin/generatedfile.h
+++ b/src/plugins/coreplugin/generatedfile.h
@@ -50,7 +50,9 @@ public:
* see BaseFileWizard::writeFiles() */
CustomGeneratorAttribute = 0x4,
/* File exists and the user indicated that he wants to keep it */
- KeepExistingFileAttribute = 0x8
+ KeepExistingFileAttribute = 0x8,
+ /* Force overwriting of a file without asking the user to keep it */
+ ForceOverwrite = 0x10
};
Q_DECLARE_FLAGS(Attributes, Attribute)