Minor : remove a signal in diagram and use directly a signal of qetproject

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4904 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2017-02-09 11:07:45 +00:00
parent 4b56501d1e
commit 9792e95e6f
6 changed files with 27 additions and 21 deletions

View File

@@ -383,12 +383,15 @@ void QETProject::setDefaultConductorProperties(const ConductorProperties &conduc
}
QString QETProject::defaultReportProperties() const {
return default_report_properties_;
return m_default_report_properties;
}
void QETProject::setDefaultReportProperties(const QString &properties) {
default_report_properties_ = properties;
emit reportPropertiesChanged(properties);
void QETProject::setDefaultReportProperties(const QString &properties)
{
QString old = m_default_report_properties;
m_default_report_properties = properties;
emit reportPropertiesChanged(old, properties);
}
void QETProject::setDefaultXRefProperties(const QString type, const XRefProperties &properties) {
@@ -1345,7 +1348,7 @@ void QETProject::readDefaultPropertiesXml(QDomDocument &xml_project)
default_border_properties_ = BorderProperties:: defaultProperties();
default_titleblock_properties_ = TitleBlockProperties::defaultProperties();
default_conductor_properties_ = ConductorProperties:: defaultProperties();
default_report_properties_ = ReportProperties:: defaultProperties();
m_default_report_properties = ReportProperties:: defaultProperties();
m_default_xref_properties = XRefProperties:: defaultProperties();
//Read values indicate in project