You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
252 B
24 lines
252 B
7 years ago
|
#ifndef CLASSB_H
|
||
|
#define CLASSB_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QString>
|
||
|
|
||
|
class ClassB : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
ClassB()
|
||
|
: m_member("Hello B")
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public slots:
|
||
|
void slotDoSomething();
|
||
|
|
||
|
private:
|
||
|
QString m_member;
|
||
|
};
|
||
|
|
||
|
#endif
|