summaryrefslogtreecommitdiffstats
path: root/tests/libsample/objecttype.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/objecttype.h')
-rw-r--r--tests/libsample/objecttype.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/libsample/objecttype.h b/tests/libsample/objecttype.h
index c3bd8c62..b09b402e 100644
--- a/tests/libsample/objecttype.h
+++ b/tests/libsample/objecttype.h
@@ -78,6 +78,9 @@ public:
virtual bool event(Event* event);
static int processEvent(ObjectTypeList objects, Event *event);
+ void callInvalidateEvent(Event* event);
+ virtual void invalidateEvent(Event* event) {}
+
// This nonsense method emulate QWidget.setLayout method
// All layout objects will became children of this object.
void setLayout(ObjectTypeLayout* layout);
@@ -99,7 +102,6 @@ public:
void setObject(const Null&);
int callId() const;
-
private:
ObjectType(const ObjectType&);
ObjectType& operator=(const ObjectType&);