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 /tdecore/kdesktopfile.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 'tdecore/kdesktopfile.cpp')
-rw-r--r-- | tdecore/kdesktopfile.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/kdesktopfile.cpp b/tdecore/kdesktopfile.cpp index fa1626701..3e262be3a 100644 --- a/tdecore/kdesktopfile.cpp +++ b/tdecore/kdesktopfile.cpp @@ -124,7 +124,7 @@ bool KDesktopFile::isDesktopFile(const TQString& path) bool KDesktopFile::isAuthorizedDesktopFile(const TQString& path) { - if (!kapp || kapp->authorize("run_desktop_files")) + if (!tdeApp || tdeApp->authorize("run_desktop_files")) return true; if (path.isEmpty()) @@ -300,13 +300,13 @@ bool KDesktopFile::tryExec() const } } TQStringList list = readListEntry("X-TDE-AuthorizeAction"); - if (kapp && !list.isEmpty()) + if (tdeApp && !list.isEmpty()) { for(TQStringList::ConstIterator it = list.begin(); it != list.end(); ++it) { - if (!kapp->authorize((*it).stripWhiteSpace())) + if (!tdeApp->authorize((*it).stripWhiteSpace())) return false; } } @@ -320,7 +320,7 @@ bool KDesktopFile::tryExec() const user = ::getenv("ADMIN_ACCOUNT"); if (user.isEmpty()) user = "root"; - if (!kapp->authorize("user/"+user)) + if (!tdeApp->authorize("user/"+user)) return false; } else { @@ -333,7 +333,7 @@ bool KDesktopFile::tryExec() const user = ::getenv("ADMIN_ACCOUNT"); if (user.isEmpty()) user = "root"; - if (!kapp->authorize("user/"+user)) + if (!tdeApp->authorize("user/"+user)) return false; } } |