diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-08-01 09:48:37 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-08-01 09:48:37 +0000 |
| commit | 68a50fe314213ae561bcdef1bbf637ba6e25fa31 (patch) | |
| tree | 0f769d7d77a0d8c39264962b78111b40c11cecb9 /src/qmmpui/playlistitem.h | |
| parent | d8c03a124acb26d34e501f1a50a0ce7eeba493a8 (diff) | |
| download | qmmp-68a50fe314213ae561bcdef1bbf637ba6e25fa31.tar.gz qmmp-68a50fe314213ae561bcdef1bbf637ba6e25fa31.tar.bz2 qmmp-68a50fe314213ae561bcdef1bbf637ba6e25fa31.zip | |
updated api documentation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5297 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistitem.h')
| -rw-r--r-- | src/qmmpui/playlistitem.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/qmmpui/playlistitem.h b/src/qmmpui/playlistitem.h index b5af7384d..b538b40e8 100644 --- a/src/qmmpui/playlistitem.h +++ b/src/qmmpui/playlistitem.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2013 by Ilya Kotov * + * Copyright (C) 2008-2015 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -53,7 +53,10 @@ public: * @param column Number of column. */ virtual const QString formattedTitle(int column) = 0; - + /*! + * Returns the list of the formatted titles for all columns. + * Group separators contain only one title. + */ virtual const QStringList formattedTitles() = 0; /*! * Returns formatted length of the item. @@ -63,9 +66,15 @@ public: * Returns \b true if the \b PlayListItem is group separator. Otherwise returns \b false. */ virtual bool isGroup() const = 0; - + /*! + * Sets the index of the track. + * Default implementation does nothing. + */ virtual void setTrackIndex(int number); - + /*! + * Returns the index of the track. + * Default implementation returns -1. + */ virtual int trackIndex() const; private: |
