~timo-jyrinki/autopilot-qt/rebuild_against_qt521

« back to all changes in this revision

Viewing changes to driver/qtnode.h

Re-implement (w/ fixes) exporting QObject children of Qml items (including non-visual items). Fixes: 1269578

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
    virtual NodeIntrospectionData GetIntrospectionData() const;
39
39
 
40
 
 
41
40
    virtual std::string GetName() const;
42
41
    virtual std::string GetPath() const;
43
42
    virtual int32_t GetId() const;
46
45
    virtual bool MatchBooleanProperty(const std::string& name, bool value) const;
47
46
    virtual xpathselect::NodeVector Children() const;
48
47
private:
 
48
    void SetName(const QObject* object);
 
49
 
49
50
    QObject *object_;
50
51
    std::string full_path_;
 
52
    std::string node_name_;
51
53
    Ptr parent_;
52
54
};
53
55