diff options
author | Timothy Pearson <[email protected]> | 2012-03-01 13:24:30 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-01 13:24:30 -0600 |
commit | a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch) | |
tree | 3910055c634e2ca44eacd2c892118634df9b3597 /src/kernel/qnetworkprotocol.cpp | |
parent | b0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff) | |
download | qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip |
Rename additional global TQt functions
Diffstat (limited to 'src/kernel/qnetworkprotocol.cpp')
-rw-r--r-- | src/kernel/qnetworkprotocol.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/kernel/qnetworkprotocol.cpp b/src/kernel/qnetworkprotocol.cpp index 4173584..97e039a 100644 --- a/src/kernel/qnetworkprotocol.cpp +++ b/src/kernel/qnetworkprotocol.cpp @@ -51,9 +51,9 @@ //#define QNETWORKPROTOCOL_DEBUG #define NETWORK_OP_DELAY 1000 -extern Q_EXPORT QNetworkProtocolDict *qNetworkProtocolRegister; +extern Q_EXPORT QNetworkProtocolDict *tqNetworkProtocolRegister; -QNetworkProtocolDict *qNetworkProtocolRegister = 0; +QNetworkProtocolDict *tqNetworkProtocolRegister = 0; class QNetworkProtocolPrivate { @@ -542,7 +542,7 @@ int QNetworkProtocol::supportedOperations() const void QNetworkProtocol::addOperation( QNetworkOperation *op ) { #ifdef QNETWORKPROTOCOL_DEBUG - qDebug( "QNetworkOperation: addOperation: %p %d", op, op->operation() ); + tqDebug( "QNetworkOperation: addOperation: %p %d", op, op->operation() ); #endif d->operationQueue.enqueue( op ); if ( !d->opInProgress ) @@ -566,12 +566,12 @@ void QNetworkProtocol::addOperation( QNetworkOperation *op ) void QNetworkProtocol::registerNetworkProtocol( const QString &protocol, QNetworkProtocolFactoryBase *protocolFactory ) { - if ( !qNetworkProtocolRegister ) { - qNetworkProtocolRegister = new QNetworkProtocolDict; + if ( !tqNetworkProtocolRegister ) { + tqNetworkProtocolRegister = new QNetworkProtocolDict; QNetworkProtocol::registerNetworkProtocol( "file", new QNetworkProtocolFactory< QLocalFs > ); } - qNetworkProtocolRegister->insert( protocol, protocolFactory ); + tqNetworkProtocolRegister->insert( protocol, protocolFactory ); } /*! @@ -596,15 +596,15 @@ void QNetworkProtocol::registerNetworkProtocol( const QString &protocol, QNetworkProtocol *QNetworkProtocol::getNetworkProtocol( const QString &protocol ) { - if ( !qNetworkProtocolRegister ) { - qNetworkProtocolRegister = new QNetworkProtocolDict; + if ( !tqNetworkProtocolRegister ) { + tqNetworkProtocolRegister = new QNetworkProtocolDict; QNetworkProtocol::registerNetworkProtocol( "file", new QNetworkProtocolFactory< QLocalFs > ); } if ( protocol.isNull() ) return 0; - QNetworkProtocolFactoryBase *factory = qNetworkProtocolRegister->find( protocol ); + QNetworkProtocolFactoryBase *factory = tqNetworkProtocolRegister->find( protocol ); if ( factory ) return factory->createObject(); @@ -619,10 +619,10 @@ QNetworkProtocol *QNetworkProtocol::getNetworkProtocol( const QString &protocol bool QNetworkProtocol::hasOnlyLocalFileSystem() { - if ( !qNetworkProtocolRegister ) + if ( !tqNetworkProtocolRegister ) return FALSE; - QDictIterator< QNetworkProtocolFactoryBase > it( *qNetworkProtocolRegister ); + QDictIterator< QNetworkProtocolFactoryBase > it( *tqNetworkProtocolRegister ); for ( ; it.current(); ++it ) if ( it.currentKey() != "file" ) return FALSE; @@ -637,7 +637,7 @@ bool QNetworkProtocol::hasOnlyLocalFileSystem() void QNetworkProtocol::startOps() { #ifdef QNETWORKPROTOCOL_DEBUG - qDebug( "QNetworkOperation: start processing operations" ); + tqDebug( "QNetworkOperation: start processing operations" ); #endif processNextOperation( 0 ); } @@ -826,7 +826,7 @@ void QNetworkProtocol::operationPutChunk( QNetworkOperation * ) void QNetworkProtocol::processNextOperation( QNetworkOperation *old ) { #ifdef QNETWORKPROTOCOL_DEBUG - qDebug( "QNetworkOperation: process next operation, old: %p", old ); + tqDebug( "QNetworkOperation: process next operation, old: %p", old ); #endif d->removeTimer->stop(); @@ -949,7 +949,7 @@ void QNetworkProtocol::removeMe() { if ( d->autoDelete ) { #ifdef QNETWORKPROTOCOL_DEBUG - qDebug( "QNetworkOperation: autodelete of QNetworkProtocol %p", this ); + tqDebug( "QNetworkOperation: autodelete of QNetworkProtocol %p", this ); #endif delete d->url; // destructor deletes the network protocol } |