diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-07-03 17:41:39 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-07-03 17:41:39 +0000 |
| commit | 640d330c2491dd038cd2092313be8f6e0b252ede (patch) | |
| tree | c8b1880e281aefb2c877d30ef10d7969f15fb66b /src/qmmpui/playlistitem.h | |
| parent | 9548b51896fd67e633605a10e52ef605741b98e7 (diff) | |
| download | qmmp-640d330c2491dd038cd2092313be8f6e0b252ede.tar.gz qmmp-640d330c2491dd038cd2092313be8f6e0b252ede.tar.bz2 qmmp-640d330c2491dd038cd2092313be8f6e0b252ede.zip | |
changed playlist model api
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3536 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistitem.h')
| -rw-r--r-- | src/qmmpui/playlistitem.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/qmmpui/playlistitem.h b/src/qmmpui/playlistitem.h index 82e022e39..6cb8dbb84 100644 --- a/src/qmmpui/playlistitem.h +++ b/src/qmmpui/playlistitem.h @@ -86,9 +86,13 @@ public: */ void setFlag(FLAGS); /*! - * Returns item short title. + * Returns formatted title of the item. */ - const QString text(); + const QString formattedTitle(); + /*! + * Returns formatted length of the item. + */ + const QString formattedLength() const; /*! * Direct access to the item short title. * @param title New short title. @@ -118,7 +122,8 @@ public: private: void readMetadata(); - QString m_title; + QString m_formattedTitle; + QString m_formattedLength; FileInfo *m_info; bool m_selected; bool m_current; |
