ScreenTranslator/ProcessingItem.h

23 lines
385 B
C
Raw Normal View History

2013-11-26 13:44:00 +07:00
#ifndef PROCESSINGITEM_H
#define PROCESSINGITEM_H
#include <QPixmap>
2015-09-23 01:41:08 +07:00
struct ProcessingItem {
QPoint screenPos;
QPixmap source;
QString recognized;
QString translated;
2015-09-23 01:41:08 +07:00
QString ocrLanguage;
QString sourceLanguage;
QString translateLanguage;
2014-04-04 21:39:10 +07:00
Qt::KeyboardModifiers modifiers;
2015-09-23 01:41:08 +07:00
bool isValid () const;
2013-11-26 13:44:00 +07:00
};
2015-09-23 01:41:08 +07:00
Q_DECLARE_METATYPE (ProcessingItem)
2013-11-26 13:44:00 +07:00
#endif // PROCESSINGITEM_H