blob: 52e9b37ab0b02d4fbe9d90d4eb41d78d1642ab28 (
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
|
#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);
void loadTitles();
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
|