Home
last modified time | relevance | path

Searched refs:desktopFilePath (Results 1 – 25 of 28) sorted by relevance

12

/dports/games/retroarch/RetroArch-1.9.7/deps/discord-rpc/src/
H A Ddiscord_register_linux.c32 char desktopFilePath[1024]; in Discord_Register() local
66 snprintf(desktopFilePath, sizeof(desktopFilePath), "%s/.local", home); in Discord_Register()
67 if (!path_mkdir(desktopFilePath)) in Discord_Register()
69 strlcat(desktopFilePath, "/share", sizeof(desktopFilePath)); in Discord_Register()
70 if (!path_mkdir(desktopFilePath)) in Discord_Register()
72 strlcat(desktopFilePath, "/applications", sizeof(desktopFilePath)); in Discord_Register()
73 if (!path_mkdir(desktopFilePath)) in Discord_Register()
75 strlcat(desktopFilePath, desktopFilename, sizeof(desktopFilePath)); in Discord_Register()
77 fp = fopen(desktopFilePath, "w"); in Discord_Register()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/discord/src/
H A Ddiscord_register_linux.cpp59 char desktopFilePath[1024]; in Discord_Register() local
60 snprintf(desktopFilePath, sizeof(desktopFilePath), "%s/.local", home); in Discord_Register()
61 if (!Mkdir(desktopFilePath)) { in Discord_Register()
64 strcat(desktopFilePath, "/share"); in Discord_Register()
65 if (!Mkdir(desktopFilePath)) { in Discord_Register()
68 strcat(desktopFilePath, "/applications"); in Discord_Register()
69 if (!Mkdir(desktopFilePath)) { in Discord_Register()
72 strcat(desktopFilePath, desktopFilename); in Discord_Register()
74 FILE* fp = fopen(desktopFilePath, "w"); in Discord_Register()
/dports/games/supertux2/SuperTux-v0.6.3-Source/external/discord-sdk/src/
H A Ddiscord_register_linux.cpp61 char desktopFilePath[1024]; in Discord_Register() local
62 snprintf(desktopFilePath, sizeof(desktopFilePath), "%s/.local", home); in Discord_Register()
63 if (!Mkdir(desktopFilePath)) { in Discord_Register()
66 strcat(desktopFilePath, "/share"); in Discord_Register()
67 if (!Mkdir(desktopFilePath)) { in Discord_Register()
70 strcat(desktopFilePath, "/applications"); in Discord_Register()
71 if (!Mkdir(desktopFilePath)) { in Discord_Register()
74 strcat(desktopFilePath, desktopFilename); in Discord_Register()
76 FILE* fp = fopen(desktopFilePath, "w"); in Discord_Register()
/dports/emulators/mgba/mgba-0.9.2/src/third-party/discord-rpc/src/
H A Ddiscord_register_linux.cpp61 char desktopFilePath[1024]; in Discord_Register() local
62 snprintf(desktopFilePath, sizeof(desktopFilePath), "%s/.local", home); in Discord_Register()
63 if (!Mkdir(desktopFilePath)) { in Discord_Register()
66 strcat(desktopFilePath, "/share"); in Discord_Register()
67 if (!Mkdir(desktopFilePath)) { in Discord_Register()
70 strcat(desktopFilePath, "/applications"); in Discord_Register()
71 if (!Mkdir(desktopFilePath)) { in Discord_Register()
74 strcat(desktopFilePath, desktopFilename); in Discord_Register()
76 FILE* fp = fopen(desktopFilePath, "w"); in Discord_Register()
/dports/emulators/dolphin-emu/dolphin-3152428/Externals/discord-rpc/src/
H A Ddiscord_register_linux.cpp61 char desktopFilePath[1024]; in Discord_Register() local
62 snprintf(desktopFilePath, sizeof(desktopFilePath), "%s/.local", home); in Discord_Register()
63 if (!Mkdir(desktopFilePath)) { in Discord_Register()
66 strcat(desktopFilePath, "/share"); in Discord_Register()
67 if (!Mkdir(desktopFilePath)) { in Discord_Register()
70 strcat(desktopFilePath, "/applications"); in Discord_Register()
71 if (!Mkdir(desktopFilePath)) { in Discord_Register()
74 strcat(desktopFilePath, desktopFilename); in Discord_Register()
76 FILE* fp = fopen(desktopFilePath, "w"); in Discord_Register()
/dports/games/libretro-mgba/mgba-6186d45/src/third-party/discord-rpc/src/
H A Ddiscord_register_linux.cpp61 char desktopFilePath[1024]; in Discord_Register() local
62 snprintf(desktopFilePath, sizeof(desktopFilePath), "%s/.local", home); in Discord_Register()
63 if (!Mkdir(desktopFilePath)) { in Discord_Register()
66 strcat(desktopFilePath, "/share"); in Discord_Register()
67 if (!Mkdir(desktopFilePath)) { in Discord_Register()
70 strcat(desktopFilePath, "/applications"); in Discord_Register()
71 if (!Mkdir(desktopFilePath)) { in Discord_Register()
74 strcat(desktopFilePath, desktopFilename); in Discord_Register()
76 FILE* fp = fopen(desktopFilePath, "w"); in Discord_Register()
/dports/games/warzone2100/warzone2100/3rdparty/discord-rpc/src/
H A Ddiscord_register_linux.cpp61 char desktopFilePath[1024]; in Discord_Register() local
62 snprintf(desktopFilePath, sizeof(desktopFilePath), "%s/.local", home); in Discord_Register()
63 if (!Mkdir(desktopFilePath)) { in Discord_Register()
66 strcat(desktopFilePath, "/share"); in Discord_Register()
67 if (!Mkdir(desktopFilePath)) { in Discord_Register()
70 strcat(desktopFilePath, "/applications"); in Discord_Register()
71 if (!Mkdir(desktopFilePath)) { in Discord_Register()
74 strcat(desktopFilePath, desktopFilename); in Discord_Register()
76 FILE* fp = fopen(desktopFilePath, "w"); in Discord_Register()
/dports/devel/kf5-kio/kio-5.89.0/autotests/
H A Dapplicationlauncherjobtest.cpp224 const QString desktopFilePath = in shouldFailOnNonExistingExecutable() local
226 KDesktopFile file(desktopFilePath); in shouldFailOnNonExistingExecutable()
251 QFile::remove(desktopFilePath); in shouldFailOnNonExistingExecutable()
256 const QString desktopFilePath = in shouldFailOnInvalidService() local
258 KDesktopFile file(desktopFilePath); in shouldFailOnInvalidService()
274 QFile::remove(desktopFilePath); in shouldFailOnInvalidService()
279 const QString desktopFilePath = in shouldFailOnServiceWithNoExec() local
281 KDesktopFile file(desktopFilePath); in shouldFailOnServiceWithNoExec()
295 QFile::remove(desktopFilePath); in shouldFailOnServiceWithNoExec()
311 const QString desktopFilePath = in shouldFailOnExecutableWithoutPermissions() local
[all …]
H A Dopenurljobtest.cpp138 const QString desktopFilePath = srcDir + QLatin1String("/link.desktop"); in startProcess() local
139 KDesktopFile linkDesktopFile(desktopFilePath); in startProcess()
146 url = QUrl::fromLocalFile(desktopFilePath); in startProcess()
/dports/games/kpat/kpat-21.12.3/src/libkcardgame/
H A Dkcardtheme.cpp38 const QString & desktopFilePath, in KCardThemePrivate() argument
45 desktopFilePath( desktopFilePath ), in KCardThemePrivate()
55 const QString desktopFilePath; member in KCardThemePrivate
114 QString desktopFilePath; in KCardTheme() local
122 desktopFilePath = indexFilePath; in KCardTheme()
157 desktopFilePath, in KCardTheme()
200 QString KCardTheme::desktopFilePath() const in desktopFilePath() function in KCardTheme
202 return d ? d->desktopFilePath : QString(); in desktopFilePath()
H A Dkcardtheme.h48 QString desktopFilePath() const;
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.urischeme/src/org/eclipse/urischeme/internal/registration/
H A DRegistrationLinux.java88 String desktopFilePath) throws IOException { in changeDesktopFile() argument
90 List<String> lines = readFileOrGetInitialContent(desktopFilePath); in changeDesktopFile()
100 fileProvider.write(desktopFilePath, writer.getResult()); in changeDesktopFile()
103 private List<String> readFileOrGetInitialContent(String desktopFilePath) { in readFileOrGetInitialContent() argument
105 return fileProvider.readAllLines(desktopFilePath); in readFileOrGetInitialContent()
111 private void registerSchemesWithXdgMime(Collection<IScheme> schemes, String desktopFilePath) in registerSchemesWithXdgMime() argument
119 processExecutor.execute(XDG_MIME, DEFAULT, desktopFilePath, scheme); in registerSchemesWithXdgMime()
/dports/x11-toolkits/plasma5-kdeplasma-addons/kdeplasma-addons-5.23.5/applets/quicklaunch/plugin/
H A Dquicklaunch_p.cpp144 QString desktopFilePath = locateLocal(baseName) + QLatin1String(".desktop"); in determineNewDesktopFilePath() local
147 while (QFile::exists(desktopFilePath)) { in determineNewDesktopFilePath()
157 desktopFilePath = locateLocal(baseName + appendix + QLatin1String(".desktop")); in determineNewDesktopFilePath()
160 return desktopFilePath; in determineNewDesktopFilePath()
170 const QString desktopFilePath = determineNewDesktopFilePath(QStringLiteral("launcher")); in editLauncher() local
173 KConfig desktopFile(desktopFilePath); in editLauncher()
184 url = QUrl::fromLocalFile(desktopFilePath); in editLauncher()
/dports/devel/kf5-kfilemetadata/kfilemetadata-5.89.0/src/extractors/
H A Dappimageextractor.cpp175 DesktopFileParser(const char* appImageFilePath, const QString& desktopFilePath);
183 DesktopFileParser::DesktopFileParser(const char* appImageFilePath, const QString& desktopFilePath) in DesktopFileParser() argument
185 if (desktopFilePath.isEmpty()) { in DesktopFileParser()
192 qUtf8Printable(desktopFilePath), in DesktopFileParser()
244 QString desktopFilePath; in extract() local
252 if (!desktopFilePath.isEmpty()) { in extract()
258 desktopFilePath = filePath; in extract()
270 const DesktopFileParser desktopFileData(appImageFilePath.constData(), desktopFilePath); in extract()
/dports/deskutils/kdepim-runtime/kdepim-runtime-21.12.3/resources/dav/resource/
H A Dsetupwizard.cpp45 const QString desktopFilePath = wizard->property("providerDesktopFilePath").toString(); in settingsToUrl() local
46 if (desktopFilePath.isEmpty()) { in settingsToUrl()
50 KService::Ptr service = KService::serviceByStorageId(desktopFilePath); in settingsToUrl()
153 QString desktopFilePath = property("providerDesktopFilePath").toString(); in displayName() local
154 if (desktopFilePath.isEmpty()) { in displayName()
158 KService::Ptr service = KService::serviceByStorageId(desktopFilePath); in displayName()
170 const QString desktopFilePath = property("providerDesktopFilePath").toString(); in urls() local
171 if (desktopFilePath.isEmpty()) { in urls()
175 KService::Ptr service = KService::serviceByStorageId(desktopFilePath); in urls()
371 if (desktopFilePath.isNull()) { in validatePage()
[all …]
/dports/devel/kio-extras/kio-extras-21.12.3/recentdocuments/
H A Drecentdocuments.cpp68 …const QString desktopFilePath = QString("%1/%2.desktop").arg(KRecentDocument::recentDocumentDirect… in rewriteUrl() local
69 if (KDesktopFile::isDesktopFile(desktopFilePath)) { in rewriteUrl()
70 KDesktopFile file(desktopFilePath); in rewriteUrl()
/dports/x11/plasma5-plasma-workspace/plasma-workspace-5.23.5/libtaskmanager/
H A Dwaylandstartuptasksmodel.cpp117 …const QString desktopFilePath = QStandardPaths::locate(QStandardPaths::ApplicationsLocation, deskt… in addActivation() local
118 if (desktopFilePath.isEmpty()) { in addActivation()
124 const AppData appData = appDataFromUrl(QUrl::fromLocalFile(desktopFilePath)); in addActivation()
/dports/devel/kf5-kio/kio-5.89.0/src/core/
H A Dkrecentdocument.cpp147 for (const QString &desktopFilePath : list) { in clear() local
148 dir.remove(desktopFilePath); in clear()
/dports/polish/kadu/kadu-4.3/kadu-core/misc/
H A Dpaths-provider.h88 const QString & desktopFilePath() const { return DesktopFilePath; } in desktopFilePath() function
/dports/net-im/libaccounts-qt5/libaccounts-qt-525ec684cfa8d234f797d7e49e21c476eea04d8e/Accounts/
H A Dapplication.h55 QString desktopFilePath() const;
H A Dapplication.cpp160 QString Application::desktopFilePath() const in desktopFilePath() function in Application
/dports/sysutils/plasma5-discover/discover-5.23.5/libdiscover/backends/PackageKitBackend/
H A DPackageKitResource.cpp391 for (const QString &desktopFilePath : desktopFilePaths) { in runService() local
399 …start(QStringLiteral(CMAKE_INSTALL_FULL_LIBEXECDIR_KF5 "/discover/runservice"), {desktopFilePath}); in runService()
/dports/devel/kf5-kservice/kservice-5.89.0/autotests/
H A Dkplugininfotest.cpp111 QFETCH(QString, desktopFilePath); in testLoadDesktop()
146 QCOMPARE(info.entryPath(), desktopFilePath); in testLoadDesktop()
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/
H A Dabstract_client.cpp2707 QString desktopFilePath; in iconFromDesktopFile() local
2711 desktopFilePath = desktopFileNameWithPrefix; in iconFromDesktopFile()
2713 desktopFilePath = desktopFileName; in iconFromDesktopFile()
2717 if (desktopFilePath.isEmpty()) { in iconFromDesktopFile()
2718 desktopFilePath = QStandardPaths::locate(QStandardPaths::ApplicationsLocation, in iconFromDesktopFile()
2721 if (desktopFilePath.isEmpty()) { in iconFromDesktopFile()
2722 desktopFilePath = QStandardPaths::locate(QStandardPaths::ApplicationsLocation, in iconFromDesktopFile()
2725 if (desktopFilePath.isEmpty()) { in iconFromDesktopFile()
2729 KDesktopFile df(desktopFilePath); in iconFromDesktopFile()
/dports/polish/kadu/kadu-4.3/plugins/freedesktop_notify/
H A Dfreedesktop-notifier.cpp97 DesktopEntry = QFileInfo(m_pathsProvider->desktopFilePath()).baseName(); in init()

12