00001 /****************************************************************************************************** 00002 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * 00003 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * 00004 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. * 00005 ******************************************************************************************************/ 00006 00007 #include "ExportLayoutFunctions.h" 00008 #include <QObject> 00009 00010 QString exportLayoutFunctionsToString (ExportLayoutFunctions exportLayoutFunctions) 00011 { 00012 switch (exportLayoutFunctions) { 00013 case EXPORT_LAYOUT_ALL_PER_LINE: 00014 return QObject::tr ("AllPerLine"); 00015 00016 case EXPORT_LAYOUT_ONE_PER_LINE: 00017 return QObject::tr ("OnePerLine"); 00018 00019 default: 00020 return QObject::tr ("Unknown"); 00021 } 00022 }