• 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
asynchttplookup.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 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef KCDDB_ASYNC_HTTP_LOOKUP_H
22 #define KCDDB_ASYNC_HTTP_LOOKUP_H
23 
24 #include "httplookup.h"
25 
26 class KJob;
27 
28 namespace KCDDB
29 {
30  class AsyncHTTPLookup : public HTTPLookup
31  {
32 
33  Q_OBJECT
34 
35  public:
36 
37  AsyncHTTPLookup();
38  virtual ~AsyncHTTPLookup();
39 
40  Result lookup( const QString &, uint, const TrackOffsetList & );
41 
42  CDInfoList lookupResponse() const;
43 
44  signals:
45 
46  void finished( KCDDB::Result );
47 
48  protected slots:
49  void slotQueryReady();
50  void requestCDInfoForMatch();
51 
52  void slotData( KIO::Job *, const QByteArray & );
53  void slotResult( KJob * );
54 
55  protected:
56  virtual Result fetchURL();
57 
58  Result runQuery();
59  };
60 }
61 
62 #endif // KCDDB_ASYNC_HTTP_LOOKUP_H
63 
64 // vim:tabstop=2:shiftwidth=2:expandtab:cinoptions=(s,U1,m1
KCDDB::AsyncHTTPLookup::lookupResponse
CDInfoList lookupResponse() const
KCDDB::AsyncHTTPLookup::fetchURL
virtual Result fetchURL()
Definition: asynchttplookup.cpp:131
httplookup.h
QByteArray
KCDDB::AsyncHTTPLookup::requestCDInfoForMatch
void requestCDInfoForMatch()
Definition: asynchttplookup.cpp:89
KCDDB::HTTPLookup
Definition: httplookup.h:36
KCDDB::AsyncHTTPLookup::lookup
Result lookup(const QString &, uint, const TrackOffsetList &)
Definition: asynchttplookup.cpp:44
KCDDB::AsyncHTTPLookup::~AsyncHTTPLookup
virtual ~AsyncHTTPLookup()
Definition: asynchttplookup.cpp:37
KCDDB::AsyncHTTPLookup::slotQueryReady
void slotQueryReady()
Definition: asynchttplookup.cpp:75
KCDDB::AsyncHTTPLookup::AsyncHTTPLookup
AsyncHTTPLookup()
Definition: asynchttplookup.cpp:31
QString
QList< uint >
KCDDB::AsyncHTTPLookup::runQuery
Result runQuery()
Definition: asynchttplookup.cpp:64
KCDDB::AsyncHTTPLookup::slotData
void slotData(KIO::Job *, const QByteArray &)
Definition: asynchttplookup.cpp:110
KCDDB::Result
Result
Definition: kcddb.h:37
KCDDB::AsyncHTTPLookup
Definition: asynchttplookup.h:30
KCDDB::AsyncHTTPLookup::finished
void finished(KCDDB::Result)
KCDDB::AsyncHTTPLookup::slotResult
void slotResult(KJob *)
Definition: asynchttplookup.cpp:117
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