| User.h | | User.h | |
| | | | |
| skipping to change at line 32 | | skipping to change at line 32 | |
| | | | |
| #include <QStringList> | | #include <QStringList> | |
| | | | |
| #include "AbstractType.h" | | #include "AbstractType.h" | |
| #include "ws.h" | | #include "ws.h" | |
| | | | |
| namespace lastfm | | namespace lastfm | |
| { | | { | |
| class UserList; | | class UserList; | |
| class XmlQuery; | | class XmlQuery; | |
|
| | | class Artist; | |
| | | | |
| class LASTFM_DLLEXPORT Gender | | class LASTFM_DLLEXPORT Gender | |
| { | | { | |
| | | | |
| public: | | public: | |
| Gender(); | | Gender(); | |
| Gender( const Gender& gender ); | | Gender( const Gender& gender ); | |
| Gender( const QString& ss ); | | Gender( const QString& ss ); | |
| ~Gender(); | | ~Gender(); | |
| | | | |
| | | | |
| skipping to change at line 106 | | skipping to change at line 107 | |
| | | | |
| Gender gender() const; | | Gender gender() const; | |
| QString country() const; | | QString country() const; | |
| | | | |
| QString realName() const; | | QString realName() const; | |
| void setRealName( const QString& realName ); | | void setRealName( const QString& realName ); | |
| | | | |
| QUrl imageUrl( ImageSize size = LargeImage, bool square = false ) c
onst; | | QUrl imageUrl( ImageSize size = LargeImage, bool square = false ) c
onst; | |
| void setImages( const QList<QUrl>& images ); | | void setImages( const QList<QUrl>& images ); | |
| | | | |
|
| | | unsigned short age() const; | |
| void setAge( unsigned short age ); | | void setAge( unsigned short age ); | |
| | | | |
| void setGender( const QString& s ); | | void setGender( const QString& s ); | |
| void setCountry( const QString& country ); | | void setCountry( const QString& country ); | |
| | | | |
| /** use Tag::list() on the response to get a WeightedStringList */ | | /** use Tag::list() on the response to get a WeightedStringList */ | |
| QNetworkReply* getTopTags() const; | | QNetworkReply* getTopTags() const; | |
| | | | |
| /** use User::list() on the response to get a UserList */ | | /** use User::list() on the response to get a UserList */ | |
| QNetworkReply* getFriends( bool recentTracks = false, int limit =
50, int page = 1 ) const; | | QNetworkReply* getFriends( bool recentTracks = false, int limit =
50, int page = 1 ) const; | |
| QNetworkReply* getFriendsListeningNow( int limit = 50, int page = 1
) const; | | QNetworkReply* getFriendsListeningNow( int limit = 50, int page = 1
) const; | |
|
| | | QNetworkReply* getFriendsThatListenTo( const lastfm::Artist& artist
, int limit = 50, int page = 1 ) const; | |
| QNetworkReply* getNeighbours( int limit = 50, int page = 1 ) const; | | QNetworkReply* getNeighbours( int limit = 50, int page = 1 ) const; | |
| | | | |
| QNetworkReply* getLovedTracks( int limit = 50, int page = 1 ) const
; | | QNetworkReply* getLovedTracks( int limit = 50, int page = 1 ) const
; | |
| QNetworkReply* getPlaylists() const; | | QNetworkReply* getPlaylists() const; | |
| QNetworkReply* getTopArtists( QString period = "overall", int limit
= 50, int page = 1 ) const; | | QNetworkReply* getTopArtists( QString period = "overall", int limit
= 50, int page = 1 ) const; | |
| QNetworkReply* getRecentTracks( int limit = 50, int page = 1 ) cons
t; | | QNetworkReply* getRecentTracks( int limit = 50, int page = 1 ) cons
t; | |
| QNetworkReply* getRecentArtists() const; | | QNetworkReply* getRecentArtists() const; | |
| QNetworkReply* getRecentStations( int limit = 10, int page = 1 )
const; | | QNetworkReply* getRecentStations( int limit = 10, int page = 1 )
const; | |
| QNetworkReply* getRecommendedArtists( int limit = 50, int page = 1
) const; | | QNetworkReply* getRecommendedArtists( int limit = 50, int page = 1
) const; | |
| | | | |
| | | | |
End of changes. 3 change blocks. |
| 0 lines changed or deleted | | 3 lines changed or added | |
|