OpenMS
Loading...
Searching...
No Matches
Qt5Port.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Chris Bielow $
6// $Authors: Chris Bielow $
7// --------------------------------------------------------------------------
8
9#pragma once
10
11
12namespace OpenMS
13{
14
16template <typename T, template<typename> typename C>
17QSet<T> toQSet(const C<T> &container)
18{
19 return QSet<T>(container.begin(), container.end());
20}
21
22} // namespace OpenMS
@ C
c-ion (N-terminal, ETD)
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
QSet< T > toQSet(const C< T > &container)
Drop-in for QT5's QStringList::toSet
Definition Qt5Port.h:17