mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Fix wrong typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3920 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
parent
a58ed2d91c
commit
9fce7717ea
@ -244,7 +244,7 @@ TitleBlockProperties BorderTitleBlock::exportTitleBlock() {
|
||||
ip.template_name = titleBlockTemplateName();
|
||||
ip.display_at = m_edge;
|
||||
ip.context = additional_fields_;
|
||||
ip.collection = QET::QetCollection::Embendded;
|
||||
ip.collection = QET::QetCollection::Embedded;
|
||||
|
||||
return(ip);
|
||||
}
|
||||
|
@ -743,8 +743,8 @@ QString QET::qetCollectionToString(const QET::QetCollection &c)
|
||||
return "common";
|
||||
case Custom :
|
||||
return "custom";
|
||||
case Embendded :
|
||||
return "embendded";
|
||||
case Embedded :
|
||||
return "embedded";
|
||||
default:
|
||||
return "common";
|
||||
}
|
||||
@ -762,8 +762,8 @@ QET::QetCollection QET::qetCollectionFromString(const QString &str)
|
||||
return QetCollection::Common;
|
||||
else if (str == "custom")
|
||||
return QetCollection::Custom;
|
||||
else if (str == "embendded")
|
||||
return QetCollection::Embendded;
|
||||
else if (str == "embedded")
|
||||
return QetCollection::Embedded;
|
||||
else
|
||||
return QetCollection::Common;
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ namespace QET {
|
||||
enum QetCollection {
|
||||
Common, ///< From common collection
|
||||
Custom, ///< From user collection
|
||||
Embendded ///< From an embeddded collection (a project for exemple)
|
||||
Embedded ///< From an embedded collection (a project for exemple)
|
||||
};
|
||||
|
||||
QString qetCollectionToString (const QetCollection &c);
|
||||
|
@ -464,7 +464,7 @@ void QETProject::setDefaultTitleBlockProperties(const TitleBlockProperties &titl
|
||||
case QET::Custom :
|
||||
collection = QETApp::customTitleBlockTemplatesCollection();
|
||||
break;
|
||||
case QET::Embendded :
|
||||
case QET::Embedded :
|
||||
//Titleblock is already embedded to project
|
||||
return;
|
||||
default:
|
||||
|
@ -113,7 +113,7 @@ TitleBlockTemplatesProjectCollection::TitleBlockTemplatesProjectCollection(QETPr
|
||||
TitleBlockTemplatesCollection(parent),
|
||||
project_(project)
|
||||
{
|
||||
m_collection = QET::QetCollection::Embendded;
|
||||
m_collection = QET::QetCollection::Embedded;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -295,7 +295,7 @@ void TitleBlockPropertiesWidget::updateTemplateList()
|
||||
icon = QET::Icons::QETLogo;
|
||||
else if (qc == QET::QetCollection::Custom)
|
||||
icon = QET::Icons::Home;
|
||||
else if (qc == QET::QetCollection::Embendded)
|
||||
else if (qc == QET::QetCollection::Embedded)
|
||||
icon = QET::Icons::TitleBlock;
|
||||
|
||||
foreach(QString tbt_name, tbt_c -> templates())
|
||||
|
Loading…
x
Reference in New Issue
Block a user