Geometrize  1.0
An application for geometrizing images into geometric primitives
strings.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QObject>
4 #include <QString>
5 
6 #include "geometrize/shape/shapetypes.h"
7 
8 namespace geometrize
9 {
10 
11 namespace strings
12 {
13 
17 class Strings : public QObject
18 {
19  Q_OBJECT
20 public:
21  Strings() = delete;
22  Strings& operator=(const Strings&) = delete;
23  Strings(const Strings&) = delete;
24 
29  static QString getApplicationName();
30 
35  static QString getShortApplicationDescription();
36 
41  static QString getCopyrightNotice();
42 
48  static QString getShapeTypeNamePlural(geometrize::ShapeTypes shapeType);
49 };
50 
51 }
52 
53 }
geometrize::strings::Strings::getShapeTypeNamePlural
static QString getShapeTypeNamePlural(geometrize::ShapeTypes shapeType)
getShapeTypeNamePlural Gets the plural name of the shape for the given shape type.
Definition: strings.cpp:24
geometrize::strings::Strings::getCopyrightNotice
static QString getCopyrightNotice()
getCopyrightNotice Gets a copyright notice for the application.
Definition: strings.cpp:19
geometrize::strings::Strings::operator=
Strings & operator=(const Strings &)=delete
geometrize::strings::Strings::getShortApplicationDescription
static QString getShortApplicationDescription()
getApplicationDescription Gets a short description of the application.
Definition: strings.cpp:14
geometrize::strings::Strings::getApplicationName
static QString getApplicationName()
getApplicationName Gets the name of the application.
Definition: strings.cpp:9
geometrize
Definition: commandlineparser.cpp:73
strings.h
geometrize::strings::Strings::Strings
Strings(const Strings &)=delete
geometrize::strings::Strings::Strings
Strings()=delete
geometrize::strings::Strings
The Strings class contains methods for getting miscelleanous translatable strings.
Definition: strings.h:18