forked from qt-creator/qt-creator
ProjectExplorer: Rename KitInformation to KitAspect
The name "KitInformation" does not properly convey the fact that it represents a certain *aspect* of a kit. The same goes for "KitConfigWidget", which in addition was inconsistent with "KitInformation". We now use "KitAspect" and "KitAspectWidget". Change-Id: I9804ee4cedc4d61fad533ea1dd4e4720e67fde97 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -63,7 +63,7 @@ StartRemoteDialog::StartRemoteDialog(QWidget *parent)
|
||||
|
||||
d->kitChooser = new KitChooser(this);
|
||||
d->kitChooser->setKitPredicate([](const Kit *kit) {
|
||||
const IDevice::ConstPtr device = DeviceKitInformation::device(kit);
|
||||
const IDevice::ConstPtr device = DeviceKitAspect::device(kit);
|
||||
return kit->isValid() && device && !device->sshParameters().host().isEmpty();
|
||||
});
|
||||
d->executable = new QLineEdit(this);
|
||||
@@ -132,7 +132,7 @@ Runnable StartRemoteDialog::runnable() const
|
||||
{
|
||||
Kit *kit = d->kitChooser->currentKit();
|
||||
Runnable r;
|
||||
r.device = DeviceKitInformation::device(kit);
|
||||
r.device = DeviceKitAspect::device(kit);
|
||||
r.executable = d->executable->text();
|
||||
r.commandLineArguments = d->arguments->text();
|
||||
r.workingDirectory = d->workingDirectory->text();
|
||||
|
||||
Reference in New Issue
Block a user