Logo Search packages:      
Sourcecode: qt4-x11 version File versions

MyObject Class Reference

#include <myobject.h>

Inheritance diagram for MyObject:

QObject QObject QObject QObject QDBusContext QObject

List of all members.

Detailed Description




Definition at line 100 of file src_corelib_kernel_qobject.cpp.

Public Slots

int calculate (int value) const
void deleteLater ()
void foo ()
QString methodWithDelayedReply ()
void methodWithError ()


void destroyed (QObject *=0)

Public Member Functions

bool blockSignals (bool b)
const QObjectListchildren () const
bool connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
bool disconnect (const QObject *receiver, const char *member=0)
bool disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0)
void dumpObjectInfo ()
void dumpObjectTree ()
QList< QByteArraydynamicPropertyNames () const
virtual bool event (QEvent *)
virtual bool eventFilter (QObject *, QEvent *)
template<typename T>
findChild (const QString &aName=QString()) const
template<typename T>
QList< T > findChildren (const QRegExp &re) const
template<typename T>
QList< T > findChildren (const QString &aName=QString()) const
bool inherits (const char *classname) const
void installEventFilter (QObject *)
bool isWidgetType () const
void killTimer (int id)
void moveToThread (QThread *thread)
 MyObject ()
 MyObject (QObject *parent=0)
QString objectName () const
QObjectparent () const
QVariant property (const char *name) const
void removeEventFilter (QObject *)
void setObjectName (const QString &name)
void setParent (QObject *)
bool setProperty (const char *name, const QVariant &value)
void setTestInt (int i)
void setTestString (const QString &str)
void setUserData (uint id, QObjectUserData *data)
bool signalsBlocked () const
int startTimer (int interval)
int testInt () const
QString testString () const
QThreadthread () const
QObjectUserData * userData (uint id) const
 ~MyObject ()

Static Public Member Functions

static bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
static uint registerUserData ()

Public Attributes

bool boolValue
double doubleValue
int integer
int intValue
NPObject object
QString string
NPVariant stringValue

Protected Slots

void process ()

Protected Member Functions

bool calledFromDBus () const
virtual void childEvent (QChildEvent *)
QDBusConnection connection () const
virtual void connectNotify (const char *signal)
virtual void customEvent (QEvent *)
virtual void disconnectNotify (const char *signal)
bool isDelayedReply () const
const QDBusMessagemessage () const
int receivers (const char *signal) const
QObjectsender () const
void sendErrorReply (QDBusError::ErrorType type, const QString &msg=QString()) const
void sendErrorReply (const QString &name, const QString &msg=QString()) const
void setDelayedReply (bool enable) const
void timerEvent (QTimerEvent *event)

Protected Attributes

QObjectData * d_ptr

Static Protected Attributes

static const QMetaObject staticQtMetaObject


QString objectName
 the name of this object
int testInt
QString testString

Private Attributes

QDBusConnection conn
QDBusMessage msg


class QApplication
class QApplicationPrivate
class QCoreApplication
class QCoreApplicationPrivate
struct QMetaObject
class QThreadData
class QWidget

Related Functions

(Note that these are not member functions.)

qFindChild (const QObject *obj, const QString &name)
qFindChildqFindChildren (const QObject *obj, const QString &name=QString(), T dummy=0)()
QList< T > qFindChildren (const QObject *obj, const QString &name)
QList< T > qFindChildrenqFindChildren (const QObject *obj, const QString &name=QString(), T dummy=0)()
QList< T > qFindChildrenqFindChildren (const QObject *obj, const QRegExp &regExp)()
T * qobject_cast (QObject *object)
void * qt_find_obj_child (QObject *parent, const char *type, const QString &name)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index