diff options
author | Michele Calgaro <[email protected]> | 2025-01-13 23:01:29 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-02-03 21:32:19 +0900 |
commit | 0b81a0c481a3a64d5449171a534bc8c91ae73181 (patch) | |
tree | 95cd236e86e934f492b4a4a1bd44bcf434a91ab2 /tdenewstuff/engine.cpp | |
parent | 180ceca8bb26bbe97f60c99e5d172eb8ccd66e6d (diff) | |
download | tdelibs-0b81a0c481a3a64d5449171a534bc8c91ae73181.tar.gz tdelibs-0b81a0c481a3a64d5449171a534bc8c91ae73181.zip |
Rename TDEApplication::kApplication() to TDEApplication::tdeApplication() and kapp to tdeApp.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdenewstuff/engine.cpp')
-rw-r--r-- | tdenewstuff/engine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdenewstuff/engine.cpp b/tdenewstuff/engine.cpp index 5d843afeb..4e8ad57f4 100644 --- a/tdenewstuff/engine.cpp +++ b/tdenewstuff/engine.cpp @@ -290,7 +290,7 @@ void Engine::upload( Entry *entry ) { if ( mUploadFile.isNull()) { mUploadFile = entry->fullName(); - mUploadFile = locateLocal( "data", TQString(kapp->instanceName()) + "/upload/" + mUploadFile ); + mUploadFile = locateLocal( "data", TQString(tdeApp->instanceName()) + "/upload/" + mUploadFile ); if ( !d->mNewStuff->createUploadFile( mUploadFile ) ) { KMessageBox::error( mParentWidget, i18n("Unable to create file to upload.") ); @@ -329,7 +329,7 @@ void Engine::upload( Entry *entry ) i18n("Upload Info"), KStdGuiItem::close() ); if ( result == KMessageBox::Yes ) { - kapp->invokeBrowser( noUploadUrl.url() ); + tdeApp->invokeBrowser( noUploadUrl.url() ); } } } else { @@ -364,7 +364,7 @@ bool Engine::createMetaFile( Entry *entry ) if ( mUploadMetaFile.isNull() ) { mUploadMetaFile = entry->fullName() + ".meta"; - mUploadMetaFile = locateLocal( "data", TQString(kapp->instanceName()) + "/upload/" + mUploadMetaFile ); + mUploadMetaFile = locateLocal( "data", TQString(tdeApp->instanceName()) + "/upload/" + mUploadMetaFile ); } TQFile f( mUploadMetaFile ); |