mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Ref T419, use version from IDatastoreObject in CArtifact
* add QVersion * remove version parts from CArtifact
This commit is contained in:
committed by
Mat Sutcliffe
parent
aabc975889
commit
b9c233802f
@@ -19,8 +19,9 @@
|
||||
|
||||
#include <QJsonObject>
|
||||
#include <QJsonValue>
|
||||
#include <QObject>
|
||||
#include <QVersionNumber>
|
||||
#include <QString>
|
||||
#include <QObject>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
@@ -52,6 +53,12 @@ namespace BlackMisc
|
||||
//! Version info
|
||||
const QString &getVersion() const { return m_version; }
|
||||
|
||||
//! Version as QVersion
|
||||
QVersionNumber getQVersion() const;
|
||||
|
||||
//! Having a version?s
|
||||
bool hasVersion() const { return !m_version.isEmpty(); }
|
||||
|
||||
//! Version info
|
||||
void setVersion(const QString &version) { m_version = version; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user