diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-08-13 10:52:23 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-08-13 10:52:23 +0000 |
| commit | 91bec81b83ce201a0c06cc70372207964d712d2c (patch) | |
| tree | 195afc739a2c5dd42f6991cee24f18225542a767 /src/qmmpui/playlisttrack.h | |
| parent | 6a4db89d7f35564a357aeeef95dd65126fe0fb8a (diff) | |
| download | qmmp-91bec81b83ce201a0c06cc70372207964d712d2c.tar.gz qmmp-91bec81b83ce201a0c06cc70372207964d712d2c.tar.bz2 qmmp-91bec81b83ce201a0c06cc70372207964d712d2c.zip | |
refactoring
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3586 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlisttrack.h')
| -rw-r--r-- | src/qmmpui/playlisttrack.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/src/qmmpui/playlisttrack.h b/src/qmmpui/playlisttrack.h index 218d6a978..d2cd5416c 100644 --- a/src/qmmpui/playlisttrack.h +++ b/src/qmmpui/playlisttrack.h @@ -26,10 +26,6 @@ #include "playlistitem.h" -//PlayListItem -//PlayListTrack -//PlayListGroup - /** @brief The PlayListTrack class provides an item for use with the PlayListModel class. * @author Ilya Kotov <forkotov02@hotmail.ru> */ @@ -69,16 +65,11 @@ public: /*! * Returns formatted title of the item. */ - const QString formattedTitle() const; + 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. - */ - void setText(const QString &title); + const QString formattedLength(); /*! * Returns song length in seconds. */ @@ -99,7 +90,7 @@ public: /*! * Gets new metadata from file (works for local files only). */ - void updateTags(); + void updateMetaData(); const QString groupName() const; @@ -114,10 +105,8 @@ public: */ void setFlag(FLAGS); - void readMetadata(); - private: - + void readMetadata(); QString m_formattedTitle; QString m_formattedLength; FileInfo *m_info; |
