Move code use to find prefix of element from element class, to autonum namespace

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4793 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-11-26 19:30:59 +00:00
parent 01af4c52e5
commit 489f2c2035
5 changed files with 122 additions and 88 deletions

View File

@@ -26,6 +26,7 @@
class Diagram;
class Element;
class ElementsLocation;
namespace autonum
{
@@ -64,7 +65,8 @@ namespace autonum
void setSequentialToList(QStringList &list, NumerotationContext &nc, QString type);
void setFolioSequentialToHash(QStringList &list, QHash<QString, QStringList> &hash, QString autoNumName);
void setSequential(QString label, autonum::sequenceStruct &seqStruct, NumerotationContext &context, Diagram *diagram, QString hashKey);
QString NumerotationContextToFormula(const NumerotationContext &nc);
QString numerotationContextToFormula(const NumerotationContext &nc);
QString elementPrefixForLocation(const ElementsLocation &location);
}
#endif // ASSIGNVARIABLES_H