X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fcoreaccountmodel.cpp;h=0e323bb48f6d53333dc89963d1902d8ec1f18da8;hp=a54cd2f996357e9853f58aa31eb3a3460e93da70;hb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce diff --git a/src/client/coreaccountmodel.cpp b/src/client/coreaccountmodel.cpp index a54cd2f9..0e323bb4 100644 --- a/src/client/coreaccountmodel.cpp +++ b/src/client/coreaccountmodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include "coreaccountmodel.h" @@ -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) {