[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/libkleo/kleo
From:       Marc Mutz <mutz () kde ! org>
Date:       2007-08-28 12:49:30
Message-ID: 1188305370.636947.15782.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 705722 by mutz:

exec()s are deprecated, and will soon be removed b/c synchronous operation is not \
possible on Windows.

 M  +1 -1      decryptjob.h  
 M  +1 -1      decryptverifyjob.h  
 M  +1 -1      encryptjob.h  
 M  +1 -1      hierarchicalkeylistjob.h  
 M  +1 -1      importjob.h  
 M  +2 -0      job.h  
 M  +1 -1      keylistjob.h  
 M  +1 -1      signencryptjob.h  
 M  +1 -1      signjob.h  
 M  +1 -1      specialjob.h  
 M  +1 -1      verifydetachedjob.h  
 M  +1 -1      verifyopaquejob.h  


--- trunk/KDE/kdepim/libkleo/kleo/decryptjob.h #705721:705722
@@ -71,7 +71,7 @@
     */
     virtual GpgME::Error start( const QByteArray & cipherText ) = 0;
 
-    virtual GpgME::DecryptionResult exec( const QByteArray & cipherText,
+    virtual KDE_DEPRECATED GpgME::DecryptionResult exec( const QByteArray & \
cipherText,  QByteArray & plainText ) = 0;
 
   Q_SIGNALS:
--- trunk/KDE/kdepim/libkleo/kleo/decryptverifyjob.h #705721:705722
@@ -75,7 +75,7 @@
     virtual GpgME::Error start( const QByteArray & cipherText ) = 0;
 
     /** Synchronous equivalent of start() */
-    virtual std::pair<GpgME::DecryptionResult,GpgME::VerificationResult>
+    virtual KDE_DEPRECATED \
std::pair<GpgME::DecryptionResult,GpgME::VerificationResult>  exec( const QByteArray \
& cipherText, QByteArray & plainText ) = 0;  
   Q_SIGNALS:
--- trunk/KDE/kdepim/libkleo/kleo/encryptjob.h #705721:705722
@@ -79,7 +79,7 @@
     virtual GpgME::Error start( const std::vector<GpgME::Key> & recipients,
 				const QByteArray & plainText, bool alwaysTrust=false ) = 0;
 
-    virtual GpgME::EncryptionResult exec( const std::vector<GpgME::Key> & \
recipients, +    virtual KDE_DEPRECATED GpgME::EncryptionResult exec( const \
std::vector<GpgME::Key> & recipients,  const QByteArray & plainText,
 					  bool alwaysTrust, QByteArray & cipherText ) = 0;
 
--- trunk/KDE/kdepim/libkleo/kleo/hierarchicalkeylistjob.h #705721:705722
@@ -86,7 +86,7 @@
     */
     GpgME::Error start( const QStringList & patterns, bool secretOnly=false );
 
-    GpgME::KeyListResult exec( const QStringList & patterns, bool secretOnly,
+    KDE_DEPRECATED GpgME::KeyListResult exec( const QStringList & patterns, bool \
secretOnly,  std::vector<GpgME::Key> & keys );
 
   private Q_SLOTS:
--- trunk/KDE/kdepim/libkleo/kleo/importjob.h #705721:705722
@@ -71,7 +71,7 @@
     */
     virtual GpgME::Error start( const QByteArray & keyData ) = 0;
 
-    virtual GpgME::ImportResult exec( const QByteArray & keyData ) = 0;
+    virtual KDE_DEPRECATED GpgME::ImportResult exec( const QByteArray & keyData ) = \
0;  
   Q_SIGNALS:
     void result( const GpgME::ImportResult & result );
--- trunk/KDE/kdepim/libkleo/kleo/job.h #705721:705722
@@ -36,6 +36,8 @@
 #include <QtCore/QObject>
 #include <QtCore/QString>
 
+#include <kdemacros.h>
+
 class QWidget;
 
 namespace Kleo {
--- trunk/KDE/kdepim/libkleo/kleo/keylistjob.h #705721:705722
@@ -84,7 +84,7 @@
     */
     virtual GpgME::Error start( const QStringList & patterns, bool secretOnly=false \
) = 0;  
-    virtual GpgME::KeyListResult exec( const QStringList & patterns, bool \
secretOnly, std::vector<GpgME::Key> & keys ) = 0; +    virtual KDE_DEPRECATED \
GpgME::KeyListResult exec( const QStringList & patterns, bool secretOnly, \
std::vector<GpgME::Key> & keys ) = 0;  
   Q_SIGNALS:
     void nextKey( const GpgME::Key & key );
--- trunk/KDE/kdepim/libkleo/kleo/signencryptjob.h #705721:705722
@@ -86,7 +86,7 @@
 				const QByteArray & plainText,
 				bool alwaysTrust=false ) = 0;
 
-    virtual std::pair<GpgME::SigningResult,GpgME::EncryptionResult>
+    virtual KDE_DEPRECATED std::pair<GpgME::SigningResult,GpgME::EncryptionResult>
       exec( const std::vector<GpgME::Key> & signers,
 	    const std::vector<GpgME::Key> & recipients,
 	    const QByteArray & plainText,
--- trunk/KDE/kdepim/libkleo/kleo/signjob.h #705721:705722
@@ -76,7 +76,7 @@
     virtual GpgME::Error start( const std::vector<GpgME::Key> & signers,
 				const QByteArray & plainText,
 				GpgME::SignatureMode mode ) = 0;
-    virtual GpgME::SigningResult exec( const std::vector<GpgME::Key> & signers,
+    virtual KDE_DEPRECATED GpgME::SigningResult exec( const std::vector<GpgME::Key> \
& signers,  const QByteArray & plainText,
 				       GpgME::SignatureMode mode,
 				       QByteArray & signature ) = 0;
--- trunk/KDE/kdepim/libkleo/kleo/specialjob.h #705721:705722
@@ -75,7 +75,7 @@
     */
     virtual GpgME::Error start() = 0;
 
-    virtual GpgME::Error exec() = 0;
+    virtual KDE_DEPRECATED GpgME::Error exec() = 0;
 
   Q_SIGNALS:
     void result( const GpgME::Error & result, const QVariant & data );
--- trunk/KDE/kdepim/libkleo/kleo/verifydetachedjob.h #705721:705722
@@ -73,7 +73,7 @@
     virtual GpgME::Error start( const QByteArray & signature,
 				const QByteArray & signedData ) = 0;
 
-    virtual GpgME::VerificationResult exec( const QByteArray & signature,
+    virtual KDE_DEPRECATED GpgME::VerificationResult exec( const QByteArray & \
signature,  const QByteArray & signedData ) = 0;
 
   Q_SIGNALS:
--- trunk/KDE/kdepim/libkleo/kleo/verifyopaquejob.h #705721:705722
@@ -73,7 +73,7 @@
     virtual GpgME::Error start( const QByteArray & signedData ) = 0;
 
     /** Synchronous version of @ref start */
-    virtual GpgME::VerificationResult exec( const QByteArray & signedData, \
QByteArray & plainText ) = 0; +    virtual KDE_DEPRECATED GpgME::VerificationResult \
exec( const QByteArray & signedData, QByteArray & plainText ) = 0;  
   Q_SIGNALS:
     void result( const GpgME::VerificationResult & result, const QByteArray & \
plainText );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic