mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 20:13:24 -08:00
Apply typedef across the tree (#7880)
This commit is contained in:
parent
de2ca8d56b
commit
12884c94dc
7 changed files with 19 additions and 19 deletions
|
|
@ -18,7 +18,7 @@ class QMediaPlayer;
|
|||
|
||||
inline Q_LOGGING_CATEGORY(SoundEngineLog, "sound_engine");
|
||||
|
||||
typedef QMap<QString, QString> QStringMap;
|
||||
using QStringMap = QMap<QString, QString>;
|
||||
|
||||
class SoundEngine : public QObject
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ struct DeckSearchData
|
|||
QString relativeFilePath; ///< File path relative to the deck folder.
|
||||
};
|
||||
|
||||
typedef std::function<bool(const DeckSearchData &data)> DeckFilter;
|
||||
using DeckFilter = std::function<bool(const DeckSearchData &data)>;
|
||||
|
||||
class DeckFilterString
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
inline Q_LOGGING_CATEGORY(ThemeManagerLog, "theme_manager");
|
||||
|
||||
typedef QMap<QString, QString> QStringMap;
|
||||
typedef QMap<int, QBrush> QBrushMap;
|
||||
using QStringMap = QMap<QString, QString>;
|
||||
using QBrushMap = QMap<int, QBrush>;
|
||||
|
||||
class ThemeManager : public QObject
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@
|
|||
|
||||
#include <QMap>
|
||||
|
||||
typedef QMap<int, QString> GameTypeMap;
|
||||
using GameTypeMap = QMap<int, QString>;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue