DBus enabling of base classes plus sample for testing / show how to use them. Also qdbuscpp2xml plugin for blackmisc classes.

This commit is contained in:
Klaus Basan
2013-07-22 14:33:50 +02:00
parent 6736209945
commit 8b512ba818
48 changed files with 1264 additions and 52 deletions

View File

@@ -18,15 +18,16 @@ namespace PhysicalQuantities
*/
class CSpeed : public CPhysicalQuantity<CSpeedUnit, CSpeed>
{
public:
/*!
* \brief Default constructor
*/
CSpeed() : CPhysicalQuantity(0, CSpeedUnit::m_s(), CSpeedUnit::m_s()) {}
/**
/*!
*\brief Copy constructor
*/
CSpeed(const CPhysicalQuantity &speed): CPhysicalQuantity(speed) {}
CSpeed(const CSpeed &speed): CPhysicalQuantity(speed) {}
/*!
* \brief Init by int value
* \param value
@@ -44,7 +45,10 @@ public:
*/
virtual ~CSpeed() {}
};
} // namespace
} // namespace
Q_DECLARE_METATYPE(BlackMisc::PhysicalQuantities::CSpeed)
#endif // BLACKMISC_CSPEED_H