OGS
Applications/DataExplorer/Base/Utils.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#include <QListView>
5#include <QStringList>
6#include <QStringListModel>
7#include <string>
8#include <vector>
9
10namespace Utils
11{
12std::vector<std::string> getSelectedObjects(QStringList const& list);
13
14void moveSelectedItems(QListView* sourceView,
15 QStringListModel& sourceModel,
16 QStringListModel& targetModel);
17} // namespace Utils
std::vector< std::string > getSelectedObjects(QStringList const &list)
void moveSelectedItems(QListView *sourceView, QStringListModel &sourceModel, QStringListModel &targetModel)