diff options
| author | Tannin <sherb@gmx.net> | 2016-05-16 15:48:38 +0200 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2016-05-16 15:48:38 +0200 |
| commit | 81c5ca53087bd0a72ecb60ba308ba1f9134accf3 (patch) | |
| tree | 3ac0330c6b0657a7f12356c66a9176016423c8ed /src/transfersavesdialog.h | |
| parent | 3a8da159da55dd92f1888c34e914721032278803 (diff) | |
| parent | 89221af929f86d7038cb9578433d46c5f144dc33 (diff) | |
Merge branch 'master' into new_vfs_library
Diffstat (limited to 'src/transfersavesdialog.h')
| -rw-r--r-- | src/transfersavesdialog.h | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/src/transfersavesdialog.h b/src/transfersavesdialog.h index 6961e8c6..dee41c72 100644 --- a/src/transfersavesdialog.h +++ b/src/transfersavesdialog.h @@ -37,14 +37,15 @@ namespace Ui { class TransferSavesDialog; } namespace MOBase { class IPluginGame; }
namespace MOBase { class ISaveGame; }
-class TransferSavesDialog : public MOBase::TutorableDialog
-{
+class TransferSavesDialog : public MOBase::TutorableDialog {
Q_OBJECT
-
+
public:
- explicit TransferSavesDialog(const Profile &profile, MOBase::IPluginGame const *gamePlugin, QWidget *parent = 0);
+ explicit TransferSavesDialog(const Profile &profile,
+ MOBase::IPluginGame const *gamePlugin,
+ QWidget *parent = 0);
~TransferSavesDialog();
-
+
private slots:
void on_moveToLocalBtn_clicked();
@@ -62,23 +63,17 @@ private slots: void on_copyToGlobalBtn_clicked();
private:
-
- enum OverwriteMode {
- OVERWRITE_ASK,
- OVERWRITE_YES,
- OVERWRITE_NO
- };
+ enum OverwriteMode { OVERWRITE_ASK, OVERWRITE_YES, OVERWRITE_NO };
private:
-
void refreshGlobalCharacters();
void refreshLocalCharacters();
void refreshGlobalSaves();
void refreshLocalSaves();
- bool testOverwrite(OverwriteMode &overwriteMode, const QString &destinationFile);
+ bool testOverwrite(OverwriteMode &overwriteMode,
+ const QString &destinationFile);
private:
-
Ui::TransferSavesDialog *ui;
Profile m_Profile;
@@ -93,8 +88,7 @@ private: void refreshSaves(SaveCollection &saveCollection, const QString &savedir);
void refreshCharacters(SaveCollection const &saveCollection,
- QListWidget *charList,
- QPushButton *copy,
+ QListWidget *charList, QPushButton *copy,
QPushButton *move);
bool transferCharacters(
|
