Beispiel #1
0
Version::Version(const Version& val)
	:mMajor(val.Major()),
	mMinor(val.Minor()),
	mBuild(val.Build()),
	mRevision(val.Revision())
{

}
Beispiel #2
0
StlExport::StlExport(const QUrl &baseUrl, const Version &version, QObject *parent) :
  QObject(parent),
  _manager(new QNetworkAccessManager()),
  _manager2(new QNetworkAccessManager()),
  _messageName("finfoil"),
  _versionSuffix("_v" + QString::number(version.Major()) + "."
                 + QString::number(version.Minor()) + "."
                 + QString::number(version.Revision())),
  _baseUrl(baseUrl)
{
    _messageName.append(_versionSuffix);
    _messageName.append(".html");
}