KCDDB

asyncmusicbrainzlookup.h
1 /*
2  SPDX-FileCopyrightText: 2006 Richard Lärkäng <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef ASYNCMUSICBRAINZLOOKUP_H
8 #define ASYNCMUSICBRAINZLOOKUP_H
9 
10 #include "lookup.h"
11 
12 namespace KCDDB
13 {
14  class LookupThread;
15 
16  class AsyncMusicBrainzLookup : public Lookup
17  {
18 
19  Q_OBJECT
20 
21  public:
22  AsyncMusicBrainzLookup();
23  virtual ~AsyncMusicBrainzLookup();
24 
25  Result lookup( const QString &, uint, const TrackOffsetList & ) override;
26 
27  CDInfoList lookupResponse() const;
28 
29  Q_SIGNALS:
30  void finished( KCDDB::Result );
31 
32  protected Q_SLOTS:
33  void processLookupResult( KCDDB::Result result, KCDDB::CDInfoList lookupResponse );
34  };
35 }
36 
37 #endif // ASYNCMUSICBRAINZLOOKUP_H
38 
39 // vim:tabstop=2:shiftwidth=2:expandtab:cinoptions=(s,U1,m1
Q_SIGNALSQ_SIGNALS
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Nov 26 2021 23:22:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.