Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src_gui_util_qdesktopservices.cpp

//! [0]
00002 class MyHelpHandler : public QObject
{
    Q_OBJECT
public:
    ...
public slots:
    void showHelp(const QUrl &url);
};

QDesktopServices::setUrlHandler("help", helpInstance, "showHelp");
//! [0]


//! [1]
mailto:user@foo.com?subject=Test&body=Just a test
//! [1]

Generated by  Doxygen 1.6.0   Back to index