cutelyst
3.7.0
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Cutelyst
utils.h
1
/*
2
* SPDX-FileCopyrightText: (C) 2015-2022 Daniel Nicoletti <dantti12@gmail.com>
3
* SPDX-License-Identifier: BSD-3-Clause
4
*/
5
#ifndef UTILS_H
6
#define UTILS_H
7
8
#include <QtCore/QStringList>
9
#include <Cutelyst/ParamsMultiMap>
10
#include <Cutelyst/cutelyst_global.h>
11
12
namespace
Cutelyst
{
13
14
namespace
Utils {
15
CUTELYST_LIBRARY QByteArray buildTable(
const
QVector<QStringList> &table,
const
QStringList &headers = QStringList(),
const
QString &title = QString());
16
17
CUTELYST_LIBRARY QString decodePercentEncoding(QString *s);
18
19
CUTELYST_LIBRARY
ParamsMultiMap
decodePercentEncoding(
char
*data,
int
len);
20
21
CUTELYST_LIBRARY QString decodePercentEncoding(QByteArray *ba);
22
}
23
24
}
25
26
#endif
// UTILS_H
Cutelyst
The Cutelyst namespace holds all public Cutelyst API.
Definition:
Mainpage.dox:8
Cutelyst::ParamsMultiMap
QMultiMap< QString, QString > ParamsMultiMap
Definition:
paramsmultimap.h:23
Generated by
1.9.1