refs #648, refs #640 review of MS

https://dev.vatsim-germany.org/issues/648#note-5
This commit is contained in:
Klaus Basan
2016-05-07 20:10:43 +02:00
parent 89346e4661
commit 4b11eb3f83
6 changed files with 4 additions and 14 deletions

View File

@@ -24,8 +24,6 @@ namespace BlackMisc
*/
class BLACKMISC_EXPORT IDatastoreObjectWithIntegerKey : public ITimestampBased
{
Q_INTERFACES(BlackMisc::ITimestampBased)
public:
//! Property index
enum ColumnIndex
@@ -97,8 +95,6 @@ namespace BlackMisc
*/
class BLACKMISC_EXPORT IDatastoreObjectWithStringKey : public ITimestampBased
{
Q_INTERFACES(BlackMisc::ITimestampBased)
public:
//! Property index
enum ColumnIndex

View File

@@ -17,7 +17,7 @@
namespace BlackMisc
{
//! Entity with timestamp
//! Entity with order attribute (can be manually ordered in views)
class BLACKMISC_EXPORT IOrderable
{
public:
@@ -63,6 +63,4 @@ namespace BlackMisc
};
} // namespace
Q_DECLARE_INTERFACE(BlackMisc::IOrderable, "org.swift-project.blackmisc.iorderable")
#endif // guard

View File

@@ -30,9 +30,6 @@ namespace BlackMisc
public BlackMisc::IDatastoreObjectWithStringKey,
public BlackMisc::IOrderable
{
Q_INTERFACES(BlackMisc::IDatastoreObjectWithStringKey)
Q_INTERFACES(BlackMisc::IOrderable)
public:
//! Property indexes
enum ColumnIndex

View File

@@ -55,7 +55,8 @@ namespace BlackMisc
BLACK_METAMEMBER(distributorsFsx),
BLACK_METAMEMBER(distributorsP3d),
BLACK_METAMEMBER(distributorsFs9),
BLACK_METAMEMBER(distributorsXPlane)
BLACK_METAMEMBER(distributorsXPlane),
BLACK_METAMEMBER(lastUpdatedSimulator)
);
};
} //namespace

View File

@@ -117,6 +117,4 @@ namespace BlackMisc
};
} // namespace
Q_DECLARE_INTERFACE(BlackMisc::ITimestampBased, "org.swift-project.blackmisc.itimestampbased")
#endif // guard

View File

@@ -492,7 +492,7 @@ namespace BlackMisc
emit valuesWantToCache({ { { element.m_key, value } }, timestamp, save });
}
// 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;
}