summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/tests/test_jobs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/tests/test_jobs.cpp')
-rw-r--r--certmanager/lib/tests/test_jobs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/certmanager/lib/tests/test_jobs.cpp b/certmanager/lib/tests/test_jobs.cpp
index 22d9136d4..dfa17a450 100644
--- a/certmanager/lib/tests/test_jobs.cpp
+++ b/certmanager/lib/tests/test_jobs.cpp
@@ -72,14 +72,14 @@ static void testSign()
Kleo::SignJob* job = proto->signJob( true, true );
- QCString cText = "Hallo Leute\n"; // like gpgme's t-sign.c
- QByteArray plainText;
+ TQCString cText = "Hallo Leute\n"; // like gpgme's t-sign.c
+ TQByteArray plainText;
plainText.duplicate( cText.data(), cText.length() ); // hrmpf...
kdDebug() << k_funcinfo << "plainText=" << cText.data() << endl;
kdDebug() << k_funcinfo << " signing with " << signingKeys[0].primaryFingerprint() << endl;
- QByteArray signature;
+ TQByteArray signature;
const GpgME::SigningResult res =
job->exec( signingKeys, plainText, GpgME::Context::Clearsigned, signature );
if ( res.error().isCanceled() ) {
@@ -91,7 +91,7 @@ static void testSign()
return;
}
kdDebug() << k_funcinfo << "signing resulted in signature="
- << QCString( signature.data(), signature.size() + 1 ) << endl;
+ << TQCString( signature.data(), signature.size() + 1 ) << endl;
}
int main( int argc, char** argv ) {