diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:35:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:35:40 -0600 |
commit | 17e2ed52dbf8fac39a04331da02b9572e9e2e304 (patch) | |
tree | cd0d57c975a55e05aac71794b363748f24625875 /certmanager/lib/tests/test.data | |
parent | a684ecdeceae222d5aa930478b7bf59a3b7cae7f (diff) | |
download | tdepim-17e2ed52dbf8fac39a04331da02b9572e9e2e304.tar.gz tdepim-17e2ed52dbf8fac39a04331da02b9572e9e2e304.zip |
Rename additional global TQt functions
Diffstat (limited to 'certmanager/lib/tests/test.data')
-rw-r--r-- | certmanager/lib/tests/test.data | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/certmanager/lib/tests/test.data b/certmanager/lib/tests/test.data index b4bce1a93..a4109fbd5 100644 --- a/certmanager/lib/tests/test.data +++ b/certmanager/lib/tests/test.data @@ -124,7 +124,7 @@ static int inquire( void * void_ctx, const char * keyword ) { return gpg_error( GPG_ERR_NOT_IMPLEMENTED ); if ( const gpg_error_t err = assuan_send_data( ctx, it->second.c_str(), it->second.size() ) ) { - qDebug( "assuan_write_data: %s", gpg_strerror( err ) ); + tqDebug( "assuan_write_data: %s", gpg_strerror( err ) ); return err; } @@ -196,7 +196,7 @@ int main( int argc, char * argv[] ) { assuan_context_t ctx = 0; if ( const gpg_error_t err = assuan_socket_connect_ext( &ctx, socket, -1, 1 ) ) { - qDebug( "%s", assuan_exception( err, "assuan_socket_connect_ext" ).what() ); + tqDebug( "%s", assuan_exception( err, "assuan_socket_connect_ext" ).what() ); return 1; } @@ -204,12 +204,12 @@ int main( int argc, char * argv[] ) { for ( std::vector<int>::const_iterator it = inFDs.begin(), end = inFDs.end() ; it != end ; ++it ) { if ( const gpg_error_t err = assuan_sendfd( ctx, *it ) ) { - qDebug( "%s", assuan_exception( err, "assuan_sendfd( inFD )" ).what() ); + tqDebug( "%s", assuan_exception( err, "assuan_sendfd( inFD )" ).what() ); return 1; } if ( const gpg_error_t err = assuan_transact( ctx, "INPUT FD", 0, 0, 0, 0, 0, 0 ) ) { - qDebug( "%s", assuan_exception( err, "INPUT FD" ).what() ); + tqDebug( "%s", assuan_exception( err, "INPUT FD" ).what() ); return 1; } } @@ -220,7 +220,7 @@ int main( int argc, char * argv[] ) { sprintf( buffer, "INPUT FILE=%s", hexencode( *it ).c_str() ); if ( const gpg_error_t err = assuan_transact( ctx, buffer, 0, 0, 0, 0, 0, 0 ) ) { - qDebug( "%s", assuan_exception( err, buffer ).what() ); + tqDebug( "%s", assuan_exception( err, buffer ).what() ); return 1; } } @@ -228,12 +228,12 @@ int main( int argc, char * argv[] ) { for ( std::vector<int>::const_iterator it = msgFDs.begin(), end = msgFDs.end() ; it != end ; ++it ) { if ( const gpg_error_t err = assuan_sendfd( ctx, *it ) ) { - qDebug( "%s", assuan_exception( err, "assuan_sendfd( msgFD )" ).what() ); + tqDebug( "%s", assuan_exception( err, "assuan_sendfd( msgFD )" ).what() ); return 1; } if ( const gpg_error_t err = assuan_transact( ctx, "MESSAGE FD", 0, 0, 0, 0, 0, 0 ) ) { - qDebug( "%s", assuan_exception( err, "MESSAGE FD" ).what() ); + tqDebug( "%s", assuan_exception( err, "MESSAGE FD" ).what() ); return 1; } } @@ -244,7 +244,7 @@ int main( int argc, char * argv[] ) { sprintf( buffer, "MESSAGE FILE=%s", hexencode( *it ).c_str() ); if ( const gpg_error_t err = assuan_transact( ctx, buffer, 0, 0, 0, 0, 0, 0 ) ) { - qDebug( "%s", assuan_exception( err, buffer ).what() ); + tqDebug( "%s", assuan_exception( err, buffer ).what() ); return 1; } } @@ -252,12 +252,12 @@ int main( int argc, char * argv[] ) { for ( std::vector<int>::const_iterator it = outFDs.begin(), end = outFDs.end() ; it != end ; ++it ) { if ( const gpg_error_t err = assuan_sendfd( ctx, *it ) ) { - qDebug( "%s", assuan_exception( err, "assuan_sendfd( outFD )" ).what() ); + tqDebug( "%s", assuan_exception( err, "assuan_sendfd( outFD )" ).what() ); return 1; } if ( const gpg_error_t err = assuan_transact( ctx, "OUTPUT FD", 0, 0, 0, 0, 0, 0 ) ) { - qDebug( "%s", assuan_exception( err, "OUTPUT FD" ).what() ); + tqDebug( "%s", assuan_exception( err, "OUTPUT FD" ).what() ); return 1; } } @@ -268,7 +268,7 @@ int main( int argc, char * argv[] ) { sprintf( buffer, "OUTPUT FILE=%s", hexencode( *it ).c_str() ); if ( const gpg_error_t err = assuan_transact( ctx, buffer, 0, 0, 0, 0, 0, 0 ) ) { - qDebug( "%s", assuan_exception( err, buffer ).what() ); + tqDebug( "%s", assuan_exception( err, buffer ).what() ); return 1; } } @@ -279,13 +279,13 @@ int main( int argc, char * argv[] ) { std::string line = "OPTION "; line += opt; if ( const gpg_error_t err = assuan_transact( ctx, line.c_str(), 0, 0, 0, 0, 0, 0 ) ) { - qDebug( "%s", assuan_exception( err, line ).what() ); + tqDebug( "%s", assuan_exception( err, line ).what() ); return 1; } } if ( const gpg_error_t err = assuan_transact( ctx, command.c_str(), data, ctx, inquire, ctx, status, ctx ) ) { - qDebug( "%s", assuan_exception( err, command ).what() ); + tqDebug( "%s", assuan_exception( err, command ).what() ); return 1; } |