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:
@@ -31,8 +31,10 @@
|
||||
namespace Android {
|
||||
namespace Internal {
|
||||
|
||||
class AndroidDevice : public ProjectExplorer::IDevice
|
||||
class AndroidDevice final : public ProjectExplorer::IDevice
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(Android::Internal::AndroidDevice)
|
||||
|
||||
public:
|
||||
static IDevice::Ptr create() { return IDevice::Ptr(new AndroidDevice); }
|
||||
|
||||
@@ -48,9 +50,8 @@ private:
|
||||
QUrl toolControlChannel(const ControlChannelHint &) const override;
|
||||
};
|
||||
|
||||
class AndroidDeviceFactory : public ProjectExplorer::IDeviceFactory
|
||||
class AndroidDeviceFactory final : public ProjectExplorer::IDeviceFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
AndroidDeviceFactory();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user