Changeset 27 in tspsg-svn for trunk/src/tspmodel.h


Ignore:
Timestamp:
Jun 23, 2009, 7:56:29 PM (16 years ago)
Author:
laleppa
Message:

+ Language is automatically loaded at application startup (based on user's locale name).
+ Full Ukrainian and Russian translation.

  • English is now default language.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tspmodel.h

    r21 r27  
    2525#define TSPMODEL_H
    2626
    27 // Decided, that static array with 100 of cities maximum hard limit
    28 // will be enough for most cases, but the code will be simplier than
    29 // when using dynamic lists. If you need more, just change this value
    30 // and recompile the program ;-)
    31 #define MAX_CITIES 100
    32 // This value means infinity :-)
    33 #ifndef INFINITY
    34         #define INFINITY 1.7E+308
    35 #endif
    36 // This is string, which represents infinite value in table
    37 #define INFSTR "---"
    38 
    3927#include <QAbstractTableModel>
    4028#include <QSettings>
     29#include "defines.h"
    4130
    4231class CTSPModel: public QAbstractTableModel
Note: See TracChangeset for help on using the changeset viewer.