24 #ifndef DIGIKAM_DSERVICE_MENU_H
25 #define DIGIKAM_DSERVICE_MENU_H
31 #include <QStringList>
37 # pragma GCC diagnostic push
38 # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
41 #if defined(Q_CC_CLANG)
42 # pragma clang diagnostic push
43 # pragma clang diagnostic ignored "-Wmismatched-tags"
44 # pragma clang diagnostic ignored "-Wdeprecated-declarations"
51 # pragma GCC diagnostic pop
54 #if defined(Q_CC_CLANG)
55 # pragma clang diagnostic pop
76 static bool runFiles(KService*
const service,
const QList<QUrl>& urls);
81 static bool runFiles(
const QString& appCmd,
83 KService*
const service =
nullptr);
88 static KService::List servicesForOpenWith(
const QList<QUrl>& urls);
110 static bool MacOpenFilesWithApplication(
const QList<QUrl>& fileUrls,
const QUrl& appUrl);
123 static QString MacApplicationBundleName(
const QUrl& appUrl);
128 static QIcon MacApplicationBundleIcon(
const QUrl& appUrl,
int size = 32);
QStringView suffix
Definition: itemviewutilities.cpp:594
Definition: datefolderview.cpp:43