mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Take version information from CmakeLists.txt
Warning: potential incompatibility because version number is no longer stored in zint.h
This commit is contained in:
@ -363,6 +363,10 @@ namespace Zint {
|
||||
bool QZint::hasErrors() const {
|
||||
return m_lastError.length();
|
||||
}
|
||||
|
||||
int QZint::getVersion() const {
|
||||
return ZBarcode_Version();
|
||||
}
|
||||
|
||||
bool QZint::save_to_file(QString filename) {
|
||||
resetSymbol();
|
||||
|
@ -119,6 +119,8 @@ public:
|
||||
bool save_to_file(QString filename);
|
||||
|
||||
void render(QPainter & painter, const QRectF & paintRect, AspectRatioMode mode=IgnoreAspectRatio);
|
||||
|
||||
int getVersion() const;
|
||||
|
||||
signals:
|
||||
void encoded();
|
||||
|
Reference in New Issue
Block a user