From a4879c8f918ec1bdfd5935d659736d6a45fd84d5 Mon Sep 17 00:00:00 2001 From: msn Date: Sun, 24 Nov 2013 21:26:36 +0400 Subject: [PATCH] recognizer signal with pixmap added --- Recognizer.cpp | 1 + Recognizer.h | 1 + 2 files changed, 2 insertions(+) diff --git a/Recognizer.cpp b/Recognizer.cpp index 38cbf99..4a53c4d 100644 --- a/Recognizer.cpp +++ b/Recognizer.cpp @@ -87,6 +87,7 @@ void Recognizer::recognize(QPixmap pixmap) if (!result.isEmpty ()) { emit recognized (result); + emit recognized (pixmap, result); } else { diff --git a/Recognizer.h b/Recognizer.h index 5f54a27..4872b9f 100644 --- a/Recognizer.h +++ b/Recognizer.h @@ -18,6 +18,7 @@ class Recognizer : public QObject signals: void recognized (QString text); + void recognized (QPixmap pixmap, QString text); void error (QString text); public slots: