|
|
@ -5,7 +5,7 @@ |
|
|
|
class DLL_API Foo |
|
|
|
class DLL_API Foo |
|
|
|
{ |
|
|
|
{ |
|
|
|
public: |
|
|
|
public: |
|
|
|
Foo(); |
|
|
|
Foo(char* name = 0); |
|
|
|
Foo(int a, int p = 0); |
|
|
|
Foo(int a, int p = 0); |
|
|
|
int method(); |
|
|
|
int method(); |
|
|
|
int operator[](int i) const; |
|
|
|
int operator[](int i) const; |
|
|
@ -340,6 +340,8 @@ public: |
|
|
|
QMargins(int left, int top, int right, int bottom); |
|
|
|
QMargins(int left, int top, int right, int bottom); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static char* stringConstant; |
|
|
|
|
|
|
|
|
|
|
|
MethodsWithDefaultValues(Foo foo = Foo()); |
|
|
|
MethodsWithDefaultValues(Foo foo = Foo()); |
|
|
|
MethodsWithDefaultValues(int a); |
|
|
|
MethodsWithDefaultValues(int a); |
|
|
|
MethodsWithDefaultValues(double d, QList<QColor> list = QList<QColor>()); |
|
|
|
MethodsWithDefaultValues(double d, QList<QColor> list = QList<QColor>()); |
|
|
@ -382,6 +384,7 @@ public: |
|
|
|
void defaultWithFunctionCall(int f = Foo::makeFunctionCall()); |
|
|
|
void defaultWithFunctionCall(int f = Foo::makeFunctionCall()); |
|
|
|
void defaultWithPropertyCall(int f = Foo::propertyCall()); |
|
|
|
void defaultWithPropertyCall(int f = Foo::propertyCall()); |
|
|
|
void defaultWithGetPropertyCall(int f = Foo::getGetPropertyCall()); |
|
|
|
void defaultWithGetPropertyCall(int f = Foo::getGetPropertyCall()); |
|
|
|
|
|
|
|
void defaultWithStringConstant(const Foo& arg = Foo(stringConstant)); |
|
|
|
int getA(); |
|
|
|
int getA(); |
|
|
|
private: |
|
|
|
private: |
|
|
|
Foo m_foo; |
|
|
|
Foo m_foo; |
|
|
|