mirror of
https://invent.kde.org/network/falkon.git
synced 2024-09-23 02:32:10 +02:00
29 lines
496 B
C
29 lines
496 B
C
|
#ifndef PROFILEUPDATER_H
|
||
|
#define PROFILEUPDATER_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QDir>
|
||
|
#include <iostream>
|
||
|
|
||
|
class ProfileUpdater : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit ProfileUpdater(const QString &profilePath, const QString &dataPath);
|
||
|
void checkProfile();
|
||
|
|
||
|
signals:
|
||
|
|
||
|
public slots:
|
||
|
|
||
|
private:
|
||
|
void updateProfile(const QString ¤t, const QString &profile);
|
||
|
void copyDataToProfile();
|
||
|
|
||
|
QString m_profilePath;
|
||
|
QString m_dataPath;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // PROFILEUPDATER_H
|