Move KitAspectWidget definitions alongside their KitAspects

A KitAspectWidget class is tightly coupled with the respective
KitAspect, and no one else ever needs to see any KitAspectWidget
subclass at build time.

Change-Id: I1883af3b054c225e1ff5dd913118715bfdbaacfc
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2019-02-06 15:04:17 +01:00
parent c129b8cfe2
commit ce19540b77
36 changed files with 1235 additions and 787 deletions

View File

@@ -27,7 +27,6 @@
#include "customqbspropertiesdialog.h"
#include <projectexplorer/kitconfigwidget.h>
#include <projectexplorer/kitmanager.h>
#include <utils/elidinglabel.h>
@@ -44,7 +43,7 @@ namespace Internal {
class AspectWidget final : public KitAspectWidget
{
Q_OBJECT
Q_DECLARE_TR_FUNCTIONS(QbsProjectManager::Internal::AspectWidget)
public:
AspectWidget(Kit *kit, const KitAspect *kitInfo)
: KitAspectWidget(kit, kitInfo),
@@ -128,5 +127,3 @@ KitAspectWidget *QbsKitAspect::createConfigWidget(Kit *k) const
} // namespace Internal
} // namespace QbsProjectManager
#include <qbskitinformation.moc>