LeechCraft 0.6.70-19424-g027e980fd1
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
util.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#pragma once
10
11#include <QStringList>
12#include "tagsconfig.h"
13
14namespace LC::Util
15{
17
30 UTIL_TAGS_API QString GetTagsDelimiter (const QString& separator);
31
42 UTIL_TAGS_API QStringList SplitTags (QStringView text, const QString& separator);
43}
QStringList SplitTags(QStringView text, const QString &separator)
Splits a string with tags into the tags.
Definition util.cpp:25
QString GetDefaultTagsSeparator()
Definition util.cpp:14
QString GetTagsDelimiter(const QString &separator)
Returns the delimiter the tags are split by for the given separator they are joined with.
Definition util.cpp:19
#define UTIL_TAGS_API
Definition tagsconfig.h:16