Issue #77 Move QPair typedefs to their corresponding value type headers

This commit is contained in:
Mat Sutcliffe
2020-08-28 18:01:48 +01:00
parent 0e33a6991f
commit 515dc7fef1
7 changed files with 15 additions and 44 deletions

View File

@@ -13,6 +13,7 @@
#include "blackmisc/blackmiscexport.h"
#include "blackmisc/pq/physicalquantity.h"
#include <QPair>
namespace BlackMisc
{
@@ -34,9 +35,11 @@ namespace BlackMisc
CSpeed(const QString &unitString) : CPhysicalQuantity(unitString) {}
};
using CSpeedPair = QPair<CSpeed, CSpeed>; //!< Pair of speeds
} // ns
} // ns
Q_DECLARE_METATYPE(BlackMisc::PhysicalQuantities::CSpeed)
Q_DECLARE_METATYPE(BlackMisc::PhysicalQuantities::CSpeedPair)
#endif // guard