#include class QLineEdit; class Window : public QWidget { public: Window(); QLineEdit *edit2; };