mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
* Style fixes to Result.
This commit is contained in:
parent
58f7620dc0
commit
be9ac6b44b
@ -145,18 +145,21 @@ Result::collection() const
|
||||
return m_collection;
|
||||
}
|
||||
|
||||
|
||||
QString
|
||||
Result::url() const
|
||||
{
|
||||
return m_url;
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
Result::checked() const
|
||||
{
|
||||
return m_checked;
|
||||
}
|
||||
|
||||
|
||||
QString
|
||||
Result::mimetype() const
|
||||
{
|
||||
@ -304,60 +307,70 @@ Result::setCollection( const Tomahawk::collection_ptr& collection , bool emitOnl
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Result::setFriendlySource(const QString &s)
|
||||
Result::setFriendlySource(const QString& s)
|
||||
{
|
||||
m_friendlySource = s;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Result::setPurchaseUrl(const QString &u)
|
||||
Result::setPurchaseUrl(const QString& u)
|
||||
{
|
||||
m_purchaseUrl = u;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Result::setLinkUrl(const QString &u)
|
||||
Result::setLinkUrl(const QString& u)
|
||||
{
|
||||
m_linkUrl = u;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Result::setChecked( bool checked )
|
||||
{
|
||||
m_checked = checked;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Result::setMimetype( const QString &mimetype )
|
||||
Result::setMimetype( const QString& mimetype )
|
||||
{
|
||||
m_mimetype = mimetype;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Result::setBitrate( unsigned int bitrate )
|
||||
{
|
||||
m_bitrate = bitrate;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Result::setSize( unsigned int size )
|
||||
{
|
||||
m_size = size;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Result::setModificationTime( unsigned int modtime )
|
||||
{
|
||||
m_modtime = modtime;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Result::setTrack(const track_ptr &track)
|
||||
Result::setTrack( const track_ptr& track )
|
||||
{
|
||||
m_track = track;
|
||||
}
|
||||
|
||||
|
||||
unsigned int
|
||||
Result::fileId() const
|
||||
{
|
||||
@ -376,12 +389,14 @@ Result::friendlySource() const
|
||||
return collection()->source()->friendlyName();
|
||||
}
|
||||
|
||||
|
||||
QString
|
||||
Result::purchaseUrl() const
|
||||
{
|
||||
return m_purchaseUrl;
|
||||
}
|
||||
|
||||
|
||||
QString
|
||||
Result::linkUrl() const
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user