summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/backends/qgpgme/qgpgmeencryptjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/backends/qgpgme/qgpgmeencryptjob.cpp')
-rw-r--r--certmanager/lib/backends/qgpgme/qgpgmeencryptjob.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/certmanager/lib/backends/qgpgme/qgpgmeencryptjob.cpp b/certmanager/lib/backends/qgpgme/qgpgmeencryptjob.cpp
index 3f223fc56..ddd51717f 100644
--- a/certmanager/lib/backends/qgpgme/qgpgmeencryptjob.cpp
+++ b/certmanager/lib/backends/qgpgme/qgpgmeencryptjob.cpp
@@ -59,7 +59,7 @@ Kleo::QGpgMEEncryptJob::QGpgMEEncryptJob( GpgME::Context * context )
Kleo::QGpgMEEncryptJob::~QGpgMEEncryptJob() {
}
-void Kleo::QGpgMEEncryptJob::setup( const QByteArray & plainText ) {
+void Kleo::QGpgMEEncryptJob::setup( const TQByteArray & plainText ) {
assert( !mInData );
assert( !mOutData );
@@ -68,7 +68,7 @@ void Kleo::QGpgMEEncryptJob::setup( const QByteArray & plainText ) {
}
GpgME::Error Kleo::QGpgMEEncryptJob::start( const std::vector<GpgME::Key> & recipients,
- const QByteArray & plainText, bool alwaysTrust ) {
+ const TQByteArray & plainText, bool alwaysTrust ) {
setup( plainText );
hookupContextToEventLoopInteractor();
@@ -84,9 +84,9 @@ GpgME::Error Kleo::QGpgMEEncryptJob::start( const std::vector<GpgME::Key> & reci
}
GpgME::EncryptionResult Kleo::QGpgMEEncryptJob::exec( const std::vector<GpgME::Key> & recipients,
- const QByteArray & plainText,
+ const TQByteArray & plainText,
bool alwaysTrust,
- QByteArray & ciphertext ) {
+ TQByteArray & ciphertext ) {
setup( plainText );
const GpgME::Context::EncryptionFlags flags =
alwaysTrust ? GpgME::Context::AlwaysTrust : GpgME::Context::None;
@@ -100,7 +100,7 @@ void Kleo::QGpgMEEncryptJob::doOperationDoneEvent( const GpgME::Error & ) {
emit result( mResult = mCtx->encryptionResult(), mOutDataDataProvider->data() );
}
-void Kleo::QGpgMEEncryptJob::showErrorDialog( QWidget * parent, const QString & caption ) const {
+void Kleo::QGpgMEEncryptJob::showErrorDialog( TQWidget * parent, const TQString & caption ) const {
if ( mResult.error() && !mResult.error().isCanceled() )
Kleo::MessageBox::error( parent, mResult, this, caption );
}