moved list of enum literals from ViewManager to Columns (which makes them available to the rest of model now)

This commit is contained in:
Marc Zinnschlag 2013-09-02 11:58:05 +02:00
parent 9f0b34eae0
commit 649ef6f120
5 changed files with 129 additions and 72 deletions

View file

@ -54,6 +54,9 @@ namespace CSVWorld
///< \param names Array of char pointer with a 0-pointer as end mark
/// \param allowNone Use value of -1 for "none selected" (empty string)
EnumDelegateFactory (const std::vector<std::string>& names, bool allowNone = false);
/// \param allowNone Use value of -1 for "none selected" (empty string)
virtual CommandDelegate *makeDelegate (QUndoStack& undoStack, QObject *parent) const;
///< The ownership of the returned CommandDelegate is transferred to the caller.