Changeset 0ac9690913 in tspsg for src/mainwindow.h


Ignore:
Timestamp:
Dec 7, 2009, 5:06:44 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
a218bf2cb2
Parents:
3b1caa32d0
Message:

+ Toolbar state and position is now saved and restored with Main Window state and position.

  • Made some small improvements to the code.
  • Fixed some errors in the documentation.
  • Made source code more "documentation friendly".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mainwindow.h

    r3b1caa32d0 r0ac9690913  
    6060#endif // QT_NO_PRINTER
    6161        void actionSettingsPreferencesTriggered();
    62         void actionSettingsLanguageAutodetectTriggered(bool);
    63         void groupSettingsLanguageListTriggered(QAction *);
     62        void actionSettingsLanguageAutodetectTriggered(bool checked);
     63        void groupSettingsLanguageListTriggered(QAction *action);
    6464        void actionHelpAboutTriggered();
    6565// Buttons
     
    6969
    7070        void dataChanged();
    71         void dataChanged(const QModelIndex &, const QModelIndex &);
    72         void numCitiesChanged(int);
     71        void dataChanged(const QModelIndex &tl, const QModelIndex &br);
     72        void numCitiesChanged(int nCities);
    7373#ifndef QT_NO_PRINTER
    7474        void printPreview(QPrinter *printer);
    7575#endif // QT_NO_PRINTER
    76         void spinCitiesValueChanged(int);
     76        void spinCitiesValueChanged(int nCities);
    7777
    7878private:
     
    8686        CTSPModel *tspmodel;
    8787
    88         void closeEvent(QCloseEvent *);
     88        void closeEvent(QCloseEvent *ev);
    8989        void enableSolutionActions(bool enable = true);
    9090        void initDocStyleSheet();
    9191        void loadLangList();
    92         bool loadLanguage(QString lang = "");
     92        bool loadLanguage(const QString &lang = QString());
    9393        bool maybeSave();
    94         void outputMatrix(tMatrix, QStringList &, int nRow = -1, int nCol = -1);
     94        void outputMatrix(const tMatrix &matrix, QStringList &output, int nRow = -1, int nCol = -1);
    9595        bool saveTask();
    96         void setFileName(QString fileName = trUtf8("Untitled") + ".tspt");
     96        void setFileName(const QString &fileName = trUtf8("Untitled") + ".tspt");
    9797};
    9898
Note: See TracChangeset for help on using the changeset viewer.