[−][src]Struct qt_core::QMetaClassInfo
The QMetaClassInfo class provides additional information about a class.
C++ class: QMetaClassInfo
.
The QMetaClassInfo class provides additional information about a class.
Class information items are simple name--value pairs that are specified using Q_CLASSINFO() in the source code. The information can be retrieved using name() and value(). For example:
class MyClass { Q_OBJECT Q_CLASSINFO("author", "Sabrina Schweinsteiger") Q_CLASSINFO("url", "http://doc.moosesoft.co.uk/1.0/")
public: ... };
This mechanism is free for you to use in your Qt applications. Qt doesn't use it for any of its classes.
Methods
impl QMetaClassInfo
[src]
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<QMetaClassInfo>>
) -> MutRef<QMetaClassInfo>
[src]
&mut self,
other: impl CastInto<Ref<QMetaClassInfo>>
) -> MutRef<QMetaClassInfo>
The QMetaClassInfo class provides additional information about a class.
Calls C++ function: QMetaClassInfo& QMetaClassInfo::operator=(const QMetaClassInfo& other)
.
The QMetaClassInfo class provides additional information about a class.
Class information items are simple name--value pairs that are specified using Q_CLASSINFO() in the source code. The information can be retrieved using name() and value(). For example:
class MyClass { Q_OBJECT Q_CLASSINFO("author", "Sabrina Schweinsteiger") Q_CLASSINFO("url", "http://doc.moosesoft.co.uk/1.0/")
public: ... };
This mechanism is free for you to use in your Qt applications. Qt doesn't use it for any of its classes.
pub unsafe fn enclosing_meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: const QMetaObject* QMetaClassInfo::enclosingMetaObject() const
.
pub unsafe fn name(&self) -> Ptr<c_char>
[src]
Returns the name of this item.
Calls C++ function: const char* QMetaClassInfo::name() const
.
Returns the name of this item.
See also value().
pub unsafe fn new() -> CppBox<QMetaClassInfo>
[src]
Calls C++ function: [constructor] void QMetaClassInfo::QMetaClassInfo()
.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QMetaClassInfo>>
) -> CppBox<QMetaClassInfo>
[src]
other: impl CastInto<Ref<QMetaClassInfo>>
) -> CppBox<QMetaClassInfo>
The QMetaClassInfo class provides additional information about a class.
Calls C++ function: [constructor] void QMetaClassInfo::QMetaClassInfo(const QMetaClassInfo& other)
.
The QMetaClassInfo class provides additional information about a class.
Class information items are simple name--value pairs that are specified using Q_CLASSINFO() in the source code. The information can be retrieved using name() and value(). For example:
class MyClass { Q_OBJECT Q_CLASSINFO("author", "Sabrina Schweinsteiger") Q_CLASSINFO("url", "http://doc.moosesoft.co.uk/1.0/")
public: ... };
This mechanism is free for you to use in your Qt applications. Qt doesn't use it for any of its classes.
pub unsafe fn value(&self) -> Ptr<c_char>
[src]
Returns the value of this item.
Calls C++ function: const char* QMetaClassInfo::value() const
.
Returns the value of this item.
See also name().
Trait Implementations
impl CppDeletable for QMetaClassInfo
[src]
unsafe fn delete(&mut self)
[src]
The QMetaClassInfo class provides additional information about a class.
Calls C++ function: [destructor] void QMetaClassInfo::~QMetaClassInfo()
.
The QMetaClassInfo class provides additional information about a class.
Class information items are simple name--value pairs that are specified using Q_CLASSINFO() in the source code. The information can be retrieved using name() and value(). For example:
class MyClass { Q_OBJECT Q_CLASSINFO("author", "Sabrina Schweinsteiger") Q_CLASSINFO("url", "http://doc.moosesoft.co.uk/1.0/")
public: ... };
This mechanism is free for you to use in your Qt applications. Qt doesn't use it for any of its classes.
Auto Trait Implementations
impl Send for QMetaClassInfo
impl Sync for QMetaClassInfo
impl Unpin for QMetaClassInfo
impl UnwindSafe for QMetaClassInfo
impl RefUnwindSafe for QMetaClassInfo
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,