Changeset 87 in tspsg-svn for trunk/src/mainwindow.h


Ignore:
Timestamp:
Jan 12, 2010, 3:11:24 PM (15 years ago)
Author:
laleppa
Message:

+ Added Fractional accuracy (in decimail places) to settings.
+ Created defaults.h file. Moved all default defines there.

  • Replaced all double types with qreal.
  • Replaced all calls to trUtf8() with tr() as we use setCodecForTr() to set UTF-8 encoding as default and tr() is enough.
  • Replaced all 2009 with 2010 in copyrights.
  • Fixed an error when loading .zkt file with less than 5 cities.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mainwindow.h

    r80 r87  
    11/*!
    22 * \file mainwindow.h
    3  * \author Copyright &copy; 2007-2009 Lёppa <contacts[at]oleksii[dot]name>
     3 * \author Copyright &copy; 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
    44 *
    55 *  $Id$
     
    3939/*!
    4040 * \brief Class for handling Main Window UI and logic.
    41  * \author Copyright &copy; 2007-2009 Lёppa <contacts[at]oleksii[dot]name>
     41 * \author Copyright &copy; 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
    4242 */
    4343class MainWindow: public QMainWindow, Ui::MainWindow
     
    9898        void retranslateUi(bool all = true);
    9999        bool saveTask();
    100         void setFileName(const QString &fileName = trUtf8("Untitled") + ".tspt");
     100        void setFileName(const QString &fileName = tr("Untitled") + ".tspt");
    101101        void setupUi();
    102102        void toggleSolutionActions(bool enable = true);
Note: See TracChangeset for help on using the changeset viewer.