mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
refs #655, Change signature (order) of setProperty/compareProperty
This commit is contained in:
committed by
Roland Winklmeier
parent
49094115b1
commit
0f5d2a29a8
@@ -174,7 +174,7 @@ namespace BlackMisc
|
||||
return CVariant::fromValue(m);
|
||||
}
|
||||
|
||||
void ITimestampBased::setPropertyByIndex(const CVariant &variant, const CPropertyIndex &index)
|
||||
void ITimestampBased::setPropertyByIndex(const CPropertyIndex &index, const CVariant &variant)
|
||||
{
|
||||
if (!index.isEmpty())
|
||||
{
|
||||
@@ -204,7 +204,7 @@ namespace BlackMisc
|
||||
Q_ASSERT_X(false, Q_FUNC_INFO, m.toLocal8Bit().constData());
|
||||
}
|
||||
|
||||
int ITimestampBased::comparePropertyByIndex(const ITimestampBased &compareValue, const CPropertyIndex &index) const
|
||||
int ITimestampBased::comparePropertyByIndex(const CPropertyIndex &index, const ITimestampBased &compareValue) const
|
||||
{
|
||||
Q_UNUSED(index);
|
||||
return Compare::compare(this->m_timestampMSecsSinceEpoch, compareValue.m_timestampMSecsSinceEpoch);
|
||||
|
||||
Reference in New Issue
Block a user