#[repr(C)]pub struct QObject { /* private fields */ }
Expand description
The QObject class is the base class of all Qt objects.
C++ class: QObject
.
The QObject class is the base class of all Qt objects.
QObject is the heart of the Qt Object Model. The central feature in this model is a very powerful mechanism for seamless object communication called signals and slots. You can connect a signal to a slot with connect() and destroy the connection with disconnect(). To avoid never ending notification loops you can temporarily block signals with blockSignals(). The protected functions connectNotify() and disconnectNotify() make it possible to track connections.
QObjects organize themselves in object trees. When you create a QObject with another object as parent, the object will automatically add itself to the parent's children() list. The parent takes ownership of the object; i.e., it will automatically delete its children in its destructor. You can look for an object by name and optionally type using findChild() or findChildren().
Every object has an objectName() and its class name can be found via the corresponding metaObject() (see QMetaObject::className()). You can determine whether the object's class inherits another class in the QObject inheritance hierarchy by using the inherits() function.
When an object is deleted, it emits a destroyed() signal. You can catch this signal to avoid dangling references to QObjects.
QObjects can receive events through event() and filter the events of other objects. See installEventFilter() and eventFilter() for details. A convenience handler, childEvent(), can be reimplemented to catch child events.
Last but not least, QObject provides the basic timer support in Qt; see QTimer for high-level support for timers.
Notice that the Q_OBJECT macro is mandatory for any object that implements signals, slots or properties. You also need to run the Meta Object Compiler on the source file. We strongly recommend the use of this macro in all subclasses of QObject regardless of whether or not they actually use signals, slots and properties, since failure to do so may lead certain functions to exhibit strange behavior.
All Qt widgets inherit QObject. The convenience function isWidgetType() returns whether an object is actually a widget. It is much faster than qobject_cast<QWidget *>(obj) or obj->inherits("QWidget").
Some QObject functions, e.g. children(), return a QObjectList. QObjectList is a typedef for QList<QObject *>.
Implementations§
source§impl QObject
impl QObject
sourcepub unsafe fn find_child<T>(
&self,
name: &str
) -> Result<QPtr<T>, FindChildError>
pub unsafe fn find_child<T>( &self, name: &str ) -> Result<QPtr<T>, FindChildError>
Finds a child of self
with the specified object name
and casts it to type T
.
The search is performed recursively. If there is more than one child matching the search, the most direct ancestor is returned. If there are several direct ancestors, it is undefined which one will be returned.
Returns an error if there is no child object with object name name
or
the found object cannot be cast to T
.
source§impl QObject
impl QObject
sourcepub fn destroyed(&self) -> Signal<(*mut QObject,)>
pub fn destroyed(&self) -> Signal<(*mut QObject,)>
This signal is emitted immediately before the object obj is destroyed, and can not be blocked.
Returns a built-in Qt signal QObject::destroyed
that can be passed to qt_core::Signal::connect
.
This signal is emitted immediately before the object obj is destroyed, and can not be blocked.
All the objects's children are destroyed immediately after this signal is emitted.
See also deleteLater() and QPointer.
sourcepub fn object_name_changed(&self) -> Signal<(*const QString,)>
pub fn object_name_changed(&self) -> Signal<(*const QString,)>
This signal is emitted after the object's name has been changed. The new object name is passed as objectName.
Returns a built-in Qt signal QObject::objectNameChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted after the object’s name has been changed. The new object name is passed as objectName.
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
Note: Notifier signal for property objectName.
See also QObject::objectName.
sourcepub fn slot_delete_later(&self) -> Receiver<()>
pub fn slot_delete_later(&self) -> Receiver<()>
Schedules this object for deletion.
Returns a built-in Qt slot QObject::deleteLater
that can be passed to qt_core::Signal::connect
.
Schedules this object for deletion.
The object will be deleted when control returns to the event loop. If the event loop is not running when this function is called (e.g. deleteLater() is called on an object before QCoreApplication::exec()), the object will be deleted once the event loop is started. If deleteLater() is called after the main event loop has stopped, the object will not be deleted. Since Qt 4.8, if deleteLater() is called on an object that lives in a thread with no running event loop, the object will be destroyed when the thread finishes.
Note that entering and leaving a new event loop (e.g., by opening a modal dialog) will not perform the deferred deletion; for the object to be deleted, the control must return to the event loop from which deleteLater() was called.
Note: It is safe to call this function more than once; when the first deferred deletion event is delivered, any pending events for the object are removed from the event queue.
sourcepub unsafe fn block_signals(&self, b: bool) -> bool
pub unsafe fn block_signals(&self, b: bool) -> bool
If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). If block is false, no such blocking will occur.
Calls C++ function: bool QObject::blockSignals(bool b)
.
If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). If block is false, no such blocking will occur.
The return value is the previous value of signalsBlocked().
Note that the destroyed() signal will be emitted even if the signals for this object have been blocked.
Signals emitted while being blocked are not buffered.
See also signalsBlocked() and QSignalBlocker.
sourcepub unsafe fn children(&self) -> Ref<QListOfQObject>
pub unsafe fn children(&self) -> Ref<QListOfQObject>
Returns a list of child objects. The QObjectList class is defined in the <QObject>
header file as the following:
Calls C++ function: const QList<QObject*>& QObject::children() const
.
Returns a list of child objects. The QObjectList class is defined in the <QObject>
header file as the following:
typedef QList<QObject*> QObjectList;
The first child added is the first object in the list and the last child added is the last object in the list, i.e. new children are appended at the end.
Note that the list order changes when QWidget children are raised or lowered. A widget that is raised becomes the last object in the list, and a widget that is lowered becomes the first object in the list.
See also findChild(), findChildren(), parent(), and setParent().
sourcepub unsafe fn connect_5a(
sender: impl CastInto<Ptr<QObject>>,
signal: *const c_char,
receiver: impl CastInto<Ptr<QObject>>,
member: *const c_char,
arg5: ConnectionType
) -> CppBox<Connection>
pub unsafe fn connect_5a( sender: impl CastInto<Ptr<QObject>>, signal: *const c_char, receiver: impl CastInto<Ptr<QObject>>, member: *const c_char, arg5: ConnectionType ) -> CppBox<Connection>
Creates a connection of the given type from the signal in the sender object to the method in the receiver object. Returns a handle to the connection that can be used to disconnect it later.
Calls C++ function: static QMetaObject::Connection QObject::connect(const QObject* sender, const char* signal, const QObject* receiver, const char* member, Qt::ConnectionType arg5 = …)
.
Creates a connection of the given type from the signal in the sender object to the method in the receiver object. Returns a handle to the connection that can be used to disconnect it later.
You must use the SIGNAL()
and SLOT()
macros when specifying the signal and the method, for example:
QLabel label = new QLabel; QScrollBar scrollBar = new QScrollBar; QObject::connect(scrollBar, SIGNAL(valueChanged(int)), label, SLOT(setNum(int)));
This example ensures that the label always displays the current scroll bar value. Note that the signal and slots parameters must not contain any variable names, only the type. E.g. the following would not work and return false:
// WRONG QObject::connect(scrollBar, SIGNAL(valueChanged(int value)), label, SLOT(setNum(int value)));
A signal can also be connected to another signal:
class MyWidget : public QWidget { Q_OBJECT
public: MyWidget();
signals: void buttonClicked();
private: QPushButton *myButton; };
MyWidget::MyWidget() { myButton = new QPushButton(this); connect(myButton, SIGNAL(clicked()), this, SIGNAL(buttonClicked())); }
In this example, the MyWidget
constructor relays a signal from a private member variable, and makes it available under a name that relates to MyWidget
.
A signal can be connected to many slots and signals. Many signals can be connected to one slot.
If a signal is connected to several slots, the slots are activated in the same order in which the connections were made, when the signal is emitted.
The function returns a QMetaObject::Connection that represents a handle to a connection if it successfully connects the signal to the slot. The connection handle will be invalid if it cannot create the connection, for example, if QObject is unable to verify the existence of either signal or method, or if their signatures aren't compatible. You can check if the handle is valid by casting it to a bool.
By default, a signal is emitted for every connection you make; two signals are emitted for duplicate connections. You can break all of these connections with a single disconnect() call. If you pass the Qt::UniqueConnection type, the connection will only be made if it is not a duplicate. If there is already a duplicate (exact same signal to the exact same slot on the same objects), the connection will fail and connect will return an invalid QMetaObject::Connection.
Note: Qt::UniqueConnections do not work for lambdas, non-member functions and functors; they only apply to connecting to member functions.
The optional type parameter describes the type of connection to establish. In particular, it determines whether a particular signal is delivered to a slot immediately or queued for delivery at a later time. If the signal is queued, the parameters must be of types that are known to Qt's meta-object system, because Qt needs to copy the arguments to store them in an event behind the scenes. If you try to use a queued connection and get the error message
QObject::connect: Cannot queue arguments of type ‘MyType’ (Make sure ‘MyType’ is registered using qRegisterMetaType().)
call qRegisterMetaType() to register the data type before you establish the connection.
Note: This function is thread-safe.
See also disconnect(), sender(), qRegisterMetaType(), Q_DECLARE_METATYPE(), and Differences between String-Based and Functor-Based Connections.
sourcepub unsafe fn connect_4a(
sender: impl CastInto<Ptr<QObject>>,
signal: *const c_char,
receiver: impl CastInto<Ptr<QObject>>,
member: *const c_char
) -> CppBox<Connection>
pub unsafe fn connect_4a( sender: impl CastInto<Ptr<QObject>>, signal: *const c_char, receiver: impl CastInto<Ptr<QObject>>, member: *const c_char ) -> CppBox<Connection>
Creates a connection of the given type from the signal in the sender object to the method in the receiver object. Returns a handle to the connection that can be used to disconnect it later.
Calls C++ function: static QMetaObject::Connection QObject::connect(const QObject* sender, const char* signal, const QObject* receiver, const char* member)
.
Creates a connection of the given type from the signal in the sender object to the method in the receiver object. Returns a handle to the connection that can be used to disconnect it later.
You must use the SIGNAL()
and SLOT()
macros when specifying the signal and the method, for example:
QLabel label = new QLabel; QScrollBar scrollBar = new QScrollBar; QObject::connect(scrollBar, SIGNAL(valueChanged(int)), label, SLOT(setNum(int)));
This example ensures that the label always displays the current scroll bar value. Note that the signal and slots parameters must not contain any variable names, only the type. E.g. the following would not work and return false:
// WRONG QObject::connect(scrollBar, SIGNAL(valueChanged(int value)), label, SLOT(setNum(int value)));
A signal can also be connected to another signal:
class MyWidget : public QWidget { Q_OBJECT
public: MyWidget();
signals: void buttonClicked();
private: QPushButton *myButton; };
MyWidget::MyWidget() { myButton = new QPushButton(this); connect(myButton, SIGNAL(clicked()), this, SIGNAL(buttonClicked())); }
In this example, the MyWidget
constructor relays a signal from a private member variable, and makes it available under a name that relates to MyWidget
.
A signal can be connected to many slots and signals. Many signals can be connected to one slot.
If a signal is connected to several slots, the slots are activated in the same order in which the connections were made, when the signal is emitted.
The function returns a QMetaObject::Connection that represents a handle to a connection if it successfully connects the signal to the slot. The connection handle will be invalid if it cannot create the connection, for example, if QObject is unable to verify the existence of either signal or method, or if their signatures aren't compatible. You can check if the handle is valid by casting it to a bool.
By default, a signal is emitted for every connection you make; two signals are emitted for duplicate connections. You can break all of these connections with a single disconnect() call. If you pass the Qt::UniqueConnection type, the connection will only be made if it is not a duplicate. If there is already a duplicate (exact same signal to the exact same slot on the same objects), the connection will fail and connect will return an invalid QMetaObject::Connection.
Note: Qt::UniqueConnections do not work for lambdas, non-member functions and functors; they only apply to connecting to member functions.
The optional type parameter describes the type of connection to establish. In particular, it determines whether a particular signal is delivered to a slot immediately or queued for delivery at a later time. If the signal is queued, the parameters must be of types that are known to Qt's meta-object system, because Qt needs to copy the arguments to store them in an event behind the scenes. If you try to use a queued connection and get the error message
QObject::connect: Cannot queue arguments of type ‘MyType’ (Make sure ‘MyType’ is registered using qRegisterMetaType().)
call qRegisterMetaType() to register the data type before you establish the connection.
Note: This function is thread-safe.
See also disconnect(), sender(), qRegisterMetaType(), Q_DECLARE_METATYPE(), and Differences between String-Based and Functor-Based Connections.
sourcepub unsafe fn connect_by_meta_methods_5a(
sender: impl CastInto<Ptr<QObject>>,
signal: impl CastInto<Ref<QMetaMethod>>,
receiver: impl CastInto<Ptr<QObject>>,
method: impl CastInto<Ref<QMetaMethod>>,
type_: ConnectionType
) -> CppBox<Connection>
pub unsafe fn connect_by_meta_methods_5a( sender: impl CastInto<Ptr<QObject>>, signal: impl CastInto<Ref<QMetaMethod>>, receiver: impl CastInto<Ptr<QObject>>, method: impl CastInto<Ref<QMetaMethod>>, type_: ConnectionType ) -> CppBox<Connection>
Creates a connection of the given type from the signal in the sender object to the method in the receiver object. Returns a handle to the connection that can be used to disconnect it later.
Calls C++ function: static QMetaObject::Connection QObject::connect(const QObject* sender, const QMetaMethod& signal, const QObject* receiver, const QMetaMethod& method, Qt::ConnectionType type = …)
.
Creates a connection of the given type from the signal in the sender object to the method in the receiver object. Returns a handle to the connection that can be used to disconnect it later.
The Connection handle will be invalid if it cannot create the connection, for example, the parameters were invalid. You can check if the QMetaObject::Connection is valid by casting it to a bool.
This function works in the same way as connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
but it uses QMetaMethod to specify signal and method.
This function was introduced in Qt 4.8.
See also connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type).
sourcepub unsafe fn connect_by_meta_methods_4a(
sender: impl CastInto<Ptr<QObject>>,
signal: impl CastInto<Ref<QMetaMethod>>,
receiver: impl CastInto<Ptr<QObject>>,
method: impl CastInto<Ref<QMetaMethod>>
) -> CppBox<Connection>
pub unsafe fn connect_by_meta_methods_4a( sender: impl CastInto<Ptr<QObject>>, signal: impl CastInto<Ref<QMetaMethod>>, receiver: impl CastInto<Ptr<QObject>>, method: impl CastInto<Ref<QMetaMethod>> ) -> CppBox<Connection>
Creates a connection of the given type from the signal in the sender object to the method in the receiver object. Returns a handle to the connection that can be used to disconnect it later.
Calls C++ function: static QMetaObject::Connection QObject::connect(const QObject* sender, const QMetaMethod& signal, const QObject* receiver, const QMetaMethod& method)
.
Creates a connection of the given type from the signal in the sender object to the method in the receiver object. Returns a handle to the connection that can be used to disconnect it later.
The Connection handle will be invalid if it cannot create the connection, for example, the parameters were invalid. You can check if the QMetaObject::Connection is valid by casting it to a bool.
This function works in the same way as connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
but it uses QMetaMethod to specify signal and method.
This function was introduced in Qt 4.8.
See also connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type).
sourcepub unsafe fn delete_later(&self)
pub unsafe fn delete_later(&self)
Schedules this object for deletion.
Calls C++ function: [slot] void QObject::deleteLater()
.
Schedules this object for deletion.
The object will be deleted when control returns to the event loop. If the event loop is not running when this function is called (e.g. deleteLater() is called on an object before QCoreApplication::exec()), the object will be deleted once the event loop is started. If deleteLater() is called after the main event loop has stopped, the object will not be deleted. Since Qt 4.8, if deleteLater() is called on an object that lives in a thread with no running event loop, the object will be destroyed when the thread finishes.
Note that entering and leaving a new event loop (e.g., by opening a modal dialog) will not perform the deferred deletion; for the object to be deleted, the control must return to the event loop from which deleteLater() was called.
Note: It is safe to call this function more than once; when the first deferred deletion event is delivered, any pending events for the object are removed from the event queue.
sourcepub unsafe fn disconnect_q_object_char_q_object_char(
sender: impl CastInto<Ptr<QObject>>,
signal: *const c_char,
receiver: impl CastInto<Ptr<QObject>>,
member: *const c_char
) -> bool
pub unsafe fn disconnect_q_object_char_q_object_char( sender: impl CastInto<Ptr<QObject>>, signal: *const c_char, receiver: impl CastInto<Ptr<QObject>>, member: *const c_char ) -> bool
Disconnects signal in object sender from method in object receiver. Returns true
if the connection is successfully broken; otherwise returns false
.
Calls C++ function: static bool QObject::disconnect(const QObject* sender, const char* signal, const QObject* receiver, const char* member)
.
Disconnects signal in object sender from method in object receiver. Returns true
if the connection is successfully broken; otherwise returns false
.
A signal-slot connection is removed when either of the objects involved are destroyed.
disconnect() is typically used in three ways, as the following examples demonstrate.
- Disconnect everything connected to an object's signals:
disconnect(myObject, 0, 0, 0);
equivalent to the non-static overloaded function
myObject->disconnect();
- Disconnect everything connected to a specific signal:
disconnect(myObject, SIGNAL(mySignal()), 0, 0);
equivalent to the non-static overloaded function
myObject->disconnect(SIGNAL(mySignal()));
- Disconnect a specific receiver:
disconnect(myObject, 0, myReceiver, 0);
equivalent to the non-static overloaded function
myObject->disconnect(myReceiver);
0 may be used as a wildcard, meaning "any signal", "any receiving object", or "any slot in the receiving object", respectively.
The sender may never be 0. (You cannot disconnect signals from more than one object in a single call.)
If signal is 0, it disconnects receiver and method from any signal. If not, only the specified signal is disconnected.
If receiver is 0, it disconnects anything connected to signal. If not, slots in objects other than receiver are not disconnected.
If method is 0, it disconnects anything that is connected to receiver. If not, only slots named method will be disconnected, and all other slots are left alone. The method must be 0 if receiver is left out, so you cannot disconnect a specifically-named slot on all objects.
Note: This function is thread-safe.
See also connect().
sourcepub unsafe fn disconnect_q_object_q_meta_method_q_object_q_meta_method(
sender: impl CastInto<Ptr<QObject>>,
signal: impl CastInto<Ref<QMetaMethod>>,
receiver: impl CastInto<Ptr<QObject>>,
member: impl CastInto<Ref<QMetaMethod>>
) -> bool
pub unsafe fn disconnect_q_object_q_meta_method_q_object_q_meta_method( sender: impl CastInto<Ptr<QObject>>, signal: impl CastInto<Ref<QMetaMethod>>, receiver: impl CastInto<Ptr<QObject>>, member: impl CastInto<Ref<QMetaMethod>> ) -> bool
Disconnects signal in object sender from method in object receiver. Returns true
if the connection is successfully broken; otherwise returns false
.
Calls C++ function: static bool QObject::disconnect(const QObject* sender, const QMetaMethod& signal, const QObject* receiver, const QMetaMethod& member)
.
Disconnects signal in object sender from method in object receiver. Returns true
if the connection is successfully broken; otherwise returns false
.
This function provides the same possibilities like disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
but uses QMetaMethod to represent the signal and the method to be disconnected.
Additionally this function returnsfalse and no signals and slots disconnected if:
- signal is not a member of sender class or one of its parent classes.
- method is not a member of receiver class or one of its parent classes.
- signal instance represents not a signal.
QMetaMethod() may be used as wildcard in the meaning "any signal" or "any slot in receiving object". In the same way 0 can be used for receiver in the meaning "any receiving object". In this case method should also be QMetaMethod(). sender parameter should be never 0.
This function was introduced in Qt 4.8.
See also disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method).
sourcepub unsafe fn disconnect_char_q_object_char(
&self,
signal: *const c_char,
receiver: impl CastInto<Ptr<QObject>>,
member: *const c_char
) -> bool
pub unsafe fn disconnect_char_q_object_char( &self, signal: *const c_char, receiver: impl CastInto<Ptr<QObject>>, member: *const c_char ) -> bool
This function overloads disconnect().
Calls C++ function: bool QObject::disconnect(const char* signal = …, const QObject* receiver = …, const char* member = …) const
.
This function overloads disconnect().
Disconnects signal from method of receiver.
A signal-slot connection is removed when either of the objects involved are destroyed.
Note: This function is thread-safe.
sourcepub unsafe fn disconnect_q_object_char(
&self,
receiver: impl CastInto<Ptr<QObject>>,
member: *const c_char
) -> bool
pub unsafe fn disconnect_q_object_char( &self, receiver: impl CastInto<Ptr<QObject>>, member: *const c_char ) -> bool
This function overloads disconnect().
Calls C++ function: bool QObject::disconnect(const QObject* receiver, const char* member = …) const
.
This function overloads disconnect().
Disconnects all signals in this object from receiver's method.
A signal-slot connection is removed when either of the objects involved are destroyed.
sourcepub unsafe fn disconnect_connection(
arg1: impl CastInto<Ref<Connection>>
) -> bool
pub unsafe fn disconnect_connection( arg1: impl CastInto<Ref<Connection>> ) -> bool
Disconnect a connection.
Calls C++ function: static bool QObject::disconnect(const QMetaObject::Connection& arg1)
.
Disconnect a connection.
If the connection is invalid or has already been disconnected, do nothing and return false.
See also connect().
sourcepub unsafe fn disconnect_char_q_object(
&self,
signal: *const c_char,
receiver: impl CastInto<Ptr<QObject>>
) -> bool
pub unsafe fn disconnect_char_q_object( &self, signal: *const c_char, receiver: impl CastInto<Ptr<QObject>> ) -> bool
This function overloads disconnect().
Calls C++ function: bool QObject::disconnect(const char* signal = …, const QObject* receiver = …) const
.
This function overloads disconnect().
Disconnects signal from method of receiver.
A signal-slot connection is removed when either of the objects involved are destroyed.
Note: This function is thread-safe.
sourcepub unsafe fn disconnect_char(&self, signal: *const c_char) -> bool
pub unsafe fn disconnect_char(&self, signal: *const c_char) -> bool
This function overloads disconnect().
Calls C++ function: bool QObject::disconnect(const char* signal = …) const
.
This function overloads disconnect().
Disconnects signal from method of receiver.
A signal-slot connection is removed when either of the objects involved are destroyed.
Note: This function is thread-safe.
sourcepub unsafe fn disconnect(&self) -> bool
pub unsafe fn disconnect(&self) -> bool
This function overloads disconnect().
Calls C++ function: bool QObject::disconnect() const
.
This function overloads disconnect().
Disconnects signal from method of receiver.
A signal-slot connection is removed when either of the objects involved are destroyed.
Note: This function is thread-safe.
sourcepub unsafe fn disconnect_q_object(
&self,
receiver: impl CastInto<Ptr<QObject>>
) -> bool
pub unsafe fn disconnect_q_object( &self, receiver: impl CastInto<Ptr<QObject>> ) -> bool
This function overloads disconnect().
Calls C++ function: bool QObject::disconnect(const QObject* receiver) const
.
This function overloads disconnect().
Disconnects all signals in this object from receiver's method.
A signal-slot connection is removed when either of the objects involved are destroyed.
sourcepub unsafe fn dump_object_info_mut(&self)
pub unsafe fn dump_object_info_mut(&self)
Dumps information about signal connections, etc. for this object to the debug output.
Calls C++ function: void QObject::dumpObjectInfo()
.
Dumps information about signal connections, etc. for this object to the debug output.
Note: before Qt 5.9, this function was not const.
See also dumpObjectTree().
sourcepub unsafe fn dump_object_info(&self)
pub unsafe fn dump_object_info(&self)
Dumps information about signal connections, etc. for this object to the debug output.
Calls C++ function: void QObject::dumpObjectInfo() const
.
Dumps information about signal connections, etc. for this object to the debug output.
Note: before Qt 5.9, this function was not const.
See also dumpObjectTree().
sourcepub unsafe fn dump_object_tree_mut(&self)
pub unsafe fn dump_object_tree_mut(&self)
Dumps a tree of children to the debug output.
Calls C++ function: void QObject::dumpObjectTree()
.
Dumps a tree of children to the debug output.
Note: before Qt 5.9, this function was not const.
See also dumpObjectInfo().
sourcepub unsafe fn dump_object_tree(&self)
pub unsafe fn dump_object_tree(&self)
Dumps a tree of children to the debug output.
Calls C++ function: void QObject::dumpObjectTree() const
.
Dumps a tree of children to the debug output.
Note: before Qt 5.9, this function was not const.
See also dumpObjectInfo().
sourcepub unsafe fn dynamic_property_names(&self) -> CppBox<QListOfQByteArray>
pub unsafe fn dynamic_property_names(&self) -> CppBox<QListOfQByteArray>
Returns the names of all properties that were dynamically added to the object using setProperty().
Calls C++ function: QList<QByteArray> QObject::dynamicPropertyNames() const
.
Returns the names of all properties that were dynamically added to the object using setProperty().
This function was introduced in Qt 4.2.
sourcepub unsafe fn eq(&self, p: impl CastInto<Ref<QPointerOfQObject>>) -> bool
pub unsafe fn eq(&self, p: impl CastInto<Ref<QPointerOfQObject>>) -> bool
Returns true
if c1 and c2 are the same Unicode character; otherwise returns false
.
Calls C++ function: bool operator==(QObject* o, const QPointer<QObject>& p)
.
Warning: no exact match found in C++ documentation. Below is the C++ documentation for bool operator==(QChar c1, QChar c2)
:
Returns true
if c1 and c2 are the same Unicode character; otherwise returns false
.
sourcepub unsafe fn event(&self, event: impl CastInto<Ptr<QEvent>>) -> bool
pub unsafe fn event(&self, event: impl CastInto<Ptr<QEvent>>) -> bool
This virtual function receives events to an object and should return true if the event e was recognized and processed.
Calls C++ function: virtual bool QObject::event(QEvent* event)
.
This virtual function receives events to an object and should return true if the event e was recognized and processed.
The event() function can be reimplemented to customize the behavior of an object.
Make sure you call the parent event class implementation for all the events you did not handle.
Example:
class MyClass : public QWidget { Q_OBJECT
public: MyClass(QWidget *parent = 0); ~MyClass();
bool event(QEvent* ev) { if (ev->type() == QEvent::PolishRequest) { // overwrite handling of PolishRequest if any doThings(); return true; } else if (ev->type() == QEvent::Show) { // complement handling of Show if any doThings2(); QWidget::event(ev); return true; } // Make sure the rest of events are handled return QWidget::event(ev); } };
See also installEventFilter(), timerEvent(), QCoreApplication::sendEvent(), and QCoreApplication::postEvent().
sourcepub unsafe fn event_filter(
&self,
watched: impl CastInto<Ptr<QObject>>,
event: impl CastInto<Ptr<QEvent>>
) -> bool
pub unsafe fn event_filter( &self, watched: impl CastInto<Ptr<QObject>>, event: impl CastInto<Ptr<QEvent>> ) -> bool
Filters events if this object has been installed as an event filter for the watched object.
Calls C++ function: virtual bool QObject::eventFilter(QObject* watched, QEvent* event)
.
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event out, i.e. stop it being handled further, return true; otherwise return false.
Example:
class MainWindow : public QMainWindow { public: MainWindow();
protected: bool eventFilter(QObject obj, QEvent ev);
private: QTextEdit *textEdit; };
MainWindow::MainWindow() { textEdit = new QTextEdit; setCentralWidget(textEdit);
textEdit->installEventFilter(this); }
bool MainWindow::eventFilter(QObject obj, QEvent event) { if (obj == textEdit) { if (event->type() == QEvent::KeyPress) { QKeyEvent keyEvent = static_cast<QKeyEvent>(event); qDebug() << “Ate key press” << keyEvent->key(); return true; } else { return false; } } else { // pass the event on to the parent class return QMainWindow::eventFilter(obj, event); } }
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
Warning: If you delete the receiver object in this function, be sure to return true. Otherwise, Qt will forward the event to the deleted object and the program might crash.
See also installEventFilter().
sourcepub unsafe fn find_child_q_object_2a(
&self,
a_name: impl CastInto<Ref<QString>>,
options: QFlags<FindChildOption>
) -> QPtr<QObject>
pub unsafe fn find_child_q_object_2a( &self, a_name: impl CastInto<Ref<QString>>, options: QFlags<FindChildOption> ) -> QPtr<QObject>
Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
Calls C++ function: QObject* QObject::findChild<QObject*>(const QString& aName = …, QFlags<Qt::FindChildOption> options = …) const
.
Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
If there is more than one child matching the search, the most direct ancestor is returned. If there are several direct ancestors, it is undefined which one will be returned. In that case, findChildren() should be used.
This example returns a child QPushButton
of parentWidget
named "button1"
, even if the button isn't a direct child of the parent:
QPushButton button = parentWidget->findChild<QPushButton >(“button1”);
This example returns a QListWidget
child of parentWidget
:
QListWidget list = parentWidget->findChild<QListWidget >();
This example returns a child QPushButton
of parentWidget
(its direct parent) named "button1"
:
QPushButton button = parentWidget->findChild<QPushButton >(“button1”, Qt::FindDirectChildrenOnly);
This example returns a QListWidget
child of parentWidget
, its direct parent:
QListWidget list = parentWidget->findChild<QListWidget >(QString(), Qt::FindDirectChildrenOnly);
See also findChildren().
sourcepub unsafe fn find_child_q_object_1a(
&self,
a_name: impl CastInto<Ref<QString>>
) -> QPtr<QObject>
pub unsafe fn find_child_q_object_1a( &self, a_name: impl CastInto<Ref<QString>> ) -> QPtr<QObject>
Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
Calls C++ function: QObject* QObject::findChild<QObject*>(const QString& aName = …) const
.
Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
If there is more than one child matching the search, the most direct ancestor is returned. If there are several direct ancestors, it is undefined which one will be returned. In that case, findChildren() should be used.
This example returns a child QPushButton
of parentWidget
named "button1"
, even if the button isn't a direct child of the parent:
QPushButton button = parentWidget->findChild<QPushButton >(“button1”);
This example returns a QListWidget
child of parentWidget
:
QListWidget list = parentWidget->findChild<QListWidget >();
This example returns a child QPushButton
of parentWidget
(its direct parent) named "button1"
:
QPushButton button = parentWidget->findChild<QPushButton >(“button1”, Qt::FindDirectChildrenOnly);
This example returns a QListWidget
child of parentWidget
, its direct parent:
QListWidget list = parentWidget->findChild<QListWidget >(QString(), Qt::FindDirectChildrenOnly);
See also findChildren().
sourcepub unsafe fn find_child_q_object_0a(&self) -> QPtr<QObject>
pub unsafe fn find_child_q_object_0a(&self) -> QPtr<QObject>
Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
Calls C++ function: QObject* QObject::findChild<QObject*>() const
.
Returns the child of this object that can be cast into type T and that is called name, or 0 if there is no such object. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
If there is more than one child matching the search, the most direct ancestor is returned. If there are several direct ancestors, it is undefined which one will be returned. In that case, findChildren() should be used.
This example returns a child QPushButton
of parentWidget
named "button1"
, even if the button isn't a direct child of the parent:
QPushButton button = parentWidget->findChild<QPushButton >(“button1”);
This example returns a QListWidget
child of parentWidget
:
QListWidget list = parentWidget->findChild<QListWidget >();
This example returns a child QPushButton
of parentWidget
(its direct parent) named "button1"
:
QPushButton button = parentWidget->findChild<QPushButton >(“button1”, Qt::FindDirectChildrenOnly);
This example returns a QListWidget
child of parentWidget
, its direct parent:
QListWidget list = parentWidget->findChild<QListWidget >(QString(), Qt::FindDirectChildrenOnly);
See also findChildren().
sourcepub unsafe fn find_children_q_object_q_string_q_flags_find_child_option(
&self,
a_name: impl CastInto<Ref<QString>>,
options: QFlags<FindChildOption>
) -> CppBox<QListOfQObject>
pub unsafe fn find_children_q_object_q_string_q_flags_find_child_option( &self, a_name: impl CastInto<Ref<QString>>, options: QFlags<FindChildOption> ) -> CppBox<QListOfQObject>
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
Calls C++ function: QList<QObject*> QObject::findChildren<QObject*>(const QString& aName = …, QFlags<Qt::FindChildOption> options = …) const
.
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
The following example shows how to find a list of child QWidget
s of the specified parentWidget
named widgetname
:
QList<QWidget > widgets = parentWidget.findChildren<QWidget >(“widgetname”);
This example returns all QPushButton
s that are children of parentWidget
:
QList<QPushButton > allPButtons = parentWidget.findChildren<QPushButton >();
This example returns all QPushButton
s that are immediate children of parentWidget
:
QList<QPushButton > childButtons = parentWidget.findChildren<QPushButton >(QString(), Qt::FindDirectChildrenOnly);
See also findChild().
sourcepub unsafe fn find_children_q_object_q_reg_exp_q_flags_find_child_option(
&self,
re: impl CastInto<Ref<QRegExp>>,
options: QFlags<FindChildOption>
) -> CppBox<QListOfQObject>
pub unsafe fn find_children_q_object_q_reg_exp_q_flags_find_child_option( &self, re: impl CastInto<Ref<QRegExp>>, options: QFlags<FindChildOption> ) -> CppBox<QListOfQObject>
This function overloads findChildren().
Calls C++ function: QList<QObject*> QObject::findChildren<QObject*>(const QRegExp& re, QFlags<Qt::FindChildOption> options = …) const
.
This function overloads findChildren().
Returns the children of this object that can be cast to type T and that have names matching the regular expression regExp, or an empty list if there are no such objects. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
sourcepub unsafe fn find_children_q_object_q_regular_expression_q_flags_find_child_option(
&self,
re: impl CastInto<Ref<QRegularExpression>>,
options: QFlags<FindChildOption>
) -> CppBox<QListOfQObject>
pub unsafe fn find_children_q_object_q_regular_expression_q_flags_find_child_option( &self, re: impl CastInto<Ref<QRegularExpression>>, options: QFlags<FindChildOption> ) -> CppBox<QListOfQObject>
This function overloads findChildren().
Calls C++ function: QList<QObject*> QObject::findChildren<QObject*>(const QRegularExpression& re, QFlags<Qt::FindChildOption> options = …) const
.
This function overloads findChildren().
Returns the children of this object that can be cast to type T and that have names matching the regular expression re, or an empty list if there are no such objects. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
This function was introduced in Qt 5.0.
sourcepub unsafe fn find_children_q_object_q_string(
&self,
a_name: impl CastInto<Ref<QString>>
) -> CppBox<QListOfQObject>
pub unsafe fn find_children_q_object_q_string( &self, a_name: impl CastInto<Ref<QString>> ) -> CppBox<QListOfQObject>
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
Calls C++ function: QList<QObject*> QObject::findChildren<QObject*>(const QString& aName = …) const
.
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
The following example shows how to find a list of child QWidget
s of the specified parentWidget
named widgetname
:
QList<QWidget > widgets = parentWidget.findChildren<QWidget >(“widgetname”);
This example returns all QPushButton
s that are children of parentWidget
:
QList<QPushButton > allPButtons = parentWidget.findChildren<QPushButton >();
This example returns all QPushButton
s that are immediate children of parentWidget
:
QList<QPushButton > childButtons = parentWidget.findChildren<QPushButton >(QString(), Qt::FindDirectChildrenOnly);
See also findChild().
sourcepub unsafe fn find_children_q_object(&self) -> CppBox<QListOfQObject>
pub unsafe fn find_children_q_object(&self) -> CppBox<QListOfQObject>
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
Calls C++ function: QList<QObject*> QObject::findChildren<QObject*>() const
.
Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. Omitting the name argument causes all object names to be matched. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
The following example shows how to find a list of child QWidget
s of the specified parentWidget
named widgetname
:
QList<QWidget > widgets = parentWidget.findChildren<QWidget >(“widgetname”);
This example returns all QPushButton
s that are children of parentWidget
:
QList<QPushButton > allPButtons = parentWidget.findChildren<QPushButton >();
This example returns all QPushButton
s that are immediate children of parentWidget
:
QList<QPushButton > childButtons = parentWidget.findChildren<QPushButton >(QString(), Qt::FindDirectChildrenOnly);
See also findChild().
sourcepub unsafe fn find_children_q_object_q_reg_exp(
&self,
re: impl CastInto<Ref<QRegExp>>
) -> CppBox<QListOfQObject>
pub unsafe fn find_children_q_object_q_reg_exp( &self, re: impl CastInto<Ref<QRegExp>> ) -> CppBox<QListOfQObject>
This function overloads findChildren().
Calls C++ function: QList<QObject*> QObject::findChildren<QObject*>(const QRegExp& re) const
.
This function overloads findChildren().
Returns the children of this object that can be cast to type T and that have names matching the regular expression regExp, or an empty list if there are no such objects. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
sourcepub unsafe fn find_children_q_object_q_regular_expression(
&self,
re: impl CastInto<Ref<QRegularExpression>>
) -> CppBox<QListOfQObject>
pub unsafe fn find_children_q_object_q_regular_expression( &self, re: impl CastInto<Ref<QRegularExpression>> ) -> CppBox<QListOfQObject>
This function overloads findChildren().
Calls C++ function: QList<QObject*> QObject::findChildren<QObject*>(const QRegularExpression& re) const
.
This function overloads findChildren().
Returns the children of this object that can be cast to type T and that have names matching the regular expression re, or an empty list if there are no such objects. The search is performed recursively, unless options specifies the option FindDirectChildrenOnly.
This function was introduced in Qt 5.0.
sourcepub unsafe fn inherits(&self, classname: *const c_char) -> bool
pub unsafe fn inherits(&self, classname: *const c_char) -> bool
Returns true
if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false
.
Calls C++ function: bool QObject::inherits(const char* classname) const
.
Returns true
if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false
.
A class is considered to inherit itself.
Example:
QTimer *timer = new QTimer; // QTimer inherits QObject timer->inherits(“QTimer”); // returns true timer->inherits(“QObject”); // returns true timer->inherits(“QAbstractButton”); // returns false
// QVBoxLayout inherits QObject and QLayoutItem QVBoxLayout *layout = new QVBoxLayout; layout->inherits(“QObject”); // returns true layout->inherits(“QLayoutItem”); // returns true (even though QLayoutItem is not a QObject)
If you need to determine whether an object is an instance of a particular class for the purpose of casting it, consider using qobject_cast<Type *>(object) instead.
See also metaObject() and qobject_cast().
sourcepub unsafe fn install_event_filter(
&self,
filter_obj: impl CastInto<Ptr<QObject>>
)
pub unsafe fn install_event_filter( &self, filter_obj: impl CastInto<Ptr<QObject>> )
Installs an event filter filterObj on this object. For example:
Calls C++ function: void QObject::installEventFilter(QObject* filterObj)
.
Installs an event filter filterObj on this object. For example:
monitoredObj->installEventFilter(filterObj);
An event filter is an object that receives all events that are sent to this object. The filter can either stop the event or forward it to this object. The event filter filterObj receives events via its eventFilter() function. The eventFilter() function must return true if the event should be filtered, (i.e. stopped); otherwise it must return false.
If multiple event filters are installed on a single object, the filter that was installed last is activated first.
Here's a KeyPressEater
class that eats the key presses of its monitored objects:
class KeyPressEater : public QObject { Q_OBJECT ...
protected: bool eventFilter(QObject obj, QEvent event); };
bool KeyPressEater::eventFilter(QObject obj, QEvent event) { if (event->type() == QEvent::KeyPress) { QKeyEvent keyEvent = static_cast<QKeyEvent >(event); qDebug(“Ate key press %d”, keyEvent->key()); return true; } else { // standard event processing return QObject::eventFilter(obj, event); } }
And here's how to install it on two widgets:
KeyPressEater keyPressEater = new KeyPressEater(this); QPushButton pushButton = new QPushButton(this); QListView *listView = new QListView(this);
pushButton->installEventFilter(keyPressEater); listView->installEventFilter(keyPressEater);
The QShortcut class, for example, uses this technique to intercept shortcut key presses.
Warning: If you delete the receiver object in your eventFilter() function, be sure to return true. If you return false, Qt sends the event to the deleted object and the program will crash.
Note that the filtering object must be in the same thread as this object. If filterObj is in a different thread, this function does nothing. If either filterObj or this object are moved to a different thread after calling this function, the event filter will not be called until both objects have the same thread affinity again (it is not removed).
See also removeEventFilter(), eventFilter(), and event().
sourcepub unsafe fn is_widget_type(&self) -> bool
pub unsafe fn is_widget_type(&self) -> bool
Returns true
if the object is a widget; otherwise returns false
.
Calls C++ function: bool QObject::isWidgetType() const
.
Returns true
if the object is a widget; otherwise returns false
.
Calling this function is equivalent to calling inherits("QWidget")
, except that it is much faster.
sourcepub unsafe fn is_window_type(&self) -> bool
pub unsafe fn is_window_type(&self) -> bool
Returns true
if the object is a window; otherwise returns false
.
Calls C++ function: bool QObject::isWindowType() const
.
Returns true
if the object is a window; otherwise returns false
.
Calling this function is equivalent to calling inherits("QWindow")
, except that it is much faster.
sourcepub unsafe fn kill_timer(&self, id: c_int)
pub unsafe fn kill_timer(&self, id: c_int)
Kills the timer with timer identifier, id.
Calls C++ function: void QObject::killTimer(int id)
.
Kills the timer with timer identifier, id.
The timer identifier is returned by startTimer() when a timer event is started.
See also timerEvent() and startTimer().
sourcepub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
Returns a pointer to the meta-object of this object.
Calls C++ function: virtual const QMetaObject* QObject::metaObject() const
.
Returns a pointer to the meta-object of this object.
A meta-object contains information about a class that inherits QObject, e.g. class name, superclass name, properties, signals and slots. Every QObject subclass that contains the Q_OBJECT macro will have a meta-object.
The meta-object information is required by the signal/slot connection mechanism and the property system. The inherits() function also makes use of the meta-object.
If you have no pointer to an actual object instance but still want to access the meta-object of a class, you can use staticMetaObject.
Example:
QObject *obj = new QPushButton; obj->metaObject()->className(); // returns “QPushButton”
QPushButton::staticMetaObject.className(); // returns “QPushButton”
See also staticMetaObject.
sourcepub unsafe fn move_to_thread(&self, thread: impl CastInto<Ptr<QThread>>)
pub unsafe fn move_to_thread(&self, thread: impl CastInto<Ptr<QThread>>)
Changes the thread affinity for this object and its children. The object cannot be moved if it has a parent. Event processing will continue in the targetThread.
Calls C++ function: void QObject::moveToThread(QThread* thread)
.
Changes the thread affinity for this object and its children. The object cannot be moved if it has a parent. Event processing will continue in the targetThread.
To move an object to the main thread, use QApplication::instance() to retrieve a pointer to the current application, and then use QApplication::thread() to retrieve the thread in which the application lives. For example:
myObject->moveToThread(QApplication::instance()->thread());
If targetThread is zero, all event processing for this object and its children stops.
Note that all active timers for the object will be reset. The timers are first stopped in the current thread and restarted (with the same interval) in the targetThread. As a result, constantly moving an object between threads can postpone timer events indefinitely.
A QEvent::ThreadChange event is sent to this object just before the thread affinity is changed. You can handle this event to perform any special processing. Note that any new events that are posted to this object will be handled in the targetThread.
Warning: This function is not thread-safe; the current thread must be same as the current thread affinity. In other words, this function can only "push" an object from the current thread to another thread, it cannot "pull" an object from any arbitrary thread to the current thread.
See also thread().
sourcepub unsafe fn new_1a(parent: impl CastInto<Ptr<QObject>>) -> QBox<QObject>
pub unsafe fn new_1a(parent: impl CastInto<Ptr<QObject>>) -> QBox<QObject>
Constructs an object with parent object parent.
Calls C++ function: [constructor] void QObject::QObject(QObject* parent = …)
.
Constructs an object with parent object parent.
The parent of an object may be viewed as the object's owner. For instance, a dialog box is the parent of the OK and Cancel buttons it contains.
The destructor of a parent object destroys all child objects.
Setting parent to 0 constructs an object with no parent. If the object is a widget, it will become a top-level window.
See also parent(), findChild(), and findChildren().
sourcepub unsafe fn new_0a() -> QBox<QObject>
pub unsafe fn new_0a() -> QBox<QObject>
The QObject class is the base class of all Qt objects.
Calls C++ function: [constructor] void QObject::QObject()
.
The QObject class is the base class of all Qt objects.
QObject is the heart of the Qt Object Model. The central feature in this model is a very powerful mechanism for seamless object communication called signals and slots. You can connect a signal to a slot with connect() and destroy the connection with disconnect(). To avoid never ending notification loops you can temporarily block signals with blockSignals(). The protected functions connectNotify() and disconnectNotify() make it possible to track connections.
QObjects organize themselves in object trees. When you create a QObject with another object as parent, the object will automatically add itself to the parent's children() list. The parent takes ownership of the object; i.e., it will automatically delete its children in its destructor. You can look for an object by name and optionally type using findChild() or findChildren().
Every object has an objectName() and its class name can be found via the corresponding metaObject() (see QMetaObject::className()). You can determine whether the object's class inherits another class in the QObject inheritance hierarchy by using the inherits() function.
When an object is deleted, it emits a destroyed() signal. You can catch this signal to avoid dangling references to QObjects.
QObjects can receive events through event() and filter the events of other objects. See installEventFilter() and eventFilter() for details. A convenience handler, childEvent(), can be reimplemented to catch child events.
Last but not least, QObject provides the basic timer support in Qt; see QTimer for high-level support for timers.
Notice that the Q_OBJECT macro is mandatory for any object that implements signals, slots or properties. You also need to run the Meta Object Compiler on the source file. We strongly recommend the use of this macro in all subclasses of QObject regardless of whether or not they actually use signals, slots and properties, since failure to do so may lead certain functions to exhibit strange behavior.
All Qt widgets inherit QObject. The convenience function isWidgetType() returns whether an object is actually a widget. It is much faster than qobject_cast<QWidget *>(obj) or obj->inherits("QWidget").
Some QObject functions, e.g. children(), return a QObjectList. QObjectList is a typedef for QList<QObject *>.
sourcepub unsafe fn object_name(&self) -> CppBox<QString>
pub unsafe fn object_name(&self) -> CppBox<QString>
This property holds the name of this object
Calls C++ function: QString QObject::objectName() const
.
This property holds the name of this object
You can find an object by name (and type) using findChild(). You can find a set of objects with findChildren().
qDebug(“MyClass::setPrecision(): (%s) invalid precision %f”, qPrintable(objectName()), newPrecision);
By default, this property contains an empty string.
Access functions:
QString | objectName() const |
void | setObjectName(const QString &name) |
Notifier signal:
void | objectNameChanged(const QString &objectName) | [see note below] |
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
See also metaObject() and QMetaObject::className().
sourcepub unsafe fn parent(&self) -> QPtr<QObject>
pub unsafe fn parent(&self) -> QPtr<QObject>
Returns a pointer to the parent object.
Calls C++ function: QObject* QObject::parent() const
.
sourcepub unsafe fn property(&self, name: *const c_char) -> CppBox<QVariant>
pub unsafe fn property(&self, name: *const c_char) -> CppBox<QVariant>
Returns the value of the object's name property.
Calls C++ function: QVariant QObject::property(const char* name) const
.
Returns the value of the object’s name property.
If no such property exists, the returned variant is invalid.
Information about all available properties is provided through the metaObject() and dynamicPropertyNames().
See also setProperty(), QVariant::isValid(), metaObject(), and dynamicPropertyNames().
sourcepub unsafe fn qt_metacall(
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
pub unsafe fn qt_metacall( &self, arg1: Call, arg2: c_int, arg3: *mut *mut c_void ) -> c_int
Calls C++ function: virtual int QObject::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
sourcepub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void
pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void
Calls C++ function: virtual void* QObject::qt_metacast(const char* arg1)
.
sourcepub unsafe fn remove_event_filter(&self, obj: impl CastInto<Ptr<QObject>>)
pub unsafe fn remove_event_filter(&self, obj: impl CastInto<Ptr<QObject>>)
Removes an event filter object obj from this object. The request is ignored if such an event filter has not been installed.
Calls C++ function: void QObject::removeEventFilter(QObject* obj)
.
Removes an event filter object obj from this object. The request is ignored if such an event filter has not been installed.
All event filters for this object are automatically removed when this object is destroyed.
It is always safe to remove an event filter, even during event filter activation (i.e. from the eventFilter() function).
See also installEventFilter(), eventFilter(), and event().
sourcepub unsafe fn set_object_name(&self, name: impl CastInto<Ref<QString>>)
pub unsafe fn set_object_name(&self, name: impl CastInto<Ref<QString>>)
This property holds the name of this object
Calls C++ function: void QObject::setObjectName(const QString& name)
.
This property holds the name of this object
You can find an object by name (and type) using findChild(). You can find a set of objects with findChildren().
qDebug(“MyClass::setPrecision(): (%s) invalid precision %f”, qPrintable(objectName()), newPrecision);
By default, this property contains an empty string.
Access functions:
QString | objectName() const |
void | setObjectName(const QString &name) |
Notifier signal:
void | objectNameChanged(const QString &objectName) | [see note below] |
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
See also metaObject() and QMetaObject::className().
sourcepub unsafe fn set_parent(&self, parent: impl CastInto<Ptr<QObject>>)
pub unsafe fn set_parent(&self, parent: impl CastInto<Ptr<QObject>>)
Makes the object a child of parent.
Calls C++ function: void QObject::setParent(QObject* parent)
.
sourcepub unsafe fn set_property(
&self,
name: *const c_char,
value: impl CastInto<Ref<QVariant>>
) -> bool
pub unsafe fn set_property( &self, name: *const c_char, value: impl CastInto<Ref<QVariant>> ) -> bool
Sets the value of the object's name property to value.
Calls C++ function: bool QObject::setProperty(const char* name, const QVariant& value)
.
Sets the value of the object’s name property to value.
If the property is defined in the class using Q_PROPERTY then true is returned on success and false otherwise. If the property is not defined using Q_PROPERTY, and therefore not listed in the meta-object, it is added as a dynamic property and false is returned.
Information about all available properties is provided through the metaObject() and dynamicPropertyNames().
Dynamic properties can be queried again using property() and can be removed by setting the property value to an invalid QVariant. Changing the value of a dynamic property causes a QDynamicPropertyChangeEvent to be sent to the object.
Note: Dynamic properties starting with "_q_" are reserved for internal purposes.
See also property(), metaObject(), dynamicPropertyNames(), and QMetaProperty::write().
sourcepub unsafe fn signals_blocked(&self) -> bool
pub unsafe fn signals_blocked(&self) -> bool
Returns true
if signals are blocked; otherwise returns false
.
Calls C++ function: bool QObject::signalsBlocked() const
.
Returns true
if signals are blocked; otherwise returns false
.
Signals are not blocked by default.
See also blockSignals() and QSignalBlocker.
sourcepub unsafe fn start_timer_2a(
&self,
interval: c_int,
timer_type: TimerType
) -> c_int
pub unsafe fn start_timer_2a( &self, interval: c_int, timer_type: TimerType ) -> c_int
Starts a timer and returns a timer identifier, or returns zero if it could not start a timer.
Calls C++ function: int QObject::startTimer(int interval, Qt::TimerType timerType = …)
.
Starts a timer and returns a timer identifier, or returns zero if it could not start a timer.
A timer event will occur every interval milliseconds until killTimer() is called. If interval is 0, then the timer event occurs once every time there are no more window system events to process.
The virtual timerEvent() function is called with the QTimerEvent event parameter class when a timer event occurs. Reimplement this function to get timer events.
If multiple timers are running, the QTimerEvent::timerId() can be used to find out which timer was activated.
Example:
class MyObject : public QObject { Q_OBJECT
public: MyObject(QObject *parent = 0);
protected: void timerEvent(QTimerEvent *event); };
MyObject::MyObject(QObject *parent) : QObject(parent) { startTimer(50); // 50-millisecond timer startTimer(1000); // 1-second timer startTimer(60000); // 1-minute timer
using namespace std::chrono; startTimer(milliseconds(50)); startTimer(seconds(1)); startTimer(minutes(1));
// since C++14 we can use std::chrono::duration literals, e.g.: startTimer(100ms); startTimer(5s); startTimer(2min); startTimer(1h); }
void MyObject::timerEvent(QTimerEvent *event) { qDebug() << “Timer ID:” << event->timerId(); }
Note that QTimer's accuracy depends on the underlying operating system and hardware. The timerType argument allows you to customize the accuracy of the timer. See Qt::TimerType for information on the different timer types. Most platforms support an accuracy of 20 milliseconds; some provide more. If Qt is unable to deliver the requested number of timer events, it will silently discard some.
The QTimer class provides a high-level programming interface with single-shot timers and timer signals instead of events. There is also a QBasicTimer class that is more lightweight than QTimer and less clumsy than using timer IDs directly.
See also timerEvent(), killTimer(), and QTimer::singleShot().
sourcepub unsafe fn start_timer_1a(&self, interval: c_int) -> c_int
pub unsafe fn start_timer_1a(&self, interval: c_int) -> c_int
Starts a timer and returns a timer identifier, or returns zero if it could not start a timer.
Calls C++ function: int QObject::startTimer(int interval)
.
Starts a timer and returns a timer identifier, or returns zero if it could not start a timer.
A timer event will occur every interval milliseconds until killTimer() is called. If interval is 0, then the timer event occurs once every time there are no more window system events to process.
The virtual timerEvent() function is called with the QTimerEvent event parameter class when a timer event occurs. Reimplement this function to get timer events.
If multiple timers are running, the QTimerEvent::timerId() can be used to find out which timer was activated.
Example:
class MyObject : public QObject { Q_OBJECT
public: MyObject(QObject *parent = 0);
protected: void timerEvent(QTimerEvent *event); };
MyObject::MyObject(QObject *parent) : QObject(parent) { startTimer(50); // 50-millisecond timer startTimer(1000); // 1-second timer startTimer(60000); // 1-minute timer
using namespace std::chrono; startTimer(milliseconds(50)); startTimer(seconds(1)); startTimer(minutes(1));
// since C++14 we can use std::chrono::duration literals, e.g.: startTimer(100ms); startTimer(5s); startTimer(2min); startTimer(1h); }
void MyObject::timerEvent(QTimerEvent *event) { qDebug() << “Timer ID:” << event->timerId(); }
Note that QTimer's accuracy depends on the underlying operating system and hardware. The timerType argument allows you to customize the accuracy of the timer. See Qt::TimerType for information on the different timer types. Most platforms support an accuracy of 20 milliseconds; some provide more. If Qt is unable to deliver the requested number of timer events, it will silently discard some.
The QTimer class provides a high-level programming interface with single-shot timers and timer signals instead of events. There is also a QBasicTimer class that is more lightweight than QTimer and less clumsy than using timer IDs directly.
See also timerEvent(), killTimer(), and QTimer::singleShot().
sourcepub unsafe fn static_meta_object() -> Ref<QMetaObject>
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
Returns a reference to the staticMetaObject
field.
sourcepub unsafe fn thread(&self) -> QPtr<QThread>
pub unsafe fn thread(&self) -> QPtr<QThread>
Returns the thread in which the object lives.
Calls C++ function: QThread* QObject::thread() const
.
Returns the thread in which the object lives.
See also moveToThread().
sourcepub unsafe fn tr(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
pub unsafe fn tr( s: *const c_char, c: *const c_char, n: c_int ) -> CppBox<QString>
Returns a translated version of sourceText, optionally based on a disambiguation string and value of n for strings containing plurals; otherwise returns QString::fromUtf8(sourceText) if no appropriate translated string is available.
Calls C++ function: static QString QObject::tr(const char* s, const char* c, int n)
.
Returns a translated version of sourceText, optionally based on a disambiguation string and value of n for strings containing plurals; otherwise returns QString::fromUtf8(sourceText) if no appropriate translated string is available.
Example:
void MainWindow::createActions() { QMenu *fileMenu = menuBar()->addMenu(tr(“&File”)); …
If the same sourceText is used in different roles within the same context, an additional identifying string may be passed in disambiguation (0 by default). In Qt 4.4 and earlier, this was the preferred way to pass comments to translators.
Example:
MyWindow::MyWindow() { QLabel senderLabel = new QLabel(tr(“Name:”)); QLabel recipientLabel = new QLabel(tr(“Name:”, “recipient”)); …
See Writing Source Code for Translation for a detailed description of Qt's translation mechanisms in general, and the Disambiguation section for information on disambiguation.
Warning: This method is reentrant only if all translators are installed before calling this method. Installing or removing translators while performing translations is not supported. Doing so will probably result in crashes or other undesirable behavior.
See also QCoreApplication::translate() and Internationalization with Qt.
sourcepub unsafe fn tr_utf8(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
pub unsafe fn tr_utf8( s: *const c_char, c: *const c_char, n: c_int ) -> CppBox<QString>
Returns a translated version of sourceText, or QString::fromUtf8(sourceText) if there is no appropriate version. It is otherwise identical to tr(sourceText, disambiguation, n).
Calls C++ function: static QString QObject::trUtf8(const char* s, const char* c, int n)
.
Returns a translated version of sourceText, or QString::fromUtf8(sourceText) if there is no appropriate version. It is otherwise identical to tr(sourceText, disambiguation, n).
Warning: This method is reentrant only if all translators are installed before calling this method. Installing or removing translators while performing translations is not supported. Doing so will probably result in crashes or other undesirable behavior.
Warning: For portability reasons, we recommend that you use escape sequences for specifying non-ASCII characters in string literals to trUtf8(). For example:
label->setText(tr(“F\374r \310lise”));
See also tr(), QCoreApplication::translate(), and Internationalization with Qt.
Related Non-Members
Trait Implementations§
source§impl CppDeletable for QObject
impl CppDeletable for QObject
source§unsafe fn delete(&self)
unsafe fn delete(&self)
Destroys the object, deleting all its child objects.
Calls C++ function: virtual [destructor] void QObject::~QObject()
.
Destroys the object, deleting all its child objects.
All signals to and from the object are automatically disconnected, and any pending posted events for the object are removed from the event queue. However, it is often safer to use deleteLater() rather than deleting a QObject subclass directly.
Warning: All child objects are deleted. If any of these objects are on the stack or global, sooner or later your program will crash. We do not recommend holding pointers to child objects from outside the parent. If you still do, the destroyed() signal gives you an opportunity to detect when an object is destroyed.
Warning: Deleting a QObject while pending events are waiting to be delivered can cause a crash. You must not delete the QObject directly if it exists in a different thread than the one currently executing. Use deleteLater() instead, which will cause the event loop to delete the object after all pending events have been delivered to it.
See also deleteLater().
source§impl DynamicCast<QAbstractAnimation> for QObject
impl DynamicCast<QAbstractAnimation> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractAnimation>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractAnimation>
Calls C++ function: QAbstractAnimation* dynamic_cast<QAbstractAnimation*>(QObject* ptr)
.
source§impl DynamicCast<QAbstractEventDispatcher> for QObject
impl DynamicCast<QAbstractEventDispatcher> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractEventDispatcher>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractEventDispatcher>
Calls C++ function: QAbstractEventDispatcher* dynamic_cast<QAbstractEventDispatcher*>(QObject* ptr)
.
source§impl DynamicCast<QAbstractItemModel> for QObject
impl DynamicCast<QAbstractItemModel> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractItemModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractItemModel>
Calls C++ function: QAbstractItemModel* dynamic_cast<QAbstractItemModel*>(QObject* ptr)
.
source§impl DynamicCast<QAbstractListModel> for QObject
impl DynamicCast<QAbstractListModel> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractListModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractListModel>
Calls C++ function: QAbstractListModel* dynamic_cast<QAbstractListModel*>(QObject* ptr)
.
source§impl DynamicCast<QAbstractProxyModel> for QObject
impl DynamicCast<QAbstractProxyModel> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractProxyModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractProxyModel>
Calls C++ function: QAbstractProxyModel* dynamic_cast<QAbstractProxyModel*>(QObject* ptr)
.
source§impl DynamicCast<QAbstractState> for QObject
impl DynamicCast<QAbstractState> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractState>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractState>
Calls C++ function: QAbstractState* dynamic_cast<QAbstractState*>(QObject* ptr)
.
source§impl DynamicCast<QAbstractTableModel> for QObject
impl DynamicCast<QAbstractTableModel> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractTableModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractTableModel>
Calls C++ function: QAbstractTableModel* dynamic_cast<QAbstractTableModel*>(QObject* ptr)
.
source§impl DynamicCast<QAbstractTransition> for QObject
impl DynamicCast<QAbstractTransition> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractTransition>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractTransition>
Calls C++ function: QAbstractTransition* dynamic_cast<QAbstractTransition*>(QObject* ptr)
.
source§impl DynamicCast<QAnimationDriver> for QObject
impl DynamicCast<QAnimationDriver> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAnimationDriver>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAnimationDriver>
Calls C++ function: QAnimationDriver* dynamic_cast<QAnimationDriver*>(QObject* ptr)
.
source§impl DynamicCast<QAnimationGroup> for QObject
impl DynamicCast<QAnimationGroup> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAnimationGroup>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAnimationGroup>
Calls C++ function: QAnimationGroup* dynamic_cast<QAnimationGroup*>(QObject* ptr)
.
source§impl DynamicCast<QBuffer> for QObject
impl DynamicCast<QBuffer> for QObject
source§impl DynamicCast<QConcatenateTablesProxyModel> for QObject
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
impl DynamicCast<QConcatenateTablesProxyModel> for QObject
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QConcatenateTablesProxyModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QConcatenateTablesProxyModel>
Calls C++ function: QConcatenateTablesProxyModel* dynamic_cast<QConcatenateTablesProxyModel*>(QObject* ptr)
.
source§impl DynamicCast<QCoreApplication> for QObject
impl DynamicCast<QCoreApplication> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QCoreApplication>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QCoreApplication>
Calls C++ function: QCoreApplication* dynamic_cast<QCoreApplication*>(QObject* ptr)
.
source§impl DynamicCast<QEventLoop> for QObject
impl DynamicCast<QEventLoop> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QEventLoop>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QEventLoop>
Calls C++ function: QEventLoop* dynamic_cast<QEventLoop*>(QObject* ptr)
.
source§impl DynamicCast<QEventTransition> for QObject
impl DynamicCast<QEventTransition> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QEventTransition>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QEventTransition>
Calls C++ function: QEventTransition* dynamic_cast<QEventTransition*>(QObject* ptr)
.
source§impl DynamicCast<QFile> for QObject
impl DynamicCast<QFile> for QObject
source§impl DynamicCast<QFileDevice> for QObject
impl DynamicCast<QFileDevice> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QFileDevice>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QFileDevice>
Calls C++ function: QFileDevice* dynamic_cast<QFileDevice*>(QObject* ptr)
.
source§impl DynamicCast<QFileSelector> for QObject
impl DynamicCast<QFileSelector> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QFileSelector>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QFileSelector>
Calls C++ function: QFileSelector* dynamic_cast<QFileSelector*>(QObject* ptr)
.
source§impl DynamicCast<QFileSystemWatcher> for QObject
impl DynamicCast<QFileSystemWatcher> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QFileSystemWatcher>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QFileSystemWatcher>
Calls C++ function: QFileSystemWatcher* dynamic_cast<QFileSystemWatcher*>(QObject* ptr)
.
source§impl DynamicCast<QFinalState> for QObject
impl DynamicCast<QFinalState> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QFinalState>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QFinalState>
Calls C++ function: QFinalState* dynamic_cast<QFinalState*>(QObject* ptr)
.
source§impl DynamicCast<QFutureWatcherBase> for QObject
impl DynamicCast<QFutureWatcherBase> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QFutureWatcherBase>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QFutureWatcherBase>
Calls C++ function: QFutureWatcherBase* dynamic_cast<QFutureWatcherBase*>(QObject* ptr)
.
source§impl DynamicCast<QHistoryState> for QObject
impl DynamicCast<QHistoryState> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QHistoryState>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QHistoryState>
Calls C++ function: QHistoryState* dynamic_cast<QHistoryState*>(QObject* ptr)
.
source§impl DynamicCast<QIODevice> for QObject
impl DynamicCast<QIODevice> for QObject
source§impl DynamicCast<QIdentityProxyModel> for QObject
impl DynamicCast<QIdentityProxyModel> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QIdentityProxyModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QIdentityProxyModel>
Calls C++ function: QIdentityProxyModel* dynamic_cast<QIdentityProxyModel*>(QObject* ptr)
.
source§impl DynamicCast<QItemSelectionModel> for QObject
impl DynamicCast<QItemSelectionModel> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QItemSelectionModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QItemSelectionModel>
Calls C++ function: QItemSelectionModel* dynamic_cast<QItemSelectionModel*>(QObject* ptr)
.
source§impl DynamicCast<QLibrary> for QObject
impl DynamicCast<QLibrary> for QObject
source§impl DynamicCast<QMimeData> for QObject
impl DynamicCast<QMimeData> for QObject
source§impl DynamicCast<QObjectCleanupHandler> for QObject
impl DynamicCast<QObjectCleanupHandler> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QObjectCleanupHandler>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QObjectCleanupHandler>
Calls C++ function: QObjectCleanupHandler* dynamic_cast<QObjectCleanupHandler*>(QObject* ptr)
.
source§impl DynamicCast<QParallelAnimationGroup> for QObject
impl DynamicCast<QParallelAnimationGroup> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QParallelAnimationGroup>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QParallelAnimationGroup>
Calls C++ function: QParallelAnimationGroup* dynamic_cast<QParallelAnimationGroup*>(QObject* ptr)
.
source§impl DynamicCast<QPauseAnimation> for QObject
impl DynamicCast<QPauseAnimation> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QPauseAnimation>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QPauseAnimation>
Calls C++ function: QPauseAnimation* dynamic_cast<QPauseAnimation*>(QObject* ptr)
.
source§impl DynamicCast<QPluginLoader> for QObject
impl DynamicCast<QPluginLoader> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QPluginLoader>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QPluginLoader>
Calls C++ function: QPluginLoader* dynamic_cast<QPluginLoader*>(QObject* ptr)
.
source§impl DynamicCast<QProcess> for QObject
impl DynamicCast<QProcess> for QObject
source§impl DynamicCast<QPropertyAnimation> for QObject
impl DynamicCast<QPropertyAnimation> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QPropertyAnimation>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QPropertyAnimation>
Calls C++ function: QPropertyAnimation* dynamic_cast<QPropertyAnimation*>(QObject* ptr)
.
source§impl DynamicCast<QSaveFile> for QObject
impl DynamicCast<QSaveFile> for QObject
source§impl DynamicCast<QSequentialAnimationGroup> for QObject
impl DynamicCast<QSequentialAnimationGroup> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSequentialAnimationGroup>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSequentialAnimationGroup>
Calls C++ function: QSequentialAnimationGroup* dynamic_cast<QSequentialAnimationGroup*>(QObject* ptr)
.
source§impl DynamicCast<QSettings> for QObject
impl DynamicCast<QSettings> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSharedMemory>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSharedMemory>
Calls C++ function: QSharedMemory* dynamic_cast<QSharedMemory*>(QObject* ptr)
.
source§impl DynamicCast<QSignalMapper> for QObject
impl DynamicCast<QSignalMapper> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSignalMapper>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSignalMapper>
Calls C++ function: QSignalMapper* dynamic_cast<QSignalMapper*>(QObject* ptr)
.
source§impl DynamicCast<QSignalTransition> for QObject
impl DynamicCast<QSignalTransition> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSignalTransition>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSignalTransition>
Calls C++ function: QSignalTransition* dynamic_cast<QSignalTransition*>(QObject* ptr)
.
source§impl DynamicCast<QSocketNotifier> for QObject
impl DynamicCast<QSocketNotifier> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSocketNotifier>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSocketNotifier>
Calls C++ function: QSocketNotifier* dynamic_cast<QSocketNotifier*>(QObject* ptr)
.
source§impl DynamicCast<QSortFilterProxyModel> for QObject
impl DynamicCast<QSortFilterProxyModel> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSortFilterProxyModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSortFilterProxyModel>
Calls C++ function: QSortFilterProxyModel* dynamic_cast<QSortFilterProxyModel*>(QObject* ptr)
.
source§impl DynamicCast<QState> for QObject
impl DynamicCast<QState> for QObject
source§impl DynamicCast<QStateMachine> for QObject
impl DynamicCast<QStateMachine> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QStateMachine>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QStateMachine>
Calls C++ function: QStateMachine* dynamic_cast<QStateMachine*>(QObject* ptr)
.
source§impl DynamicCast<QStringListModel> for QObject
impl DynamicCast<QStringListModel> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QStringListModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QStringListModel>
Calls C++ function: QStringListModel* dynamic_cast<QStringListModel*>(QObject* ptr)
.
source§impl DynamicCast<QTemporaryFile> for QObject
impl DynamicCast<QTemporaryFile> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QTemporaryFile>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QTemporaryFile>
Calls C++ function: QTemporaryFile* dynamic_cast<QTemporaryFile*>(QObject* ptr)
.
source§impl DynamicCast<QThread> for QObject
impl DynamicCast<QThread> for QObject
source§impl DynamicCast<QThreadPool> for QObject
impl DynamicCast<QThreadPool> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QThreadPool>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QThreadPool>
Calls C++ function: QThreadPool* dynamic_cast<QThreadPool*>(QObject* ptr)
.
source§impl DynamicCast<QTimeLine> for QObject
impl DynamicCast<QTimeLine> for QObject
source§impl DynamicCast<QTimer> for QObject
impl DynamicCast<QTimer> for QObject
source§impl DynamicCast<QTranslator> for QObject
impl DynamicCast<QTranslator> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QTranslator>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QTranslator>
Calls C++ function: QTranslator* dynamic_cast<QTranslator*>(QObject* ptr)
.
source§impl DynamicCast<QTransposeProxyModel> for QObject
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
impl DynamicCast<QTransposeProxyModel> for QObject
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QTransposeProxyModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QTransposeProxyModel>
Calls C++ function: QTransposeProxyModel* dynamic_cast<QTransposeProxyModel*>(QObject* ptr)
.
source§impl DynamicCast<QVariantAnimation> for QObject
impl DynamicCast<QVariantAnimation> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QVariantAnimation>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QVariantAnimation>
Calls C++ function: QVariantAnimation* dynamic_cast<QVariantAnimation*>(QObject* ptr)
.
source§impl DynamicCast<SignalNoArgs> for QObject
impl DynamicCast<SignalNoArgs> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalNoArgs>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalNoArgs>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfBool> for QObject
impl DynamicCast<SignalOfBool> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfBool>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfBool>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_bool* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_bool*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfDirection> for QObject
impl DynamicCast<SignalOfDirection> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfDirection>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfDirection>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_Direction* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_Direction*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfDouble> for QObject
impl DynamicCast<SignalOfDouble> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfDouble>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfDouble>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_double* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_double*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfI64> for QObject
impl DynamicCast<SignalOfI64> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfI64>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfI64>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_qint64* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_qint64*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfInt> for QObject
impl DynamicCast<SignalOfInt> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfInt>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_int* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_int*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfIntExitStatus> for QObject
impl DynamicCast<SignalOfIntExitStatus> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntExitStatus>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntExitStatus>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_int_QProcess_ExitStatus* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_int_QProcess_ExitStatus*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfIntI64> for QObject
impl DynamicCast<SignalOfIntI64> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntI64>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntI64>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_int_qint64* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_int_qint64*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfIntInt> for QObject
impl DynamicCast<SignalOfIntInt> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntInt>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_int_int* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_int_int*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfOrientation> for QObject
impl DynamicCast<SignalOfOrientation> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientation>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientation>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_Qt_Orientation* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_Qt_Orientation*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfOrientationInt> for QObject
impl DynamicCast<SignalOfOrientationInt> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientationInt>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientationInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_Qt_Orientation_int* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_Qt_Orientation_int*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfOrientationIntInt> for QObject
impl DynamicCast<SignalOfOrientationIntInt> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientationIntInt>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientationIntInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_Qt_Orientation_int_int* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_Qt_Orientation_int_int*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfProcessError> for QObject
impl DynamicCast<SignalOfProcessError> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfProcessError>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfProcessError>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QProcess_ProcessError* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QProcess_ProcessError*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfProcessState> for QObject
impl DynamicCast<SignalOfProcessState> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfProcessState>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfProcessState>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QProcess_ProcessState* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QProcess_ProcessState*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQAbstractAnimation> for QObject
impl DynamicCast<SignalOfQAbstractAnimation> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQAbstractAnimation>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQAbstractAnimation>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_ptr* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_ptr*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQAbstractItemModel> for QObject
impl DynamicCast<SignalOfQAbstractItemModel> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQAbstractItemModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQAbstractItemModel>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QAbstractItemModel_ptr* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QAbstractItemModel_ptr*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQItemSelection> for QObject
impl DynamicCast<SignalOfQItemSelection> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQItemSelection>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQItemSelection>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QItemSelection_const_ref* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QItemSelection_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQItemSelectionQItemSelection> for QObject
impl DynamicCast<SignalOfQItemSelectionQItemSelection> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQItemSelectionQItemSelection>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQItemSelectionQItemSelection>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QItemSelection_const_ref_QItemSelection_const_ref* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QItemSelection_const_ref_QItemSelection_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQListOfQPersistentModelIndex> for QObject
impl DynamicCast<SignalOfQListOfQPersistentModelIndex> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQListOfQPersistentModelIndex>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQListOfQPersistentModelIndex>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QList_QPersistentModelIndex_const_ref* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QList_QPersistentModelIndex_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQListOfQPersistentModelIndexLayoutChangeHint> for QObject
impl DynamicCast<SignalOfQListOfQPersistentModelIndexLayoutChangeHint> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQListOfQPersistentModelIndexLayoutChangeHint>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQListOfQPersistentModelIndexLayoutChangeHint>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QList_QPersistentModelIndex_const_ref_QAbstractItemModel_LayoutChangeHint* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QList_QPersistentModelIndex_const_ref_QAbstractItemModel_LayoutChangeHint*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQModelIndex> for QObject
impl DynamicCast<SignalOfQModelIndex> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndex>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndex>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQModelIndexInt> for QObject
impl DynamicCast<SignalOfQModelIndexInt> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndexInt>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndexInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQModelIndexIntInt> for QObject
impl DynamicCast<SignalOfQModelIndexIntInt> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndexIntInt>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndexIntInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQModelIndexIntIntQModelIndex> for QObject
impl DynamicCast<SignalOfQModelIndexIntIntQModelIndex> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQModelIndexIntIntQModelIndex>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQModelIndexIntIntQModelIndex>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQModelIndexIntIntQModelIndexInt> for QObject
impl DynamicCast<SignalOfQModelIndexIntIntQModelIndexInt> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQModelIndexIntIntQModelIndexInt>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQModelIndexIntIntQModelIndexInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref_int* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref_int*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQModelIndexQModelIndex> for QObject
impl DynamicCast<SignalOfQModelIndexQModelIndex> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndexQModelIndex>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndexQModelIndex>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_QModelIndex_const_ref* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQModelIndexQModelIndexQVectorOfInt> for QObject
impl DynamicCast<SignalOfQModelIndexQModelIndexQVectorOfInt> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQModelIndexQModelIndexQVectorOfInt>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQModelIndexQModelIndexQVectorOfInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_QModelIndex_const_ref_QVector_int_const_ref* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_QModelIndex_const_ref_QVector_int_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQObject> for QObject
impl DynamicCast<SignalOfQObject> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQObject>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQObject>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QObject_ptr* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QObject_ptr*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQString> for QObject
impl DynamicCast<SignalOfQString> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQString>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQString>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QString_const_ref* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QString_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfQVariant> for QObject
impl DynamicCast<SignalOfQVariant> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQVariant>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfQVariant>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QVariant_const_ref* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QVariant_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfState> for QObject
impl DynamicCast<SignalOfState> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfState>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfState>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QTimeLine_State* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QTimeLine_State*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfState2> for QObject
impl DynamicCast<SignalOfState2> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfState2>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfState2>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_State* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_State*>(QObject* ptr)
.
source§impl DynamicCast<SignalOfStateState> for QObject
impl DynamicCast<SignalOfStateState> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfStateState>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SignalOfStateState>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_State_QAbstractAnimation_State* dynamic_cast<ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_State_QAbstractAnimation_State*>(QObject* ptr)
.
source§impl DynamicCast<SlotNoArgs> for QObject
impl DynamicCast<SlotNoArgs> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotNoArgs>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotNoArgs>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfBool> for QObject
impl DynamicCast<SlotOfBool> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfBool>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfBool>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_bool* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_bool*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfDirection> for QObject
impl DynamicCast<SlotOfDirection> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfDirection>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfDirection>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_Direction* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_Direction*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfDouble> for QObject
impl DynamicCast<SlotOfDouble> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfDouble>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfDouble>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_double* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_double*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfI64> for QObject
impl DynamicCast<SlotOfI64> for QObject
source§impl DynamicCast<SlotOfInt> for QObject
impl DynamicCast<SlotOfInt> for QObject
source§impl DynamicCast<SlotOfIntExitStatus> for QObject
impl DynamicCast<SlotOfIntExitStatus> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntExitStatus>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntExitStatus>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_int_QProcess_ExitStatus* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_int_QProcess_ExitStatus*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfIntI64> for QObject
impl DynamicCast<SlotOfIntI64> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntI64>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntI64>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_int_qint64* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_int_qint64*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfIntInt> for QObject
impl DynamicCast<SlotOfIntInt> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntInt>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_int_int* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_int_int*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfOrientation> for QObject
impl DynamicCast<SlotOfOrientation> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientation>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientation>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_Qt_Orientation* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_Qt_Orientation*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfOrientationInt> for QObject
impl DynamicCast<SlotOfOrientationInt> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientationInt>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientationInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_Qt_Orientation_int* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_Qt_Orientation_int*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfOrientationIntInt> for QObject
impl DynamicCast<SlotOfOrientationIntInt> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientationIntInt>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientationIntInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_Qt_Orientation_int_int* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_Qt_Orientation_int_int*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfProcessError> for QObject
impl DynamicCast<SlotOfProcessError> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfProcessError>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfProcessError>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QProcess_ProcessError* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QProcess_ProcessError*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfProcessState> for QObject
impl DynamicCast<SlotOfProcessState> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfProcessState>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfProcessState>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QProcess_ProcessState* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QProcess_ProcessState*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQAbstractAnimation> for QObject
impl DynamicCast<SlotOfQAbstractAnimation> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQAbstractAnimation>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQAbstractAnimation>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_ptr* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_ptr*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQAbstractItemModel> for QObject
impl DynamicCast<SlotOfQAbstractItemModel> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQAbstractItemModel>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQAbstractItemModel>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QAbstractItemModel_ptr* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QAbstractItemModel_ptr*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQItemSelection> for QObject
impl DynamicCast<SlotOfQItemSelection> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQItemSelection>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQItemSelection>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QItemSelection_const_ref* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QItemSelection_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQItemSelectionQItemSelection> for QObject
impl DynamicCast<SlotOfQItemSelectionQItemSelection> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQItemSelectionQItemSelection>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQItemSelectionQItemSelection>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QItemSelection_const_ref_QItemSelection_const_ref* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QItemSelection_const_ref_QItemSelection_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQListOfQPersistentModelIndex> for QObject
impl DynamicCast<SlotOfQListOfQPersistentModelIndex> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQListOfQPersistentModelIndex>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQListOfQPersistentModelIndex>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QList_QPersistentModelIndex_const_ref* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QList_QPersistentModelIndex_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQListOfQPersistentModelIndexLayoutChangeHint> for QObject
impl DynamicCast<SlotOfQListOfQPersistentModelIndexLayoutChangeHint> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQListOfQPersistentModelIndexLayoutChangeHint>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQListOfQPersistentModelIndexLayoutChangeHint>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QList_QPersistentModelIndex_const_ref_QAbstractItemModel_LayoutChangeHint* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QList_QPersistentModelIndex_const_ref_QAbstractItemModel_LayoutChangeHint*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQModelIndex> for QObject
impl DynamicCast<SlotOfQModelIndex> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndex>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndex>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQModelIndexInt> for QObject
impl DynamicCast<SlotOfQModelIndexInt> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndexInt>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndexInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQModelIndexIntInt> for QObject
impl DynamicCast<SlotOfQModelIndexIntInt> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndexIntInt>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndexIntInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQModelIndexIntIntQModelIndex> for QObject
impl DynamicCast<SlotOfQModelIndexIntIntQModelIndex> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQModelIndexIntIntQModelIndex>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQModelIndexIntIntQModelIndex>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQModelIndexIntIntQModelIndexInt> for QObject
impl DynamicCast<SlotOfQModelIndexIntIntQModelIndexInt> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQModelIndexIntIntQModelIndexInt>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQModelIndexIntIntQModelIndexInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref_int* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref_int*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQModelIndexQModelIndex> for QObject
impl DynamicCast<SlotOfQModelIndexQModelIndex> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndexQModelIndex>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndexQModelIndex>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_QModelIndex_const_ref* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQModelIndexQModelIndexQVectorOfInt> for QObject
impl DynamicCast<SlotOfQModelIndexQModelIndexQVectorOfInt> for QObject
source§unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQModelIndexQModelIndexQVectorOfInt>
unsafe fn dynamic_cast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQModelIndexQModelIndexQVectorOfInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_QModelIndex_const_ref_QVector_int_const_ref* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_QModelIndex_const_ref_QVector_int_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQObject> for QObject
impl DynamicCast<SlotOfQObject> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQObject>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQObject>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QObject_ptr* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QObject_ptr*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQString> for QObject
impl DynamicCast<SlotOfQString> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQString>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQString>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QString_const_ref* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QString_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfQVariant> for QObject
impl DynamicCast<SlotOfQVariant> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQVariant>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfQVariant>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QVariant_const_ref* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QVariant_const_ref*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfState> for QObject
impl DynamicCast<SlotOfState> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfState>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfState>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_State* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_State*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfState2> for QObject
impl DynamicCast<SlotOfState2> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfState2>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfState2>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QTimeLine_State* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QTimeLine_State*>(QObject* ptr)
.
source§impl DynamicCast<SlotOfStateState> for QObject
impl DynamicCast<SlotOfStateState> for QObject
source§unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfStateState>
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<SlotOfStateState>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_State_QAbstractAnimation_State* dynamic_cast<ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_State_QAbstractAnimation_State*>(QObject* ptr)
.
source§impl PartialEq<Ref<QPointerOfQObject>> for QObject
impl PartialEq<Ref<QPointerOfQObject>> for QObject
source§fn eq(&self, p: &Ref<QPointerOfQObject>) -> bool
fn eq(&self, p: &Ref<QPointerOfQObject>) -> bool
Returns true
if c1 and c2 are the same Unicode character; otherwise returns false
.
Calls C++ function: bool operator==(const QObject* o, const QPointer<QObject>& p)
.
Warning: no exact match found in C++ documentation. Below is the C++ documentation for bool operator==(QChar c1, QChar c2)
:
Returns true
if c1 and c2 are the same Unicode character; otherwise returns false
.
source§impl StaticDowncast<QAbstractAnimation> for QObject
impl StaticDowncast<QAbstractAnimation> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractAnimation>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractAnimation>
Calls C++ function: QAbstractAnimation* static_cast<QAbstractAnimation*>(QObject* ptr)
.
source§impl StaticDowncast<QAbstractEventDispatcher> for QObject
impl StaticDowncast<QAbstractEventDispatcher> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractEventDispatcher>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractEventDispatcher>
Calls C++ function: QAbstractEventDispatcher* static_cast<QAbstractEventDispatcher*>(QObject* ptr)
.
source§impl StaticDowncast<QAbstractItemModel> for QObject
impl StaticDowncast<QAbstractItemModel> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractItemModel>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractItemModel>
Calls C++ function: QAbstractItemModel* static_cast<QAbstractItemModel*>(QObject* ptr)
.
source§impl StaticDowncast<QAbstractListModel> for QObject
impl StaticDowncast<QAbstractListModel> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractListModel>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractListModel>
Calls C++ function: QAbstractListModel* static_cast<QAbstractListModel*>(QObject* ptr)
.
source§impl StaticDowncast<QAbstractProxyModel> for QObject
impl StaticDowncast<QAbstractProxyModel> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractProxyModel>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractProxyModel>
Calls C++ function: QAbstractProxyModel* static_cast<QAbstractProxyModel*>(QObject* ptr)
.
source§impl StaticDowncast<QAbstractState> for QObject
impl StaticDowncast<QAbstractState> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractState>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractState>
Calls C++ function: QAbstractState* static_cast<QAbstractState*>(QObject* ptr)
.
source§impl StaticDowncast<QAbstractTableModel> for QObject
impl StaticDowncast<QAbstractTableModel> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractTableModel>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractTableModel>
Calls C++ function: QAbstractTableModel* static_cast<QAbstractTableModel*>(QObject* ptr)
.
source§impl StaticDowncast<QAbstractTransition> for QObject
impl StaticDowncast<QAbstractTransition> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractTransition>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractTransition>
Calls C++ function: QAbstractTransition* static_cast<QAbstractTransition*>(QObject* ptr)
.
source§impl StaticDowncast<QAnimationDriver> for QObject
impl StaticDowncast<QAnimationDriver> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAnimationDriver>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAnimationDriver>
Calls C++ function: QAnimationDriver* static_cast<QAnimationDriver*>(QObject* ptr)
.
source§impl StaticDowncast<QAnimationGroup> for QObject
impl StaticDowncast<QAnimationGroup> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAnimationGroup>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAnimationGroup>
Calls C++ function: QAnimationGroup* static_cast<QAnimationGroup*>(QObject* ptr)
.
source§impl StaticDowncast<QBuffer> for QObject
impl StaticDowncast<QBuffer> for QObject
source§impl StaticDowncast<QConcatenateTablesProxyModel> for QObject
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
impl StaticDowncast<QConcatenateTablesProxyModel> for QObject
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<QConcatenateTablesProxyModel>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<QConcatenateTablesProxyModel>
Calls C++ function: QConcatenateTablesProxyModel* static_cast<QConcatenateTablesProxyModel*>(QObject* ptr)
.
source§impl StaticDowncast<QCoreApplication> for QObject
impl StaticDowncast<QCoreApplication> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QCoreApplication>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QCoreApplication>
Calls C++ function: QCoreApplication* static_cast<QCoreApplication*>(QObject* ptr)
.
source§impl StaticDowncast<QEventLoop> for QObject
impl StaticDowncast<QEventLoop> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QEventLoop>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QEventLoop>
Calls C++ function: QEventLoop* static_cast<QEventLoop*>(QObject* ptr)
.
source§impl StaticDowncast<QEventTransition> for QObject
impl StaticDowncast<QEventTransition> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QEventTransition>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QEventTransition>
Calls C++ function: QEventTransition* static_cast<QEventTransition*>(QObject* ptr)
.
source§impl StaticDowncast<QFile> for QObject
impl StaticDowncast<QFile> for QObject
source§impl StaticDowncast<QFileDevice> for QObject
impl StaticDowncast<QFileDevice> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QFileDevice>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QFileDevice>
Calls C++ function: QFileDevice* static_cast<QFileDevice*>(QObject* ptr)
.
source§impl StaticDowncast<QFileSelector> for QObject
impl StaticDowncast<QFileSelector> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QFileSelector>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QFileSelector>
Calls C++ function: QFileSelector* static_cast<QFileSelector*>(QObject* ptr)
.
source§impl StaticDowncast<QFileSystemWatcher> for QObject
impl StaticDowncast<QFileSystemWatcher> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QFileSystemWatcher>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QFileSystemWatcher>
Calls C++ function: QFileSystemWatcher* static_cast<QFileSystemWatcher*>(QObject* ptr)
.
source§impl StaticDowncast<QFinalState> for QObject
impl StaticDowncast<QFinalState> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QFinalState>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QFinalState>
Calls C++ function: QFinalState* static_cast<QFinalState*>(QObject* ptr)
.
source§impl StaticDowncast<QFutureWatcherBase> for QObject
impl StaticDowncast<QFutureWatcherBase> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QFutureWatcherBase>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QFutureWatcherBase>
Calls C++ function: QFutureWatcherBase* static_cast<QFutureWatcherBase*>(QObject* ptr)
.
source§impl StaticDowncast<QHistoryState> for QObject
impl StaticDowncast<QHistoryState> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QHistoryState>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QHistoryState>
Calls C++ function: QHistoryState* static_cast<QHistoryState*>(QObject* ptr)
.
source§impl StaticDowncast<QIODevice> for QObject
impl StaticDowncast<QIODevice> for QObject
source§impl StaticDowncast<QIdentityProxyModel> for QObject
impl StaticDowncast<QIdentityProxyModel> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QIdentityProxyModel>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QIdentityProxyModel>
Calls C++ function: QIdentityProxyModel* static_cast<QIdentityProxyModel*>(QObject* ptr)
.
source§impl StaticDowncast<QItemSelectionModel> for QObject
impl StaticDowncast<QItemSelectionModel> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QItemSelectionModel>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QItemSelectionModel>
Calls C++ function: QItemSelectionModel* static_cast<QItemSelectionModel*>(QObject* ptr)
.
source§impl StaticDowncast<QLibrary> for QObject
impl StaticDowncast<QLibrary> for QObject
source§impl StaticDowncast<QMimeData> for QObject
impl StaticDowncast<QMimeData> for QObject
source§impl StaticDowncast<QObjectCleanupHandler> for QObject
impl StaticDowncast<QObjectCleanupHandler> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QObjectCleanupHandler>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QObjectCleanupHandler>
Calls C++ function: QObjectCleanupHandler* static_cast<QObjectCleanupHandler*>(QObject* ptr)
.
source§impl StaticDowncast<QParallelAnimationGroup> for QObject
impl StaticDowncast<QParallelAnimationGroup> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QParallelAnimationGroup>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QParallelAnimationGroup>
Calls C++ function: QParallelAnimationGroup* static_cast<QParallelAnimationGroup*>(QObject* ptr)
.
source§impl StaticDowncast<QPauseAnimation> for QObject
impl StaticDowncast<QPauseAnimation> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QPauseAnimation>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QPauseAnimation>
Calls C++ function: QPauseAnimation* static_cast<QPauseAnimation*>(QObject* ptr)
.
source§impl StaticDowncast<QPluginLoader> for QObject
impl StaticDowncast<QPluginLoader> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QPluginLoader>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QPluginLoader>
Calls C++ function: QPluginLoader* static_cast<QPluginLoader*>(QObject* ptr)
.
source§impl StaticDowncast<QProcess> for QObject
impl StaticDowncast<QProcess> for QObject
source§impl StaticDowncast<QPropertyAnimation> for QObject
impl StaticDowncast<QPropertyAnimation> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QPropertyAnimation>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QPropertyAnimation>
Calls C++ function: QPropertyAnimation* static_cast<QPropertyAnimation*>(QObject* ptr)
.
source§impl StaticDowncast<QSaveFile> for QObject
impl StaticDowncast<QSaveFile> for QObject
source§impl StaticDowncast<QSequentialAnimationGroup> for QObject
impl StaticDowncast<QSequentialAnimationGroup> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSequentialAnimationGroup>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSequentialAnimationGroup>
Calls C++ function: QSequentialAnimationGroup* static_cast<QSequentialAnimationGroup*>(QObject* ptr)
.
source§impl StaticDowncast<QSettings> for QObject
impl StaticDowncast<QSettings> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSharedMemory>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSharedMemory>
Calls C++ function: QSharedMemory* static_cast<QSharedMemory*>(QObject* ptr)
.
source§impl StaticDowncast<QSignalMapper> for QObject
impl StaticDowncast<QSignalMapper> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSignalMapper>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSignalMapper>
Calls C++ function: QSignalMapper* static_cast<QSignalMapper*>(QObject* ptr)
.
source§impl StaticDowncast<QSignalTransition> for QObject
impl StaticDowncast<QSignalTransition> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSignalTransition>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSignalTransition>
Calls C++ function: QSignalTransition* static_cast<QSignalTransition*>(QObject* ptr)
.
source§impl StaticDowncast<QSocketNotifier> for QObject
impl StaticDowncast<QSocketNotifier> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSocketNotifier>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSocketNotifier>
Calls C++ function: QSocketNotifier* static_cast<QSocketNotifier*>(QObject* ptr)
.
source§impl StaticDowncast<QSortFilterProxyModel> for QObject
impl StaticDowncast<QSortFilterProxyModel> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSortFilterProxyModel>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSortFilterProxyModel>
Calls C++ function: QSortFilterProxyModel* static_cast<QSortFilterProxyModel*>(QObject* ptr)
.
source§impl StaticDowncast<QState> for QObject
impl StaticDowncast<QState> for QObject
source§impl StaticDowncast<QStateMachine> for QObject
impl StaticDowncast<QStateMachine> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QStateMachine>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QStateMachine>
Calls C++ function: QStateMachine* static_cast<QStateMachine*>(QObject* ptr)
.
source§impl StaticDowncast<QStringListModel> for QObject
impl StaticDowncast<QStringListModel> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QStringListModel>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QStringListModel>
Calls C++ function: QStringListModel* static_cast<QStringListModel*>(QObject* ptr)
.
source§impl StaticDowncast<QTemporaryFile> for QObject
impl StaticDowncast<QTemporaryFile> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QTemporaryFile>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QTemporaryFile>
Calls C++ function: QTemporaryFile* static_cast<QTemporaryFile*>(QObject* ptr)
.
source§impl StaticDowncast<QThread> for QObject
impl StaticDowncast<QThread> for QObject
source§impl StaticDowncast<QThreadPool> for QObject
impl StaticDowncast<QThreadPool> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QThreadPool>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QThreadPool>
Calls C++ function: QThreadPool* static_cast<QThreadPool*>(QObject* ptr)
.
source§impl StaticDowncast<QTimeLine> for QObject
impl StaticDowncast<QTimeLine> for QObject
source§impl StaticDowncast<QTimer> for QObject
impl StaticDowncast<QTimer> for QObject
source§impl StaticDowncast<QTranslator> for QObject
impl StaticDowncast<QTranslator> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QTranslator>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QTranslator>
Calls C++ function: QTranslator* static_cast<QTranslator*>(QObject* ptr)
.
source§impl StaticDowncast<QTransposeProxyModel> for QObject
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
impl StaticDowncast<QTransposeProxyModel> for QObject
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QTransposeProxyModel>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QTransposeProxyModel>
Calls C++ function: QTransposeProxyModel* static_cast<QTransposeProxyModel*>(QObject* ptr)
.
source§impl StaticDowncast<QVariantAnimation> for QObject
impl StaticDowncast<QVariantAnimation> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QVariantAnimation>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QVariantAnimation>
Calls C++ function: QVariantAnimation* static_cast<QVariantAnimation*>(QObject* ptr)
.
source§impl StaticDowncast<SignalNoArgs> for QObject
impl StaticDowncast<SignalNoArgs> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalNoArgs>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalNoArgs>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_* static_cast<ctr_qt_core_ffi_signal_wrapper_*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfBool> for QObject
impl StaticDowncast<SignalOfBool> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfBool>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfBool>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_bool* static_cast<ctr_qt_core_ffi_signal_wrapper_bool*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfDirection> for QObject
impl StaticDowncast<SignalOfDirection> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfDirection>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfDirection>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_Direction* static_cast<ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_Direction*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfDouble> for QObject
impl StaticDowncast<SignalOfDouble> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfDouble>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfDouble>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_double* static_cast<ctr_qt_core_ffi_signal_wrapper_double*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfI64> for QObject
impl StaticDowncast<SignalOfI64> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfI64>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfI64>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_qint64* static_cast<ctr_qt_core_ffi_signal_wrapper_qint64*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfInt> for QObject
impl StaticDowncast<SignalOfInt> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfInt>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_int* static_cast<ctr_qt_core_ffi_signal_wrapper_int*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfIntExitStatus> for QObject
impl StaticDowncast<SignalOfIntExitStatus> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntExitStatus>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntExitStatus>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_int_QProcess_ExitStatus* static_cast<ctr_qt_core_ffi_signal_wrapper_int_QProcess_ExitStatus*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfIntI64> for QObject
impl StaticDowncast<SignalOfIntI64> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntI64>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntI64>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_int_qint64* static_cast<ctr_qt_core_ffi_signal_wrapper_int_qint64*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfIntInt> for QObject
impl StaticDowncast<SignalOfIntInt> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntInt>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfIntInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_int_int* static_cast<ctr_qt_core_ffi_signal_wrapper_int_int*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfOrientation> for QObject
impl StaticDowncast<SignalOfOrientation> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientation>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientation>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_Qt_Orientation* static_cast<ctr_qt_core_ffi_signal_wrapper_Qt_Orientation*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfOrientationInt> for QObject
impl StaticDowncast<SignalOfOrientationInt> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientationInt>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientationInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_Qt_Orientation_int* static_cast<ctr_qt_core_ffi_signal_wrapper_Qt_Orientation_int*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfOrientationIntInt> for QObject
impl StaticDowncast<SignalOfOrientationIntInt> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientationIntInt>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfOrientationIntInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_Qt_Orientation_int_int* static_cast<ctr_qt_core_ffi_signal_wrapper_Qt_Orientation_int_int*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfProcessError> for QObject
impl StaticDowncast<SignalOfProcessError> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfProcessError>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfProcessError>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QProcess_ProcessError* static_cast<ctr_qt_core_ffi_signal_wrapper_QProcess_ProcessError*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfProcessState> for QObject
impl StaticDowncast<SignalOfProcessState> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfProcessState>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfProcessState>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QProcess_ProcessState* static_cast<ctr_qt_core_ffi_signal_wrapper_QProcess_ProcessState*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQAbstractAnimation> for QObject
impl StaticDowncast<SignalOfQAbstractAnimation> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQAbstractAnimation>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQAbstractAnimation>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_ptr* static_cast<ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_ptr*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQAbstractItemModel> for QObject
impl StaticDowncast<SignalOfQAbstractItemModel> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQAbstractItemModel>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQAbstractItemModel>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QAbstractItemModel_ptr* static_cast<ctr_qt_core_ffi_signal_wrapper_QAbstractItemModel_ptr*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQItemSelection> for QObject
impl StaticDowncast<SignalOfQItemSelection> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQItemSelection>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQItemSelection>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QItemSelection_const_ref* static_cast<ctr_qt_core_ffi_signal_wrapper_QItemSelection_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQItemSelectionQItemSelection> for QObject
impl StaticDowncast<SignalOfQItemSelectionQItemSelection> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQItemSelectionQItemSelection>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQItemSelectionQItemSelection>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QItemSelection_const_ref_QItemSelection_const_ref* static_cast<ctr_qt_core_ffi_signal_wrapper_QItemSelection_const_ref_QItemSelection_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQListOfQPersistentModelIndex> for QObject
impl StaticDowncast<SignalOfQListOfQPersistentModelIndex> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQListOfQPersistentModelIndex>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQListOfQPersistentModelIndex>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QList_QPersistentModelIndex_const_ref* static_cast<ctr_qt_core_ffi_signal_wrapper_QList_QPersistentModelIndex_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQListOfQPersistentModelIndexLayoutChangeHint> for QObject
impl StaticDowncast<SignalOfQListOfQPersistentModelIndexLayoutChangeHint> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQListOfQPersistentModelIndexLayoutChangeHint>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQListOfQPersistentModelIndexLayoutChangeHint>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QList_QPersistentModelIndex_const_ref_QAbstractItemModel_LayoutChangeHint* static_cast<ctr_qt_core_ffi_signal_wrapper_QList_QPersistentModelIndex_const_ref_QAbstractItemModel_LayoutChangeHint*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQModelIndex> for QObject
impl StaticDowncast<SignalOfQModelIndex> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndex>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndex>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref* static_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQModelIndexInt> for QObject
impl StaticDowncast<SignalOfQModelIndexInt> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndexInt>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndexInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int* static_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQModelIndexIntInt> for QObject
impl StaticDowncast<SignalOfQModelIndexIntInt> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndexIntInt>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQModelIndexIntInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int* static_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQModelIndexIntIntQModelIndex> for QObject
impl StaticDowncast<SignalOfQModelIndexIntIntQModelIndex> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQModelIndexIntIntQModelIndex>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQModelIndexIntIntQModelIndex>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref* static_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQModelIndexIntIntQModelIndexInt> for QObject
impl StaticDowncast<SignalOfQModelIndexIntIntQModelIndexInt> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQModelIndexIntIntQModelIndexInt>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQModelIndexIntIntQModelIndexInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref_int* static_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref_int*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQModelIndexQModelIndex> for QObject
impl StaticDowncast<SignalOfQModelIndexQModelIndex> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQModelIndexQModelIndex>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQModelIndexQModelIndex>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_QModelIndex_const_ref* static_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQModelIndexQModelIndexQVectorOfInt> for QObject
impl StaticDowncast<SignalOfQModelIndexQModelIndexQVectorOfInt> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SignalOfQModelIndexQModelIndexQVectorOfInt>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SignalOfQModelIndexQModelIndexQVectorOfInt>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_QModelIndex_const_ref_QVector_int_const_ref* static_cast<ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_QModelIndex_const_ref_QVector_int_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQObject> for QObject
impl StaticDowncast<SignalOfQObject> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQObject>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQObject>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QObject_ptr* static_cast<ctr_qt_core_ffi_signal_wrapper_QObject_ptr*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQString> for QObject
impl StaticDowncast<SignalOfQString> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQString>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQString>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QString_const_ref* static_cast<ctr_qt_core_ffi_signal_wrapper_QString_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfQVariant> for QObject
impl StaticDowncast<SignalOfQVariant> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQVariant>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfQVariant>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QVariant_const_ref* static_cast<ctr_qt_core_ffi_signal_wrapper_QVariant_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfState> for QObject
impl StaticDowncast<SignalOfState> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfState>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfState>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QTimeLine_State* static_cast<ctr_qt_core_ffi_signal_wrapper_QTimeLine_State*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfState2> for QObject
impl StaticDowncast<SignalOfState2> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfState2>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfState2>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_State* static_cast<ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_State*>(QObject* ptr)
.
source§impl StaticDowncast<SignalOfStateState> for QObject
impl StaticDowncast<SignalOfStateState> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfStateState>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SignalOfStateState>
Calls C++ function: ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_State_QAbstractAnimation_State* static_cast<ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_State_QAbstractAnimation_State*>(QObject* ptr)
.
source§impl StaticDowncast<SlotNoArgs> for QObject
impl StaticDowncast<SlotNoArgs> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotNoArgs>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotNoArgs>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_* static_cast<ctr_qt_core_ffi_slot_wrapper_*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfBool> for QObject
impl StaticDowncast<SlotOfBool> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfBool>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfBool>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_bool* static_cast<ctr_qt_core_ffi_slot_wrapper_bool*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfDirection> for QObject
impl StaticDowncast<SlotOfDirection> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfDirection>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfDirection>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_Direction* static_cast<ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_Direction*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfDouble> for QObject
impl StaticDowncast<SlotOfDouble> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfDouble>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfDouble>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_double* static_cast<ctr_qt_core_ffi_slot_wrapper_double*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfI64> for QObject
impl StaticDowncast<SlotOfI64> for QObject
source§impl StaticDowncast<SlotOfInt> for QObject
impl StaticDowncast<SlotOfInt> for QObject
source§impl StaticDowncast<SlotOfIntExitStatus> for QObject
impl StaticDowncast<SlotOfIntExitStatus> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntExitStatus>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntExitStatus>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_int_QProcess_ExitStatus* static_cast<ctr_qt_core_ffi_slot_wrapper_int_QProcess_ExitStatus*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfIntI64> for QObject
impl StaticDowncast<SlotOfIntI64> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntI64>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntI64>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_int_qint64* static_cast<ctr_qt_core_ffi_slot_wrapper_int_qint64*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfIntInt> for QObject
impl StaticDowncast<SlotOfIntInt> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntInt>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfIntInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_int_int* static_cast<ctr_qt_core_ffi_slot_wrapper_int_int*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfOrientation> for QObject
impl StaticDowncast<SlotOfOrientation> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientation>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientation>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_Qt_Orientation* static_cast<ctr_qt_core_ffi_slot_wrapper_Qt_Orientation*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfOrientationInt> for QObject
impl StaticDowncast<SlotOfOrientationInt> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientationInt>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientationInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_Qt_Orientation_int* static_cast<ctr_qt_core_ffi_slot_wrapper_Qt_Orientation_int*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfOrientationIntInt> for QObject
impl StaticDowncast<SlotOfOrientationIntInt> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientationIntInt>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfOrientationIntInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_Qt_Orientation_int_int* static_cast<ctr_qt_core_ffi_slot_wrapper_Qt_Orientation_int_int*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfProcessError> for QObject
impl StaticDowncast<SlotOfProcessError> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfProcessError>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfProcessError>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QProcess_ProcessError* static_cast<ctr_qt_core_ffi_slot_wrapper_QProcess_ProcessError*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfProcessState> for QObject
impl StaticDowncast<SlotOfProcessState> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfProcessState>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfProcessState>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QProcess_ProcessState* static_cast<ctr_qt_core_ffi_slot_wrapper_QProcess_ProcessState*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQAbstractAnimation> for QObject
impl StaticDowncast<SlotOfQAbstractAnimation> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQAbstractAnimation>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQAbstractAnimation>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_ptr* static_cast<ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_ptr*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQAbstractItemModel> for QObject
impl StaticDowncast<SlotOfQAbstractItemModel> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQAbstractItemModel>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQAbstractItemModel>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QAbstractItemModel_ptr* static_cast<ctr_qt_core_ffi_slot_wrapper_QAbstractItemModel_ptr*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQItemSelection> for QObject
impl StaticDowncast<SlotOfQItemSelection> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQItemSelection>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQItemSelection>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QItemSelection_const_ref* static_cast<ctr_qt_core_ffi_slot_wrapper_QItemSelection_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQItemSelectionQItemSelection> for QObject
impl StaticDowncast<SlotOfQItemSelectionQItemSelection> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQItemSelectionQItemSelection>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQItemSelectionQItemSelection>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QItemSelection_const_ref_QItemSelection_const_ref* static_cast<ctr_qt_core_ffi_slot_wrapper_QItemSelection_const_ref_QItemSelection_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQListOfQPersistentModelIndex> for QObject
impl StaticDowncast<SlotOfQListOfQPersistentModelIndex> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQListOfQPersistentModelIndex>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQListOfQPersistentModelIndex>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QList_QPersistentModelIndex_const_ref* static_cast<ctr_qt_core_ffi_slot_wrapper_QList_QPersistentModelIndex_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQListOfQPersistentModelIndexLayoutChangeHint> for QObject
impl StaticDowncast<SlotOfQListOfQPersistentModelIndexLayoutChangeHint> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQListOfQPersistentModelIndexLayoutChangeHint>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQListOfQPersistentModelIndexLayoutChangeHint>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QList_QPersistentModelIndex_const_ref_QAbstractItemModel_LayoutChangeHint* static_cast<ctr_qt_core_ffi_slot_wrapper_QList_QPersistentModelIndex_const_ref_QAbstractItemModel_LayoutChangeHint*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQModelIndex> for QObject
impl StaticDowncast<SlotOfQModelIndex> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndex>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndex>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref* static_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQModelIndexInt> for QObject
impl StaticDowncast<SlotOfQModelIndexInt> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndexInt>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndexInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int* static_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQModelIndexIntInt> for QObject
impl StaticDowncast<SlotOfQModelIndexIntInt> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndexIntInt>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQModelIndexIntInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int* static_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQModelIndexIntIntQModelIndex> for QObject
impl StaticDowncast<SlotOfQModelIndexIntIntQModelIndex> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQModelIndexIntIntQModelIndex>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQModelIndexIntIntQModelIndex>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref* static_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQModelIndexIntIntQModelIndexInt> for QObject
impl StaticDowncast<SlotOfQModelIndexIntIntQModelIndexInt> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQModelIndexIntIntQModelIndexInt>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQModelIndexIntIntQModelIndexInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref_int* static_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref_int*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQModelIndexQModelIndex> for QObject
impl StaticDowncast<SlotOfQModelIndexQModelIndex> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQModelIndexQModelIndex>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQModelIndexQModelIndex>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_QModelIndex_const_ref* static_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_QModelIndex_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQModelIndexQModelIndexQVectorOfInt> for QObject
impl StaticDowncast<SlotOfQModelIndexQModelIndexQVectorOfInt> for QObject
source§unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<SlotOfQModelIndexQModelIndexQVectorOfInt>
unsafe fn static_downcast( ptr: Ptr<QObject> ) -> Ptr<SlotOfQModelIndexQModelIndexQVectorOfInt>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_QModelIndex_const_ref_QVector_int_const_ref* static_cast<ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_QModelIndex_const_ref_QVector_int_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQObject> for QObject
impl StaticDowncast<SlotOfQObject> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQObject>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQObject>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QObject_ptr* static_cast<ctr_qt_core_ffi_slot_wrapper_QObject_ptr*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQString> for QObject
impl StaticDowncast<SlotOfQString> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQString>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQString>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QString_const_ref* static_cast<ctr_qt_core_ffi_slot_wrapper_QString_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfQVariant> for QObject
impl StaticDowncast<SlotOfQVariant> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQVariant>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfQVariant>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QVariant_const_ref* static_cast<ctr_qt_core_ffi_slot_wrapper_QVariant_const_ref*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfState> for QObject
impl StaticDowncast<SlotOfState> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfState>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfState>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_State* static_cast<ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_State*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfState2> for QObject
impl StaticDowncast<SlotOfState2> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfState2>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfState2>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QTimeLine_State* static_cast<ctr_qt_core_ffi_slot_wrapper_QTimeLine_State*>(QObject* ptr)
.
source§impl StaticDowncast<SlotOfStateState> for QObject
impl StaticDowncast<SlotOfStateState> for QObject
source§unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfStateState>
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<SlotOfStateState>
Calls C++ function: ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_State_QAbstractAnimation_State* static_cast<ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_State_QAbstractAnimation_State*>(QObject* ptr)
.
source§impl StaticUpcast<QObject> for QAbstractAnimation
impl StaticUpcast<QObject> for QAbstractAnimation
source§unsafe fn static_upcast(ptr: Ptr<QAbstractAnimation>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QAbstractAnimation>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QAbstractAnimation* ptr)
.
source§impl StaticUpcast<QObject> for QAbstractEventDispatcher
impl StaticUpcast<QObject> for QAbstractEventDispatcher
source§unsafe fn static_upcast(ptr: Ptr<QAbstractEventDispatcher>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QAbstractEventDispatcher>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QAbstractEventDispatcher* ptr)
.
source§impl StaticUpcast<QObject> for QAbstractItemModel
impl StaticUpcast<QObject> for QAbstractItemModel
source§unsafe fn static_upcast(ptr: Ptr<QAbstractItemModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QAbstractItemModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QAbstractItemModel* ptr)
.
source§impl StaticUpcast<QObject> for QAbstractListModel
impl StaticUpcast<QObject> for QAbstractListModel
source§unsafe fn static_upcast(ptr: Ptr<QAbstractListModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QAbstractListModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QAbstractListModel* ptr)
.
source§impl StaticUpcast<QObject> for QAbstractProxyModel
impl StaticUpcast<QObject> for QAbstractProxyModel
source§unsafe fn static_upcast(ptr: Ptr<QAbstractProxyModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QAbstractProxyModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QAbstractProxyModel* ptr)
.
source§impl StaticUpcast<QObject> for QAbstractState
impl StaticUpcast<QObject> for QAbstractState
source§unsafe fn static_upcast(ptr: Ptr<QAbstractState>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QAbstractState>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QAbstractState* ptr)
.
source§impl StaticUpcast<QObject> for QAbstractTableModel
impl StaticUpcast<QObject> for QAbstractTableModel
source§unsafe fn static_upcast(ptr: Ptr<QAbstractTableModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QAbstractTableModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QAbstractTableModel* ptr)
.
source§impl StaticUpcast<QObject> for QAbstractTransition
impl StaticUpcast<QObject> for QAbstractTransition
source§unsafe fn static_upcast(ptr: Ptr<QAbstractTransition>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QAbstractTransition>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QAbstractTransition* ptr)
.
source§impl StaticUpcast<QObject> for QAnimationDriver
impl StaticUpcast<QObject> for QAnimationDriver
source§unsafe fn static_upcast(ptr: Ptr<QAnimationDriver>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QAnimationDriver>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QAnimationDriver* ptr)
.
source§impl StaticUpcast<QObject> for QAnimationGroup
impl StaticUpcast<QObject> for QAnimationGroup
source§unsafe fn static_upcast(ptr: Ptr<QAnimationGroup>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QAnimationGroup>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QAnimationGroup* ptr)
.
source§impl StaticUpcast<QObject> for QBuffer
impl StaticUpcast<QObject> for QBuffer
source§impl StaticUpcast<QObject> for QConcatenateTablesProxyModel
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
impl StaticUpcast<QObject> for QConcatenateTablesProxyModel
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.source§unsafe fn static_upcast(ptr: Ptr<QConcatenateTablesProxyModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QConcatenateTablesProxyModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QConcatenateTablesProxyModel* ptr)
.
source§impl StaticUpcast<QObject> for QCoreApplication
impl StaticUpcast<QObject> for QCoreApplication
source§unsafe fn static_upcast(ptr: Ptr<QCoreApplication>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QCoreApplication>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QCoreApplication* ptr)
.
source§impl StaticUpcast<QObject> for QEventLoop
impl StaticUpcast<QObject> for QEventLoop
source§unsafe fn static_upcast(ptr: Ptr<QEventLoop>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QEventLoop>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QEventLoop* ptr)
.
source§impl StaticUpcast<QObject> for QEventTransition
impl StaticUpcast<QObject> for QEventTransition
source§unsafe fn static_upcast(ptr: Ptr<QEventTransition>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QEventTransition>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QEventTransition* ptr)
.
source§impl StaticUpcast<QObject> for QFile
impl StaticUpcast<QObject> for QFile
source§impl StaticUpcast<QObject> for QFileDevice
impl StaticUpcast<QObject> for QFileDevice
source§unsafe fn static_upcast(ptr: Ptr<QFileDevice>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QFileDevice>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QFileDevice* ptr)
.
source§impl StaticUpcast<QObject> for QFileSelector
impl StaticUpcast<QObject> for QFileSelector
source§unsafe fn static_upcast(ptr: Ptr<QFileSelector>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QFileSelector>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QFileSelector* ptr)
.
source§impl StaticUpcast<QObject> for QFileSystemWatcher
impl StaticUpcast<QObject> for QFileSystemWatcher
source§unsafe fn static_upcast(ptr: Ptr<QFileSystemWatcher>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QFileSystemWatcher>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QFileSystemWatcher* ptr)
.
source§impl StaticUpcast<QObject> for QFinalState
impl StaticUpcast<QObject> for QFinalState
source§unsafe fn static_upcast(ptr: Ptr<QFinalState>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QFinalState>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QFinalState* ptr)
.
source§impl StaticUpcast<QObject> for QFutureWatcherBase
impl StaticUpcast<QObject> for QFutureWatcherBase
source§unsafe fn static_upcast(ptr: Ptr<QFutureWatcherBase>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QFutureWatcherBase>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QFutureWatcherBase* ptr)
.
source§impl StaticUpcast<QObject> for QHistoryState
impl StaticUpcast<QObject> for QHistoryState
source§unsafe fn static_upcast(ptr: Ptr<QHistoryState>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QHistoryState>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QHistoryState* ptr)
.
source§impl StaticUpcast<QObject> for QIODevice
impl StaticUpcast<QObject> for QIODevice
source§impl StaticUpcast<QObject> for QIdentityProxyModel
impl StaticUpcast<QObject> for QIdentityProxyModel
source§unsafe fn static_upcast(ptr: Ptr<QIdentityProxyModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QIdentityProxyModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QIdentityProxyModel* ptr)
.
source§impl StaticUpcast<QObject> for QItemSelectionModel
impl StaticUpcast<QObject> for QItemSelectionModel
source§unsafe fn static_upcast(ptr: Ptr<QItemSelectionModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QItemSelectionModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QItemSelectionModel* ptr)
.
source§impl StaticUpcast<QObject> for QLibrary
impl StaticUpcast<QObject> for QLibrary
source§impl StaticUpcast<QObject> for QMimeData
impl StaticUpcast<QObject> for QMimeData
source§impl StaticUpcast<QObject> for QObjectCleanupHandler
impl StaticUpcast<QObject> for QObjectCleanupHandler
source§unsafe fn static_upcast(ptr: Ptr<QObjectCleanupHandler>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QObjectCleanupHandler>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QObjectCleanupHandler* ptr)
.
source§impl StaticUpcast<QObject> for QParallelAnimationGroup
impl StaticUpcast<QObject> for QParallelAnimationGroup
source§unsafe fn static_upcast(ptr: Ptr<QParallelAnimationGroup>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QParallelAnimationGroup>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QParallelAnimationGroup* ptr)
.
source§impl StaticUpcast<QObject> for QPauseAnimation
impl StaticUpcast<QObject> for QPauseAnimation
source§unsafe fn static_upcast(ptr: Ptr<QPauseAnimation>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QPauseAnimation>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QPauseAnimation* ptr)
.
source§impl StaticUpcast<QObject> for QPluginLoader
impl StaticUpcast<QObject> for QPluginLoader
source§unsafe fn static_upcast(ptr: Ptr<QPluginLoader>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QPluginLoader>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QPluginLoader* ptr)
.
source§impl StaticUpcast<QObject> for QProcess
impl StaticUpcast<QObject> for QProcess
source§impl StaticUpcast<QObject> for QPropertyAnimation
impl StaticUpcast<QObject> for QPropertyAnimation
source§unsafe fn static_upcast(ptr: Ptr<QPropertyAnimation>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QPropertyAnimation>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QPropertyAnimation* ptr)
.
source§impl StaticUpcast<QObject> for QSaveFile
impl StaticUpcast<QObject> for QSaveFile
source§impl StaticUpcast<QObject> for QSequentialAnimationGroup
impl StaticUpcast<QObject> for QSequentialAnimationGroup
source§unsafe fn static_upcast(ptr: Ptr<QSequentialAnimationGroup>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QSequentialAnimationGroup>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QSequentialAnimationGroup* ptr)
.
source§impl StaticUpcast<QObject> for QSettings
impl StaticUpcast<QObject> for QSettings
source§unsafe fn static_upcast(ptr: Ptr<QSharedMemory>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QSharedMemory>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QSharedMemory* ptr)
.
source§impl StaticUpcast<QObject> for QSignalMapper
impl StaticUpcast<QObject> for QSignalMapper
source§unsafe fn static_upcast(ptr: Ptr<QSignalMapper>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QSignalMapper>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QSignalMapper* ptr)
.
source§impl StaticUpcast<QObject> for QSignalTransition
impl StaticUpcast<QObject> for QSignalTransition
source§unsafe fn static_upcast(ptr: Ptr<QSignalTransition>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QSignalTransition>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QSignalTransition* ptr)
.
source§impl StaticUpcast<QObject> for QSocketNotifier
impl StaticUpcast<QObject> for QSocketNotifier
source§unsafe fn static_upcast(ptr: Ptr<QSocketNotifier>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QSocketNotifier>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QSocketNotifier* ptr)
.
source§impl StaticUpcast<QObject> for QSortFilterProxyModel
impl StaticUpcast<QObject> for QSortFilterProxyModel
source§unsafe fn static_upcast(ptr: Ptr<QSortFilterProxyModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QSortFilterProxyModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QSortFilterProxyModel* ptr)
.
source§impl StaticUpcast<QObject> for QState
impl StaticUpcast<QObject> for QState
source§impl StaticUpcast<QObject> for QStateMachine
impl StaticUpcast<QObject> for QStateMachine
source§unsafe fn static_upcast(ptr: Ptr<QStateMachine>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QStateMachine>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QStateMachine* ptr)
.
source§impl StaticUpcast<QObject> for QStringListModel
impl StaticUpcast<QObject> for QStringListModel
source§unsafe fn static_upcast(ptr: Ptr<QStringListModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QStringListModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QStringListModel* ptr)
.
source§impl StaticUpcast<QObject> for QTemporaryFile
impl StaticUpcast<QObject> for QTemporaryFile
source§unsafe fn static_upcast(ptr: Ptr<QTemporaryFile>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QTemporaryFile>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QTemporaryFile* ptr)
.
source§impl StaticUpcast<QObject> for QThread
impl StaticUpcast<QObject> for QThread
source§impl StaticUpcast<QObject> for QThreadPool
impl StaticUpcast<QObject> for QThreadPool
source§unsafe fn static_upcast(ptr: Ptr<QThreadPool>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QThreadPool>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QThreadPool* ptr)
.
source§impl StaticUpcast<QObject> for QTimeLine
impl StaticUpcast<QObject> for QTimeLine
source§impl StaticUpcast<QObject> for QTimer
impl StaticUpcast<QObject> for QTimer
source§impl StaticUpcast<QObject> for QTranslator
impl StaticUpcast<QObject> for QTranslator
source§unsafe fn static_upcast(ptr: Ptr<QTranslator>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QTranslator>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QTranslator* ptr)
.
source§impl StaticUpcast<QObject> for QTransposeProxyModel
Available on cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.
impl StaticUpcast<QObject> for QTransposeProxyModel
cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.source§unsafe fn static_upcast(ptr: Ptr<QTransposeProxyModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QTransposeProxyModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QTransposeProxyModel* ptr)
.
source§impl StaticUpcast<QObject> for QVariantAnimation
impl StaticUpcast<QObject> for QVariantAnimation
source§unsafe fn static_upcast(ptr: Ptr<QVariantAnimation>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<QVariantAnimation>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(QVariantAnimation* ptr)
.
source§impl StaticUpcast<QObject> for SignalNoArgs
impl StaticUpcast<QObject> for SignalNoArgs
source§unsafe fn static_upcast(ptr: Ptr<SignalNoArgs>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalNoArgs>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfBool
impl StaticUpcast<QObject> for SignalOfBool
source§unsafe fn static_upcast(ptr: Ptr<SignalOfBool>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfBool>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_bool* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfDirection
impl StaticUpcast<QObject> for SignalOfDirection
source§unsafe fn static_upcast(ptr: Ptr<SignalOfDirection>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfDirection>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_Direction* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfDouble
impl StaticUpcast<QObject> for SignalOfDouble
source§unsafe fn static_upcast(ptr: Ptr<SignalOfDouble>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfDouble>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_double* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfI64
impl StaticUpcast<QObject> for SignalOfI64
source§unsafe fn static_upcast(ptr: Ptr<SignalOfI64>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfI64>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_qint64* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfInt
impl StaticUpcast<QObject> for SignalOfInt
source§unsafe fn static_upcast(ptr: Ptr<SignalOfInt>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfInt>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_int* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfIntExitStatus
impl StaticUpcast<QObject> for SignalOfIntExitStatus
source§unsafe fn static_upcast(ptr: Ptr<SignalOfIntExitStatus>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfIntExitStatus>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_int_QProcess_ExitStatus* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfIntI64
impl StaticUpcast<QObject> for SignalOfIntI64
source§unsafe fn static_upcast(ptr: Ptr<SignalOfIntI64>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfIntI64>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_int_qint64* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfIntInt
impl StaticUpcast<QObject> for SignalOfIntInt
source§unsafe fn static_upcast(ptr: Ptr<SignalOfIntInt>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfIntInt>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_int_int* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfOrientation
impl StaticUpcast<QObject> for SignalOfOrientation
source§unsafe fn static_upcast(ptr: Ptr<SignalOfOrientation>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfOrientation>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_Qt_Orientation* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfOrientationInt
impl StaticUpcast<QObject> for SignalOfOrientationInt
source§unsafe fn static_upcast(ptr: Ptr<SignalOfOrientationInt>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfOrientationInt>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_Qt_Orientation_int* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfOrientationIntInt
impl StaticUpcast<QObject> for SignalOfOrientationIntInt
source§unsafe fn static_upcast(ptr: Ptr<SignalOfOrientationIntInt>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfOrientationIntInt>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_Qt_Orientation_int_int* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfProcessError
impl StaticUpcast<QObject> for SignalOfProcessError
source§unsafe fn static_upcast(ptr: Ptr<SignalOfProcessError>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfProcessError>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QProcess_ProcessError* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfProcessState
impl StaticUpcast<QObject> for SignalOfProcessState
source§unsafe fn static_upcast(ptr: Ptr<SignalOfProcessState>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfProcessState>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QProcess_ProcessState* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQAbstractAnimation
impl StaticUpcast<QObject> for SignalOfQAbstractAnimation
source§unsafe fn static_upcast(ptr: Ptr<SignalOfQAbstractAnimation>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfQAbstractAnimation>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_ptr* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQAbstractItemModel
impl StaticUpcast<QObject> for SignalOfQAbstractItemModel
source§unsafe fn static_upcast(ptr: Ptr<SignalOfQAbstractItemModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfQAbstractItemModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QAbstractItemModel_ptr* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQItemSelection
impl StaticUpcast<QObject> for SignalOfQItemSelection
source§unsafe fn static_upcast(ptr: Ptr<SignalOfQItemSelection>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfQItemSelection>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QItemSelection_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQItemSelectionQItemSelection
impl StaticUpcast<QObject> for SignalOfQItemSelectionQItemSelection
source§unsafe fn static_upcast(
ptr: Ptr<SignalOfQItemSelectionQItemSelection>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SignalOfQItemSelectionQItemSelection> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QItemSelection_const_ref_QItemSelection_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQListOfQPersistentModelIndex
impl StaticUpcast<QObject> for SignalOfQListOfQPersistentModelIndex
source§unsafe fn static_upcast(
ptr: Ptr<SignalOfQListOfQPersistentModelIndex>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SignalOfQListOfQPersistentModelIndex> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QList_QPersistentModelIndex_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQListOfQPersistentModelIndexLayoutChangeHint
impl StaticUpcast<QObject> for SignalOfQListOfQPersistentModelIndexLayoutChangeHint
source§unsafe fn static_upcast(
ptr: Ptr<SignalOfQListOfQPersistentModelIndexLayoutChangeHint>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SignalOfQListOfQPersistentModelIndexLayoutChangeHint> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QList_QPersistentModelIndex_const_ref_QAbstractItemModel_LayoutChangeHint* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQModelIndex
impl StaticUpcast<QObject> for SignalOfQModelIndex
source§unsafe fn static_upcast(ptr: Ptr<SignalOfQModelIndex>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfQModelIndex>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQModelIndexInt
impl StaticUpcast<QObject> for SignalOfQModelIndexInt
source§unsafe fn static_upcast(ptr: Ptr<SignalOfQModelIndexInt>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfQModelIndexInt>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQModelIndexIntInt
impl StaticUpcast<QObject> for SignalOfQModelIndexIntInt
source§unsafe fn static_upcast(ptr: Ptr<SignalOfQModelIndexIntInt>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfQModelIndexIntInt>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQModelIndexIntIntQModelIndex
impl StaticUpcast<QObject> for SignalOfQModelIndexIntIntQModelIndex
source§unsafe fn static_upcast(
ptr: Ptr<SignalOfQModelIndexIntIntQModelIndex>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SignalOfQModelIndexIntIntQModelIndex> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQModelIndexIntIntQModelIndexInt
impl StaticUpcast<QObject> for SignalOfQModelIndexIntIntQModelIndexInt
source§unsafe fn static_upcast(
ptr: Ptr<SignalOfQModelIndexIntIntQModelIndexInt>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SignalOfQModelIndexIntIntQModelIndexInt> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref_int* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQModelIndexQModelIndex
impl StaticUpcast<QObject> for SignalOfQModelIndexQModelIndex
source§unsafe fn static_upcast(
ptr: Ptr<SignalOfQModelIndexQModelIndex>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SignalOfQModelIndexQModelIndex> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_QModelIndex_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQModelIndexQModelIndexQVectorOfInt
impl StaticUpcast<QObject> for SignalOfQModelIndexQModelIndexQVectorOfInt
source§unsafe fn static_upcast(
ptr: Ptr<SignalOfQModelIndexQModelIndexQVectorOfInt>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SignalOfQModelIndexQModelIndexQVectorOfInt> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QModelIndex_const_ref_QModelIndex_const_ref_QVector_int_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQObject
impl StaticUpcast<QObject> for SignalOfQObject
source§unsafe fn static_upcast(ptr: Ptr<SignalOfQObject>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfQObject>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QObject_ptr* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQString
impl StaticUpcast<QObject> for SignalOfQString
source§unsafe fn static_upcast(ptr: Ptr<SignalOfQString>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfQString>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QString_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfQVariant
impl StaticUpcast<QObject> for SignalOfQVariant
source§unsafe fn static_upcast(ptr: Ptr<SignalOfQVariant>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfQVariant>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QVariant_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfState
impl StaticUpcast<QObject> for SignalOfState
source§unsafe fn static_upcast(ptr: Ptr<SignalOfState>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfState>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QTimeLine_State* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfState2
impl StaticUpcast<QObject> for SignalOfState2
source§unsafe fn static_upcast(ptr: Ptr<SignalOfState2>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfState2>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_State* ptr)
.
source§impl StaticUpcast<QObject> for SignalOfStateState
impl StaticUpcast<QObject> for SignalOfStateState
source§unsafe fn static_upcast(ptr: Ptr<SignalOfStateState>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SignalOfStateState>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_signal_wrapper_QAbstractAnimation_State_QAbstractAnimation_State* ptr)
.
source§impl StaticUpcast<QObject> for SlotNoArgs
impl StaticUpcast<QObject> for SlotNoArgs
source§unsafe fn static_upcast(ptr: Ptr<SlotNoArgs>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotNoArgs>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfBool
impl StaticUpcast<QObject> for SlotOfBool
source§unsafe fn static_upcast(ptr: Ptr<SlotOfBool>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfBool>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_bool* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfDirection
impl StaticUpcast<QObject> for SlotOfDirection
source§unsafe fn static_upcast(ptr: Ptr<SlotOfDirection>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfDirection>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_Direction* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfDouble
impl StaticUpcast<QObject> for SlotOfDouble
source§unsafe fn static_upcast(ptr: Ptr<SlotOfDouble>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfDouble>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_double* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfI64
impl StaticUpcast<QObject> for SlotOfI64
source§impl StaticUpcast<QObject> for SlotOfInt
impl StaticUpcast<QObject> for SlotOfInt
source§impl StaticUpcast<QObject> for SlotOfIntExitStatus
impl StaticUpcast<QObject> for SlotOfIntExitStatus
source§unsafe fn static_upcast(ptr: Ptr<SlotOfIntExitStatus>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfIntExitStatus>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_int_QProcess_ExitStatus* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfIntI64
impl StaticUpcast<QObject> for SlotOfIntI64
source§unsafe fn static_upcast(ptr: Ptr<SlotOfIntI64>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfIntI64>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_int_qint64* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfIntInt
impl StaticUpcast<QObject> for SlotOfIntInt
source§unsafe fn static_upcast(ptr: Ptr<SlotOfIntInt>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfIntInt>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_int_int* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfOrientation
impl StaticUpcast<QObject> for SlotOfOrientation
source§unsafe fn static_upcast(ptr: Ptr<SlotOfOrientation>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfOrientation>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_Qt_Orientation* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfOrientationInt
impl StaticUpcast<QObject> for SlotOfOrientationInt
source§unsafe fn static_upcast(ptr: Ptr<SlotOfOrientationInt>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfOrientationInt>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_Qt_Orientation_int* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfOrientationIntInt
impl StaticUpcast<QObject> for SlotOfOrientationIntInt
source§unsafe fn static_upcast(ptr: Ptr<SlotOfOrientationIntInt>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfOrientationIntInt>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_Qt_Orientation_int_int* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfProcessError
impl StaticUpcast<QObject> for SlotOfProcessError
source§unsafe fn static_upcast(ptr: Ptr<SlotOfProcessError>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfProcessError>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QProcess_ProcessError* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfProcessState
impl StaticUpcast<QObject> for SlotOfProcessState
source§unsafe fn static_upcast(ptr: Ptr<SlotOfProcessState>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfProcessState>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QProcess_ProcessState* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQAbstractAnimation
impl StaticUpcast<QObject> for SlotOfQAbstractAnimation
source§unsafe fn static_upcast(ptr: Ptr<SlotOfQAbstractAnimation>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfQAbstractAnimation>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_ptr* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQAbstractItemModel
impl StaticUpcast<QObject> for SlotOfQAbstractItemModel
source§unsafe fn static_upcast(ptr: Ptr<SlotOfQAbstractItemModel>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfQAbstractItemModel>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QAbstractItemModel_ptr* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQItemSelection
impl StaticUpcast<QObject> for SlotOfQItemSelection
source§unsafe fn static_upcast(ptr: Ptr<SlotOfQItemSelection>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfQItemSelection>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QItemSelection_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQItemSelectionQItemSelection
impl StaticUpcast<QObject> for SlotOfQItemSelectionQItemSelection
source§unsafe fn static_upcast(
ptr: Ptr<SlotOfQItemSelectionQItemSelection>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SlotOfQItemSelectionQItemSelection> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QItemSelection_const_ref_QItemSelection_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQListOfQPersistentModelIndex
impl StaticUpcast<QObject> for SlotOfQListOfQPersistentModelIndex
source§unsafe fn static_upcast(
ptr: Ptr<SlotOfQListOfQPersistentModelIndex>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SlotOfQListOfQPersistentModelIndex> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QList_QPersistentModelIndex_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQListOfQPersistentModelIndexLayoutChangeHint
impl StaticUpcast<QObject> for SlotOfQListOfQPersistentModelIndexLayoutChangeHint
source§unsafe fn static_upcast(
ptr: Ptr<SlotOfQListOfQPersistentModelIndexLayoutChangeHint>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SlotOfQListOfQPersistentModelIndexLayoutChangeHint> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QList_QPersistentModelIndex_const_ref_QAbstractItemModel_LayoutChangeHint* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQModelIndex
impl StaticUpcast<QObject> for SlotOfQModelIndex
source§unsafe fn static_upcast(ptr: Ptr<SlotOfQModelIndex>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfQModelIndex>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQModelIndexInt
impl StaticUpcast<QObject> for SlotOfQModelIndexInt
source§unsafe fn static_upcast(ptr: Ptr<SlotOfQModelIndexInt>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfQModelIndexInt>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQModelIndexIntInt
impl StaticUpcast<QObject> for SlotOfQModelIndexIntInt
source§unsafe fn static_upcast(ptr: Ptr<SlotOfQModelIndexIntInt>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfQModelIndexIntInt>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQModelIndexIntIntQModelIndex
impl StaticUpcast<QObject> for SlotOfQModelIndexIntIntQModelIndex
source§unsafe fn static_upcast(
ptr: Ptr<SlotOfQModelIndexIntIntQModelIndex>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SlotOfQModelIndexIntIntQModelIndex> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQModelIndexIntIntQModelIndexInt
impl StaticUpcast<QObject> for SlotOfQModelIndexIntIntQModelIndexInt
source§unsafe fn static_upcast(
ptr: Ptr<SlotOfQModelIndexIntIntQModelIndexInt>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SlotOfQModelIndexIntIntQModelIndexInt> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_int_int_QModelIndex_const_ref_int* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQModelIndexQModelIndex
impl StaticUpcast<QObject> for SlotOfQModelIndexQModelIndex
source§unsafe fn static_upcast(ptr: Ptr<SlotOfQModelIndexQModelIndex>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfQModelIndexQModelIndex>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_QModelIndex_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQModelIndexQModelIndexQVectorOfInt
impl StaticUpcast<QObject> for SlotOfQModelIndexQModelIndexQVectorOfInt
source§unsafe fn static_upcast(
ptr: Ptr<SlotOfQModelIndexQModelIndexQVectorOfInt>
) -> Ptr<QObject>
unsafe fn static_upcast( ptr: Ptr<SlotOfQModelIndexQModelIndexQVectorOfInt> ) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QModelIndex_const_ref_QModelIndex_const_ref_QVector_int_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQObject
impl StaticUpcast<QObject> for SlotOfQObject
source§unsafe fn static_upcast(ptr: Ptr<SlotOfQObject>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfQObject>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QObject_ptr* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQString
impl StaticUpcast<QObject> for SlotOfQString
source§unsafe fn static_upcast(ptr: Ptr<SlotOfQString>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfQString>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QString_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfQVariant
impl StaticUpcast<QObject> for SlotOfQVariant
source§unsafe fn static_upcast(ptr: Ptr<SlotOfQVariant>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfQVariant>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QVariant_const_ref* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfState
impl StaticUpcast<QObject> for SlotOfState
source§unsafe fn static_upcast(ptr: Ptr<SlotOfState>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfState>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_State* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfState2
impl StaticUpcast<QObject> for SlotOfState2
source§unsafe fn static_upcast(ptr: Ptr<SlotOfState2>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfState2>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QTimeLine_State* ptr)
.
source§impl StaticUpcast<QObject> for SlotOfStateState
impl StaticUpcast<QObject> for SlotOfStateState
source§unsafe fn static_upcast(ptr: Ptr<SlotOfStateState>) -> Ptr<QObject>
unsafe fn static_upcast(ptr: Ptr<SlotOfStateState>) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(ctr_qt_core_ffi_slot_wrapper_QAbstractAnimation_State_QAbstractAnimation_State* ptr)
.