Replace typedef with using

This commit is contained in:
Jonas Kvinge
2022-10-13 22:39:31 +02:00
parent 61204e8d35
commit b22320c48f
62 changed files with 90 additions and 116 deletions

View File

@@ -40,7 +40,7 @@ struct Directory {
};
Q_DECLARE_METATYPE(Directory)
typedef QList<Directory> DirectoryList;
using DirectoryList = QList<Directory>;
Q_DECLARE_METATYPE(DirectoryList)
@@ -53,7 +53,7 @@ struct Subdirectory {
};
Q_DECLARE_METATYPE(Subdirectory)
typedef QList<Subdirectory> SubdirectoryList;
using SubdirectoryList = QList<Subdirectory>;
Q_DECLARE_METATYPE(SubdirectoryList)
#endif // DIRECTORY_H