26 lines
571 B
Text
26 lines
571 B
Text
// This file is part of Desktop App Toolkit,
|
|
// a set of libraries for developing nice desktop applications.
|
|
//
|
|
// For license and copyright information please follow this link:
|
|
// https://github.com/desktop-app/legal/blob/master/LEGAL
|
|
//
|
|
#pragma once
|
|
|
|
#include <QtCore/QMimeData>
|
|
|
|
namespace KUrlMimeData {
|
|
|
|
enum DecodeOptions {
|
|
PreferLocalUrls,
|
|
PreferKdeUrls,
|
|
};
|
|
|
|
inline bool exportUrlsToPortal(QMimeData *mimeData) {
|
|
return false;
|
|
}
|
|
|
|
inline auto urlsFromMimeData(const QMimeData *mimeData, ...) {
|
|
return mimeData->urls();
|
|
}
|
|
|
|
} // namespace KUrlMimeData
|