Commit 2a592815 authored by Laurent Montel's avatar Laurent Montel 😁

Remove virtual keyword

parent 02bd1505
......@@ -40,9 +40,9 @@ public:
Block(const IOKitDevice *device);
virtual ~Block();
virtual int deviceMajor() const override;
virtual int deviceMinor() const override;
virtual QString device() const override;
int deviceMajor() const override;
int deviceMinor() const override;
QString device() const override;
};
}
}
......
......@@ -42,14 +42,14 @@ public:
IOKitDevice(const IOKitDevice &device);
virtual ~IOKitDevice();
virtual QString udi() const override;
virtual QString parentUdi() const override;
QString udi() const override;
QString parentUdi() const override;
virtual QString vendor() const override;
virtual QString product() const override;
virtual QString icon() const override;
virtual QStringList emblems() const override;
virtual QString description() const override;
QString vendor() const override;
QString product() const override;
QString icon() const override;
QStringList emblems() const override;
QString description() const override;
virtual QVariant property(const QString &key) const;
......@@ -57,8 +57,8 @@ public:
virtual bool iOKitPropertyExists(const QString &key) const;
virtual bool queryDeviceInterface(const Solid::DeviceInterface::Type &type) const override;
virtual QObject *createDeviceInterface(const Solid::DeviceInterface::Type &type) override;
bool queryDeviceInterface(const Solid::DeviceInterface::Type &type) const override;
QObject *createDeviceInterface(const Solid::DeviceInterface::Type &type) override;
bool conformsToIOKitClass(const QString &className) const;
......
......@@ -42,14 +42,14 @@ public:
// overridden from IOKit::Block because optical discs must
// be accessed through the raw device.
virtual QString device() const override;
virtual Solid::OpticalDisc::ContentTypes availableContent() const override;
virtual Solid::OpticalDisc::DiscType discType() const override;
virtual bool isAppendable() const override;
virtual bool isBlank() const override;
virtual bool isRewritable() const override;
virtual qulonglong capacity() const override;
QString device() const override;
Solid::OpticalDisc::ContentTypes availableContent() const override;
Solid::OpticalDisc::DiscType discType() const override;
bool isAppendable() const override;
bool isBlank() const override;
bool isRewritable() const override;
qulonglong capacity() const override;
};
}
}
......
......@@ -41,10 +41,10 @@ public:
Processor(IOKitDevice *device);
virtual ~Processor();
virtual int number() const override;
virtual int maxSpeed() const override;
virtual bool canChangeFrequency() const override;
virtual Solid::Processor::InstructionSets instructionSets() const override;
int number() const override;
int maxSpeed() const override;
bool canChangeFrequency() const override;
Solid::Processor::InstructionSets instructionSets() const override;
static QString vendor();
static QString product();
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment