forked from qt-creator/qt-creator
VCS: Allow VcsBaseEditorConfig to operate on aspects
Change-Id: Id7b5b1a1020ea002e631e401c49b8eda6dfb8944 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -35,6 +35,12 @@ class QComboBox;
|
||||
class QToolButton;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils {
|
||||
class BoolAspect;
|
||||
class IntegerAspect;
|
||||
class StringAspect;
|
||||
} // Utils
|
||||
|
||||
namespace VcsBase {
|
||||
|
||||
class VcsBaseEditorWidget;
|
||||
@@ -75,6 +81,10 @@ public:
|
||||
void mapSetting(QComboBox *comboBox, QString *setting);
|
||||
void mapSetting(QComboBox *comboBox, int *setting);
|
||||
|
||||
void mapSetting(QAction *button, Utils::BoolAspect *setting);
|
||||
void mapSetting(QComboBox *comboBox, Utils::StringAspect *setting);
|
||||
void mapSetting(QComboBox *comboBox, Utils::IntegerAspect *setting);
|
||||
|
||||
// Return the effective arguments according to setting.
|
||||
virtual QStringList arguments() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user