• 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
cddb.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002 Rik Hemsley (rikkus) <rik@kde.org>
3  Copyright (C) 2002 Benjamin Meyer <ben-devel@meyerhome.net>
4  CopyRight (C) 2002 Nadeem Hasan <nhasan@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 
22 #ifndef KCDDB_CDDB_H
23 #define KCDDB_CDDB_H
24 
25 #include <QtCore/QString>
26 #include <QtCore/QList>
27 #include <libkcddb/kcddb.h>
28 #include <libkcddb/cdinfo.h>
29 #include <libkcddb/kcddbconfig.h>
30 
31 namespace KCDDB
32 {
33  class CDDB
34  {
35  public:
36  CDDB();
37  virtual ~CDDB();
38 
39  static QString trackOffsetListToId( const TrackOffsetList & );
40 
41  static QString clientName() { return QLatin1String("libkcddb"); }
42  static QString clientVersion() { return QLatin1String("0.5"); }
43 
44  static uint statusCode( const QString & );
45 
46  static CDInfoList cacheFiles(const TrackOffsetList &, const Config& );
47 
48  protected:
49  QString trackOffsetListToId();
50  QString trackOffsetListToString();
51 
52  QString user_;
53  QString localHostName_;
54 
55  bool readOnly_;
56 
57  TrackOffsetList trackOffsetList_;
58  };
59 }
60 
61 #endif // KCDDB_CDDB_H
62 
63 // vim:tabstop=2:shiftwidth=2:expandtab:cinoptions=(s,U1,m1
KCDDB::CDDB::clientName
static QString clientName()
Definition: cddb.h:41
KCDDB::CDDB::cacheFiles
static CDInfoList cacheFiles(const TrackOffsetList &, const Config &)
Definition: cddb.cpp:114
KCDDB::CDDB::trackOffsetList_
TrackOffsetList trackOffsetList_
Definition: cddb.h:57
KCDDB::CDDB::statusCode
static uint statusCode(const QString &)
Definition: cddb.cpp:104
KCDDB::CDDB::trackOffsetListToId
QString trackOffsetListToId()
Definition: cddb.cpp:48
cdinfo.h
KCDDB::CDDB::clientVersion
static QString clientVersion()
Definition: cddb.h:42
kcddb.h
KCDDB::CDDB::CDDB
CDDB()
Definition: cddb.cpp:34
KCDDB::CDDB::user_
QString user_
Definition: cddb.h:52
QString
QList< uint >
KCDDB::CDDB::localHostName_
QString localHostName_
Definition: cddb.h:53
QLatin1String
KCDDB::CDDB
Definition: cddb.h:33
KCDDB::CDDB::trackOffsetListToString
QString trackOffsetListToString()
Definition: cddb.cpp:81
KCDDB::Config
Definition: kcddbconfig.h:31
KCDDB::CDDB::readOnly_
bool readOnly_
Definition: cddb.h:55
kcddbconfig.h
KCDDB::CDDB::~CDDB
virtual ~CDDB()
Definition: cddb.cpp:42
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