-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrmalbumart.h
47 lines (40 loc) · 942 Bytes
/
frmalbumart.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef FRMALBUMART_H
#define FRMALBUMART_H
#include <QDialog>
#include <QTimer>
#include "googleimagesearch.h"
#include "yahooimagesearch.h"
#include "lib/skglib.h"
namespace Ui {
class frmAlbumArt;
}
class frmAlbumArt : public QDialog {
Q_OBJECT
public:
frmAlbumArt(QWidget *parent = 0);
~frmAlbumArt();
void Search(SKG_Album *album);
protected:
void changeEvent(QEvent *e);
private:
Ui::frmAlbumArt *ui;
QList <QPixmap> PicList;
int PicIndex;
GoogleImageSearch *Google;
YahooImageSearch *Yahoo;
QTimer *timer;
SKG_Album *Album;
bool boolGoogleFinished;
bool boolYahooFinished;
void Finished();
void DisplayPicture();
int PercentComplete();
private slots:
void GoogleFinished(){boolGoogleFinished = true;}
void YahooFinished(){boolYahooFinished = true;}
void Tick();
void Previous();
void Next();
void Save();
};
#endif // FRMALBUMART_H