refs #887, copy nested directories in wizard

* added utility function
* removed preselectMissingOrOutdated, flag for initCurrentDirectories
* support for copying nested directories
This commit is contained in:
Klaus Basan
2017-03-12 00:17:29 +01:00
committed by Mathew Sutcliffe
parent 96a2b757e7
commit 80b127bce8
6 changed files with 162 additions and 92 deletions

View File

@@ -46,13 +46,10 @@ namespace BlackGui
int copySelectedFiles();
//! Preselect newer files
void preselectMissingOurOutdated();
void preselectMissingOrOutdated();
//! Init file content
void initCurrentDirectories();
//! Init and preselect directories
void initAndPreselectDirectories();
void initCurrentDirectories(bool preselectMissingOrOutdated = false);
//! Are there other versions to copy from
bool hasOtherVersionData() const;
@@ -70,9 +67,6 @@ namespace BlackGui
//! Get the selected files
QStringList getSelectedFiles() const;
//! Set calculated combobox width
void setComboBoxWidth();
QStringList m_otherVersionDirs;
QScopedPointer<Ui::CCopyConfigurationComponent> ui;
};