Skip to content
Snippets Groups Projects
Commit 2b9d07a3 authored by Emmanuel Lepage Vallée's avatar Emmanuel Lepage Vallée Committed by Guillaume Roguez
Browse files

itembase: Add introspection macros


Change-Id: I584e311c2ffe9d3f705b0635ea88b5fbda25eb58
Reviewed-by: default avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
parent 69169ad3
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,8 @@ class ItemBasePrivate;
*/
class LIB_EXPORT ItemBase : public QObject
{
Q_OBJECT
friend class CollectionInterface;
public:
//Constructor
......@@ -43,10 +45,10 @@ public:
T2* extension() const;
//Mutator methods
bool save () const;
bool edit () ;
bool remove () ;
bool isActive() const;
Q_INVOKABLE bool save () const;
Q_INVOKABLE bool edit () ;
Q_INVOKABLE bool remove () ;
Q_INVOKABLE bool isActive() const;
//Setter
void setCollection(CollectionInterface* backend);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment