KCDDB

genres.h
1/*
2 SPDX-FileCopyrightText: 2005 Shaheed Haque <srhaque@iee.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#ifndef KCDDB_GENRES_H
8#define KCDDB_GENRES_H
9
10#include "kcddb_export.h"
11#include <QStringList>
12
13namespace KCDDB
14{
15 /**
16 * The Genre is completely arbitrary. But we follow kaudiocreator's cue
17 * and make life easy for people.
18 */
19 class KCDDB_EXPORT Genres
20 {
21 public:
22 Genres();
23 Genres(const Genres&);
24 ~Genres();
25
26 Genres& operator=(const Genres&);
27
28 const QStringList &cddbList() const;
29 const QStringList &i18nList() const;
30
31 /**
32 * Lookup the CDDB genre, and return the i18n'd version.
33 */
34 const QString cddb2i18n(const QString &genre) const;
35
36 /**
37 * Lookup the i18n genre, and return the CDDB version if we can.
38 */
39 const QString i18n2cddb(const QString &genre) const;
40 private:
41 class Private;
42 Private * const d;
43 };
44}
45
46#endif
The Genre is completely arbitrary.
Definition genres.h:20
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:56:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.