Commit 0841690d authored by Tobias Hunger's avatar Tobias Hunger

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: default avatarDaniel Teske <daniel.teske@digia.com>
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 000035f7
......@@ -222,6 +222,10 @@ const char ICON_INFO[] = ":/core/images/info.png";
const char WIZARD_CATEGORY_QT[] = "R.Qt";
const char WIZARD_TR_CATEGORY_QT[] = QT_TRANSLATE_NOOP("Core", "Qt");
const char WIZARD_KIND_UNKNOWN[] = "unknown";
const char WIZARD_KIND_PROJECT[] = "project";
const char WIZARD_KIND_CLASS[] = "class";
const char WIZARD_KIND_FILE[] = "file";
const char SETTINGS_CATEGORY_CORE[] = "A.Core";
const char SETTINGS_CATEGORY_CORE_ICON[] = ":/core/images/category_core.png";
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment