forked from qt-creator/qt-creator
De-Q_OBJECT-ify most DeviceFactories
WinRt is the odd one out. Some were using setObjectName, but only used for debug reasons, not really needed. Change-Id: I4a370e4694443bc1c455fda4337ef3acfb9259b8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -42,8 +42,10 @@ class IosConfigurations;
|
||||
namespace Internal {
|
||||
class IosDeviceManager;
|
||||
|
||||
class IosDevice : public ProjectExplorer::IDevice
|
||||
class IosDevice final : public ProjectExplorer::IDevice
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(Ios::Internal::IosDevice)
|
||||
|
||||
public:
|
||||
using Dict = QMap<QString, QString>;
|
||||
using ConstPtr = QSharedPointer<const IosDevice>;
|
||||
@@ -76,9 +78,8 @@ protected:
|
||||
mutable quint16 m_lastPort;
|
||||
};
|
||||
|
||||
class IosDeviceFactory : public ProjectExplorer::IDeviceFactory
|
||||
class IosDeviceFactory final : public ProjectExplorer::IDeviceFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
IosDeviceFactory();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user