QtBase  v6.3.1
Public Slots | Signals | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Slots | Protected Member Functions | Properties | List of all members
MyObject Class Reference

[0] More...

#include <myobject.h>

Inheritance diagram for MyObject:
Inheritance graph
[legend]
Collaboration diagram for MyObject:
Collaboration graph
[legend]

Public Slots

void methodWithError ()
 
QString methodWithDelayedReply ()
 
void method (const QDBusMessage &msg)
 
void ping (QDBusMessage msg)
 
QStringList returnFoo () const
 
void returnError (const QDBusMessage &msg) const
 
void slot1 ()
 
void slot2 ()
 
void slot3 ()
 
void slot4 ()
 
void slot5 ()
 
void slot6 ()
 
void slot7 ()
 
- Public Slots inherited from QObject
void deleteLater ()
 
- Public Slots inherited from BaseObject
void anotherMethod ()
 

Signals

void someSignal ()
 
void someSignal ()
 
void someSignal ()
 
void someSignal ()
 
void someSignal ()
 
Q_SCRIPTABLE void scriptableSignalVoid ()
 
Q_SCRIPTABLE void scriptableSignalInt (int)
 
Q_SCRIPTABLE void scriptableSignalString (QString)
 
void nonScriptableSignalVoid ()
 
void signal1 ()
 
void signal2 ()
 
void signal3 ()
 
void signal4 ()
 
void signal5 ()
 
void signal6 ()
 
void signal7 ()
 
- Signals inherited from QObject
void destroyed (QObject *=nullptr)
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 

Public Member Functions

 MyObject ()
 [0] More...
 
 ~MyObject ()
 [0] More...
 
 MyObject (QObject *parent=nullptr)
 
int isReady ()
 
 MyObject (QObject *parent=nullptr)
 
 MyObject (QObject *parent=nullptr)
 
 MyObject (QObject *parent=nullptr)
 
 MyObject (QObject *parent=nullptr)
 
 MyObject (QObject *parent=nullptr)
 
 MyObject (QObject *parent=nullptr)
 
void member0 (QPromise< double > &promise) const
 
void member1 (QPromise< double > &promise, int n) const
 
void memberString1 (QPromise< QString > &promise, const QString &s) const
 
void memberString2 (QPromise< QString > &promise, QString s) const
 
void nonConstMember (QPromise< double > &promise)
 
 MyObject ()
 
qreal x () const
 
void setX (qreal x)
 
 MyObject (QObject *parent=nullptr)
 
 MyObject (int n=4)
 
void emitSignal (const QString &name, const QVariant &value)
 
 MyObject (QObject *parent=nullptr)
 
 MyObject (QObject *parent=0)
 
 MyObject ()
 
 ~MyObject ()
 
 MyObject (QGraphicsItem *i, QObject *parent=nullptr)
 
- Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 
virtual ~QObject ()
 
virtual bool event (QEvent *event)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
QString objectName () const
 
void setObjectName (const QString &name)
 
QBindable< QStringbindableObjectName ()
 
bool isWidgetType () const
 
bool isWindowType () const
 
bool signalsBlocked () const noexcept
 
bool blockSignals (bool b) noexcept
 
QThreadthread () const
 
void moveToThread (QThread *thread)
 
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 
void killTimer (int id)
 
template<typename T >
T findChild (const QString &aName=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (const QString &aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
const QObjectListchildren () const
 
void setParent (QObject *parent)
 
void installEventFilter (QObject *filterObj)
 
void removeEventFilter (QObject *obj)
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const
 
bool disconnect (const QObject *receiver, const char *member=nullptr) const
 
void dumpObjectTree () const
 
void dumpObjectInfo () const
 
bool setProperty (const char *name, const QVariant &value)
 
QVariant property (const char *name) const
 
QList< QByteArraydynamicPropertyNames () const
 
QBindingStoragebindingStorage ()
 
const QBindingStoragebindingStorage () const
 
QObjectparent () const
 
bool inherits (const char *classname) const
 
- Public Member Functions inherited from BaseObject
 BaseObject (QObject *parent=nullptr)
 
- Public Member Functions inherited from QDBusAbstractAdaptor
 ~QDBusAbstractAdaptor ()
 

Static Public Member Functions

static void staticMember0 (QPromise< double > &promise)
 
static void staticMember1 (QPromise< double > &promise, int n)
 
- Static Public Member Functions inherited from QObject
static QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 
static QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static bool disconnect (const QMetaObject::Connection &)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot)
 
template<typename Func1 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero)
 

