~ubuntu-branches/ubuntu/feisty/kid3/feisty

« back to all changes in this revision

Viewing changes to kid3/freedbdialog.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno
  • Date: 2004-09-26 00:22:06 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040926002206-ynj1sr1mjdqnd2x5
Tags: 0.5-1
New upstream version (closes: bug#273073).

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 */
34
34
class AlbumListItem : public QListBoxText {
35
35
public:
 
36
        /**
 
37
         * Constructor.
 
38
         * @param listbox listbox
 
39
         * @param text    title
 
40
         * @param cat     category
 
41
         * @param idStr   ID
 
42
         */
36
43
        AlbumListItem(QListBox *listbox, const QString &text,
37
44
                                  const QString &cat, const QString &idStr) : 
38
45
                QListBoxText(listbox, text), category(cat), id(idStr) {}
 
46
        /**
 
47
         * Get category.
 
48
         * @return category.
 
49
         */
39
50
        QString getCategory() { return category; }
 
51
        /**
 
52
         * Get ID.
 
53
         * @return ID.
 
54
         */
40
55
        QString getId() { return id; }
41
56
private:
42
57
        QString category;