Skip to content
Snippets Groups Projects
Commit 79138823 authored by Emmanuel Lepage Vallée's avatar Emmanuel Lepage Vallée Committed by Nicolas Jager
Browse files

callmodel: Fix some Q_PROPERTY


And make another method invokable (for the bindings).

Change-Id: If8a1758db5afb0356b9f4891aee30eabe9c25cb3
Reviewed-by: default avatarNicolas Jäger <nicolas.jager@savoirfairelinux.com>
parent 5651d161
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,8 @@ public: ...@@ -76,7 +76,8 @@ public:
Q_PROPERTY(bool isValid READ isValid ) Q_PROPERTY(bool isValid READ isValid )
Q_PROPERTY(bool hasConference READ hasConference ) Q_PROPERTY(bool hasConference READ hasConference )
Q_PROPERTY(bool isConnected READ isConnected ) Q_PROPERTY(bool isConnected READ isConnected )
Q_PROPERTY(UserActionModel* userActionModel READ userActionModel ) Q_PROPERTY(Call* selectedCall READ selectedCall )
Q_PROPERTY(UserActionModel* userActionModel READ userActionModel CONSTANT)
//Call related //Call related
Q_INVOKABLE Call* dialingCall ( const QString& peerName=QString(), Account* account=nullptr, Call* parent = nullptr ); Q_INVOKABLE Call* dialingCall ( const QString& peerName=QString(), Account* account=nullptr, Call* parent = nullptr );
...@@ -104,7 +105,7 @@ public: ...@@ -104,7 +105,7 @@ public:
bool hasConference () const; bool hasConference () const;
bool isConnected () const; bool isConnected () const;
UserActionModel* userActionModel () const; UserActionModel* userActionModel () const;
QItemSelectionModel* selectionModel () const; Q_INVOKABLE QItemSelectionModel* selectionModel() const;
Q_INVOKABLE Call* getCall ( const QModelIndex& idx ) const; Q_INVOKABLE Call* getCall ( const QModelIndex& idx ) const;
Q_INVOKABLE QList<Call*> getConferenceParticipants(Call *conf) const; Q_INVOKABLE QList<Call*> getConferenceParticipants(Call *conf) const;
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment