Enter key event binding in chat

This commit is contained in:
Blue 2019-04-10 18:22:52 +03:00
parent 3cc53dfaf6
commit d3f537856f
2 changed files with 26 additions and 10 deletions

View file

@ -32,7 +32,10 @@ class Conversation;
class KeyEnterReceiver : public QObject
{
Q_OBJECT
public:
KeyEnterReceiver(QObject* parent = 0);
protected:
bool ownEvent;
bool eventFilter(QObject* obj, QEvent* event);
signals: