forked from blue/squawk
Enter key event binding in chat
This commit is contained in:
parent
3cc53dfaf6
commit
d3f537856f
2 changed files with 26 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue