2020-10-15 Fred Gleason <fredg@paravelsystems.com>

* Modified 'RDFormPost' to use 'QMap' instead of 'std::map'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-10-15 10:51:11 -04:00
parent 4bc6a54052
commit d61f3ad32a
3 changed files with 27 additions and 26 deletions

View File

@@ -2,7 +2,7 @@
//
// Handle POST data from an HTML form.
//
// (C) Copyright 2009-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2009-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -21,13 +21,12 @@
#ifndef RDFORMPOST_H
#define RDFORMPOST_H
#include <map>
#include <qdatastream.h>
#include <qstring.h>
#include <qstringlist.h>
#include <qvariant.h>
#include <qhostaddress.h>
#include <QDataStream>
#include <QMap>
#include <QString>
#include <QStringList>
#include <QVariant>
#include <QHostAddress>
#include <rdtempdirectory.h>
@@ -71,8 +70,8 @@ class RDFormPost
QHostAddress post_client_address;
RDFormPost::Encoding post_encoding;
RDFormPost::Error post_error;
std::map<QString,QVariant> post_values;
std::map<QString,bool> post_filenames;
QMap<QString,QVariant> post_values;
QMap<QString,bool> post_filenames;
RDTempDirectory *post_tempdir;
bool post_auto_delete;
unsigned post_content_length;