Formatting, tweaks, style sheet

This commit is contained in:
Klaus Basan
2014-06-27 13:14:34 +01:00
parent 4d26b77fa4
commit 9afe8b0f8b
3 changed files with 13 additions and 16 deletions

View File

@@ -15,20 +15,18 @@
namespace BlackSim
{
//! \brief Value object encapsulating a list of SimulatorInfo.
//! Value object encapsulating a list of SimulatorInfo objects.
class CSimulatorInfoList : public BlackMisc::CSequence<CSimulatorInfo>
{
public:
//! Default constructor
CSimulatorInfoList();
//! \brief Construct from a base class object.
//! Construct from a base class object.
CSimulatorInfoList(const CSequence<CSimulatorInfo> &other);
//! \copydoc CValueObject::toQVariant
virtual QVariant toQVariant() const
{
return QVariant::fromValue(*this);
}
virtual QVariant toQVariant() const { return QVariant::fromValue(*this); }
//! Is simulator supported
bool supportsSimulator(const CSimulatorInfo &info);
@@ -36,11 +34,10 @@ namespace BlackSim
//! String list with meaningful representations
QStringList toStringList(bool i18n = false) const;
};
}
Q_DECLARE_METATYPE(BlackSim::CSimulatorInfoList)
Q_DECLARE_METATYPE(BlackMisc::CCollection<BlackSim::CSimulatorInfo>)
Q_DECLARE_METATYPE(BlackMisc::CSequence<BlackSim::CSimulatorInfo>)
#endif // BLACKSIM_SIMULATORINFOLIST_H
#endif // guard