#ifndef PYTHONQTWRAPPER_QDESKTOPSERVICES_H #define PYTHONQTWRAPPER_QDESKTOPSERVICES_H #include #include #include #include #include class PythonQtWrapper_QDesktopServices : public QObject { Q_OBJECT public: Q_ENUMS(StandardLocation ) enum StandardLocation{ DesktopLocation = QDesktopServices::DesktopLocation, DocumentsLocation = QDesktopServices::DocumentsLocation, FontsLocation = QDesktopServices::FontsLocation, ApplicationsLocation = QDesktopServices::ApplicationsLocation, MusicLocation = QDesktopServices::MusicLocation, MoviesLocation = QDesktopServices::MoviesLocation, PicturesLocation = QDesktopServices::PicturesLocation, TempLocation = QDesktopServices::TempLocation, HomeLocation = QDesktopServices::HomeLocation, DataLocation = QDesktopServices::DataLocation}; public slots: QDesktopServices* new_QDesktopServices(); void delete_QDesktopServices(QDesktopServices* obj) { delete obj; } QString static_QDesktopServices_displayName(QDesktopServices::StandardLocation type); bool static_QDesktopServices_openUrl(const QUrl& url); void static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method); QString static_QDesktopServices_storageLocation(QDesktopServices::StandardLocation type); void static_QDesktopServices_unsetUrlHandler(const QString& scheme); }; #endif // PYTHONQTWRAPPER_QDESKTOPSERVICES_H