qt: Add #include <QStringList> needed for building against qt6

* lang/qt/src/downloadjob.h, lang/qt/src/exportjob.h,
lang/qt/src/keylistjob.h lang/qt/src/refreshkeysjob.h: in qt6 we need
to use #include <QStringList>
--

It fixes some compile qt6 compile error.

Signed-off-by: Laurent Montel <montel@kde.org>
This commit is contained in:
Laurent Montel 2022-07-03 16:47:40 +02:00 committed by Ingo Klöcker
parent 6e45da30ae
commit d42323f902
4 changed files with 6 additions and 7 deletions

View File

@ -38,6 +38,7 @@
#include "job.h" #include "job.h"
#include <QtCore/QByteArray> #include <QtCore/QByteArray>
#include <QtCore/QStringList>
#include <memory> #include <memory>
@ -46,7 +47,6 @@ namespace GpgME
class Error; class Error;
} }
class QStringList;
class QIODevice; class QIODevice;
class QByteArray; class QByteArray;

View File

@ -39,14 +39,13 @@
#include "job.h" #include "job.h"
#include <QtCore/QByteArray> #include <QtCore/QByteArray>
#include <QtCore/QStringList>
namespace GpgME namespace GpgME
{ {
class Error; class Error;
} }
class QStringList;
namespace QGpgME namespace QGpgME
{ {

View File

@ -44,6 +44,8 @@
# include <gpgme++/key.h> # include <gpgme++/key.h>
#endif #endif
#include <QtCore/QStringList>
#include <vector> #include <vector>
namespace GpgME namespace GpgME
@ -52,8 +54,6 @@ class Error;
class KeyListResult; class KeyListResult;
} }
class QStringList;
namespace QGpgME namespace QGpgME
{ {

View File

@ -38,6 +38,8 @@
#include "job.h" #include "job.h"
#include "qgpgme_export.h" #include "qgpgme_export.h"
#include <QtCore/QStringList>
#include <vector> #include <vector>
namespace GpgME namespace GpgME
@ -46,8 +48,6 @@ class Error;
class Key; class Key;
} }
class QStringList;
namespace QGpgME namespace QGpgME
{ {