forked from qt-creator/qt-creator
Make IDeviceFactory use data members
... for display name, icon, and "can create". Also add a convenience function for the special icon setup that's used in all re-implementations. Change-Id: I8332adb38fb4a77b6992007ffe62f861339ba188 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -36,11 +36,6 @@ class AndroidDeviceFactory : public ProjectExplorer::IDeviceFactory
|
||||
public:
|
||||
AndroidDeviceFactory();
|
||||
|
||||
QString displayName() const override;
|
||||
QIcon icon() const override;
|
||||
|
||||
bool canCreate() const override;
|
||||
ProjectExplorer::IDevice::Ptr create() const override;
|
||||
ProjectExplorer::IDevice::Ptr restore(const QVariantMap &map) const override;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user