|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
#include <library_export_dialog.h>
Public Types | |
| enum class | Operation { ExportJson , ExportCsv , ImportJson , BackupDatabase , RestoreDatabase } |
Public Member Functions | |
| LibraryExportWorker (QObject *parent=nullptr) | |
| void | cancel () |
| void | doWork () |
| void | error (const QString &message) |
| void | finished (bool success, const QString &message) |
| void | progress (int current, int total, const QString &status) |
| void | setController (core::GameLibraryController *controller) |
| void | setFilePath (const QString &path) |
| void | setOperation (Operation op) |
| void | setOverwriteExisting (bool overwrite) |
| void | setSelectedGames (const std::vector< std::string > &gameIds) |
Definition at line 41 of file library_export_dialog.h.
|
strong |
| Enumerator | |
|---|---|
| ExportJson | |
| ExportCsv | |
| ImportJson | |
| BackupDatabase | |
| RestoreDatabase | |
Definition at line 46 of file library_export_dialog.h.
|
explicit |
Definition at line 35 of file library_export_dialog.cpp.
| void LibraryExportWorker::cancel | ( | ) |
Definition at line 62 of file library_export_dialog.cpp.
| void LibraryExportWorker::doWork | ( | ) |
Definition at line 67 of file library_export_dialog.cpp.
References BackupDatabase, ExportCsv, ExportJson, ImportJson, and RestoreDatabase.
| void LibraryExportWorker::error | ( | const QString & | message | ) |
References ExportJson.
| void LibraryExportWorker::finished | ( | bool | success, |
| const QString & | message ) |
| void LibraryExportWorker::progress | ( | int | current, |
| int | total, | ||
| const QString & | status ) |
| void LibraryExportWorker::setController | ( | core::GameLibraryController * | controller | ) |
Definition at line 47 of file library_export_dialog.cpp.
| void LibraryExportWorker::setFilePath | ( | const QString & | path | ) |
Definition at line 42 of file library_export_dialog.cpp.
| void LibraryExportWorker::setOperation | ( | Operation | op | ) |
Definition at line 37 of file library_export_dialog.cpp.
| void LibraryExportWorker::setOverwriteExisting | ( | bool | overwrite | ) |
Definition at line 57 of file library_export_dialog.cpp.
| void LibraryExportWorker::setSelectedGames | ( | const std::vector< std::string > & | gameIds | ) |
Definition at line 52 of file library_export_dialog.cpp.