1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-18 20:04:00 +02:00

Expose GlobalActionManager::openLink to QML

This commit is contained in:
Dominik Schmidt
2011-09-03 16:54:52 +02:00
parent 9fdb0c9393
commit c2cd281445

View File

@@ -39,7 +39,7 @@ public:
virtual ~GlobalActionManager(); virtual ~GlobalActionManager();
QUrl openLinkFromQuery( const Tomahawk::query_ptr& query ) const; QUrl openLinkFromQuery( const Tomahawk::query_ptr& query ) const;
QUrl openLink( const QString& title, const QString& artist, const QString& album ) const; Q_INVOKABLE QUrl openLink( const QString& title, const QString& artist, const QString& album ) const;
/// Takes a spotify link and performs the default open action on it /// Takes a spotify link and performs the default open action on it
bool openSpotifyLink( const QString& link ); bool openSpotifyLink( const QString& link );