• 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
submit.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  Copyright (C) 2005 Richard Lärkäng <nouseforaname@home.se>e>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 */
22 
23 #ifndef KCDDB_SUBMIT_H
24 #define KCDDB_SUBMIT_H
25 
26 #include "cddb.h"
27 #include "cdinfo.h"
28 #include <QObject>
29 
30 namespace KIO
31 {
32  class Job;
33 }
34 
35 namespace KCDDB
36 {
37  class Submit : public CDDB, public QObject
38  {
39  public:
40 
41  enum Transport
42  {
43  HTTP,
44  SMTP
45  };
46 
47  Submit();
48  virtual ~Submit();
49 
50  Result submit( CDInfo cdInfo, const TrackOffsetList &offsetList);
51 
52  protected:
53  virtual KIO::Job* createJob(const CDInfo& cdInfo) = 0;
54  virtual Result runJob(KIO::Job* job) = 0;
55 
56  bool validCategory(const QString&);
57 
58  Result parseWrite( const QString & );
59  virtual void makeDiskData( const CDInfo&, const TrackOffsetList& );
60  QString diskData_;
61  };
62 }
63 
64 #endif // KCDDB_SUBMIT_H
65 // vim:tabstop=2:shiftwidth=2:expandtab:cinoptions=(s,U1,m1
KCDDB::Submit::SMTP
Definition: submit.h:44
KCDDB::Submit::parseWrite
Result parseWrite(const QString &)
Definition: submit.cpp:59
KCDDB::Submit::Transport
Transport
Definition: submit.h:41
cdinfo.h
KCDDB::Submit
Definition: submit.h:37
KCDDB::CDInfo
Information about a CD.
Definition: cdinfo.h:117
QObject
KCDDB::Submit::~Submit
virtual ~Submit()
Definition: submit.cpp:34
QString
QList< uint >
KCDDB::Submit::validCategory
bool validCategory(const QString &)
Definition: submit.cpp:88
KCDDB::Submit::createJob
virtual KIO::Job * createJob(const CDInfo &cdInfo)=0
KCDDB::Submit::Submit
Submit()
Definition: submit.cpp:28
KCDDB::Submit::HTTP
Definition: submit.h:43
cddb.h
KCDDB::Submit::diskData_
QString diskData_
Definition: submit.h:60
KCDDB::Result
Result
Definition: kcddb.h:37
KCDDB::CDDB
Definition: cddb.h:33
KCDDB::Submit::makeDiskData
virtual void makeDiskData(const CDInfo &, const TrackOffsetList &)
Definition: submit.cpp:69
KCDDB::Submit::submit
Result submit(CDInfo cdInfo, const TrackOffsetList &offsetList)
Definition: submit.cpp:39
KCDDB::Submit::runJob
virtual Result runJob(KIO::Job *job)=0
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