Changeset 124 in tspsg-svn for trunk/src/tspsolver.h


Ignore:
Timestamp:
Jul 4, 2010, 3:03:13 AM (14 years ago)
Author:
laleppa
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
  • trunk/src/tspsolver.h

    r116 r124  
    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.