~rdale/smoke-gobject/trunk

« back to all changes in this revision

Viewing changes to tests/helloworld/gobject_object.h

  • Committer: Richard Dale
  • Date: 2011-07-16 11:10:50 UTC
  • Revision ID: richard.dale@codethink.co.uk-20110716111050-0svb9w8rxvl6az95
* Map unref() function calls onto destructors

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
class Object : public Smoke::GObjectProxy {
13
13
    Q_OBJECT
14
14
public:
 
15
    ~Object();
15
16
 
16
17
public slots:
17
18
    void forceFloating();
18
19
    void freezeNotify();
19
20
    void data(QString key);
20
 
    void property(QString property_name, QVariant value);
 
21
    void property(QString propertyName, QVariant value);
21
22
    void qdata(quint32 quark);
22
23
    bool isFloating();
23
 
    void notify(QString property_name);
 
24
    void notify(QString propertyName);
24
25
    void notifyByPspec(GObject::ParamSpec* pspec);
25
26
    GObject::Object* ref();
26
27
    GObject::Object* refSink();
27
28
    void runDispose();
28
29
    void setData(QString key, void* data);
29
 
    void setProperty(QString property_name, QVariant value);
 
30
    void setProperty(QString propertyName, QVariant value);
30
31
    void stealData(QString key);
31
32
    void stealQdata(quint32 quark);
32
33
    void thawNotify();
33
 
    void unref();
34
34
    void watchClosure(GObject::Closure* closure);
35
35
};
36
36