Public Attributes

Interface1if1
 
Interface2if2
 
Interface3if3
 
Interface4if4
 
int callCount = 0
 

Static Public Attributes

static QString path
 

Protected Slots

void process ()
 
- Protected Slots inherited from BaseObject
void anotherMethod ()
 

Protected Member Functions

void timerEvent (QTimerEvent *event) override
 
void timerEvent (QTimerEvent *)
 
- Protected Member Functions inherited from QObject
QObjectsender () const
 
int senderSignalIndex () const
 
int receivers (const char *signal) const
 
bool isSignalConnected (const QMetaMethod &signal) const
 
virtual void childEvent (QChildEvent *event)
 
virtual void customEvent (QEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
 QObject (QObjectPrivate &dd, QObject *parent=nullptr)
 
- Protected Member Functions inherited from QDBusContext
 QDBusContext ()
 
 ~QDBusContext ()
 
bool calledFromDBus () const
 
QDBusConnection connection () const
 
const QDBusMessagemessage () const
 
bool isDelayedReply () const
 
void setDelayedReply (bool enable) const
 
void sendErrorReply (const QString &name, const QString &msg=QString()) const
 
void sendErrorReply (QDBusError::ErrorType type, const QString &msg=QString()) const
 
- Protected Member Functions inherited from BaseObject
 BaseObject (QObject *parent=nullptr)
 
- Protected Member Functions inherited from QDBusAbstractAdaptor
 QDBusAbstractAdaptor (QObject *parent)
 
void setAutoRelaySignals (bool enable)
 
bool autoRelaySignals () const
 
 ~QDBusAbstractAdaptor ()
 

Properties

qreal x
 
- Properties inherited from QObject
QString objectName
 the name of this object More...
 

Additional Inherited Members

- Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
 

Detailed Description

[0]

[7]

[8]

Definition at line 57 of file myobject.h.

Constructor & Destructor Documentation

◆ MyObject() [1/15]

MyObject::MyObject ( )

[0]

Definition at line 57 of file myobject.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~MyObject() [1/2]

MyObject::~MyObject ( )

[0]

Definition at line 64 of file myobject.cpp.

◆ MyObject() [2/15]

MyObject::MyObject ( QObject parent = nullptr)

Definition at line 153 of file src_corelib_kernel_qobject.cpp.

Here is the call graph for this function:

◆ MyObject() [3/15]

MyObject::MyObject ( QObject parent = nullptr)

◆ MyObject() [4/15]

MyObject::MyObject ( QObject parent = nullptr)

◆ MyObject() [5/15]

MyObject::MyObject ( QObject parent = nullptr)
inlineexplicit

Definition at line 38 of file main_gen_test.cpp.

◆ MyObject() [6/15]

MyObject::MyObject ( QObject parent = nullptr)

◆ MyObject() [7/15]

MyObject::MyObject ( QObject parent = nullptr)

◆ MyObject() [8/15]

MyObject::MyObject ( QObject parent = nullptr)

◆ MyObject() [9/15]

MyObject::MyObject ( )
inline

Definition at line 62 of file tst_qpropertyanimation.cpp.

◆ MyObject() [10/15]

MyObject::MyObject ( QObject parent = nullptr)
inline

Definition at line 1600 of file tst_qmetatype.cpp.

◆ MyObject() [11/15]

MyObject::MyObject ( int  n = 4)
inline

Definition at line 241 of file myobject.h.

◆ MyObject() [12/15]

MyObject::MyObject ( QObject parent = nullptr)
inline

Definition at line 60 of file tst_qdbusconnection.h.

◆ MyObject() [13/15]

MyObject::MyObject ( QObject parent = 0)
inline

Definition at line 50 of file tst_qdbuspendingcall.cpp.

◆ MyObject() [14/15]

MyObject::MyObject ( )
inline

Definition at line 171 of file tst_qobjectrace.cpp.

◆ ~MyObject() [2/2]

MyObject::~MyObject ( )
inline

Definition at line 172 of file tst_qobjectrace.cpp.

◆ MyObject() [15/15]

MyObject::MyObject ( QGraphicsItem i,
QObject parent = nullptr 
)
inline

Definition at line 38 of file main.cpp.

Member Function Documentation

◆ emitSignal()

void MyObject::emitSignal ( const QString name,
const QVariant value 
)
inline

Definition at line 260 of file myobject.h.

◆ isReady()

int MyObject::isReady ( )

[1]

[1]

Definition at line 65 of file src_corelib_kernel_qtestsupport_core.cpp.

Here is the call graph for this function:

◆ member0()

void MyObject::member0 ( QPromise< double > &  promise) const
inline

Definition at line 1147 of file tst_qtconcurrentrun.cpp.

Here is the call graph for this function:

◆ member1()

void MyObject::member1 ( QPromise< double > &  promise,
int  n 
) const
inline

Definition at line 1154 of file tst_qtconcurrentrun.cpp.

Here is the call graph for this function:

◆ memberString1()

void MyObject::memberString1 ( QPromise< QString > &  promise,
const QString s 
) const
inline

Definition at line 1160 of file tst_qtconcurrentrun.cpp.

Here is the call graph for this function:

◆ memberString2()

void MyObject::memberString2 ( QPromise< QString > &  promise,
QString  s 
) const
inline

Definition at line 1165 of file tst_qtconcurrentrun.cpp.

Here is the call graph for this function:

◆ method

void MyObject::method ( const QDBusMessage msg)
slot

Definition at line 46 of file tst_qdbusconnection.cpp.

◆ methodWithDelayedReply

QString MyObject::methodWithDelayedReply ( )
slot

Definition at line 82 of file src_qdbus_qdbuscontext.cpp.

Here is the call graph for this function:

◆ methodWithError

void MyObject::methodWithError ( )
slot

Definition at line 76 of file src_qdbus_qdbuscontext.cpp.

Here is the call graph for this function:

◆ nonConstMember()

void MyObject::nonConstMember ( QPromise< double > &  promise)
inline

Definition at line 1170 of file tst_qtconcurrentrun.cpp.

Here is the call graph for this function:

◆ nonScriptableSignalVoid

void MyObject::nonScriptableSignalVoid ( )
signal
Here is the caller graph for this function:

◆ ping

void MyObject::ping ( QDBusMessage  msg)
inlineslot

Definition at line 133 of file myobject.h.

Here is the call graph for this function:

◆ process

void MyObject::process ( )
protectedslot

◆ returnError

void MyObject::returnError ( const QDBusMessage msg) const
inlineslot

Definition at line 58 of file tst_qdbuspendingcall.cpp.

Here is the call graph for this function:

◆ returnFoo

QStringList MyObject::returnFoo ( ) const
inlineslot

Definition at line 55 of file tst_qdbuspendingcall.cpp.

Here is the call graph for this function:

◆ scriptableSignalInt

Q_SCRIPTABLE void MyObject::scriptableSignalInt ( int  )
signal
Here is the caller graph for this function:

◆ scriptableSignalString

Q_SCRIPTABLE void MyObject::scriptableSignalString ( QString  )
signal
Here is the caller graph for this function:

◆ scriptableSignalVoid

Q_SCRIPTABLE void MyObject::scriptableSignalVoid ( )
signal
Here is the caller graph for this function:

◆ setX()

void MyObject::setX ( qreal  x)
inline

Definition at line 64 of file tst_qpropertyanimation.cpp.

◆ signal1

void MyObject::signal1 ( )
signal

◆ signal2

void MyObject::signal2 ( )
signal

◆ signal3

void MyObject::signal3 ( )
signal

◆ signal4

void MyObject::signal4 ( )
signal

◆ signal5

void MyObject::signal5 ( )
signal

◆ signal6

void MyObject::signal6 ( )
signal

◆ signal7

void MyObject::signal7 ( )
signal

◆ slot1

void MyObject::slot1 ( )
inlineslot

Definition at line 174 of file tst_qobjectrace.cpp.

◆ slot2

void MyObject::slot2 ( )
inlineslot

Definition at line 175 of file tst_qobjectrace.cpp.

◆ slot3

void MyObject::slot3 ( )
inlineslot

Definition at line 176 of file tst_qobjectrace.cpp.

◆ slot4

void MyObject::slot4 ( )
inlineslot

Definition at line 177 of file tst_qobjectrace.cpp.

◆ slot5

void MyObject::slot5 ( )
inlineslot

Definition at line 178 of file tst_qobjectrace.cpp.

◆ slot6

void MyObject::slot6 ( )
inlineslot

Definition at line 179 of file tst_qobjectrace.cpp.

◆ slot7

void MyObject::slot7 ( )
inlineslot

Definition at line 180 of file tst_qobjectrace.cpp.

◆ someSignal [1/5]

void MyObject::someSignal ( )
signal

◆ someSignal [2/5]

void MyObject::someSignal ( )
signal

◆ someSignal [3/5]

void MyObject::someSignal ( )
signal

◆ someSignal [4/5]

void MyObject::someSignal ( )
signal

◆ someSignal [5/5]

void MyObject::someSignal ( )
signal

◆ staticMember0()

static void MyObject::staticMember0 ( QPromise< double > &  promise)
inlinestatic

Definition at line 1134 of file tst_qtconcurrentrun.cpp.

Here is the call graph for this function:

◆ staticMember1()

static void MyObject::staticMember1 ( QPromise< double > &  promise,
int  n 
)
inlinestatic

Definition at line 1141 of file tst_qtconcurrentrun.cpp.

Here is the call graph for this function:

◆ timerEvent() [1/2]

void MyObject::timerEvent ( QTimerEvent event)
inlineprotectedvirtual

This event handler can be reimplemented in a subclass to receive timer events for the object.

QTimer provides a higher-level interface to the timer functionality, and also more general information about timers. The timer event is passed in the event parameter.

See also
startTimer(), killTimer(), event()

Reimplemented from QObject.

Definition at line 43 of file main.cpp.

Here is the call graph for this function:

◆ timerEvent() [2/2]

void MyObject::timerEvent ( QTimerEvent event)
overrideprotectedvirtual

This event handler can be reimplemented in a subclass to receive timer events for the object.

QTimer provides a higher-level interface to the timer functionality, and also more general information about timers. The timer event is passed in the event parameter.

See also
startTimer(), killTimer(), event()

Reimplemented from QObject.

Definition at line 172 of file src_corelib_kernel_qobject.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ x()

qreal MyObject::x ( ) const
inline

Definition at line 63 of file tst_qpropertyanimation.cpp.

Member Data Documentation

◆ callCount

int MyObject::callCount = 0

Definition at line 59 of file tst_qdbusconnection.h.

◆ if1

Interface1* MyObject::if1

Definition at line 236 of file myobject.h.

◆ if2

Interface2* MyObject::if2

Definition at line 237 of file myobject.h.

◆ if3

Interface3* MyObject::if3

Definition at line 238 of file myobject.h.

◆ if4

Interface4* MyObject::if4

Definition at line 239 of file myobject.h.

◆ path

QString MyObject::path
static

Definition at line 58 of file tst_qdbusconnection.h.

Property Documentation

◆ x

qreal MyObject::x
readwrite

Definition at line 49 of file tst_qpropertyanimation.cpp.


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