##// END OF EJS Templates
Sets variable name
Alexandre Leroux -
r686:0d7fa2ed1e86
parent child
Show More
@@ -29,6 +29,7 public:
29 29 const QVariantHash &metadata = {});
30 30
31 31 QString name() const noexcept;
32 void setName(const QString &name) noexcept;
32 33 SqpRange range() const noexcept;
33 34 void setRange(const SqpRange &range) noexcept;
34 35 SqpRange cacheRange() const noexcept;
@@ -75,6 +75,13 QString Variable::name() const noexcept
75 75 return name;
76 76 }
77 77
78 void Variable::setName(const QString &name) noexcept
79 {
80 impl->lockWrite();
81 impl->m_Name = name;
82 impl->unlock();
83 }
84
78 85 SqpRange Variable::range() const noexcept
79 86 {
80 87 impl->lockRead();
General Comments 0
You need to be logged in to leave comments. Login now