X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fselectionmodelsynchronizer.h;h=cad7edfa1a2362769beaa4f7bbc280b3f358437c;hp=c40cc5c5bc39167a8209c194edef04de756b3995;hb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;hpb=04315f46a16fc3627218377071e008b6b9744992 diff --git a/src/client/selectionmodelsynchronizer.h b/src/client/selectionmodelsynchronizer.h index c40cc5c5..cad7edfa 100644 --- a/src/client/selectionmodelsynchronizer.h +++ b/src/client/selectionmodelsynchronizer.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 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