Engauge Digitizer  2
ExportLayoutFunctions.cpp
Go to the documentation of this file.
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
8 #include <QObject>
9 
10 QString exportLayoutFunctionsToString (ExportLayoutFunctions exportLayoutFunctions)
11 {
12  QString rtn;
13 
14  switch (exportLayoutFunctions) {
16  rtn = QObject::tr ("AllPerLine");
17  break;
18 
20  rtn = QObject::tr ("OnePerLine");
21  break;
22  }
23 
24  return rtn;
25 }
exportLayoutFunctionsToString
QString exportLayoutFunctionsToString(ExportLayoutFunctions exportLayoutFunctions)
Definition: ExportLayoutFunctions.cpp:9
ExportLayoutFunctions.h
EXPORT_LAYOUT_ONE_PER_LINE
Definition: ExportLayoutFunctions.h:8
EXPORT_LAYOUT_ALL_PER_LINE
Definition: ExportLayoutFunctions.h:7
ExportLayoutFunctions
ExportLayoutFunctions
Definition: ExportLayoutFunctions.h:6