X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fselectionmodelsynchronizer.h;h=cad7edfa1a2362769beaa4f7bbc280b3f358437c;hp=e6f08eb5edb1f2b04b0dd78d14b92169da45d2b3;hb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/client/selectionmodelsynchronizer.h b/src/client/selectionmodelsynchronizer.h index e6f08eb5..cad7edfa 100644 --- a/src/client/selectionmodelsynchronizer.h +++ b/src/client/selectionmodelsynchronizer.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 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 * @@ -18,20 +18,21 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef _SELECTIONMODELSYNCHRONIZER_H_ -#define _SELECTIONMODELSYNCHRONIZER_H_ +#pragma once + +#include "client-export.h" #include #include class QAbstractItemModel; -class SelectionModelSynchronizer : public QObject +class CLIENT_EXPORT SelectionModelSynchronizer : public QObject { Q_OBJECT public: - SelectionModelSynchronizer(QAbstractItemModel *parent = 0); + SelectionModelSynchronizer(QAbstractItemModel *parent = nullptr); void synchronizeSelectionModel(QItemSelectionModel *selectionModel); void removeSelectionModel(QItemSelectionModel *selectionModel); @@ -67,6 +68,3 @@ private: QSet _selectionModels; }; - - -#endif