Changeset 5587b87fac in tspsg for src/tspmodel.h


Ignore:
Timestamp:
Jun 23, 2009, 7:56:29 PM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
78282ec778
Parents:
0621172ec1
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
  • src/tspmodel.h

    r0621172ec1 r5587b87fac  
    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.