summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/qcomponentfactory.cpp2
-rw-r--r--src/tools/qfile.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qcomponentfactory.cpp b/src/tools/qcomponentfactory.cpp
index 9109cc5b2..22e871409 100644
--- a/src/tools/qcomponentfactory.cpp
+++ b/src/tools/qcomponentfactory.cpp
@@ -180,7 +180,7 @@ TQRESULT TQComponentFactory::createInstance( const TQString &cid, const TQUuid &
res = library->queryInterface( iid, iface );
}
TQLibraryInterface *libiface = 0;
- if ( library->queryInterface( IID_QLibrary, (TQUnknownInterface**)&libiface ) != TQS_OK || !qApp ) {
+ if ( library->queryInterface( IID_QLibrary, (TQUnknownInterface**)&libiface ) != TQS_OK || !tqApp ) {
delete library; // only deletes the object, thanks to TQLibrary::Manual
} else {
libiface->release();
diff --git a/src/tools/qfile.cpp b/src/tools/qfile.cpp
index dc0a2427e..78c08c7dd 100644
--- a/src/tools/qfile.cpp
+++ b/src/tools/qfile.cpp
@@ -681,7 +681,7 @@ void TQFile::setDecodingFunction( DecoderFn f )
TQMessageBox::critical(
this,
tr("Open failed"),
- tr("Could not open file for reading: %1").arg( qApp->translate("TQFile",f.errorString()) )
+ tr("Could not open file for reading: %1").arg( tqApp->translate("TQFile",f.errorString()) )
);
return;
}