Changeset 63 in tspsg-svn for trunk


Ignore:
Timestamp:
Sep 10, 2009, 12:14:22 AM (15 years ago)
Author:
laleppa
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.
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/tspsg.rc

    r61 r63  
    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"
  • trunk/src/mainwindow.cpp

    r60 r63  
    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.";
  • trunk/src/tspsolver.cpp

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

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

    r50 r63  
    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.