summaryrefslogtreecommitdiffstats
path: root/libkdenetwork
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkdenetwork
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdenetwork')
-rw-r--r--libkdenetwork/gpgmepp/encryptionresult.cpp4
-rw-r--r--libkdenetwork/gpgmepp/encryptionresult.h2
-rw-r--r--libkdenetwork/gpgmepp/eventloopinteractor.h4
-rw-r--r--libkdenetwork/gpgmepp/importresult.cpp8
-rw-r--r--libkdenetwork/gpgmepp/importresult.h6
-rw-r--r--libkdenetwork/gpgmepp/key.cpp10
-rw-r--r--libkdenetwork/gpgmepp/key.h12
-rw-r--r--libkdenetwork/gpgmepp/signingresult.cpp8
-rw-r--r--libkdenetwork/gpgmepp/signingresult.h4
-rw-r--r--libkdenetwork/gpgmepp/verificationresult.cpp10
-rw-r--r--libkdenetwork/gpgmepp/verificationresult.h4
-rw-r--r--libkdenetwork/libgpg-error-copy/err-codes.h.in8
-rw-r--r--libkdenetwork/libgpg-error-copy/gettext.h2
-rw-r--r--libkdenetwork/libgpg-error-copy/gpg-error.h.in4
-rw-r--r--libkdenetwork/libgpg-error-copy/strerror.c4
-rw-r--r--libkdenetwork/libgpgme-copy/assuan/ChangeLog6
-rw-r--r--libkdenetwork/libgpgme-copy/assuan/assuan-buffer.c4
-rw-r--r--libkdenetwork/libgpgme-copy/assuan/assuan-defs.h2
-rw-r--r--libkdenetwork/libgpgme-copy/assuan/assuan-inquire.c4
-rw-r--r--libkdenetwork/libgpgme-copy/assuan/assuan-pipe-connect.c10
-rw-r--r--libkdenetwork/libgpgme-copy/assuan/assuan-uds.c2
-rw-r--r--libkdenetwork/libgpgme-copy/assuan/assuan.h4
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/ChangeLog20
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/engine-gpgsm.c4
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/error.c4
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/get-env.c2
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/gpgme.h18
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/io.h4
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/ops.h2
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/posix-io.c8
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/priv-io.h4
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/rungpg.c24
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/signers.c2
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/util.h2
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/version.c2
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/w32-io.c6
-rw-r--r--libkdenetwork/libgpgme-copy/gpgme/wait-global.c8
-rw-r--r--libkdenetwork/qgpgme/dataprovider.cpp32
-rw-r--r--libkdenetwork/qgpgme/dataprovider.h22
-rw-r--r--libkdenetwork/qgpgme/eventloopinteractor.cpp14
-rw-r--r--libkdenetwork/qgpgme/eventloopinteractor.h17
-rw-r--r--libkdenetwork/qgpgme/tests/dataprovidertest.cpp16
42 files changed, 167 insertions, 166 deletions
diff --git a/libkdenetwork/gpgmepp/encryptionresult.cpp b/libkdenetwork/gpgmepp/encryptionresult.cpp
index f827ca839..cad520baa 100644
--- a/libkdenetwork/gpgmepp/encryptionresult.cpp
+++ b/libkdenetwork/gpgmepp/encryptionresult.cpp
@@ -94,8 +94,8 @@ std::vector<GpgME::InvalidRecipient> GpgME::EncryptionResult::invalidEncryptionK
-GpgME::InvalidRecipient::InvalidRecipient( EncryptionResult::Private * parent, unsigned int i )
- : d( parent ), idx( i )
+GpgME::InvalidRecipient::InvalidRecipient( EncryptionResult::Private * tqparent, unsigned int i )
+ : d( tqparent ), idx( i )
{
if ( d )
d->ref();
diff --git a/libkdenetwork/gpgmepp/encryptionresult.h b/libkdenetwork/gpgmepp/encryptionresult.h
index 7267afc01..0624779d2 100644
--- a/libkdenetwork/gpgmepp/encryptionresult.h
+++ b/libkdenetwork/gpgmepp/encryptionresult.h
@@ -59,7 +59,7 @@ namespace GpgME {
class KDE_EXPORT InvalidRecipient {
friend class EncryptionResult;
- InvalidRecipient( EncryptionResult::Private * parent, unsigned int index );
+ InvalidRecipient( EncryptionResult::Private * tqparent, unsigned int index );
public:
InvalidRecipient();
InvalidRecipient( const InvalidRecipient & other );
diff --git a/libkdenetwork/gpgmepp/eventloopinteractor.h b/libkdenetwork/gpgmepp/eventloopinteractor.h
index 5a07490da..f924569e6 100644
--- a/libkdenetwork/gpgmepp/eventloopinteractor.h
+++ b/libkdenetwork/gpgmepp/eventloopinteractor.h
@@ -34,7 +34,7 @@ namespace GpgME {
\brief Abstract base class for gpgme's external event loop support
This class does most of the work involved with hooking GpgME++
- up with external event loops, such as the GTK or Qt ones.
+ up with external event loops, such as the GTK or TQt ones.
It actually provides two interfaces: An interface to the gpgme
IO Callback handling and one for gpgme events. The IO Callback
@@ -67,7 +67,7 @@ namespace GpgME {
and return a tag identifying that particular watching process
uniquely. This could be the index into an array of objects you
use for that purpose or the address of such an object. E.g. in
- Qt, you'd essentially just create a new \c TQSocketNotifier:
+ TQt, you'd essentially just create a new \c TQSocketNotifier:
\verbatim
void * registerWatcher( int fd, Direction dir ) {
diff --git a/libkdenetwork/gpgmepp/importresult.cpp b/libkdenetwork/gpgmepp/importresult.cpp
index d23c195e3..7acd35e4c 100644
--- a/libkdenetwork/gpgmepp/importresult.cpp
+++ b/libkdenetwork/gpgmepp/importresult.cpp
@@ -140,8 +140,8 @@ std::vector<GpgME::Import> GpgME::ImportResult::imports() const {
-GpgME::Import::Import( ImportResult::Private * parent, unsigned int i )
- : d( parent ), idx( i )
+GpgME::Import::Import( ImportResult::Private * tqparent, unsigned int i )
+ : d( tqparent ), idx( i )
{
if ( d )
d->ref();
@@ -190,7 +190,7 @@ GpgME::Error GpgME::Import::error() const {
return isNull() ? 0 : d->imports[idx]->result ;
}
-GpgME::Import::Status GpgME::Import::status() const {
+GpgME::Import::tqStatus GpgME::Import::status() const {
if ( isNull() )
return Unknown;
unsigned int s = d->imports[idx]->status;
@@ -200,5 +200,5 @@ GpgME::Import::Status GpgME::Import::status() const {
if ( s & GPGME_IMPORT_SIG ) result |= NewSignatures;
if ( s & GPGME_IMPORT_SUBKEY ) result |= NewSubkeys;
if ( s & GPGME_IMPORT_SECRET ) result |= ContainedSecretKey;
- return static_cast<Status>( result );
+ return static_cast<tqStatus>( result );
}
diff --git a/libkdenetwork/gpgmepp/importresult.h b/libkdenetwork/gpgmepp/importresult.h
index 2bb1b61b3..eae58a5dc 100644
--- a/libkdenetwork/gpgmepp/importresult.h
+++ b/libkdenetwork/gpgmepp/importresult.h
@@ -70,7 +70,7 @@ namespace GpgME {
class KDE_EXPORT Import {
friend class ImportResult;
- Import( ImportResult::Private * parent, unsigned int idx );
+ Import( ImportResult::Private * tqparent, unsigned int idx );
public:
Import();
Import( const Import & other );
@@ -83,7 +83,7 @@ namespace GpgME {
const char * fingerprint() const;
Error error() const;
- enum Status {
+ enum tqStatus {
Unknown = 0x0,
NewKey = 0x1,
NewUserIDs = 0x2,
@@ -91,7 +91,7 @@ namespace GpgME {
NewSubkeys = 0x8,
ContainedSecretKey = 0x10
};
- Status status() const;
+ tqStatus status() const;
private:
ImportResult::Private * d;
diff --git a/libkdenetwork/gpgmepp/key.cpp b/libkdenetwork/gpgmepp/key.cpp
index cf70aaf03..d24a1d644 100644
--- a/libkdenetwork/gpgmepp/key.cpp
+++ b/libkdenetwork/gpgmepp/key.cpp
@@ -348,7 +348,7 @@ namespace GpgME {
return !d || !d->key || !d->subkey;
}
- Key Subkey::parent() const {
+ Key Subkey::tqparent() const {
return Key( d->key, true );
}
@@ -496,7 +496,7 @@ namespace GpgME {
return !d || !d->key || !d->uid;
}
- Key UserID::parent() const {
+ Key UserID::tqparent() const {
return Key( d->key, true );
}
@@ -669,7 +669,7 @@ namespace GpgME {
return !d || !d->key || !d->uid || !d->sig;
}
- UserID UserID::Signature::parent() const {
+ UserID UserID::Signature::tqparent() const {
return UserID( d->key, d->uid );
}
@@ -733,7 +733,7 @@ namespace GpgME {
return d->sig ? d->sig->sig_class : 0 ;
}
- UserID::Signature::Status UserID::Signature::status() const {
+ UserID::Signature::tqStatus UserID::Signature::status() const {
if ( !d->sig )
return GeneralError;
@@ -911,7 +911,7 @@ namespace GpgME {
return !d || !d->key || !d->uid || !d->sig || !d->nota;
}
- UserID::Signature UserID::Signature::Notation::parent() const {
+ UserID::Signature UserID::Signature::Notation::tqparent() const {
return Signature( d->key, d->uid, d->sig );
}
diff --git a/libkdenetwork/gpgmepp/key.h b/libkdenetwork/gpgmepp/key.h
index c25e3a6f3..9760e6429 100644
--- a/libkdenetwork/gpgmepp/key.h
+++ b/libkdenetwork/gpgmepp/key.h
@@ -123,7 +123,7 @@ namespace GpgME {
bool isNull() const;
- Key parent() const;
+ Key tqparent() const;
const char * keyID() const;
const char * fingerprint() const;
@@ -171,7 +171,7 @@ namespace GpgME {
bool isNull() const;
- Key parent() const;
+ Key tqparent() const;
unsigned int numSignatures() const;
Signature signature( unsigned int index ) const;
@@ -213,7 +213,7 @@ namespace GpgME {
bool isNull() const;
- UserID parent() const;
+ UserID tqparent() const;
const char * signerKeyID() const;
@@ -235,9 +235,9 @@ namespace GpgME {
unsigned int certClass() const;
- enum Status { NoError = 0, SigExpired, KeyExpired,
+ enum tqStatus { NoError = 0, SigExpired, KeyExpired,
BadSignature, NoPublicKey, GeneralError };
- Status status() const;
+ tqStatus status() const;
const char * statusAsString() const;
const char * policyURL() const;
@@ -270,7 +270,7 @@ namespace GpgME {
bool isNull() const;
- Signature parent() const;
+ Signature tqparent() const;
const char * name() const;
const char * value() const;
diff --git a/libkdenetwork/gpgmepp/signingresult.cpp b/libkdenetwork/gpgmepp/signingresult.cpp
index 6996eef7a..6dab4d71d 100644
--- a/libkdenetwork/gpgmepp/signingresult.cpp
+++ b/libkdenetwork/gpgmepp/signingresult.cpp
@@ -116,8 +116,8 @@ std::vector<GpgME::InvalidSigningKey> GpgME::SigningResult::invalidSigningKeys()
-GpgME::InvalidSigningKey::InvalidSigningKey( SigningResult::Private * parent, unsigned int i )
- : d( parent ), idx( i )
+GpgME::InvalidSigningKey::InvalidSigningKey( SigningResult::Private * tqparent, unsigned int i )
+ : d( tqparent ), idx( i )
{
if ( d )
d->ref();
@@ -165,8 +165,8 @@ GpgME::Error GpgME::InvalidSigningKey::reason() const {
-GpgME::CreatedSignature::CreatedSignature( SigningResult::Private * parent, unsigned int i )
- : d( parent ), idx( i )
+GpgME::CreatedSignature::CreatedSignature( SigningResult::Private * tqparent, unsigned int i )
+ : d( tqparent ), idx( i )
{
if ( d )
d->ref();
diff --git a/libkdenetwork/gpgmepp/signingresult.h b/libkdenetwork/gpgmepp/signingresult.h
index 202d09b41..facf8979b 100644
--- a/libkdenetwork/gpgmepp/signingresult.h
+++ b/libkdenetwork/gpgmepp/signingresult.h
@@ -64,7 +64,7 @@ namespace GpgME {
class KDE_EXPORT InvalidSigningKey {
friend class SigningResult;
- InvalidSigningKey( SigningResult::Private * parent, unsigned int index );
+ InvalidSigningKey( SigningResult::Private * tqparent, unsigned int index );
public:
InvalidSigningKey();
InvalidSigningKey( const InvalidSigningKey & other );
@@ -86,7 +86,7 @@ namespace GpgME {
class KDE_EXPORT CreatedSignature {
friend class SigningResult;
- CreatedSignature( SigningResult::Private * parent, unsigned int index );
+ CreatedSignature( SigningResult::Private * tqparent, unsigned int index );
public:
class Notation;
diff --git a/libkdenetwork/gpgmepp/verificationresult.cpp b/libkdenetwork/gpgmepp/verificationresult.cpp
index abf30d96c..e4f905d83 100644
--- a/libkdenetwork/gpgmepp/verificationresult.cpp
+++ b/libkdenetwork/gpgmepp/verificationresult.cpp
@@ -121,8 +121,8 @@ std::vector<GpgME::Signature> GpgME::VerificationResult::signatures() const {
-GpgME::Signature::Signature( VerificationResult::Private * parent, unsigned int i )
- : d( parent ), idx( i )
+GpgME::Signature::Signature( VerificationResult::Private * tqparent, unsigned int i )
+ : d( tqparent ), idx( i )
{
if ( d )
d->ref();
@@ -253,8 +253,8 @@ std::vector<GpgME::Signature::Notation> GpgME::Signature::notations() const {
}
-GpgME::Signature::Notation::Notation( VerificationResult::Private * parent, unsigned int sindex, unsigned int nindex )
- : d( parent ), sidx( sindex ), nidx( nindex )
+GpgME::Signature::Notation::Notation( VerificationResult::Private * tqparent, unsigned int sindex, unsigned int nindex )
+ : d( tqparent ), sidx( sindex ), nidx( nindex )
{
if ( d )
d->ref();
@@ -338,7 +338,7 @@ std::ostream & GpgME::operator<<( std::ostream & os, const Signature & sig ) {
if ( !sig.isNull() ) {
os << "\n Summary: " << sig.summary()
<< "\n Fingerprint: " << protect( sig.fingerprint() )
- << "\n Status: " << sig.status()
+ << "\n tqStatus: " << sig.status()
<< "\n creationTime: " << sig.creationTime()
<< "\n expirationTime: " << sig.expirationTime()
<< "\n wrongKeyUsage: " << sig.wrongKeyUsage()
diff --git a/libkdenetwork/gpgmepp/verificationresult.h b/libkdenetwork/gpgmepp/verificationresult.h
index edcd02787..c5c14aab9 100644
--- a/libkdenetwork/gpgmepp/verificationresult.h
+++ b/libkdenetwork/gpgmepp/verificationresult.h
@@ -59,7 +59,7 @@ namespace GpgME {
class KDE_EXPORT Signature {
friend class VerificationResult;
- Signature( VerificationResult::Private * parent, unsigned int index );
+ Signature( VerificationResult::Private * tqparent, unsigned int index );
public:
class Notation;
@@ -118,7 +118,7 @@ namespace GpgME {
class KDE_EXPORT Signature::Notation {
friend class Signature;
- Notation( VerificationResult::Private * parent, unsigned int sindex, unsigned int nindex );
+ Notation( VerificationResult::Private * tqparent, unsigned int sindex, unsigned int nindex );
public:
Notation();
Notation( const Notation & other );
diff --git a/libkdenetwork/libgpg-error-copy/err-codes.h.in b/libkdenetwork/libgpg-error-copy/err-codes.h.in
index de9e9df34..d9bef00c9 100644
--- a/libkdenetwork/libgpg-error-copy/err-codes.h.in
+++ b/libkdenetwork/libgpg-error-copy/err-codes.h.in
@@ -213,10 +213,10 @@
201 GPG_ERR_SEXP_INV_LEN_SPEC Invalid length specifier in S-expression
202 GPG_ERR_SEXP_STRING_TOO_LONG String too long in S-expression
-203 GPG_ERR_SEXP_UNMATCHED_PAREN Unmatched parentheses in S-expression
+203 GPG_ERR_SEXP_UNMATCHED_PAREN Unmatched tqparentheses in S-expression
204 GPG_ERR_SEXP_NOT_CANONICAL S-expression not canonical
205 GPG_ERR_SEXP_BAD_CHARACTER Bad character in S-expression
-206 GPG_ERR_SEXP_BAD_QUOTATION Bad quotation in S-expression
+206 GPG_ERR_SEXP_BAD_TQUOTATION Bad quotation in S-expression
207 GPG_ERR_SEXP_ZERO_PREFIX Zero prefix in S-expression
208 GPG_ERR_SEXP_NESTED_DH Nested display hints in S-expression
209 GPG_ERR_SEXP_UNMATCHED_DH Unmatched display hints
@@ -237,7 +237,7 @@
263 GPG_ERR_ASS_LINE_TOO_LONG Line passed to IPC too long
264 GPG_ERR_ASS_NESTED_COMMANDS Nested IPC commands
265 GPG_ERR_ASS_NO_DATA_CB No data callback in IPC
-266 GPG_ERR_ASS_NO_INQUIRE_CB No inquire callback in IPC
+266 GPG_ERR_ASS_NO_INTQUIRE_CB No inquire callback in IPC
267 GPG_ERR_ASS_NOT_A_SERVER Not an IPC server
268 GPG_ERR_ASS_NOT_A_CLIENT Not an IPC client
269 GPG_ERR_ASS_SERVER_START Problem starting IPC server
@@ -252,7 +252,7 @@
278 GPG_ERR_ASS_NO_INPUT No input source for IPC
279 GPG_ERR_ASS_NO_OUTPUT No output source for IPC
280 GPG_ERR_ASS_PARAMETER IPC parameter error
-281 GPG_ERR_ASS_UNKNOWN_INQUIRE Unknown IPC inquire
+281 GPG_ERR_ASS_UNKNOWN_INTQUIRE Unknown IPC inquire
# 282 to 299 are reserved for future assuan codes.
diff --git a/libkdenetwork/libgpg-error-copy/gettext.h b/libkdenetwork/libgpg-error-copy/gettext.h
index 0cae5f458..fdb2511c0 100644
--- a/libkdenetwork/libgpg-error-copy/gettext.h
+++ b/libkdenetwork/libgpg-error-copy/gettext.h
@@ -68,7 +68,7 @@
translation is done at a different place in the code.
The argument, String, should be a literal string. Concatenated strings
and other string expressions won't work.
- The macro's expansion is not parenthesized, so that it is suitable as
+ The macro's expansion is not tqparenthesized, so that it is suitable as
initializer for static 'char[]' or 'const char[]' variables. */
#define gettext_noop(String) String
diff --git a/libkdenetwork/libgpg-error-copy/gpg-error.h.in b/libkdenetwork/libgpg-error-copy/gpg-error.h.in
index 5211341f8..cc1aaea83 100644
--- a/libkdenetwork/libgpg-error-copy/gpg-error.h.in
+++ b/libkdenetwork/libgpg-error-copy/gpg-error.h.in
@@ -198,8 +198,8 @@ const char *gpg_strerror (gpg_error_t err);
size BUFLEN. This function is, in contrast to gpg_strerror,
thread-safe if a thread-safe strerror_r() function is provided by
the system. If the function succeeds, 0 is returned and BUF
- tqcontains the string describing the error. If the buffer was not
- large enough, ERANGE is returned and BUF tqcontains as much of the
+ contains the string describing the error. If the buffer was not
+ large enough, ERANGE is returned and BUF contains as much of the
beginning of the error string as fits into the buffer. */
int gpg_strerror_r (gpg_error_t err, char *buf, size_t buflen);
diff --git a/libkdenetwork/libgpg-error-copy/strerror.c b/libkdenetwork/libgpg-error-copy/strerror.c
index 4de90de94..59b8e9ae8 100644
--- a/libkdenetwork/libgpg-error-copy/strerror.c
+++ b/libkdenetwork/libgpg-error-copy/strerror.c
@@ -130,8 +130,8 @@ system_strerror_r (int no, char *buf, size_t buflen)
size BUFLEN. This function is, in contrast to gpg_strerror,
thread-safe if a thread-safe strerror_r() function is provided by
the system. If the function succeeds, 0 is returned and BUF
- tqcontains the string describing the error. If the buffer was not
- large enough, ERANGE is returned and BUF tqcontains as much of the
+ contains the string describing the error. If the buffer was not
+ large enough, ERANGE is returned and BUF contains as much of the
beginning of the error string as fits into the buffer. */
int
gpg_strerror_r (gpg_error_t err, char *buf, size_t buflen)
diff --git a/libkdenetwork/libgpgme-copy/assuan/ChangeLog b/libkdenetwork/libgpgme-copy/assuan/ChangeLog
index a3b3f9281..b53ac7fd3 100644
--- a/libkdenetwork/libgpgme-copy/assuan/ChangeLog
+++ b/libkdenetwork/libgpgme-copy/assuan/ChangeLog
@@ -261,9 +261,9 @@
* assuan.h [_ASSUAN_EXT_SYM_PREFIX]: New.
* assuan-io.c [_ASSUAN_NO_PTH]: New.
- * assuan-pipe-connect.c (fix_signals) [_ASSUAN_NO_FIXED_SIGNALS]: New.
+ * assuan-pipe-connect.c (fix_Q_SIGNALS) [_ASSUAN_NO_FIXED_SIGNALS]: New.
(assuan_pipe_connect2) [_ASSUAN_USE_DOUBLE_FORK]: Use double fork.
- (fix_signals) [_ASSUAN_USE_DOUBLE_FORK]: Do not wait..
+ (fix_Q_SIGNALS) [_ASSUAN_USE_DOUBLE_FORK]: Do not wait..
* assuan-logging.c, assuan-io.c: Include config.h
Replaced all usages of _WIN32 by the new HAVE_W32_SYSTEM because
there is nothing winning in this API.
@@ -271,7 +271,7 @@
error Not Imlemented.
* assuan-logging.c (_assuan_w32_strerror): New.
* assuan-defs.h (w32_strerror): new.
- * assuan-pipe-connect.c (assuan_pipe_connect2, fix_signals):
+ * assuan-pipe-connect.c (assuan_pipe_connect2, fix_Q_SIGNALS):
Factored signal code out to new function.
(build_w32_commandline, create_inheritable_pipe): New. Taken
from gnupg 1.9.
diff --git a/libkdenetwork/libgpgme-copy/assuan/assuan-buffer.c b/libkdenetwork/libgpgme-copy/assuan/assuan-buffer.c
index 3f8730aab..7a1879877 100644
--- a/libkdenetwork/libgpgme-copy/assuan/assuan-buffer.c
+++ b/libkdenetwork/libgpgme-copy/assuan/assuan-buffer.c
@@ -163,7 +163,7 @@ _assuan_read_line (assuan_context_t ctx)
int n = endp - line + 1;
if (n < nread)
- /* LINE tqcontains more than one line. We copy it to the attic
+ /* LINE contains more than one line. We copy it to the attic
now as handlers are allowed to modify the passed
buffer. */
{
@@ -488,7 +488,7 @@ _assuan_cookie_write_flush (void *cookie)
* data out @buffer may be passed as NULL (in which case @length must
* also be 0); however when used by a client this flush operation does
* also send the terminating "END" command to terminate the reponse on
- * a INQUIRE response. However, when assuan_transact() is used, this
+ * a INTQUIRE response. However, when assuan_transact() is used, this
* function takes care of sending END itself.
*
* Return value: 0 on success or an error code
diff --git a/libkdenetwork/libgpgme-copy/assuan/assuan-defs.h b/libkdenetwork/libgpgme-copy/assuan/assuan-defs.h
index 94fbb41ba..9ee417a92 100644
--- a/libkdenetwork/libgpgme-copy/assuan/assuan-defs.h
+++ b/libkdenetwork/libgpgme-copy/assuan/assuan-defs.h
@@ -299,7 +299,7 @@ FILE *_assuan_funopen(void *cookie,
#define funopen(a,r,w,s,c) _assuan_funopen ((a), (r), (w), (s), (c))
#endif /*HAVE_FOPENCOOKIE*/
-/* Prototypes for tqreplacement functions. */
+/* Prototypes for replacement functions. */
#ifndef HAVE_MEMRCHR
void *memrchr (const void *block, int c, size_t size);
#endif
diff --git a/libkdenetwork/libgpgme-copy/assuan/assuan-inquire.c b/libkdenetwork/libgpgme-copy/assuan/assuan-inquire.c
index d8c52d09a..897e0773b 100644
--- a/libkdenetwork/libgpgme-copy/assuan/assuan-inquire.c
+++ b/libkdenetwork/libgpgme-copy/assuan/assuan-inquire.c
@@ -141,7 +141,7 @@ assuan_inquire (assuan_context_t ctx, const char *keyword,
{
assuan_error_t rc;
struct membuf mb;
- char cmdbuf[LINELENGTH-10]; /* (10 = strlen ("INQUIRE ")+CR,LF) */
+ char cmdbuf[LINELENGTH-10]; /* (10 = strlen ("INTQUIRE ")+CR,LF) */
unsigned char *line, *p;
int linelen;
int nodataexpected;
@@ -162,7 +162,7 @@ assuan_inquire (assuan_context_t ctx, const char *keyword,
else
init_membuf (&mb, maxlen? maxlen:1024, maxlen);
- strcpy (stpcpy (cmdbuf, "INQUIRE "), keyword);
+ strcpy (stpcpy (cmdbuf, "INTQUIRE "), keyword);
rc = assuan_write_line (ctx, cmdbuf);
if (rc)
goto leave;
diff --git a/libkdenetwork/libgpgme-copy/assuan/assuan-pipe-connect.c b/libkdenetwork/libgpgme-copy/assuan/assuan-pipe-connect.c
index 518dc20b1..ebae5ea38 100644
--- a/libkdenetwork/libgpgme-copy/assuan/assuan-pipe-connect.c
+++ b/libkdenetwork/libgpgme-copy/assuan/assuan-pipe-connect.c
@@ -325,7 +325,7 @@ pipe_connect_unix (assuan_context_t *ctx,
}
errno = 0;
- /* We store our parents pid in the environment so that the
+ /* We store our tqparents pid in the environment so that the
execed assuan server is able to read the actual pid of the
client. The server can't use getppid because it might have
been double forked before the assuan server has been
@@ -337,7 +337,7 @@ pipe_connect_unix (assuan_context_t *ctx,
unsetenv ("_assuan_connection_fd");
execv (name, (char *const *) argv);
- /* oops - use the pipe to tell the parent about it */
+ /* oops - use the pipe to tell the tqparent about it */
snprintf (errbuf, sizeof(errbuf)-1,
"ERR %d can't exec `%s': %.50s\n",
_assuan_error (ASSUAN_Problem_Starting_Server),
@@ -493,7 +493,7 @@ socketpair_connect (assuan_context_t *ctx,
}
errno = 0;
- /* We store our parents pid in the environment so that the
+ /* We store our tqparents pid in the environment so that the
execed assuan server is able to read the actual pid of the
client. The server can't use getppid becuase it might have
been double forked before the assuan server has been
@@ -519,7 +519,7 @@ socketpair_connect (assuan_context_t *ctx,
}
execv (name, (char *const *) argv);
- /* oops - use the pipe to tell the parent about it */
+ /* oops - use the pipe to tell the tqparent about it */
snprintf (errbuf, sizeof(errbuf)-1,
"ERR %d can't exec `%s': %.50s\n",
_assuan_error (ASSUAN_Problem_Starting_Server),
@@ -865,7 +865,7 @@ assuan_pipe_connect2 (assuan_context_t *ctx,
If NAME as well as ARGV are NULL, no exec is done but the same
process is continued. However all file descriptors are closed and
some special environment variables are set. To let the caller
- detect whether the child or the parent continues, the child returns
+ detect whether the child or the tqparent continues, the child returns
a CTX of NULL. */
assuan_error_t
assuan_pipe_connect_ext (assuan_context_t *ctx,
diff --git a/libkdenetwork/libgpgme-copy/assuan/assuan-uds.c b/libkdenetwork/libgpgme-copy/assuan/assuan-uds.c
index 975d2f2f3..e9e81016c 100644
--- a/libkdenetwork/libgpgme-copy/assuan/assuan-uds.c
+++ b/libkdenetwork/libgpgme-copy/assuan/assuan-uds.c
@@ -45,7 +45,7 @@
#include "assuan-defs.h"
#ifdef USE_DESCRIPTOR_PASSING
-/* Provide tqreplacement for missing CMSG maccros. We assume that
+/* Provide replacement for missing CMSG maccros. We assume that
size_t matches the tqalignment requirement. */
#define MY_ALIGN(n) ((((n))+ sizeof(size_t)-1) & (size_t)~(sizeof(size_t)-1))
#ifndef CMSG_SPACE
diff --git a/libkdenetwork/libgpgme-copy/assuan/assuan.h b/libkdenetwork/libgpgme-copy/assuan/assuan.h
index 80c8d6b34..3ae24248b 100644
--- a/libkdenetwork/libgpgme-copy/assuan/assuan.h
+++ b/libkdenetwork/libgpgme-copy/assuan/assuan.h
@@ -283,9 +283,9 @@ extern "C"
#define ASSUAN_Inquire_Error 121
#define ASSUAN_Invalid_Option 122
#define ASSUAN_Invalid_Index 123
-#define ASSUAN_Unexpected_Status 124
+#define ASSUAN_Unexpected_tqStatus 124
#define ASSUAN_Unexpected_Data 125
-#define ASSUAN_Invalid_Status 126
+#define ASSUAN_Invalid_tqStatus 126
#define ASSUAN_Locale_Problem 127
#endif
#define ASSUAN_Not_Confirmed 128
diff --git a/libkdenetwork/libgpgme-copy/gpgme/ChangeLog b/libkdenetwork/libgpgme-copy/gpgme/ChangeLog
index 5c31489ee..4985741db 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/ChangeLog
+++ b/libkdenetwork/libgpgme-copy/gpgme/ChangeLog
@@ -362,7 +362,7 @@
to prototype.
* verify.c (parse_notation): Likewise for invocation.
* conversion.c (_gpgme_decode_percent_string): Likewise to
- declaration. If set, do not replace '\0' characters with a
+ declaration. If set, do not tqreplace '\0' characters with a
printable string.
* gpgme.h (struct _gpgme_key_sig): New field notations.
* ops.h (_gpgme_parse_notation): New prototype.
@@ -1596,7 +1596,7 @@
(GpgmeSigNotation): Rename to gpgme_sig_notation_t.
(GpgmeSignature): Rename to gpgme_signature_t.
(GpgmeVerifyResult): Rename to gpgme_verify_result_t.
- (GpgmeImportStatus): Rename to gpgme_import_status_t.
+ (GpgmeImporttqStatus): Rename to gpgme_import_status_t.
(GpgmeImportResult): Rename to gpgme_import_result_t.
(GpgmeGenKeyResult): Rename to gpgme_genkey_result_t.
(GpgmeKeyListResult): Rename to gpgme_keylist_result_t.
@@ -1901,7 +1901,7 @@
GPGME_Unsupported_Algorithm, GPGME_Sig_Expired,
GPGME_Bad_Signature, GPGME_No_Public_Key added as new error codes.
(struct _gpgme_import_status): New structure.
- (GpgmeImportStatus): New type.
+ (GpgmeImporttqStatus): New type.
(struct _gpgme_op_import_result): New structure.
(GpgmeImportResult): New type.
(gpgme_op_import_result): New function.
@@ -2030,7 +2030,7 @@
(do_subsystem_inits): Do not call _gpgme_key_cache_init.
* mkstatus: Strip trailing comma.
- * gpgme.h (GpgmeStatus): Pretty print.
+ * gpgme.h (GpgmetqStatus): Pretty print.
* gpgme.h (GpgmeError): Rename GPGME_No_Passphrase to
GPGME_Bad_Passphrase.
@@ -2648,11 +2648,11 @@
2002-11-25 Marcus Brinkmann <marcus@g10code.de>
- * rungpg.c (_gpgme_gpg_spawn): Do not set parent fds to -1.
+ * rungpg.c (_gpgme_gpg_spawn): Do not set tqparent fds to -1.
* posix-io.c (_gpgme_io_spawn): Call _gpgme_io_close instead close
- for parent fds.
+ for tqparent fds.
* w32-io.c (_gpgme_io_spawn): Call _gpgme_io_close instead
- CloseHandle for parent fds.
+ CloseHandle for tqparent fds.
2002-11-22 Marcus Brinkmann <marcus@g10code.de>
@@ -3857,7 +3857,7 @@
version.
* posix-io.c: Include "sema.h".
(_gpgme_io_spawn): New variable FIXED_SIGNALS_LOCK. Take the lock
- while fixing the signals.
+ while fixing the Q_SIGNALS.
(_gpgme_io_select): Make READFDS and WRITEFDS non-static.
* key.c: Include "sema.h". New globals KEY_CACHE_LOCK and
KEY_REF_LOCK.
@@ -4634,7 +4634,7 @@
2001-11-23 Marcus Brinkmann <marcus@g10code.de>
- * engine-gpgsm.c (_gpgme_gpgsm_new): Set CLOEXEC flag for parent
+ * engine-gpgsm.c (_gpgme_gpgsm_new): Set CLOEXEC flag for tqparent
ends of the pipe.
2001-11-22 Marcus Brinkmann <marcus@g10code.de>
@@ -5218,7 +5218,7 @@
* types.h: Add ulong typedef.
* rungpg.c (do_reaping,_gpgme_gpg_housecleaning): New.
- (_gpgme_gpg_release): Reap children.
+ (_gpgme_gpg_release): Reap tqchildren.
* io.h, posix-io.c (_gpgme_io_kill): New.
* w32-io.c (_gpgme_io_kill): New (dummy).
diff --git a/libkdenetwork/libgpgme-copy/gpgme/engine-gpgsm.c b/libkdenetwork/libgpgme-copy/gpgme/engine-gpgsm.c
index 1d536440d..7ad8dc6f2 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/engine-gpgsm.c
+++ b/libkdenetwork/libgpgme-copy/gpgme/engine-gpgsm.c
@@ -202,9 +202,9 @@ map_assuan_error (gpg_error_t err)
case ASSUAN_Inquire_Unknown:
case ASSUAN_Inquire_Error:
case ASSUAN_Invalid_Option:
- case ASSUAN_Unexpected_Status:
+ case ASSUAN_Unexpected_tqStatus:
case ASSUAN_Unexpected_Data:
- case ASSUAN_Invalid_Status:
+ case ASSUAN_Invalid_tqStatus:
return gpg_error (GPG_ERR_ASSUAN);
case ASSUAN_Invalid_Response:
diff --git a/libkdenetwork/libgpgme-copy/gpgme/error.c b/libkdenetwork/libgpgme-copy/gpgme/error.c
index 9f8f26f76..f0ea4929d 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/error.c
+++ b/libkdenetwork/libgpgme-copy/gpgme/error.c
@@ -37,8 +37,8 @@ gpgme_strerror (gpgme_error_t err)
size BUFLEN. This function is, in contrast to gpg_strerror,
thread-safe if a thread-safe strerror_r() function is provided by
the system. If the function succeeds, 0 is returned and BUF
- tqcontains the string describing the error. If the buffer was not
- large enough, ERANGE is returned and BUF tqcontains as much of the
+ contains the string describing the error. If the buffer was not
+ large enough, ERANGE is returned and BUF contains as much of the
beginning of the error string as fits into the buffer. */
int
gpgme_strerror_r (gpg_error_t err, char *buf, size_t buflen)
diff --git a/libkdenetwork/libgpgme-copy/gpgme/get-env.c b/libkdenetwork/libgpgme-copy/gpgme/get-env.c
index 61e0dcbc6..b5884048e 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/get-env.c
+++ b/libkdenetwork/libgpgme-copy/gpgme/get-env.c
@@ -1,4 +1,4 @@
-/* get_env.c - A getenv() tqreplacement.
+/* get_env.c - A getenv() replacement.
Copyright (C) 2003, 2004 g10 Code GmbH
This file is part of GPGME.
diff --git a/libkdenetwork/libgpgme-copy/gpgme/gpgme.h b/libkdenetwork/libgpgme-copy/gpgme/gpgme.h
index 577f9c33e..f6f31ae2a 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/gpgme.h
+++ b/libkdenetwork/libgpgme-copy/gpgme/gpgme.h
@@ -137,8 +137,8 @@ const char *gpgme_strerror (gpgme_error_t err);
size BUFLEN. This function is, in contrast to gpg_strerror,
thread-safe if a thread-safe strerror_r() function is provided by
the system. If the function succeeds, 0 is returned and BUF
- tqcontains the string describing the error. If the buffer was not
- large enough, ERANGE is returned and BUF tqcontains as much of the
+ contains the string describing the error. If the buffer was not
+ large enough, ERANGE is returned and BUF contains as much of the
beginning of the error string as fits into the buffer. */
int gpgme_strerror_r (gpg_error_t err, char *buf, size_t buflen);
@@ -326,7 +326,7 @@ struct _gpgme_sig_notation
{
struct _gpgme_sig_notation *next;
- /* If NAME is a null pointer, then VALUE tqcontains a policy URL
+ /* If NAME is a null pointer, then VALUE contains a policy URL
rather than a notation. */
char *name;
@@ -687,19 +687,19 @@ struct _gpgme_key
/* This is the protocol supported by this key. */
gpgme_protocol_t protocol;
- /* If protocol is GPGME_PROTOCOL_CMS, this string tqcontains the
+ /* If protocol is GPGME_PROTOCOL_CMS, this string contains the
issuer serial. */
char *issuer_serial;
- /* If protocol is GPGME_PROTOCOL_CMS, this string tqcontains the
+ /* If protocol is GPGME_PROTOCOL_CMS, this string contains the
issuer name. */
char *issuer_name;
- /* If protocol is GPGME_PROTOCOL_CMS, this string tqcontains the chain
+ /* If protocol is GPGME_PROTOCOL_CMS, this string contains the chain
ID. */
char *chain_id;
- /* If protocol is GPGME_PROTOCOL_OpenPGP, this field tqcontains the
+ /* If protocol is GPGME_PROTOCOL_OpenPGP, this field contains the
owner trust. */
gpgme_validity_t owner_trust;
@@ -838,7 +838,7 @@ void gpgme_signers_clear (gpgme_ctx_t ctx);
/* Add KEY to list of signers in CTX. */
gpgme_error_t gpgme_signers_add (gpgme_ctx_t ctx, const gpgme_key_t key);
-/* Return the SEQth signer's key in CTX. */
+/* Return the SETQth signer's key in CTX. */
gpgme_key_t gpgme_signers_enum (const gpgme_ctx_t ctx, int seq);
/* Retrieve the signature status of signature IDX in CTX after a
@@ -1694,7 +1694,7 @@ typedef gpgme_encrypt_result_t GpgmeEncryptResult _GPGME_DEPRECATED;
typedef gpgme_sig_notation_t GpgmeSigNotation _GPGME_DEPRECATED;
typedef gpgme_signature_t GpgmeSignature _GPGME_DEPRECATED;
typedef gpgme_verify_result_t GpgmeVerifyResult _GPGME_DEPRECATED;
-typedef gpgme_import_status_t GpgmeImporStatus _GPGME_DEPRECATED;
+typedef gpgme_import_status_t GpgmeImportqStatus _GPGME_DEPRECATED;
typedef gpgme_import_result_t GpgmeImportResult _GPGME_DEPRECATED;
typedef gpgme_genkey_result_t GpgmeGenKeyResult _GPGME_DEPRECATED;
typedef gpgme_trust_item_t GpgmeTrustItem _GPGME_DEPRECATED;
diff --git a/libkdenetwork/libgpgme-copy/gpgme/io.h b/libkdenetwork/libgpgme-copy/gpgme/io.h
index 47b748f8b..cd0a47070 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/io.h
+++ b/libkdenetwork/libgpgme-copy/gpgme/io.h
@@ -50,11 +50,11 @@ int _gpgme_io_set_close_notify (int fd, void (*handler) (int, void *),
int _gpgme_io_set_nonblocking (int fd);
/* Spawn the executable PATH with ARGV as arguments, after forking
- close all fds in FD_PARENT_LIST in the parent and close or dup all
+ close all fds in FD_PARENT_LIST in the tqparent and close or dup all
fds in FD_CHILD_LIST in the child. */
int _gpgme_io_spawn (const char *path, char **argv,
struct spawn_fd_item_s *fd_child_list,
- struct spawn_fd_item_s *fd_parent_list);
+ struct spawn_fd_item_s *fd_tqparent_list);
int _gpgme_io_waitpid (int pid, int hang, int *r_status, int *r_signal);
int _gpgme_io_kill (int pid, int hard);
int _gpgme_io_select (struct io_select_fd_s *fds, size_t nfds, int nonblock);
diff --git a/libkdenetwork/libgpgme-copy/gpgme/ops.h b/libkdenetwork/libgpgme-copy/gpgme/ops.h
index 869496f12..fd857dd56 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/ops.h
+++ b/libkdenetwork/libgpgme-copy/gpgme/ops.h
@@ -140,7 +140,7 @@ void _gpgme_op_trustlist_event_cb (void *data, gpgme_event_io_t type,
/* From version.c. */
-/* Return true if MY_VERSION is at least REQ_VERSION, and false
+/* Return true if MY_VERSION is at least RETQ_VERSION, and false
otherwise. */
int _gpgme_compare_versions (const char *my_version,
const char *req_version);
diff --git a/libkdenetwork/libgpgme-copy/gpgme/posix-io.c b/libkdenetwork/libgpgme-copy/gpgme/posix-io.c
index 85df946fb..5be777401 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/posix-io.c
+++ b/libkdenetwork/libgpgme-copy/gpgme/posix-io.c
@@ -212,7 +212,7 @@ _gpgme_io_waitpid (int pid, int hang, int *r_status, int *r_signal)
int
_gpgme_io_spawn (const char *path, char **argv,
struct spawn_fd_item_s *fd_child_list,
- struct spawn_fd_item_s *fd_parent_list)
+ struct spawn_fd_item_s *fd_tqparent_list)
{
pid_t pid;
int i;
@@ -299,9 +299,9 @@ _gpgme_io_spawn (const char *path, char **argv,
if (status)
return -1;
- /* .dup_to is not used in the parent list. */
- for (i = 0; fd_parent_list[i].fd != -1; i++)
- _gpgme_io_close (fd_parent_list[i].fd);
+ /* .dup_to is not used in the tqparent list. */
+ for (i = 0; fd_tqparent_list[i].fd != -1; i++)
+ _gpgme_io_close (fd_tqparent_list[i].fd);
return 0;
}
diff --git a/libkdenetwork/libgpgme-copy/gpgme/priv-io.h b/libkdenetwork/libgpgme-copy/gpgme/priv-io.h
index 9a908570f..a64f1467d 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/priv-io.h
+++ b/libkdenetwork/libgpgme-copy/gpgme/priv-io.h
@@ -52,11 +52,11 @@ int _gpgme_io_set_close_notify (int fd, void (*handler) (int, void *),
int _gpgme_io_set_nonblocking (int fd);
/* Spawn the executable PATH with ARGV as arguments, after forking
- close all fds in FD_PARENT_LIST in the parent and close or dup all
+ close all fds in FD_PARENT_LIST in the tqparent and close or dup all
fds in FD_CHILD_LIST in the child. */
int _gpgme_io_spawn (const char *path, char **argv,
struct spawn_fd_item_s *fd_child_list,
- struct spawn_fd_item_s *fd_parent_list);
+ struct spawn_fd_item_s *fd_tqparent_list);
int _gpgme_io_select (struct io_select_fd_s *fds, size_t nfds, int nonblock);
/* Write the printable version of FD to the buffer BUF of length
diff --git a/libkdenetwork/libgpgme-copy/gpgme/rungpg.c b/libkdenetwork/libgpgme-copy/gpgme/rungpg.c
index d09cdf3b6..42fff0032 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/rungpg.c
+++ b/libkdenetwork/libgpgme-copy/gpgme/rungpg.c
@@ -1211,7 +1211,7 @@ start (engine_gpg_t gpg)
int saved_errno;
int i, n;
int status;
- struct spawn_fd_item_s *fd_child_list, *fd_parent_list;
+ struct spawn_fd_item_s *fd_child_list, *fd_tqparent_list;
if (!gpg)
return gpg_error (GPG_ERR_INV_VALUE);
@@ -1247,7 +1247,7 @@ start (engine_gpg_t gpg)
fd_child_list = calloc (n + n, sizeof *fd_child_list);
if (!fd_child_list)
return gpg_error_from_errno (errno);
- fd_parent_list = fd_child_list + n;
+ fd_tqparent_list = fd_child_list + n;
/* build the fd list for the child */
n = 0;
@@ -1269,32 +1269,32 @@ start (engine_gpg_t gpg)
fd_child_list[n].fd = -1;
fd_child_list[n].dup_to = -1;
- /* Build the fd list for the parent. */
+ /* Build the fd list for the tqparent. */
n = 0;
if (gpg->status.fd[1] != -1)
{
- fd_parent_list[n].fd = gpg->status.fd[1];
- fd_parent_list[n].dup_to = -1;
+ fd_tqparent_list[n].fd = gpg->status.fd[1];
+ fd_tqparent_list[n].dup_to = -1;
n++;
}
if (gpg->colon.fd[1] != -1)
{
- fd_parent_list[n].fd = gpg->colon.fd[1];
- fd_parent_list[n].dup_to = -1;
+ fd_tqparent_list[n].fd = gpg->colon.fd[1];
+ fd_tqparent_list[n].dup_to = -1;
n++;
}
for (i = 0; gpg->fd_data_map[i].data; i++)
{
- fd_parent_list[n].fd = gpg->fd_data_map[i].peer_fd;
- fd_parent_list[n].dup_to = -1;
+ fd_tqparent_list[n].fd = gpg->fd_data_map[i].peer_fd;
+ fd_tqparent_list[n].dup_to = -1;
n++;
}
- fd_parent_list[n].fd = -1;
- fd_parent_list[n].dup_to = -1;
+ fd_tqparent_list[n].fd = -1;
+ fd_tqparent_list[n].dup_to = -1;
status = _gpgme_io_spawn (gpg->file_name ? gpg->file_name :
_gpgme_get_gpg_path (),
- gpg->argv, fd_child_list, fd_parent_list);
+ gpg->argv, fd_child_list, fd_tqparent_list);
saved_errno = errno;
free (fd_child_list);
if (status == -1)
diff --git a/libkdenetwork/libgpgme-copy/gpgme/signers.c b/libkdenetwork/libgpgme-copy/gpgme/signers.c
index d38732f07..e60d2dd35 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/signers.c
+++ b/libkdenetwork/libgpgme-copy/gpgme/signers.c
@@ -78,7 +78,7 @@ gpgme_signers_add (gpgme_ctx_t ctx, const gpgme_key_t key)
}
-/* Return the SEQth signer's key in CTX with one reference. */
+/* Return the SETQth signer's key in CTX with one reference. */
gpgme_key_t
gpgme_signers_enum (const gpgme_ctx_t ctx, int seq)
{
diff --git a/libkdenetwork/libgpgme-copy/gpgme/util.h b/libkdenetwork/libgpgme-copy/gpgme/util.h
index 5f20091f6..05fd69d56 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/util.h
+++ b/libkdenetwork/libgpgme-copy/gpgme/util.h
@@ -34,7 +34,7 @@ const char *_gpgme_get_gpgsm_path (void);
int _gpgme_get_conf_int (const char *key, int *value);
-/*-- tqreplacement functions in <funcname>.c --*/
+/*-- replacement functions in <funcname>.c --*/
#ifdef HAVE_CONFIG_H
#ifndef HAVE_STPCPY
diff --git a/libkdenetwork/libgpgme-copy/gpgme/version.c b/libkdenetwork/libgpgme-copy/gpgme/version.c
index b823da1dd..133b23c7e 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/version.c
+++ b/libkdenetwork/libgpgme-copy/gpgme/version.c
@@ -111,7 +111,7 @@ parse_version_string (const char *str, int *major, int *minor, int *micro)
}
-/* Return true if MY_VERSION is at least REQ_VERSION, and false
+/* Return true if MY_VERSION is at least RETQ_VERSION, and false
otherwise. */
int
_gpgme_compare_versions (const char *my_version,
diff --git a/libkdenetwork/libgpgme-copy/gpgme/w32-io.c b/libkdenetwork/libgpgme-copy/gpgme/w32-io.c
index 677c14e30..9625178ae 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/w32-io.c
+++ b/libkdenetwork/libgpgme-copy/gpgme/w32-io.c
@@ -857,7 +857,7 @@ build_commandline (char **argv)
int
_gpgme_io_spawn ( const char *path, char **argv,
struct spawn_fd_item_s *fd_child_list,
- struct spawn_fd_item_s *fd_parent_list )
+ struct spawn_fd_item_s *fd_tqparent_list )
{
SECURITY_ATTRIBUTES sec_attr;
PROCESS_INFORMATION pi = {
@@ -966,8 +966,8 @@ _gpgme_io_spawn ( const char *path, char **argv,
}
/* Close the other ends of the pipes. */
- for (i = 0; fd_parent_list[i].fd != -1; i++)
- _gpgme_io_close (fd_parent_list[i].fd);
+ for (i = 0; fd_tqparent_list[i].fd != -1; i++)
+ _gpgme_io_close (fd_tqparent_list[i].fd);
DEBUG4 ("CreateProcess ready\n"
"- hProcess=%p hThread=%p\n"
diff --git a/libkdenetwork/libgpgme-copy/gpgme/wait-global.c b/libkdenetwork/libgpgme-copy/gpgme/wait-global.c
index ba064ebbd..bfa618dd1 100644
--- a/libkdenetwork/libgpgme-copy/gpgme/wait-global.c
+++ b/libkdenetwork/libgpgme-copy/gpgme/wait-global.c
@@ -41,7 +41,7 @@
GPGME_EVENT_START event. After that, it is added to the global
list of active contexts.
- The gpgme_wait function tqcontains a select() loop over all file
+ The gpgme_wait function contains a select() loop over all file
descriptors in all active contexts. If an error occurs, it closes
all fds in that context and moves the context to the global done
list. Likewise, if a context has removed all I/O callbacks, it is
@@ -75,15 +75,15 @@ struct ctx_list_item
gpgme_error_t status;
};
-/* The active list tqcontains all contexts that are in the global event
+/* The active list contains all contexts that are in the global event
loop, have active I/O callbacks, and have already seen the start
event. */
static struct ctx_list_item *ctx_active_list;
-/* The done list tqcontains all contexts that have previously been
+/* The done list contains all contexts that have previously been
active but now are not active any longer, either because they
finished successfully or an I/O callback returned an error. The
- status field in the list item tqcontains the error value (or 0 if
+ status field in the list item contains the error value (or 0 if
successful). */
static struct ctx_list_item *ctx_done_list;
diff --git a/libkdenetwork/qgpgme/dataprovider.cpp b/libkdenetwork/qgpgme/dataprovider.cpp
index 3fe991d95..a37684d0d 100644
--- a/libkdenetwork/qgpgme/dataprovider.cpp
+++ b/libkdenetwork/qgpgme/dataprovider.cpp
@@ -1,20 +1,20 @@
/* dataprovider.cpp
Copyright (C) 2004 Klarälvdalens Datakonsult AB
- This file is part of QGPGME.
+ This file is part of TQGPGME.
- QGPGME is free software; you can redistribute it and/or modify it
+ TQGPGME is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- QGPGME is distributed in the hope that it will be useful, but
+ TQGPGME is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
- along with QGPGME; if not, write to the Free Software Foundation,
+ along with TQGPGME; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
// -*- c++ -*-
@@ -36,32 +36,32 @@ static bool resizeAndInit( TQByteArray & ba, size_t newSize ) {
return ok;
}
-QGpgME::QByteArrayDataProvider::QByteArrayDataProvider()
+QGpgME::TQByteArrayDataProvider::TQByteArrayDataProvider()
: GpgME::DataProvider(), mOff( 0 ) {}
-QGpgME::QByteArrayDataProvider::QByteArrayDataProvider( const TQByteArray & initialData )
+QGpgME::TQByteArrayDataProvider::TQByteArrayDataProvider( const TQByteArray & initialData )
: GpgME::DataProvider(), mArray( initialData ), mOff( 0 ) {}
-QGpgME::QByteArrayDataProvider::~QByteArrayDataProvider() {}
+QGpgME::TQByteArrayDataProvider::~TQByteArrayDataProvider() {}
-ssize_t QGpgME::QByteArrayDataProvider::read( void * buffer, size_t bufSize ) {
+ssize_t QGpgME::TQByteArrayDataProvider::read( void * buffer, size_t bufSize ) {
#ifndef NDEBUG
- //qDebug( "QGpgME::QByteArrayDataProvider::read( %p, %d )", buffer, bufSize );
+ //qDebug( "QGpgME::TQByteArrayDataProvider::read( %p, %d )", buffer, bufSize );
#endif
if ( bufSize == 0 )
return 0;
if ( mOff >= mArray.size() )
return 0; // EOF
- size_t amount = QMIN( bufSize, mArray.size() - mOff );
+ size_t amount = TQMIN( bufSize, mArray.size() - mOff );
assert( amount > 0 );
memcpy( buffer, mArray.data() + mOff, amount );
mOff += amount;
return amount;
}
-ssize_t QGpgME::QByteArrayDataProvider::write( const void * buffer, size_t bufSize ) {
+ssize_t QGpgME::TQByteArrayDataProvider::write( const void * buffer, size_t bufSize ) {
#ifndef NDEBUG
- qDebug( "QGpgME::QByteArrayDataProvider::write( %p, %d )", buffer, bufSize );
+ qDebug( "QGpgME::TQByteArrayDataProvider::write( %p, %d )", buffer, bufSize );
#endif
if ( bufSize == 0 )
return 0;
@@ -77,9 +77,9 @@ ssize_t QGpgME::QByteArrayDataProvider::write( const void * buffer, size_t bufSi
return bufSize;
}
-off_t QGpgME::QByteArrayDataProvider::seek( off_t offset, int whence ) {
+off_t QGpgME::TQByteArrayDataProvider::seek( off_t offset, int whence ) {
#ifndef NDEBUG
- qDebug( "QGpgME::QByteArrayDataProvider::seek( %d, %d )", int(offset), whence );
+ qDebug( "QGpgME::TQByteArrayDataProvider::seek( %d, %d )", int(offset), whence );
#endif
int newOffset = mOff;
switch ( whence ) {
@@ -99,9 +99,9 @@ off_t QGpgME::QByteArrayDataProvider::seek( off_t offset, int whence ) {
return mOff = newOffset;
}
-void QGpgME::QByteArrayDataProvider::release() {
+void QGpgME::TQByteArrayDataProvider::release() {
#ifndef NDEBUG
- qDebug( "QGpgME::QByteArrayDataProvider::release()" );
+ qDebug( "QGpgME::TQByteArrayDataProvider::release()" );
#endif
mArray = TQByteArray();
}
diff --git a/libkdenetwork/qgpgme/dataprovider.h b/libkdenetwork/qgpgme/dataprovider.h
index 52957afa5..6f1c9ca93 100644
--- a/libkdenetwork/qgpgme/dataprovider.h
+++ b/libkdenetwork/qgpgme/dataprovider.h
@@ -1,25 +1,25 @@
/* dataprovider.h
Copyright (C) 2004 Klarälvdalens Datakonsult AB
- This file is part of QGPGME.
+ This file is part of TQGPGME.
- QGPGME is free software; you can redistribute it and/or modify it
+ TQGPGME is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- QGPGME is distributed in the hope that it will be useful, but
+ TQGPGME is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
- along with QGPGME; if not, write to the Free Software Foundation,
+ along with TQGPGME; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
// -*- c++ -*-
-#ifndef __QGPGME_DATAPROVIDER_H__
-#define __QGPGME_DATAPROVIDER_H__
+#ifndef __TQGPGME_DATAPROVIDER_H__
+#define __TQGPGME_DATAPROVIDER_H__
#include <gpgmepp/interfaces/dataprovider.h>
@@ -28,11 +28,11 @@
namespace QGpgME {
- class KDE_EXPORT QByteArrayDataProvider : public GpgME::DataProvider {
+ class KDE_EXPORT TQByteArrayDataProvider : public GpgME::DataProvider {
public:
- QByteArrayDataProvider();
- QByteArrayDataProvider( const TQByteArray & initialData );
- ~QByteArrayDataProvider();
+ TQByteArrayDataProvider();
+ TQByteArrayDataProvider( const TQByteArray & initialData );
+ ~TQByteArrayDataProvider();
const TQByteArray & data() const { return mArray; }
@@ -57,6 +57,6 @@ namespace QGpgME {
} // namespace QGpgME
-#endif // __QGPGME_EVENTLOOPINTERACTOR_H__
+#endif // __TQGPGME_EVENTLOOPINTERACTOR_H__
diff --git a/libkdenetwork/qgpgme/eventloopinteractor.cpp b/libkdenetwork/qgpgme/eventloopinteractor.cpp
index 8846bb2a5..a773860e1 100644
--- a/libkdenetwork/qgpgme/eventloopinteractor.cpp
+++ b/libkdenetwork/qgpgme/eventloopinteractor.cpp
@@ -1,20 +1,20 @@
/* qeventloopinteractor.cpp
Copyright (C) 2003 Klarälvdalens Datakonsult AB
- This file is part of QGPGME.
+ This file is part of TQGPGME.
- QGPGME is free software; you can redistribute it and/or modify it
+ TQGPGME is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- QGPGME is distributed in the hope that it will be useful, but
+ TQGPGME is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
- along with QGPGME; if not, write to the Free Software Foundation,
+ along with TQGPGME; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
// -*- c++ -*-
@@ -32,10 +32,10 @@
using namespace GpgME;
-QGpgME::EventLoopInteractor::EventLoopInteractor( TQObject * parent, const char * name )
- : TQObject( parent, name ), GpgME::EventLoopInteractor()
+QGpgME::EventLoopInteractor::EventLoopInteractor( TQObject * tqparent, const char * name )
+ : TQObject( tqparent, name ), GpgME::EventLoopInteractor()
{
- if ( !parent )
+ if ( !tqparent )
if ( tqApp ) {
connect( tqApp, TQT_SIGNAL(aboutToQuit()), TQT_SLOT(deleteLater()) );
connect( tqApp, TQT_SIGNAL(aboutToQuit()), TQT_SIGNAL(aboutToDestroy()) );
diff --git a/libkdenetwork/qgpgme/eventloopinteractor.h b/libkdenetwork/qgpgme/eventloopinteractor.h
index 73d9a1778..e1d514f5c 100644
--- a/libkdenetwork/qgpgme/eventloopinteractor.h
+++ b/libkdenetwork/qgpgme/eventloopinteractor.h
@@ -1,25 +1,25 @@
/* qeventloopinteractor.h
Copyright (C) 2003 Klarälvdalens Datakonsult AB
- This file is part of QGPGME.
+ This file is part of TQGPGME.
- QGPGME is free software; you can redistribute it and/or modify it
+ TQGPGME is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- QGPGME is distributed in the hope that it will be useful, but
+ TQGPGME is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
- along with QGPGME; if not, write to the Free Software Foundation,
+ along with TQGPGME; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
// -*- c++ -*-
-#ifndef __QGPGME_EVENTLOOPINTERACTOR_H__
-#define __QGPGME_EVENTLOOPINTERACTOR_H__
+#ifndef __TQGPGME_EVENTLOOPINTERACTOR_H__
+#define __TQGPGME_EVENTLOOPINTERACTOR_H__
#include <gpgmepp/eventloopinteractor.h>
@@ -37,8 +37,9 @@ namespace QGpgME {
class KDE_EXPORT EventLoopInteractor : public TQObject, public GpgME::EventLoopInteractor {
Q_OBJECT
+ TQ_OBJECT
protected:
- EventLoopInteractor( TQObject * parent, const char * name=0 );
+ EventLoopInteractor( TQObject * tqparent, const char * name=0 );
public:
virtual ~EventLoopInteractor();
@@ -84,6 +85,6 @@ namespace QGpgME {
} // namespace QGpgME
-#endif // __QGPGME_EVENTLOOPINTERACTOR_H__
+#endif // __TQGPGME_EVENTLOOPINTERACTOR_H__
diff --git a/libkdenetwork/qgpgme/tests/dataprovidertest.cpp b/libkdenetwork/qgpgme/tests/dataprovidertest.cpp
index 2493c5860..675c85ea8 100644
--- a/libkdenetwork/qgpgme/tests/dataprovidertest.cpp
+++ b/libkdenetwork/qgpgme/tests/dataprovidertest.cpp
@@ -1,20 +1,20 @@
/* tests/dataprovidertest.cpp
Copyright (C) 2004 Klarälvdalens Datakonsult AB
- This file is part of QGPGME's regression test suite.
+ This file is part of TQGPGME's regression test suite.
- QGPGME is free software; you can redistribute it and/or modify it
+ TQGPGME is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- QGPGME is distributed in the hope that it will be useful, but
+ TQGPGME is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
- along with QGPGME; if not, write to the Free Software Foundation,
+ along with TQGPGME; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
// -*- c++ -*-
@@ -60,11 +60,11 @@ int main( int, char** ) {
{
//
- // QByteArrayDataProvider
+ // TQByteArrayDataProvider
//
// writing:
- QGpgME::QByteArrayDataProvider qba_dp;
+ QGpgME::TQByteArrayDataProvider qba_dp;
Data data( &qba_dp );
assertEqual( data.write( input, inputSize ), inputSize );
@@ -108,11 +108,11 @@ int main( int, char** ) {
{
//
- // QByteArrayDataProvider with initial data:
+ // TQByteArrayDataProvider with initial data:
//
TQByteArray ba;
ba.duplicate( input, inputSize );
- QGpgME::QByteArrayDataProvider qba_dp( ba );
+ QGpgME::TQByteArrayDataProvider qba_dp( ba );
Data data( &qba_dp );
assertEqual( data.seek( 0, SEEK_END ), inputSize );