diff -r bebe09014dd6 -r 6a1fa662bfc1 src/extprogs.cpp --- a/src/extprogs.cpp Wed Oct 16 16:40:42 2013 +0300 +++ b/src/extprogs.cpp Wed Oct 16 16:47:40 2013 +0300 @@ -148,11 +148,11 @@ // ============================================================================= // ----------------------------------------------------------------------------- -void writeObjects (List& objects, File& f) +void writeObjects (QList& objects, File& f) { for (LDObject * obj : objects) { if (obj->getType() == LDObject::Subfile) { LDSubfile* ref = static_cast (obj); - List objs = ref->inlineContents (LDSubfile::DeepInline); + QList objs = ref->inlineContents (LDSubfile::DeepInline); writeObjects (objs, f); @@ -166,7 +166,7 @@ // ============================================================================= // ----------------------------------------------------------------------------- -void writeObjects (List& objects, str fname) +void writeObjects (QList& objects, str fname) { // Write the input file File f (fname, File::Write); @@ -188,7 +188,7 @@ // ============================================================================= // ----------------------------------------------------------------------------- void writeColorGroup (const short colnum, str fname) -{ List objects; +{ QList objects; for (LDObject * obj : LDFile::current()->objects()) { if (obj->isColored() == false || obj->color() != colnum) @@ -260,7 +260,7 @@ // ============================================================================= // ----------------------------------------------------------------------------- -static void insertOutput (str fname, bool replace, List colorsToReplace) +static void insertOutput (str fname, bool replace, QList colorsToReplace) { #ifndef RELEASE QFile::copy (fname, "./debug_lastOutput"); @@ -274,7 +274,7 @@ return; } - List objs = loadFileContents (&f, null); + QList objs = loadFileContents (&f, null); // If we replace the objects, delete the selection now. if (replace)