LeechCraft
0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
urlaccessor.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 <QtGlobal>
12
#include <QUrlQuery>
13
#include "
sllconfig.h
"
14
15
namespace
LC
16
{
17
namespace
Util
18
{
19
class
UTIL_SLL_API
UrlAccessor
20
{
21
const
QUrlQuery Url_;
22
public
:
23
using
value_type
=
typename
decltype (Url_.queryItems ())::
value_type
;
24
25
UrlAccessor
(
const
QUrl&);
26
27
QString operator[] (
const
QString&)
const
;
28
29
const
value_type
& last ()
const
;
30
};
31
}
32
}
UTIL_SLL_API
#define UTIL_SLL_API
Definition:
sllconfig.h:16
sllconfig.h
LC::Util::UrlAccessor
Definition:
urlaccessor.h:19
LC::Util::UrlAccessor::value_type
typename decltype(Url_.queryItems())::value_type value_type
Definition:
urlaccessor.h:23
LC
src
util
sll
urlaccessor.h
Generated by
1.8.14