|
| QString | descriptor () const override |
| | Returns the file manager descriptor. E.g. This will return "database" for a database file manager.
|
| |
| QString | fileFilterString () const override |
| | Returns a list of supported file type filters for QFileDialog.
|
| |
|
| AbstractFileManager (const QString &folder_path_key) |
| |
| bool | close (const bool show_confirmation_dialog=true) |
| | Closes the active database/saved game and clears all tables.
|
| |
| virtual QString | descriptor () const =0 |
| | Returns the file manager descriptor. E.g. This will return "database" for a database file manager.
|
| |
| virtual QString | fileFilterString () const =0 |
| | Returns a list of supported file type filters for QFileDialog.
|
| |
| bool | open (const QString &path) |
| | Opens the file at path.
|
| |
| bool | open (QWidget *parent=nullptr) |
| | Displays a file dialog window and opens the user selected file.
|
| |
| bool | save () |
| | Saves the data to the existing file.
|
| |
| bool | saveAs (QWidget *parent=nullptr) |
| | Displays a file dialog window and saves the user selected destination.
|
| |
|
bool | isOpen () const |
| | Returns whether or not a file is presently open.
|
| |
|
bool | isSaved () const |
| | Returns whether or not the file has been previously saved.
|
| |