Engauge Digitizer  2
ExportPointsSelectionRelations.cpp
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 
7 #include "ExportPointsSelectionRelations.h"
8 #include <QObject>
9 
10 extern QString exportPointsSelectionRelationsToString (ExportPointsSelectionRelations exportPointsSelectionRelations)
11 {
12  switch (exportPointsSelectionRelations) {
13  case EXPORT_POINTS_SELECTION_RELATIONS_INTERPOLATE:
14  return QObject::tr ("Interpolate");
15 
16  case EXPORT_POINTS_SELECTION_RELATIONS_RAW:
17  return QObject::tr ("Raw");
18 
19  default:
20  return QObject::tr ("Unknown");
21  }
22 }