PythonQtWrapper_QDesktopServices.cpp
35 lines
| 1.0 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QDesktopServices.h" | ||
#include <QVariant> | ||||
#include <qobject.h> | ||||
#include <qurl.h> | ||||
QDesktopServices* PythonQtWrapper_QDesktopServices::new_QDesktopServices() | ||||
{ | ||||
return new QDesktopServices(); } | ||||
QString PythonQtWrapper_QDesktopServices::static_QDesktopServices_displayName(QDesktopServices::StandardLocation type) | ||||
{ | ||||
return QDesktopServices::displayName(type); | ||||
} | ||||
bool PythonQtWrapper_QDesktopServices::static_QDesktopServices_openUrl(const QUrl& url) | ||||
{ | ||||
return QDesktopServices::openUrl(url); | ||||
} | ||||
void PythonQtWrapper_QDesktopServices::static_QDesktopServices_setUrlHandler(const QString& scheme, QObject* receiver, const char* method) | ||||
{ | ||||
QDesktopServices::setUrlHandler(scheme, receiver, method); | ||||
} | ||||
QString PythonQtWrapper_QDesktopServices::static_QDesktopServices_storageLocation(QDesktopServices::StandardLocation type) | ||||
{ | ||||
return QDesktopServices::storageLocation(type); | ||||
} | ||||
void PythonQtWrapper_QDesktopServices::static_QDesktopServices_unsetUrlHandler(const QString& scheme) | ||||
{ | ||||
QDesktopServices::unsetUrlHandler(scheme); | ||||
} | ||||