diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2011-12-08 13:07:00 +0100 |
---|---|---|
committer | Hugues Delorme <delorme.hugues@fougsys.fr> | 2011-12-08 14:44:04 +0100 |
commit | f696312368e1b67f948dc00f1a3ac20d15c2ff81 (patch) | |
tree | a08b5bddd9166b1abc8b31af3393cff7a3bd93e3 /src/plugins/vcsbase/vcsbaseeditorparameterwidget.cpp | |
parent | 2327b395d02edb164b653de96aa88501dded9a99 (diff) | |
download | qt-creator-f696312368e1b67f948dc00f1a3ac20d15c2ff81.tar.gz |
Use internal namespace in VCSBase more consistently
Change-Id: I61de9796aaeb9484b44029c5f1d46e69834a04c3
Reviewed-by: Hugues Delorme <delorme.hugues@fougsys.fr>
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseeditorparameterwidget.cpp')
-rw-r--r-- | src/plugins/vcsbase/vcsbaseeditorparameterwidget.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/plugins/vcsbase/vcsbaseeditorparameterwidget.cpp b/src/plugins/vcsbase/vcsbaseeditorparameterwidget.cpp index 0c65239a0c..5b9c93db93 100644 --- a/src/plugins/vcsbase/vcsbaseeditorparameterwidget.cpp +++ b/src/plugins/vcsbase/vcsbaseeditorparameterwidget.cpp @@ -80,19 +80,6 @@ private: Type m_type; }; -} // namespace Internal - -VCSBaseEditorParameterWidget::ComboBoxItem::ComboBoxItem() -{ -} - -VCSBaseEditorParameterWidget::ComboBoxItem::ComboBoxItem(const QString &text, - const QVariant &val) : - displayText(text), - value(val) -{ -} - class VCSBaseEditorParameterWidgetPrivate { public: @@ -103,10 +90,12 @@ public: QStringList m_baseArguments; QHBoxLayout *m_layout; QList<VCSBaseEditorParameterWidget::OptionMapping> m_optionMappings; - QHash<QWidget*, Internal::SettingMappingData> m_settingMapping; + QHash<QWidget*, SettingMappingData> m_settingMapping; QStringList m_comboBoxOptionTemplate; }; +} // namespace Internal + /*! \class VCSBase::VCSBaseEditorParameterWidget @@ -118,8 +107,19 @@ public: that should trigger the rerun of the VCS operation. */ +VCSBaseEditorParameterWidget::ComboBoxItem::ComboBoxItem() +{ +} + +VCSBaseEditorParameterWidget::ComboBoxItem::ComboBoxItem(const QString &text, + const QVariant &val) : + displayText(text), + value(val) +{ +} + VCSBaseEditorParameterWidget::VCSBaseEditorParameterWidget(QWidget *parent) : - QWidget(parent), d(new VCSBaseEditorParameterWidgetPrivate) + QWidget(parent), d(new Internal::VCSBaseEditorParameterWidgetPrivate) { d->m_layout = new QHBoxLayout(this); d->m_layout->setContentsMargins(3, 0, 3, 0); |