qfedu-qt-level/qtdemo01/student.h

19 lines
288 B
C
Raw Normal View History

2023-08-07 19:24:59 +08:00
#ifndef STUDENT_H
#define STUDENT_H
#include <QObject>
class Student : public QObject
{
Q_OBJECT
public:
explicit Student(QObject *parent = nullptr);
signals:
void sleep(); // 信号(函数)不需要实现
void sleep(const QString &msg,int n);
};
#endif // STUDENT_H