LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
qstringwrappers.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 <QString>
12
13namespace LC
14{
15namespace Util
16{
18 {
20 {
21 return s.trimmed ();
22 }
23
25 {
26 return s.trimmed ();
27 }
28
30 {
31 return std::move (s).trimmed ();
32 }
33 };
34
36 {
38 {
39 return s.toLower ();
40 }
41
43 {
44 return s.toLower ();
45 }
46
48 {
49 return std::move (s).toLower ();
50 }
51 };
52}
53}
Container< T > Filter(const Container< T > &c, F f)
Definition prelude.h:118
Definition constants.h:15
QString operator()(const QString &s) const
QString operator()(const QString &s) const