23 #ifndef id8E04D971_DF78_4DB4_97E84A8D859F3694 24 #define id8E04D971_DF78_4DB4_97E84A8D859F3694 28 #include <QStringList> 41 static QList<FileAlias> freeDoom2Aliases();
59 const QStringList &aliases()
const;
60 void setAliases(
const QStringList &val);
62 static FileAlias deserializeQVariant(
const QVariant &var);
63 QVariant serializeQVariant()
const;
69 bool isSameName(
const QString &otherName)
const;
76 MatchType matchType()
const;
77 void setMatchType(MatchType matchType);
79 const QString &name()
const;
80 void setName(
const QString &val);
93 static MatchType deserializeMatchType(
const QVariant &variant);
94 static QVariant serializeMatchType(MatchType matchType);
104 static QStringList aliases(
const QList<FileAlias> &candidates,
const QString &name);
105 static QList<FileAlias> mergeDuplicates(
const QList<FileAlias> &input);
bool isValid() const
Valid FileAlias has a name and at least one alias.
void addAliases(const QStringList &val)
Will ensure unique values.
static QList< FileAlias > standardWadAliases()
Standard/default aliases for configuration init.
bool isSameName(const QString &otherName) const
Compares passed string to local name and checks if they're same.
void addAlias(const QString &val)
Will ensure unique values.