mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
https://dev.vatsim-germany.org/issues/648#note-5
This commit is contained in:
@@ -24,8 +24,6 @@ namespace BlackMisc
|
|||||||
*/
|
*/
|
||||||
class BLACKMISC_EXPORT IDatastoreObjectWithIntegerKey : public ITimestampBased
|
class BLACKMISC_EXPORT IDatastoreObjectWithIntegerKey : public ITimestampBased
|
||||||
{
|
{
|
||||||
Q_INTERFACES(BlackMisc::ITimestampBased)
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Property index
|
//! Property index
|
||||||
enum ColumnIndex
|
enum ColumnIndex
|
||||||
@@ -97,8 +95,6 @@ namespace BlackMisc
|
|||||||
*/
|
*/
|
||||||
class BLACKMISC_EXPORT IDatastoreObjectWithStringKey : public ITimestampBased
|
class BLACKMISC_EXPORT IDatastoreObjectWithStringKey : public ITimestampBased
|
||||||
{
|
{
|
||||||
Q_INTERFACES(BlackMisc::ITimestampBased)
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Property index
|
//! Property index
|
||||||
enum ColumnIndex
|
enum ColumnIndex
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
namespace BlackMisc
|
namespace BlackMisc
|
||||||
{
|
{
|
||||||
//! Entity with timestamp
|
//! Entity with order attribute (can be manually ordered in views)
|
||||||
class BLACKMISC_EXPORT IOrderable
|
class BLACKMISC_EXPORT IOrderable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -63,6 +63,4 @@ namespace BlackMisc
|
|||||||
};
|
};
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
Q_DECLARE_INTERFACE(BlackMisc::IOrderable, "org.swift-project.blackmisc.iorderable")
|
|
||||||
|
|
||||||
#endif // guard
|
#endif // guard
|
||||||
|
|||||||
@@ -30,9 +30,6 @@ namespace BlackMisc
|
|||||||
public BlackMisc::IDatastoreObjectWithStringKey,
|
public BlackMisc::IDatastoreObjectWithStringKey,
|
||||||
public BlackMisc::IOrderable
|
public BlackMisc::IOrderable
|
||||||
{
|
{
|
||||||
Q_INTERFACES(BlackMisc::IDatastoreObjectWithStringKey)
|
|
||||||
Q_INTERFACES(BlackMisc::IOrderable)
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Property indexes
|
//! Property indexes
|
||||||
enum ColumnIndex
|
enum ColumnIndex
|
||||||
|
|||||||
@@ -55,7 +55,8 @@ namespace BlackMisc
|
|||||||
BLACK_METAMEMBER(distributorsFsx),
|
BLACK_METAMEMBER(distributorsFsx),
|
||||||
BLACK_METAMEMBER(distributorsP3d),
|
BLACK_METAMEMBER(distributorsP3d),
|
||||||
BLACK_METAMEMBER(distributorsFs9),
|
BLACK_METAMEMBER(distributorsFs9),
|
||||||
BLACK_METAMEMBER(distributorsXPlane)
|
BLACK_METAMEMBER(distributorsXPlane),
|
||||||
|
BLACK_METAMEMBER(lastUpdatedSimulator)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
} //namespace
|
} //namespace
|
||||||
|
|||||||
@@ -117,6 +117,4 @@ namespace BlackMisc
|
|||||||
};
|
};
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
Q_DECLARE_INTERFACE(BlackMisc::ITimestampBased, "org.swift-project.blackmisc.itimestampbased")
|
|
||||||
|
|
||||||
#endif // guard
|
#endif // guard
|
||||||
|
|||||||
@@ -492,7 +492,7 @@ namespace BlackMisc
|
|||||||
emit valuesWantToCache({ { { element.m_key, value } }, timestamp, save });
|
emit valuesWantToCache({ { { element.m_key, value } }, timestamp, save });
|
||||||
}
|
}
|
||||||
// All good info
|
// All good info
|
||||||
status = CStatusMessage(this, CStatusMessage::SeverityInfo, "Set values in " + this->getKey(element));
|
status = CStatusMessage(this, CStatusMessage::SeverityInfo, "Set values in " + element.m_key);
|
||||||
}
|
}
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user