• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdemultimedia API Reference
  • KDE Home
  • Contact Us
 

libkcddb

  • sources
  • kde-4.14
  • kdemultimedia
  • libkcddb
  • libkcddb
categories.h
Go to the documentation of this file.
1 // Copyright (C) 2005 by Shaheed Haque (srhaque@iee.org). All rights reserved.
2 //
3 // This program is free software; you can redistribute it and/or modify
4 // it under the terms of the GNU General Public License as published by
5 // the Free Software Foundation; either version 2 of the License, or
6 // (at your option) any later version.
7 //
8 #ifndef KCDDB_CATEGORIES_H
9 #define KCDDB_CATEGORIES_H
10 
11 #include <QString>
12 #include <qstringlist.h>
13 
14 namespace KCDDB
15 {
19  class Categories
20  {
21  public:
22  Categories();
23 
24  const QStringList &cddbList() const { return m_cddb; }
25  const QStringList &i18nList() const { return m_i18n; }
26 
30  const QString cddb2i18n(const QString &category) const;
31 
35  const QString i18n2cddb(const QString &category) const;
36  private:
37  QStringList m_cddb;
38  QStringList m_i18n;
39  };
40 }
41 
42 #endif
KCDDB::Categories
Category values defined by CDDB.
Definition: categories.h:19
KCDDB::Categories::cddb2i18n
const QString cddb2i18n(const QString &category) const
Lookup the CDDB category, and return the i18n'd version.
Definition: categories.cpp:27
KCDDB::Categories::i18n2cddb
const QString i18n2cddb(const QString &category) const
Lookup the i18n category, and return the CDDB version.
Definition: categories.cpp:40
KCDDB::Categories::Categories
Categories()
Definition: categories.cpp:13
KCDDB::Categories::cddbList
const QStringList & cddbList() const
Definition: categories.h:24
QString
QStringList
KCDDB::Categories::i18nList
const QStringList & i18nList() const
Definition: categories.h:25
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkcddb

Skip menu "libkcddb"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdemultimedia API Reference

Skip menu "kdemultimedia API Reference"
  • libkcddb
  • libkcompactdisc

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal