aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2022-07-03 14:47:40 +0000
committerIngo Klöcker <[email protected]>2022-07-04 14:58:59 +0000
commitd42323f90213157a5e847bfa89bee55a29ee8df0 (patch)
tree776652f2d53697c7250622584ac95cb09077227d /lang/qt/src
parentcpp: Remove obsolete compatibility with KF5 variants (diff)
downloadgpgme-d42323f90213157a5e847bfa89bee55a29ee8df0.tar.gz
gpgme-d42323f90213157a5e847bfa89bee55a29ee8df0.zip
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 <[email protected]>
Diffstat (limited to 'lang/qt/src')
-rw-r--r--lang/qt/src/downloadjob.h2
-rw-r--r--lang/qt/src/exportjob.h3
-rw-r--r--lang/qt/src/keylistjob.h4
-rw-r--r--lang/qt/src/refreshkeysjob.h4
4 files changed, 6 insertions, 7 deletions
diff --git a/lang/qt/src/downloadjob.h b/lang/qt/src/downloadjob.h
index 7c8bb725..b916c41d 100644
--- a/lang/qt/src/downloadjob.h
+++ b/lang/qt/src/downloadjob.h
@@ -38,6 +38,7 @@
#include "job.h"
#include <QtCore/QByteArray>
+#include <QtCore/QStringList>
#include <memory>
@@ -46,7 +47,6 @@ namespace GpgME
class Error;
}
-class QStringList;
class QIODevice;
class QByteArray;
diff --git a/lang/qt/src/exportjob.h b/lang/qt/src/exportjob.h
index 7f79ea08..4fdb468d 100644
--- a/lang/qt/src/exportjob.h
+++ b/lang/qt/src/exportjob.h
@@ -39,14 +39,13 @@
#include "job.h"
#include <QtCore/QByteArray>
+#include <QtCore/QStringList>
namespace GpgME
{
class Error;
}
-class QStringList;
-
namespace QGpgME
{
diff --git a/lang/qt/src/keylistjob.h b/lang/qt/src/keylistjob.h
index 515a0e4d..ace9fbe0 100644
--- a/lang/qt/src/keylistjob.h
+++ b/lang/qt/src/keylistjob.h
@@ -44,6 +44,8 @@
# include <gpgme++/key.h>
#endif
+#include <QtCore/QStringList>
+
#include <vector>
namespace GpgME
@@ -52,8 +54,6 @@ class Error;
class KeyListResult;
}
-class QStringList;
-
namespace QGpgME
{
diff --git a/lang/qt/src/refreshkeysjob.h b/lang/qt/src/refreshkeysjob.h
index 6bd748ac..67774c2f 100644
--- a/lang/qt/src/refreshkeysjob.h
+++ b/lang/qt/src/refreshkeysjob.h
@@ -38,6 +38,8 @@
#include "job.h"
#include "qgpgme_export.h"
+#include <QtCore/QStringList>
+
#include <vector>
namespace GpgME
@@ -46,8 +48,6 @@ class Error;
class Key;
}
-class QStringList;
-
namespace QGpgME
{