KCDDB

categories.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_CATEGORIES_H
8#define KCDDB_CATEGORIES_H
9
10#include "kcddb_export.h"
11#include <QString>
12#include <QStringList>
13
14namespace KCDDB
15{
16 /**
17 * Category values defined by CDDB.
18 */
19 class KCDDB_EXPORT Categories
20 {
21 public:
22 Categories();
23 Categories(const Categories&);
25
26 Categories& operator=(const Categories&);
27
28 const QStringList &cddbList() const;
29 const QStringList &i18nList() const;
30
31 /**
32 * Lookup the CDDB category, and return the i18n'd version.
33 */
34 const QString cddb2i18n(const QString &category) const;
35
36 /**
37 * Lookup the i18n category, and return the CDDB version.
38 */
39 const QString i18n2cddb(const QString &category) const;
40 private:
41 class Private;
42 Private * const d;
43 };
44}
45
46#endif
Category values defined by CDDB.
Definition categories.h:20
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:58 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.