blob: 599c0d43535d23fcce79bf2a8f221c5170df32b1 (
plain) (
blame)
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
|
#ifndef TITLELOADER_H
#define TITLELOADER_H
#include <QObject>
#include <QMap>
#include <QProcess>
class TitleLoader : public QObject
{
Q_OBJECT
public:
TitleLoader(const QString &location, QObject *parent = 0);
TitleLoader(QObject *parent = 0);
void loadTitles();
void setLocation(const QString &location);
private:
QString m_location;
QProcess *m_process;
private slots:
void finished(int exitCode ,QProcess::ExitStatus exitStatus);
public slots:
void terminate();
signals:
void loadedTitles(QMap<int, QString> titles);
};
#endif // TITLELOADER_H
|