6#ifndef PRISON_SCANRESULT_H
7#define PRISON_SCANRESULT_H
10#include "prisonscanner_export.h"
12#include <QExplicitlySharedDataPointer>
20class ScanResultPrivate;
33 Q_PROPERTY(
bool hasContent READ hasContent)
34 Q_PROPERTY(
QVariant content READ content)
36 Q_PROPERTY(
bool hasText READ hasText)
37 Q_PROPERTY(
QString text READ text)
39 Q_PROPERTY(
bool hasBinaryData READ hasBinaryData)
40 Q_PROPERTY(
QByteArray binaryData READ binaryData)
43 Q_PROPERTY(
QRect boundingRect READ boundingRect)
51 bool operator==(
const ScanResult &other)
const;
54 bool hasContent()
const;
67 bool hasBinaryData()
const;
81 QRect boundingRect()
const;
84 friend class ScanResultPrivate;
Result of a barcode scan attempt.
Provides classes and methods for generating barcodes.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:51 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.