X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fcoreaccountmodel.cpp;h=0e323bb48f6d53333dc89963d1902d8ec1f18da8;hp=267a3b6d9ed68ef321ef58c4b44a4bbd655337ce;hb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf 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) {