summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/bridge/qt/qt_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bridge/qt/qt_class.h')
-rw-r--r--Source/WebCore/bridge/qt/qt_class.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/WebCore/bridge/qt/qt_class.h b/Source/WebCore/bridge/qt/qt_class.h
index 1256291fd..23eb6af9f 100644
--- a/Source/WebCore/bridge/qt/qt_class.h
+++ b/Source/WebCore/bridge/qt/qt_class.h
@@ -32,19 +32,18 @@ namespace JSC {
namespace Bindings {
-class QtClass : public Class {
+class QtClass final : public Class {
protected:
QtClass(const QMetaObject*);
public:
static QtClass* classForObject(QObject*);
- virtual ~QtClass();
+ ~QtClass();
- virtual const char* name() const;
- virtual Method* methodNamed(PropertyName, Instance*) const;
- virtual Field* fieldNamed(PropertyName, Instance*) const;
+ Method* methodNamed(PropertyName, Instance*) const final;
+ Field* fieldNamed(PropertyName, Instance*) const final;
- virtual JSValue fallbackObject(ExecState*, Instance*, PropertyName);
+ JSValue fallbackObject(ExecState*, Instance*, PropertyName) final;
private:
QtClass(const QtClass&); // prohibit copying