added openFile function
This commit is contained in:
parent
c4b42beae4
commit
61ff2d7026
5 changed files with 162 additions and 17 deletions
|
@ -19,10 +19,12 @@
|
|||
#ifndef USERINTERFACE_H
|
||||
#define USERINTERFACE_H
|
||||
|
||||
#include "SnapmaticPicture.h"
|
||||
#include "ProfileInterface.h"
|
||||
#include "ProfileDatabase.h"
|
||||
#include "DatabaseThread.h"
|
||||
#include "CrewDatabase.h"
|
||||
#include "SavegameData.h"
|
||||
#include <QMainWindow>
|
||||
#include <QString>
|
||||
#include <QMap>
|
||||
|
@ -54,6 +56,7 @@ private slots:
|
|||
void on_actionDelete_selected_triggered();
|
||||
void on_actionOptions_triggered();
|
||||
void on_action_Import_triggered();
|
||||
void on_actionOpen_File_triggered();
|
||||
|
||||
private:
|
||||
ProfileDatabase *profileDB;
|
||||
|
@ -69,6 +72,11 @@ private:
|
|||
void setupProfileUi(QStringList GTAV_Profiles);
|
||||
void openProfile(QString profileName);
|
||||
void openSelectProfile();
|
||||
|
||||
// Open File
|
||||
bool openFile(QString selectedFile, bool warn = true);
|
||||
void openSavegameFile(SavegameData *savegame);
|
||||
void openSnapmaticFile(SnapmaticPicture *picture);
|
||||
};
|
||||
|
||||
#endif // USERINTERFACE_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue