Qt: Declare pure virtuals as such
authorAndre Heinecke <aheinecke@intevation.de>
Sun, 3 Apr 2016 09:30:57 +0000 (01:30 -0800)
committerAndre Heinecke <aheinecke@intevation.de>
Sun, 3 Apr 2016 09:30:57 +0000 (01:30 -0800)
* lang/qt/src/qgpgmebackend.h (Protocol): Make all functions
 pure virtual.

--
Fixes errors when linking with QGpgME.

lang/qt/src/qgpgmebackend.h

index 962a4d9..d442fa5 100644 (file)
@@ -139,11 +139,11 @@ public:
     virtual SignEncryptJob       *signEncryptJob(bool armor = false, bool textMode = false) const = 0;
     virtual DecryptVerifyJob     *decryptVerifyJob(bool textmode = false) const = 0;
     virtual RefreshKeysJob       *refreshKeysJob() const = 0;
-    virtual ChangeExpiryJob      *changeExpiryJob() const;
-    virtual ChangeOwnerTrustJob *changeOwnerTrustJob() const;
-    virtual ChangePasswdJob      *changePasswdJob() const;
-    virtual SignKeyJob           *signKeyJob() const;
-    virtual AddUserIDJob         *addUserIDJob() const;
+    virtual ChangeExpiryJob      *changeExpiryJob() const = 0;
+    virtual SignKeyJob           *signKeyJob() const = 0;
+    virtual ChangePasswdJob      *changePasswdJob() const = 0;
+    virtual ChangeOwnerTrustJob  *changeOwnerTrustJob() const = 0;
+    virtual AddUserIDJob         *addUserIDJob() const = 0;
     virtual SpecialJob           *specialJob(const char *type, const QMap<QString, QVariant> &args) const = 0;
 };