Changeset 55c4b858e9 in tspsg


Ignore:
Timestamp:
Sep 10, 2009, 12:14:22 AM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
bc1b8837b6
Parents:
bc691eca15
Message:
  • New TSPSG icon. Found some nice image among heap of images on my PC and thought it would be a nice icon for TSPSG. Original source: Internet (read, unknown).
  • Some insignificant code changes.
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • resources/tspsg.rc

    rbc691eca15 r55c4b858e9  
    3939        BLOCK "000004b0"
    4040        BEGIN
    41 //            VALUE "Comments", BUILD_STATUS
     41            VALUE "Comments", VERSIONID
    4242            VALUE "CompanyName", "..::Lёppsville::.. Homes"
    4343            VALUE "FileDescription", "TSPSG: TSP Solver and Generator"
  • src/mainwindow.cpp

    rbc691eca15 r55c4b858e9  
    502502        about += QString::fromUtf8("    Runtime: %1\n").arg(qVersion());
    503503        about += QString::fromUtf8("Built on %1 at %2\n").arg(__DATE__).arg(__TIME__);
     504        about += QString::fromUtf8(VERSIONID"\n\n");
     505        about += QString::fromUtf8("Algorithm: %1\n").arg(CTSPSolver::getVersionId());
    504506        about += "\n";
    505507        about += "TSPSG is licensed under the terms of the GNU General Public License. You should have received a copy of the GNU General Public License along with TSPSG.";
  • src/tspsolver.cpp

    rbc691eca15 r55c4b858e9  
    243243}
    244244
     245QString CTSPSolver::getVersionId()
     246{
     247        return QString("$Id$");
     248}
     249
    245250bool CTSPSolver::isOptimal() const
    246251{
  • src/tspsolver.h

    rbc691eca15 r55c4b858e9  
    5050        bool isOptimal() const;
    5151        sStep *solve(int, tMatrix, QWidget *parent = 0);
     52        static QString getVersionId();
    5253
    5354private:
  • src/version.h

    rbc691eca15 r55c4b858e9  
    2525#define VERSION_H
    2626
     27#define VERSIONID "$Id$"
    2728#define BUILD_VERSION_MAJOR 0
    2829#define BUILD_VERSION_MINOR 1
Note: See TracChangeset for help on using the changeset viewer.