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  MusicSearchEngine(QObject *parent = nullptr);
26 
27  //void setDelta(const QStringList &delta);
28 
29  void setWatchForChanges(bool b);
30 
31 public slots:
32  void doSearch();
33 
34  void watchForChanges();
35 
36 signals:
37  void aboutToSearch();
38 
39  void progressChanged(int);
40 
41  void searchHasEnded();
42 };
43 
44 #endif // MUSICSEARCHENGINE_H
static bool isScanning
Definition: musicsearchengine.h:23
The MusicSearchEngine class.
Definition: musicsearchengine.h:15
#define MIAMCORE_LIBRARY
Definition: miamcore_global.h:10