Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
Loading...
Searching...
No Matches
filemanagement.h File Reference
#include <QList>
#include <QFile>
#include <QSettings>
#include <pse-common/types.h>
#include "savefile_autoport.h"
#include "savefile.h"
Include dependency graph for filemanagement.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FileManagement
 Owns the on-disk side of a save: the current path, the recent-files list, and the live SaveFile. More...

Variables

constexpr var8 MAX_RECENT_FILES {5}
 How many recent paths to remember.
constexpr const char * KEY_RECENT_FILES = "recentFiles"
 QSettings key for the recent-files list.
constexpr const char * KEY_LAST_FILE = "lastFile"
 QSettings key for the most-recent path.

Variable Documentation

◆ KEY_LAST_FILE

const char* KEY_LAST_FILE = "lastFile"
constexpr

QSettings key for the most-recent path.

Definition at line 30 of file filemanagement.h.

Referenced by FileManagement::setPath().

◆ KEY_RECENT_FILES

const char* KEY_RECENT_FILES = "recentFiles"
constexpr

QSettings key for the recent-files list.

Definition at line 29 of file filemanagement.h.

Referenced by FileManagement::reset().

◆ MAX_RECENT_FILES

var8 MAX_RECENT_FILES {5}
constexpr

How many recent paths to remember.

Definition at line 28 of file filemanagement.h.

Referenced by FileManagement::recentFilesMax(), and MainWindow::~MainWindow().