forked from qt-creator/qt-creator
vcsbase: remove facility tool buttons in EditorParameterWidget
Because diff options are VCS-specific, these methods were removed : VCSBaseEditorParameterWidget::addIgnoreWhiteSpaceButton() VCSBaseEditorParameterWidget::addIgnoreBlankLinesButton() Associated msg*Label() and msg*ToolTip() This impacts cvs, hg, perforce, svn and bzr plugins Change-Id: I8d213ed3915653b78bae9ba8b6cbbd65fa269ce2 Merge-request: 340 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Reviewed-on: http://codereview.qt.nokia.com/323 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
This commit is contained in:
@@ -121,16 +121,6 @@ QToolButton *VCSBaseEditorParameterWidget::addToggleButton(const QString &option
|
||||
return tb;
|
||||
}
|
||||
|
||||
QToolButton *VCSBaseEditorParameterWidget::addIgnoreWhiteSpaceButton(const QString &option)
|
||||
{
|
||||
return addToggleButton(option, msgIgnoreWhiteSpaceLabel(), msgIgnoreWhiteSpaceToolTip());
|
||||
}
|
||||
|
||||
QToolButton *VCSBaseEditorParameterWidget::addIgnoreBlankLinesButton(const QString &option)
|
||||
{
|
||||
return addToggleButton(option, msgIgnoreBlankLinesLabel(), msgIgnoreBlankLinesToolTip());
|
||||
}
|
||||
|
||||
QComboBox *VCSBaseEditorParameterWidget::addComboBox(const QString &option,
|
||||
const QList<ComboBoxItem> &items)
|
||||
{
|
||||
@@ -167,26 +157,6 @@ void VCSBaseEditorParameterWidget::setComboBoxOptionTemplate(const QStringList &
|
||||
d->m_comboBoxOptionTemplate = optTemplate;
|
||||
}
|
||||
|
||||
QString VCSBaseEditorParameterWidget::msgIgnoreWhiteSpaceLabel()
|
||||
{
|
||||
return tr("Ignore whitespace");
|
||||
}
|
||||
|
||||
QString VCSBaseEditorParameterWidget::msgIgnoreWhiteSpaceToolTip()
|
||||
{
|
||||
return tr("Ignore whitespace only changes");
|
||||
}
|
||||
|
||||
QString VCSBaseEditorParameterWidget::msgIgnoreBlankLinesLabel()
|
||||
{
|
||||
return tr("Ignore blank lines ");
|
||||
}
|
||||
|
||||
QString VCSBaseEditorParameterWidget::msgIgnoreBlankLinesToolTip()
|
||||
{
|
||||
return tr("Ignore changes in blank lines");
|
||||
}
|
||||
|
||||
void VCSBaseEditorParameterWidget::executeCommand()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user