Commit b0487904bf85e62bee301562069ef0ff22e24d99

Authored by Josh Klontz
1 parent c1535bee

ChainTransform ==> ExpandTransform

sdk/openbr_plugin.cpp
@@ -1239,10 +1239,10 @@ Transform *Transform::make(QString str, QObject *parent) @@ -1239,10 +1239,10 @@ Transform *Transform::make(QString str, QObject *parent)
1239 if (Globals->abbreviations.contains(str)) 1239 if (Globals->abbreviations.contains(str))
1240 return make(Globals->abbreviations[str], parent); 1240 return make(Globals->abbreviations[str], parent);
1241 1241
1242 - { // Check for use of '!' as shorthand for Chain(...) 1242 + { // Check for use of '!' as shorthand for Expand(...)
1243 QStringList words = parse(str, '!'); 1243 QStringList words = parse(str, '!');
1244 if (words.size() > 1) 1244 if (words.size() > 1)
1245 - return make("Chain([" + words.join(",") + "])", parent); 1245 + return make("Expand([" + words.join(",") + "])", parent);
1246 } 1246 }
1247 1247
1248 { // Check for use of '+' as shorthand for Pipe(...) 1248 { // Check for use of '+' as shorthand for Pipe(...)
sdk/plugins/meta.cpp
@@ -92,7 +92,7 @@ static void incrementStep() @@ -92,7 +92,7 @@ static void incrementStep()
92 * 92 *
93 * The source br::Template is given to the first transform and the resulting br::Template is passed to the next transform, etc. 93 * The source br::Template is given to the first transform and the resulting br::Template is passed to the next transform, etc.
94 * 94 *
95 - * \see ChainTransform 95 + * \see ExpandTransform
96 */ 96 */
97 class PipeTransform : public MetaTransform 97 class PipeTransform : public MetaTransform
98 { 98 {
@@ -171,7 +171,7 @@ BR_REGISTER(Transform, PipeTransform) @@ -171,7 +171,7 @@ BR_REGISTER(Transform, PipeTransform)
171 * 171 *
172 * \see PipeTransform 172 * \see PipeTransform
173 */ 173 */
174 -class ChainTransform : public MetaTransform 174 +class ExpandTransform : public MetaTransform
175 { 175 {
176 Q_OBJECT 176 Q_OBJECT
177 Q_PROPERTY(QList<br::Transform*> transforms READ get_transforms WRITE set_transforms RESET reset_transforms) 177 Q_PROPERTY(QList<br::Transform*> transforms READ get_transforms WRITE set_transforms RESET reset_transforms)
@@ -234,7 +234,7 @@ class ChainTransform : public MetaTransform @@ -234,7 +234,7 @@ class ChainTransform : public MetaTransform
234 } 234 }
235 }; 235 };
236 236
237 -BR_REGISTER(Transform, ChainTransform) 237 +BR_REGISTER(Transform, ExpandTransform)
238 238
239 /*! 239 /*!
240 * \ingroup transforms 240 * \ingroup transforms