mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 01:09:42 +01:00
hook up
This commit is contained in:
parent
bb5e5c33ca
commit
81575c68e8
@ -66,6 +66,8 @@ public slots:
|
||||
TomahawkSettingsGui::instanceGui()->setAtticaResolverStates( m_manager.data()->m_resolverStates );
|
||||
emit m_manager.data()->resolverInstalled( m_resolverId );
|
||||
emit m_manager.data()->resolverStateChanged( m_resolverId );
|
||||
|
||||
deleteLater();
|
||||
}
|
||||
void extractFailed()
|
||||
{
|
||||
@ -73,6 +75,8 @@ public slots:
|
||||
return;
|
||||
|
||||
m_manager.data()->resolverInstallationFailed( m_resolverId );
|
||||
|
||||
deleteLater();
|
||||
}
|
||||
|
||||
private:
|
||||
@ -574,7 +578,7 @@ AtticaManager::payloadFetched()
|
||||
return;
|
||||
}
|
||||
|
||||
TomahawkUtils::extractBinaryResolver( f.fileName(), resolverId, 0 );
|
||||
TomahawkUtils::extractBinaryResolver( f.fileName(), new BinaryInstallerHelper( resolverId, this ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -845,7 +845,7 @@ unzipFileInFolder( const QString &zipFileName, const QDir &folder )
|
||||
|
||||
|
||||
void
|
||||
extractBinaryResolver( const QString& zipFilename, const QString& resolverId, QObject* )
|
||||
extractBinaryResolver( const QString& zipFilename, QObject* )
|
||||
{
|
||||
#if !defined(Q_OS_MAC) && !defined (Q_OS_WIN)
|
||||
Q_ASSERT( false );
|
||||
|
@ -115,7 +115,7 @@ namespace TomahawkUtils
|
||||
QStringList m_noProxyHosts;
|
||||
QNetworkProxy m_proxy;
|
||||
};
|
||||
|
||||
|
||||
|
||||
DLLEXPORT QString appFriendlyVersion();
|
||||
|
||||
@ -138,7 +138,7 @@ namespace TomahawkUtils
|
||||
|
||||
DLLEXPORT QString md5( const QByteArray& data );
|
||||
DLLEXPORT bool removeDirectory( const QString& dir );
|
||||
|
||||
|
||||
DLLEXPORT bool verifyFile( const QString& filePath, const QString& signature );
|
||||
DLLEXPORT QString extractScriptPayload( const QString& filename, const QString& resolverId );
|
||||
DLLEXPORT bool unzipFileInFolder( const QString& zipFileName, const QDir& folder );
|
||||
@ -146,7 +146,7 @@ namespace TomahawkUtils
|
||||
|
||||
// Extracting may be asynchronous, pass in a receiver object with the following slots:
|
||||
// extractSucceeded( const QString& path ) and extractFailed() to be notified/
|
||||
DLLEXPORT void extractBinaryResolver( const QString& zipFilename, const QString& resolverId, QObject* receiver );
|
||||
DLLEXPORT void extractBinaryResolver( const QString& zipFilename, QObject* receiver );
|
||||
|
||||
// Used by the above, not exported
|
||||
void copyWithAuthentication( const QString& srcFile, const QDir dest, QObject* receiver );
|
||||
|
Loading…
x
Reference in New Issue
Block a user