Mercurial > projects > qtd
diff cpp/qt_gui/UrlHandler_shell.h @ 149:7bc921c7100a
QDesktopServices.setUrlHandler - temporary solution
author | eldar |
---|---|
date | Sat, 13 Jun 2009 16:37:42 +0000 |
parents | |
children | 7664de4a55e5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cpp/qt_gui/UrlHandler_shell.h Sat Jun 13 16:37:42 2009 +0000 @@ -0,0 +1,13 @@ +#include <QUrl> +#include <QObjectEntity.h> + +class UrlHandler : public QObject, public Qtd_QObjectEntity +{ + Q_OBJECT + +public: + UrlHandler(void *d_ptr, QObject *parent = 0); + +public slots: + void handleUrl(const QUrl &url); +};