aboutsummaryrefslogtreecommitdiffstats
path: root/libpyside/dynamicqmetaobject.h
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-05-17 13:56:53 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-05-17 19:54:36 -0300
commit005aeaf8290ff9308bb9ad0edfec1949e8125772 (patch)
tree0aea147cba9efc43a2fceabd10914fd5692fdca5 /libpyside/dynamicqmetaobject.h
parent7001f3df8fd969cbd619fc33172d74c738f796a1 (diff)
Fixed memory leaks.
Used PyObject on attr functions. Code style update. Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libpyside/dynamicqmetaobject.h')
-rw-r--r--libpyside/dynamicqmetaobject.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/libpyside/dynamicqmetaobject.h b/libpyside/dynamicqmetaobject.h
index bec8dd3df..5da73a521 100644
--- a/libpyside/dynamicqmetaobject.h
+++ b/libpyside/dynamicqmetaobject.h
@@ -50,17 +50,17 @@ namespace PySide
class MethodData
{
- public:
- MethodData(){}
- MethodData(const char *signature, const char *type);
- void clear();
- QByteArray signature() const;
- QByteArray type() const;
- bool operator==(const MethodData &other) const;
+public:
+ MethodData(){}
+ MethodData(const char *signature, const char *type);
+ void clear();
+ QByteArray signature() const;
+ QByteArray type() const;
+ bool operator==(const MethodData &other) const;
- private:
- QByteArray m_signature;
- QByteArray m_type;
+private:
+ QByteArray m_signature;
+ QByteArray m_type;
};
class PYSIDE_API DynamicQMetaObject : public QMetaObject
@@ -76,7 +76,7 @@ public:
void removeSlot(uint index);
//Retrieve Python metadata to create QMetaObject (class name, signals, slot)
- static DynamicQMetaObject *createBasedOn(PyObject *obj, PyTypeObject *type, const QMetaObject* base);
+ static DynamicQMetaObject* createBasedOn(PyObject* obj, PyTypeObject* type, const QMetaObject* base);
private:
QLinkedList<MethodData> m_signals;