44a10fc796
- Moved detailed version information from ReportBugDialog to Version::details() - Added QPA Platform information to verbose version information - Added Qt version to detailed version information - Added `-V` command line option to glabels-qt and glabels-batch-qt
57 lines
1.5 KiB
C
57 lines
1.5 KiB
C
/* Version.h
|
|
*
|
|
* Copyright (C) 2016 Jaye Evins <evins@snaught.com>
|
|
*
|
|
* This file is part of gLabels-qt.
|
|
*
|
|
* gLabels-qt is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* gLabels-qt is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef model_Version_h
|
|
#define model_Version_h
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
namespace glabels
|
|
{
|
|
namespace model
|
|
{
|
|
|
|
namespace Version
|
|
{
|
|
const QString ORGANIZATION_NAME = "@ORGANIZATION_NAME@";
|
|
const QString ORGANIZATION_DOMAIN = "@ORGANIZATION_DOMAIN@";
|
|
const QString APPLICATION_NAME = "@APPLICATION_NAME@";
|
|
|
|
const QString WEBSITE = "http://@WEBSITE@";
|
|
const QString BUG_WEBSITE = "@BUG_WEBSITE@";
|
|
|
|
const int MAJOR = @glabels-qt_VERSION_MAJOR@;
|
|
const int MINOR = @glabels-qt_VERSION_MINOR@;
|
|
const int MICRO = @glabels-qt_VERSION_PATCH@;
|
|
|
|
const QString STRING = "@VERSION_STRING@";
|
|
const QString LONG_STRING = "@LONG_VERSION_STRING@";
|
|
|
|
QString details();
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
|
|
#endif // model_Version_h
|