#ifndef CHATINPUTTEXT_H #define CHATINPUTTEXT_H #include #include class chatInputText : public QTextEdit { Q_OBJECT public: explicit chatInputText(QWidget *parent = 0); signals: protected: void keyPressEvent(QKeyEvent *ke); signals: void msgReady(); public slots: }; #endif // CHATINPUTTEXT_H