LeechCraft
0.6.70-14794-g33744ae6ce
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
urlaccessor.cpp
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
#include "
urlaccessor.h
"
10
11
namespace
LC
12
{
13
namespace
Util
14
{
15
UrlAccessor::UrlAccessor
(
const
QUrl& url)
16
: Url_ { url }
17
{
18
}
19
20
QString
UrlAccessor::operator[]
(
const
QString& key)
const
21
{
22
return
Url_.queryItemValue (key);
23
}
24
25
const
UrlAccessor::value_type
&
UrlAccessor::last
()
const
26
{
27
return
Url_.queryItems ().last ();
28
}
29
}
30
}
LC::Util::UrlAccessor::UrlAccessor
UrlAccessor(const QUrl &)
Definition:
urlaccessor.cpp:15
LC::Util::UrlAccessor::operator[]
QString operator[](const QString &) const
Definition:
urlaccessor.cpp:20
LC::Util::UrlAccessor::last
const value_type & last() const
Definition:
urlaccessor.cpp:25
LC::Util::UrlAccessor::value_type
typename decltype(Url_.queryItems())::value_type value_type
Definition:
urlaccessor.h:23
LC
Definition:
constants.h:15
urlaccessor.h
src
util
sll
urlaccessor.cpp
Generated by
1.9.6