Changeset 43c29c04ba in tspsg for src/tspsolver.h


Ignore:
Timestamp:
Jul 4, 2010, 3:03:13 AM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
7aaa0b0ec7
Parents:
d2820c3a1f
git-author:
Oleksii Serdiuk <contacts@…> (07/04/10 03:03:13)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
Message:

+ Added support for Windows 7 Taskbar Extensions (namely, Progress Bars).

  • Cleanup is done in a separate thread now, so progress bar runs more smooth.
  • "Tabified" About dialog. Added GPL License and Credits.
  • Updated translations and tspsg.tag file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tspsolver.h

    rd2820c3a1f r43c29c04ba  
    113113        CTSPSolver(QObject *parent = NULL);
    114114        void cleanup(bool processEvents = false);
    115         QString getSortedPath(const QString &city, const QString &separator = " -> ") const;
     115        QString getSortedPath(const QString &city, const QString &separator = QString(" -> ")) const;
    116116        int getTotalSteps() const;
    117117        bool isOptimal() const;
     118        void setCleanupOnCancel(bool enable = true);
    118119        SStep *solve(int numCities, const TMatrix &task);
    119120        bool wasCanceled() const;
     
    131132
    132133private:
    133         bool mayNotBeOptimal, canceled;
     134        bool mayNotBeOptimal, canceled, cc;
    134135        int nCities, total;
    135136        SStep *root;
Note: See TracChangeset for help on using the changeset viewer.