[Kst] branches/work/kst/portto4/kst/src/libkstmath

Peter Kümmel syntheticpp at gmx.net
Thu Oct 25 20:04:06 UTC 2012


SVN commit 1322464 by kuemmel:

add new type at the end because of index-based backward compatibility

 M  +4 -4      plotdefines.h  


--- branches/work/kst/portto4/kst/src/libkstmath/plotdefines.h #1322463:1322464
@@ -34,10 +34,10 @@
   AXIS_DISPLAY_DDMMYYHHMMSS_SS,
   AXIS_DISPLAY_QTTEXTDATEHHMMSS_SS,
   AXIS_DISPLAY_QTLOCALDATEHHMMSS_SS,
-  AXIS_DISPLAY_QTDATETIME_FORMAT,
   AXIS_DISPLAY_JD,
   AXIS_DISPLAY_MJD,
-  AXIS_DISPLAY_RJD };
+  AXIS_DISPLAY_RJD,
+  AXIS_DISPLAY_QTDATETIME_FORMAT};
 
 struct AxisInterpretation {
   const char *label;
@@ -65,10 +65,10 @@
   { I18N_NOOP("DD/MM/YYYY HH:MM:SS.SS"), AXIS_DISPLAY_DDMMYYHHMMSS_SS },
   { I18N_NOOP("<Qt Text Date> HH:MM:SS.SS"), AXIS_DISPLAY_QTTEXTDATEHHMMSS_SS },
   { I18N_NOOP("<Qt Local Date> HH:MM:SS.SS"), AXIS_DISPLAY_QTLOCALDATEHHMMSS_SS },
-  { I18N_NOOP("QDateTime format string"), AXIS_DISPLAY_QTDATETIME_FORMAT },
   { I18N_NOOP2("Julian Date", "JD"), AXIS_DISPLAY_JD },
   { I18N_NOOP2("Modified Julian Date", "MJD"), AXIS_DISPLAY_MJD },
-  { I18N_NOOP2("Reduced Julian Date", "RJD"), AXIS_DISPLAY_RJD }
+  { I18N_NOOP2("Reduced Julian Date", "RJD"), AXIS_DISPLAY_RJD },
+  { I18N_NOOP("QDateTime format string"), AXIS_DISPLAY_QTDATETIME_FORMAT }
 };
 
 const unsigned int numAxisInterpretations = sizeof( AxisInterpretations ) / sizeof( AxisInterpretation );


More information about the Kst mailing list