aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlisttrack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/playlisttrack.h')
-rw-r--r--src/qmmpui/playlisttrack.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/qmmpui/playlisttrack.h b/src/qmmpui/playlisttrack.h
index 7d4a14ce8..e21b8f286 100644
--- a/src/qmmpui/playlisttrack.h
+++ b/src/qmmpui/playlisttrack.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2013 by Ilya Kotov *
+ * Copyright (C) 2013-2014 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -27,7 +27,7 @@
class QmmpUiSettings;
-/** @brief The PlayListTrack class provides an item for use with the PlayListModel class.
+/** @brief The PlayListTrack class provides a track for use with the PlayListModel class.
* @author Ilya Kotov <forkotov02@hotmail.ru>
*/
class PlayListTrack : public QMap <Qmmp::MetaData, QString>, public PlayListItem
@@ -62,7 +62,7 @@ public:
/*!
* Object destructor.
*/
- ~PlayListTrack();
+ virtual ~PlayListTrack();
/*!
* Returns formatted title of the item.
*/
@@ -92,11 +92,14 @@ public:
* Gets new metadata from file (works for local files only).
*/
void updateMetaData();
-
+ /*!
+ * Returns name of the parent group.
+ */
const QString groupName();
-
+ /*!
+ * Returns \b false.
+ */
bool isGroup() const;
-
/*!
* Returns current state of the playlist item.
*/