20 lines
263 B
C++
20 lines
263 B
C++
#ifndef PROMPT_H
|
|
#define PROMPT_H
|
|
|
|
#include <QLineEdit>
|
|
|
|
class Prompt : public QLineEdit
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
Prompt(QWidget*& w) : QLineEdit(w) {}
|
|
|
|
public slots:
|
|
void confirmationPerformed();
|
|
|
|
signals:
|
|
void sendMsg(QString);
|
|
};
|
|
|
|
#endif // PROMPT_H
|