mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-01 01:00:53 +01:00
use QVersionNumber and switch to "list of int" standard
This commit is contained in:
committed by
Laurent Trinques
parent
19d867f6a4
commit
038d2d7033
@@ -98,7 +98,7 @@ class QETProject : public QObject
|
||||
QString currentDir() const;
|
||||
QString pathNameTitle() const;
|
||||
QString title() const;
|
||||
qreal declaredQElectroTechVersion();
|
||||
QVersionNumber declaredQElectroTechVersion();
|
||||
void setTitle(const QString &);
|
||||
|
||||
///DEFAULT PROPERTIES
|
||||
@@ -247,7 +247,7 @@ class QETProject : public QObject
|
||||
/// Project title
|
||||
QString project_title_;
|
||||
/// QElectroTech version declared in the XML document at opening time
|
||||
qreal m_project_qet_version = -1;
|
||||
QVersionNumber m_project_qet_version;
|
||||
/// Whether options were modified
|
||||
bool m_modified = false;
|
||||
/// Whether the project is read only
|
||||
|
||||
Reference in New Issue
Block a user