summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <dvratil@kde.org>2016-08-05 09:15:09 (GMT)
committerDaniel Vrátil <dvratil@kde.org>2016-08-05 09:15:09 (GMT)
commitd6a71a4ecf0455f1c02e2749ad32b751d64794c1 (patch)
tree5aac2257e64305ed34f94de3b9d7eab5ec256c21
parentbc2d2a986b131f483eaee5773609917abb998dac (diff)
Make sure all public classes are exported
-rw-r--r--src/kleo/abstractimportjob.h2
-rw-r--r--src/kleo/cryptobackend.h6
-rw-r--r--src/kleo/cryptoconfig.h10
-rw-r--r--src/kleo/deletejob.h2
-rw-r--r--src/kleo/exportjob.h2
-rw-r--r--src/kleo/importfromkeyserverjob.h2
-rw-r--r--src/kleo/importjob.h2
-rw-r--r--src/kleo/kconfigbasedkeyfilter.h2
-rw-r--r--src/kleo/keyfilter.h4
-rw-r--r--src/kleo/keygenerationjob.h4
-rw-r--r--src/kleo/keylistjob.h2
-rw-r--r--src/kleo/listallkeysjob.h2
-rw-r--r--src/kleo/refreshkeysjob.h2
-rw-r--r--src/kleo/signencryptjob.h2
-rw-r--r--src/kleo/specialjob.h2
-rw-r--r--src/kleo/verifydetachedjob.h2
-rw-r--r--src/ui/auditlogviewer.h4
17 files changed, 31 insertions, 21 deletions
diff --git a/src/kleo/abstractimportjob.h b/src/kleo/abstractimportjob.h
index 92d04fe..0b07ac0 100644
--- a/src/kleo/abstractimportjob.h
+++ b/src/kleo/abstractimportjob.h
@@ -44,7 +44,7 @@ class ImportResult;
namespace Kleo
{
-class AbstractImportJob : public Job
+class KLEO_EXPORT AbstractImportJob : public Job
{
Q_OBJECT
protected:
diff --git a/src/kleo/cryptobackend.h b/src/kleo/cryptobackend.h
index c1583c3..39725f2 100644
--- a/src/kleo/cryptobackend.h
+++ b/src/kleo/cryptobackend.h
@@ -35,6 +35,8 @@
#include <QString>
+#include <kleo_export.h>
+
namespace Kleo
{
class CryptoConfig;
@@ -70,7 +72,7 @@ template <typename T_Key, typename T_Value> class QMap;
namespace Kleo
{
-class CryptoBackend
+class KLEO_EXPORT CryptoBackend
{
public:
class Protocol;
@@ -100,7 +102,7 @@ public:
virtual const char *enumerateProtocols(int i) const = 0;
};
-class CryptoBackend::Protocol
+class KLEO_EXPORT CryptoBackend::Protocol
{
public:
virtual ~Protocol() {}
diff --git a/src/kleo/cryptoconfig.h b/src/kleo/cryptoconfig.h
index 9b359f6..a43266a 100644
--- a/src/kleo/cryptoconfig.h
+++ b/src/kleo/cryptoconfig.h
@@ -43,13 +43,15 @@
/* Start reading this file from the bottom up :) */
+#include <kleo_export.h>
+
namespace Kleo
{
/**
* Description of a single option
*/
-class CryptoConfigEntry
+class KLEO_EXPORT CryptoConfigEntry
{
public:
@@ -251,7 +253,7 @@ public:
/**
* Group containing a set of config options
*/
-class CryptoConfigGroup
+class KLEO_EXPORT CryptoConfigGroup
{
public:
@@ -300,7 +302,7 @@ public:
/**
* Crypto config for one component (e.g. gpg-agent, dirmngr etc.)
*/
-class CryptoConfigComponent
+class KLEO_EXPORT CryptoConfigComponent
{
public:
@@ -340,7 +342,7 @@ public:
/**
* Main interface to crypto configuration.
*/
-class CryptoConfig
+class KLEO_EXPORT CryptoConfig
{
public:
diff --git a/src/kleo/deletejob.h b/src/kleo/deletejob.h
index ae7ed65..44308dc 100644
--- a/src/kleo/deletejob.h
+++ b/src/kleo/deletejob.h
@@ -57,7 +57,7 @@ namespace Kleo
After result() is emitted, the DeleteJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class DeleteJob : public Job
+class KLEO_EXPORT DeleteJob : public Job
{
Q_OBJECT
protected:
diff --git a/src/kleo/exportjob.h b/src/kleo/exportjob.h
index 9e399ee..9fd5a4d 100644
--- a/src/kleo/exportjob.h
+++ b/src/kleo/exportjob.h
@@ -60,7 +60,7 @@ namespace Kleo
After result() is emitted, the ExportJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class ExportJob : public Job
+class KLEO_EXPORT ExportJob : public Job
{
Q_OBJECT
protected:
diff --git a/src/kleo/importfromkeyserverjob.h b/src/kleo/importfromkeyserverjob.h
index 9477df2..74d7ab3 100644
--- a/src/kleo/importfromkeyserverjob.h
+++ b/src/kleo/importfromkeyserverjob.h
@@ -60,7 +60,7 @@ namespace Kleo
After result() is emitted, the ImportJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class ImportFromKeyserverJob : public AbstractImportJob
+class KLEO_EXPORT ImportFromKeyserverJob : public AbstractImportJob
{
Q_OBJECT
protected:
diff --git a/src/kleo/importjob.h b/src/kleo/importjob.h
index ed2be8b..8b34bdb 100644
--- a/src/kleo/importjob.h
+++ b/src/kleo/importjob.h
@@ -59,7 +59,7 @@ namespace Kleo
After result() is emitted, the ImportJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class ImportJob : public AbstractImportJob
+class KLEO_EXPORT ImportJob : public AbstractImportJob
{
Q_OBJECT
protected:
diff --git a/src/kleo/kconfigbasedkeyfilter.h b/src/kleo/kconfigbasedkeyfilter.h
index d604fb4..8bd26a0 100644
--- a/src/kleo/kconfigbasedkeyfilter.h
+++ b/src/kleo/kconfigbasedkeyfilter.h
@@ -40,7 +40,7 @@ class KConfigGroup;
namespace Kleo
{
-class KConfigBasedKeyFilter : public DefaultKeyFilter
+class KLEO_EXPORT KConfigBasedKeyFilter : public DefaultKeyFilter
{
public:
explicit KConfigBasedKeyFilter(const KConfigGroup &group);
diff --git a/src/kleo/keyfilter.h b/src/kleo/keyfilter.h
index 9ad9234..c8953f2 100644
--- a/src/kleo/keyfilter.h
+++ b/src/kleo/keyfilter.h
@@ -37,6 +37,8 @@
#include <algorithm>
+#include <kleo_export.h>
+
namespace GpgME
{
class Key;
@@ -53,7 +55,7 @@ namespace Kleo
@short An abstract base class key filters
*/
-class KeyFilter
+class KLEO_EXPORT KeyFilter
{
public:
virtual ~KeyFilter() {}
diff --git a/src/kleo/keygenerationjob.h b/src/kleo/keygenerationjob.h
index 9548847..2593582 100644
--- a/src/kleo/keygenerationjob.h
+++ b/src/kleo/keygenerationjob.h
@@ -37,6 +37,8 @@
#include <QtCore/QByteArray>
+#include <kleo_export.h>
+
namespace GpgME
{
class Error;
@@ -59,7 +61,7 @@ namespace Kleo
After result() is emitted, the KeyGenerationJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class KeyGenerationJob : public Job
+class KLEO_EXPORT KeyGenerationJob : public Job
{
Q_OBJECT
protected:
diff --git a/src/kleo/keylistjob.h b/src/kleo/keylistjob.h
index 82fe1ee..4bfa816 100644
--- a/src/kleo/keylistjob.h
+++ b/src/kleo/keylistjob.h
@@ -65,7 +65,7 @@ namespace Kleo
KeyListJob will schedule it's own destruction by calling
QObject::deleteLater().
*/
-class KeyListJob : public Job
+class KLEO_EXPORT KeyListJob : public Job
{
Q_OBJECT
protected:
diff --git a/src/kleo/listallkeysjob.h b/src/kleo/listallkeysjob.h
index cdaf31b..a1831b1 100644
--- a/src/kleo/listallkeysjob.h
+++ b/src/kleo/listallkeysjob.h
@@ -64,7 +64,7 @@ namespace Kleo
This is potentially much faster than a KeyListJob with empty
pattern.
*/
-class ListAllKeysJob : public Job
+class KLEO_EXPORT ListAllKeysJob : public Job
{
Q_OBJECT
protected:
diff --git a/src/kleo/refreshkeysjob.h b/src/kleo/refreshkeysjob.h
index 4945ae7..2b8add5 100644
--- a/src/kleo/refreshkeysjob.h
+++ b/src/kleo/refreshkeysjob.h
@@ -61,7 +61,7 @@ namespace Kleo
After result() is emitted, the KeyListJob will schedule it's own
destruction by calling QObject::deleteLater().
*/
-class RefreshKeysJob : public Job
+class KLEO_EXPORT RefreshKeysJob : public Job
{
Q_OBJECT
protected:
diff --git a/src/kleo/signencryptjob.h b/src/kleo/signencryptjob.h
index c9c78be..6ea11e3 100644
--- a/src/kleo/signencryptjob.h
+++ b/src/kleo/signencryptjob.h
@@ -69,7 +69,7 @@ namespace Kleo
After result() is emitted, the SignEncryptJob will schedule it's
own destruction by calling QObject::deleteLater().
*/
-class SignEncryptJob : public Job
+class KLEO_EXPORT SignEncryptJob : public Job
{
Q_OBJECT
protected:
diff --git a/src/kleo/specialjob.h b/src/kleo/specialjob.h
index 88dd5e3..16b1772 100644
--- a/src/kleo/specialjob.h
+++ b/src/kleo/specialjob.h
@@ -64,7 +64,7 @@ namespace Kleo
through the read-only result property, the latter of which needs
to be defined in each SpecialJob subclass.
*/
-class SpecialJob : public Job
+class KLEO_EXPORT SpecialJob : public Job
{
Q_OBJECT
protected:
diff --git a/src/kleo/verifydetachedjob.h b/src/kleo/verifydetachedjob.h
index 4d3d361..46582af 100644
--- a/src/kleo/verifydetachedjob.h
+++ b/src/kleo/verifydetachedjob.h
@@ -62,7 +62,7 @@ namespace Kleo
After result() is emitted, the VerifyDetachedJob will schedule
it's own destruction by calling QObject::deleteLater().
*/
-class VerifyDetachedJob : public Job
+class KLEO_EXPORT VerifyDetachedJob : public Job
{
Q_OBJECT
protected:
diff --git a/src/ui/auditlogviewer.h b/src/ui/auditlogviewer.h
index 5c47520..2a6e36f 100644
--- a/src/ui/auditlogviewer.h
+++ b/src/ui/auditlogviewer.h
@@ -23,6 +23,8 @@
#include <QDialog>
+#include <kleo_export.h>
+
#ifdef HAVE_PIMTEXTEDIT
#include "kpimtextedit/richtexteditorwidget.h"
@@ -40,7 +42,7 @@ namespace Kleo
namespace Private
{
-class AuditLogViewer : public QDialog
+class KLEO_EXPORT AuditLogViewer : public QDialog
{
Q_OBJECT
public: