diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /libkdenetwork/qgpgme/dataprovider.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdenetwork/qgpgme/dataprovider.cpp')
-rw-r--r-- | libkdenetwork/qgpgme/dataprovider.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdenetwork/qgpgme/dataprovider.cpp b/libkdenetwork/qgpgme/dataprovider.cpp index 8b3ae2857..3fe991d95 100644 --- a/libkdenetwork/qgpgme/dataprovider.cpp +++ b/libkdenetwork/qgpgme/dataprovider.cpp @@ -28,7 +28,7 @@ #include <assert.h> #include <unistd.h> -static bool resizeAndInit( QByteArray & ba, size_t newSize ) { +static bool resizeAndInit( TQByteArray & ba, size_t newSize ) { const size_t oldSize = ba.size(); bool ok = ba.resize( newSize ); if ( ok ) @@ -39,7 +39,7 @@ static bool resizeAndInit( QByteArray & ba, size_t newSize ) { QGpgME::QByteArrayDataProvider::QByteArrayDataProvider() : GpgME::DataProvider(), mOff( 0 ) {} -QGpgME::QByteArrayDataProvider::QByteArrayDataProvider( const QByteArray & initialData ) +QGpgME::QByteArrayDataProvider::QByteArrayDataProvider( const TQByteArray & initialData ) : GpgME::DataProvider(), mArray( initialData ), mOff( 0 ) {} QGpgME::QByteArrayDataProvider::~QByteArrayDataProvider() {} @@ -103,5 +103,5 @@ void QGpgME::QByteArrayDataProvider::release() { #ifndef NDEBUG qDebug( "QGpgME::QByteArrayDataProvider::release()" ); #endif - mArray = QByteArray(); + mArray = TQByteArray(); } |