diff options
Diffstat (limited to 'src/document/io/LilyPondExporter.cpp')
-rw-r--r-- | src/document/io/LilyPondExporter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/document/io/LilyPondExporter.cpp b/src/document/io/LilyPondExporter.cpp index b445a41..f2d6008 100644 --- a/src/document/io/LilyPondExporter.cpp +++ b/src/document/io/LilyPondExporter.cpp @@ -85,26 +85,26 @@ using namespace BaseProperties; const PropertyName LilyPondExporter::SKIP_PROPERTY = "LilyPondExportSkipThisEvent"; -LilyPondExporter::LilyPondExporter(RosegardenGUIApp *tqparent, +LilyPondExporter::LilyPondExporter(RosegardenGUIApp *parent, RosegardenGUIDoc *doc, std::string fileName) : - ProgressReporter((TQObject *)tqparent, "lilypondExporter"), + ProgressReporter((TQObject *)parent, "lilypondExporter"), m_doc(doc), m_fileName(fileName), m_lastClefFound(Clef::Treble) { m_composition = &m_doc->getComposition(); m_studio = &m_doc->getStudio(); - m_view = ((RosegardenGUIApp *)tqparent)->getView(); + m_view = ((RosegardenGUIApp *)parent)->getView(); m_notationView = NULL; readConfigVariables(); } -LilyPondExporter::LilyPondExporter(NotationView *tqparent, +LilyPondExporter::LilyPondExporter(NotationView *parent, RosegardenGUIDoc *doc, std::string fileName) : - ProgressReporter((TQObject *)tqparent, "lilypondExporter"), + ProgressReporter((TQObject *)parent, "lilypondExporter"), m_doc(doc), m_fileName(fileName), m_lastClefFound(Clef::Treble) @@ -113,7 +113,7 @@ LilyPondExporter::LilyPondExporter(NotationView *tqparent, m_composition = &m_doc->getComposition(); m_studio = &m_doc->getStudio(); m_view = NULL; - m_notationView = ((NotationView *)tqparent); + m_notationView = ((NotationView *)parent); readConfigVariables(); } |