X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fmappedselectionmodel.h;h=a59ea253f00062a7668c51e4890edc9c7c6290e2;hp=226f81ed6d71f57eadf482c108ff68d3a3fbf109;hb=bde6f40f73d85cff300b133a722e4f59bff77f84;hpb=974b7adc16b798eda66e1fff1442b73b748f12f9 diff --git a/src/client/mappedselectionmodel.h b/src/client/mappedselectionmodel.h index 226f81ed..a59ea253 100644 --- a/src/client/mappedselectionmodel.h +++ b/src/client/mappedselectionmodel.h @@ -1,11 +1,11 @@ /*************************************************************************** - * Copyright (C) 2005-07 by The Quassel Team * + * Copyright (C) 2005-08 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -24,7 +24,7 @@ #include #include #include -#include ; +#include class QAbstractProxyModel; @@ -41,10 +41,10 @@ public: const QAbstractProxyModel *proxyModel() const; QModelIndex mapFromSource(const QModelIndex &sourceIndex); - QItemSelection mapFromSource(const QItemSelection &sourceSelection); + QItemSelection mapSelectionFromSource(const QItemSelection &sourceSelection); QModelIndex mapToSource(const QModelIndex &proxyIndex); - QItemSelection mapToSource(const QItemSelection &proxySelection); + QItemSelection mapSelectionToSource(const QItemSelection &proxySelection); public slots: void mappedSelect(const QModelIndex &index, QItemSelectionModel::SelectionFlags command);