Skip to content
Snippets Groups Projects
Commit 1c99d158 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

privatize

parent 04f689c0
No related branches found
No related tags found
1 merge request!2367InstrumentsSet use OwningVector instead of PolyVector
...@@ -43,8 +43,6 @@ public: ...@@ -43,8 +43,6 @@ public:
void writeTo(QXmlStreamWriter* w) const; void writeTo(QXmlStreamWriter* w) const;
void readFrom(QXmlStreamReader* r); void readFrom(QXmlStreamReader* r);
void emplace_back(InstrumentItem* item); // TODO Qt6 emplace
//! Inserts a deep copy (also of any non XML data in a pointwise axis) //! Inserts a deep copy (also of any non XML data in a pointwise axis)
//! The id will not be copied, but a new unique one will be created //! The id will not be copied, but a new unique one will be created
//! Returns the newly created instrument. //! Returns the newly created instrument.
...@@ -78,6 +76,8 @@ signals: ...@@ -78,6 +76,8 @@ signals:
void instrumentNameChanged(const InstrumentItem* instrument) const; void instrumentNameChanged(const InstrumentItem* instrument) const;
private: private:
void emplace_back(InstrumentItem* item);
PolyVector<InstrumentsCatalog> m_instruments; PolyVector<InstrumentsCatalog> m_instruments;
int m_current_index = -1; int m_current_index = -1;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment