mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
refs #640, value object orderable interface (same as ITimestampBased ..)
* interface and list * added Q_DECLARE_INTERFACE
This commit is contained in:
@@ -24,6 +24,8 @@ namespace BlackMisc
|
||||
*/
|
||||
class BLACKMISC_EXPORT IDatastoreObjectWithIntegerKey : public ITimestampBased
|
||||
{
|
||||
Q_INTERFACES(BlackMisc::ITimestampBased)
|
||||
|
||||
public:
|
||||
//! Property index
|
||||
enum ColumnIndex
|
||||
@@ -95,6 +97,8 @@ namespace BlackMisc
|
||||
*/
|
||||
class BLACKMISC_EXPORT IDatastoreObjectWithStringKey : public ITimestampBased
|
||||
{
|
||||
Q_INTERFACES(BlackMisc::ITimestampBased)
|
||||
|
||||
public:
|
||||
//! Property index
|
||||
enum ColumnIndex
|
||||
@@ -151,4 +155,7 @@ namespace BlackMisc
|
||||
|
||||
} // namespace
|
||||
|
||||
Q_DECLARE_INTERFACE(BlackMisc::IDatastoreObjectWithIntegerKey, "org.swift-project.blackmisc.idatastoreobjectwithintegerkey")
|
||||
Q_DECLARE_INTERFACE(BlackMisc::IDatastoreObjectWithStringKey, "org.swift-project.blackmisc.idatastoreobjectwithstringkey")
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user