diff --git a/src/common/mlapplication.h b/src/common/mlapplication.h index 3f7203102..b68a22e58 100644 --- a/src/common/mlapplication.h +++ b/src/common/mlapplication.h @@ -7,24 +7,24 @@ class MeshLabApplication : public QApplication { public: - enum HW_ARCHITECTURE {HW_32BIT = 32,HW_64BIT = 64}; - MeshLabApplication(int &argc, char *argv[]); - ~MeshLabApplication(); - bool notify(QObject * rec, QEvent * ev); - static const QString appName(){return tr("MeshLab"); } - static const QString architecturalSuffix(const HW_ARCHITECTURE hw) {return "_" + QString::number(int(hw)) + "bit";} - static const QString appArchitecturalName(const HW_ARCHITECTURE hw) {return appName() + architecturalSuffix(hw);} + enum HW_ARCHITECTURE {HW_32BIT = 32,HW_64BIT = 64}; + MeshLabApplication(int &argc, char *argv[]); + ~MeshLabApplication(); + bool notify(QObject * rec, QEvent * ev); + static const QString appName(){return tr("MeshLab"); } + static const QString architecturalSuffix(const HW_ARCHITECTURE hw) {return "_" + QString::number(int(hw)) + "bit";} + static const QString appArchitecturalName(const HW_ARCHITECTURE hw) {return appName() + architecturalSuffix(hw);} static const QString appVer() {return tr("1.3.3BETA"); } - static const QString completeName(const HW_ARCHITECTURE hw){return appArchitecturalName(hw) + " v" + appVer(); } - static const QString organization(){return tr("VCG");} - static const QString organizationHost() {return tr("vcg.isti.cnr.it");} - static const QString webSite() {return tr("http://meshlab.sourceforge.net/");} - static const QString downloadSite() {return tr("http://downloads.sourceforge.net/project/meshlab");} - static const QString downloadUpdatesSite() {return downloadSite() + tr("/updates");} + static const QString completeName(const HW_ARCHITECTURE hw){return appArchitecturalName(hw) + " v" + appVer(); } + static const QString organization(){return tr("VCG");} + static const QString organizationHost() {return tr("http://vcg.isti.cnr.it");} + static const QString webSite() {return tr("http://meshlab.sourceforge.net/");} + static const QString downloadSite() {return tr("http://downloads.sourceforge.net/project/meshlab");} + static const QString downloadUpdatesSite() {return downloadSite() + tr("/updates");} - static const QString pluginsPathRegisterKeyName() {return tr("pluginsPath");} - static const QString versionRegisterKeyName() {return tr("version");} - static const QString worldSizeKeyName() {return tr("worldSize");} + static const QString pluginsPathRegisterKeyName() {return tr("pluginsPath");} + static const QString versionRegisterKeyName() {return tr("version");} + static const QString worldSizeKeyName() {return tr("worldSize");} }; #endif