@@ -490,7 +490,6 @@ class AbstractMetaFunction : public AbstractMetaAttributes
490
490
void setFunctionType (FunctionType type) { m_function_type = type; }
491
491
492
492
bool isVirtual () const { return !(isFinal () || isSignal () || isStatic ()); }
493
-
494
493
QStringList introspectionCompatibleSignatures (const QStringList &resolvedArguments = QStringList()) const ;
495
494
QString signature () const ;
496
495
QString targetLangSignature (bool minimal = false ) const ;
@@ -500,6 +499,8 @@ class AbstractMetaFunction : public AbstractMetaAttributes
500
499
bool isConstant () const { return m_constant; }
501
500
void setConstant (bool constant) { m_constant = constant; }
502
501
502
+ QString exception () const { return m_exception; }
503
+ void setException (const QString &exception ) { m_exception = exception ; }
503
504
QString toString () const { return m_name; }
504
505
505
506
uint compareTo (const AbstractMetaFunction *other) const ;
@@ -559,6 +560,7 @@ class AbstractMetaFunction : public AbstractMetaAttributes
559
560
const AbstractMetaClass *m_interface_class;
560
561
QPropertySpec *m_property_spec;
561
562
AbstractMetaArgumentList m_arguments;
563
+ QString m_exception;
562
564
uint m_constant : 1 ;
563
565
uint m_invalid : 1 ;
564
566
};
@@ -708,6 +710,8 @@ class AbstractMetaClass : public AbstractMetaAttributes
708
710
bool hasPublicDestructor () const { return m_has_public_destructor; }
709
711
void setHasPublicDestructor (bool on) { m_has_public_destructor = on; }
710
712
713
+ QString destructorException () const { return m_destructor_exception; }
714
+ void setDestructorException (const QString &exception ) { m_destructor_exception = exception ; }
711
715
AbstractMetaFunctionList queryFunctionsByName (const QString &name) const ;
712
716
AbstractMetaFunctionList queryFunctions (uint query) const ;
713
717
inline AbstractMetaFunctionList allVirtualFunctions () const ;
@@ -797,7 +801,6 @@ class AbstractMetaClass : public AbstractMetaAttributes
797
801
bool hasCloneOperator () const { return m_has_clone_operator; }
798
802
799
803
bool hasDefaultIsNull () const ;
800
-
801
804
void addPropertySpec (QPropertySpec *spec) { m_property_specs << spec; }
802
805
QList<QPropertySpec *> propertySpecs () const { return m_property_specs; }
803
806
@@ -832,7 +835,6 @@ class AbstractMetaClass : public AbstractMetaAttributes
832
835
833
836
void setTypeAlias (bool typeAlias) { m_is_type_alias = typeAlias; }
834
837
bool isTypeAlias () const { return m_is_type_alias; }
835
-
836
838
bool operator <(const AbstractMetaClass &a) const {
837
839
return qualifiedCppName () < a.qualifiedCppName ();
838
840
}
@@ -852,6 +854,7 @@ class AbstractMetaClass : public AbstractMetaAttributes
852
854
uint m_has_clone_operator :1 ;
853
855
uint m_is_type_alias : 1 ;
854
856
uint m_reserved : 19 ;
857
+ QString m_destructor_exception;
855
858
856
859
const AbstractMetaClass *m_enclosing_class;
857
860
AbstractMetaClass *m_base_class;
0 commit comments