Changeset View
Changeset View
Standalone View
Standalone View
src/filechooser.cpp
Show All 20 Lines | |||||
21 | #include "filechooser.h" | 21 | #include "filechooser.h" | ||
22 | 22 | | |||
23 | #include <QtDBus/QtDBus> | 23 | #include <QtDBus/QtDBus> | ||
24 | #include <QDBusArgument> | 24 | #include <QDBusArgument> | ||
25 | #include <QLoggingCategory> | 25 | #include <QLoggingCategory> | ||
26 | #include <QFileDialog> | 26 | #include <QFileDialog> | ||
27 | #include <KLocalizedString> | 27 | #include <KLocalizedString> | ||
28 | 28 | | |||
29 | Q_LOGGING_CATEGORY(XdgDesktopPortalKdeFileChooser, "xdg-desktop-portal-kde-file-chooser") | 29 | Q_LOGGING_CATEGORY(XdgDesktopPortalKdeFileChooser, "xdp-kde-file-chooser") | ||
30 | 30 | | |||
31 | // Keep in sync with qflatpakfiledialog from flatpak-platform-plugin | 31 | // Keep in sync with qflatpakfiledialog from flatpak-platform-plugin | ||
32 | Q_DECLARE_METATYPE(FileChooserPortal::Filter); | 32 | Q_DECLARE_METATYPE(FileChooserPortal::Filter); | ||
33 | Q_DECLARE_METATYPE(FileChooserPortal::Filters); | 33 | Q_DECLARE_METATYPE(FileChooserPortal::Filters); | ||
34 | Q_DECLARE_METATYPE(FileChooserPortal::FilterList); | 34 | Q_DECLARE_METATYPE(FileChooserPortal::FilterList); | ||
35 | Q_DECLARE_METATYPE(FileChooserPortal::FilterListList); | 35 | Q_DECLARE_METATYPE(FileChooserPortal::FilterListList); | ||
36 | 36 | | |||
37 | QDBusArgument &operator << (QDBusArgument &arg, const FileChooserPortal::Filter &filter) | 37 | QDBusArgument &operator << (QDBusArgument &arg, const FileChooserPortal::Filter &filter) | ||
▲ Show 20 Lines • Show All 254 Lines • Show Last 20 Lines |