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