Engauge Digitizer  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CoordUnitsDate.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 
7 #include "CoordUnitsDate.h"
8 #include <QObject>
9 
11 {
12  switch (coordUnits) {
14  return QObject::tr ("DD/MM/YYYY");
15 
17  return QObject::tr ("MM/DD/YYYY");
18 
20  return QObject::tr ("YYYY/MM/DD");
21 
23  return "";
24 
25  default:
26  return QObject::tr ("unknown");
27  }
28 }
QString coordUnitsDateToString(CoordUnitsDate coordUnits)
CoordUnitsDate