X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fcoreaccountmodel.cpp;h=0e323bb48f6d53333dc89963d1902d8ec1f18da8;hb=db6e6642a43143bc45ddb0732d144815b68e37f8;hp=267a3b6d9ed68ef321ef58c4b44a4bbd655337ce;hpb=5fc6f7e2d63b45770574260afd6ce535e9548d23;p=quassel.git diff --git a/src/client/coreaccountmodel.cpp b/src/client/coreaccountmodel.cpp index 267a3b6d..0e323bb4 100644 --- a/src/client/coreaccountmodel.cpp +++ b/src/client/coreaccountmodel.cpp @@ -155,6 +155,12 @@ bool CoreAccountModel::operator==(const CoreAccountModel &other) const } +bool CoreAccountModel::operator!=(const CoreAccountModel &other) const +{ + return !(*this == other); +} + + // TODO with Qt 4.6, use QAbstractItemModel move semantics to properly do this AccountId CoreAccountModel::createOrUpdateAccount(const CoreAccount &newAcc) {