2013-11-26 23:59:47 +07:00
|
|
|
#include "ProcessingItem.h"
|
|
|
|
|
2015-09-23 01:41:08 +07:00
|
|
|
bool ProcessingItem::isValid () const {
|
2013-11-26 23:59:47 +07:00
|
|
|
bool valid = true;
|
|
|
|
valid &= (!screenPos.isNull ());
|
|
|
|
valid &= (!source.isNull ());
|
|
|
|
valid &= (!recognized.isEmpty ());
|
|
|
|
valid &= (!translated.isEmpty ());
|
|
|
|
return valid;
|
|
|
|
}
|