Skip to content
Snippets Groups Projects
Commit bc957dd3 authored by Emmanuel Lepage Vallée's avatar Emmanuel Lepage Vallée Committed by Stepan Salenikovich
Browse files

accountmodel: Make the alias anti-duplication function invokable


For QML and tests

Change-Id: I5957cc0e96a8476e60b1d325f00c49d425270bf0
Reviewed-by: default avatarStepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
parent 9689b5d4
Branches
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ public:
Q_INVOKABLE Account* getById ( const QByteArray& id, bool ph = false) const;
int size ( ) const;
Account* getAccountByModelIndex ( const QModelIndex& item ) const;
static QString getSimilarAliasIndex ( const QString& alias ) ;
Q_INVOKABLE static QString getSimilarAliasIndex ( const QString& alias ) ;
Account* ip2ip ( ) const;
QList<Account*> getAccountsByProtocol ( const Account::Protocol protocol ) const;
bool isPresenceEnabled ( ) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment