forked from qt-creator/qt-creator
51 lines
715 B
C
51 lines
715 B
C
![]() |
#ifndef DUMMY_H
|
||
|
#define DUMMY_H
|
||
|
|
||
|
#include <QString>
|
||
|
|
||
|
namespace test {
|
||
|
|
||
|
class Dummy
|
||
|
{
|
||
|
public:
|
||
|
Dummy();
|
||
|
Dummy(int a);
|
||
|
|
||
|
typedef int INT;
|
||
|
|
||
|
enum Values {
|
||
|
v1,
|
||
|
v2,
|
||
|
v3
|
||
|
};
|
||
|
|
||
|
static const int ONE = 1;
|
||
|
static const double PI;
|
||
|
|
||
|
static void sfunc();
|
||
|
|
||
|
struct Internal
|
||
|
{
|
||
|
QString one;
|
||
|
typedef double DOUBLE;
|
||
|
};
|
||
|
|
||
|
void bla(int);
|
||
|
void bla(const QString &);
|
||
|
void bla(const QString &) const;
|
||
|
void bla(int, const QString &) const;
|
||
|
|
||
|
void foo(int) const {}
|
||
|
void foo(const QString &) const {}
|
||
|
|
||
|
QString one;
|
||
|
};
|
||
|
|
||
|
class ChildDummy : public Dummy {};
|
||
|
|
||
|
class GrandChildDummy : public Dummy {};
|
||
|
|
||
|
} // namespace test
|
||
|
|
||
|
#endif // DUMMY_H
|