forked from qt-creator/qt-creator
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user