Miam-Player  0.8.0
A nice music player
musicsearchengine.h
Go to the documentation of this file.
1 #ifndef MUSICSEARCHENGINE_H
2 #define MUSICSEARCHENGINE_H
3 
4 #include <QDir>
5 #include <QFileInfo>
6 #include <QTimer>
7 
8 #include "miamcore_global.h"
9 
15 class MIAMCORE_LIBRARY MusicSearchEngine : public QObject
16 {
17  Q_OBJECT
18 private:
19  QTimer *_timer;
20  //QStringList _delta;
21 
22 public:
23  static bool isScanning;
24 
25  explicit MusicSearchEngine(QObject *parent = nullptr);
26 
27  virtual ~MusicSearchEngine();
28 
29  //void setDelta(const QStringList &delta);
30 
31  void setWatchForChanges(bool b);
32 
33 public slots:
34  void doSearch();
35 
36  void watchForChanges();
37 
38 signals:
39  void aboutToSearch();
40 
41  void progressChanged(int);
42 
43  void searchHasEnded();
44 };
45 
46 #endif // MUSICSEARCHENGINE_H
static bool isScanning
Definition: musicsearchengine.h:23
The MusicSearchEngine class.
Definition: musicsearchengine.h:15
#define MIAMCORE_LIBRARY
Definition: miamcore_global.h:11