MuseScore  3.4
Music composition and notation
stringutils.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Linux Music Score Editor
4 // Copyright (C) 2002-2018 Werner Schweer and others
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License version 2.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with this program; if not, write to the Free Software
16 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 //=============================================================================
18 
19 #ifndef STRINGUTILS_H
20 #define STRINGUTILS_H
21 
22 #include <QObject>
23 
24 namespace Ms {
25 
26 class stringutils : public QObject
27 {
28  Q_OBJECT
29 
30  public:
31  static QString removeLigatures(const QString& pre);
32  static QString removeDiacritics(const QString& pre);
33  static QString convertFileSizeToHumanReadable(const qlonglong & bytes);
34 };
35 
36 } // namespace Ms
37 
38 #endif // STRINGUTILS_H
static QString removeDiacritics(const QString &pre)
Definition: stringutils.cpp:85
Definition: stringutils.h:26
static QString convertFileSizeToHumanReadable(const qlonglong &bytes)
Definition: stringutils.cpp:102
Definition: aeolus.cpp:26
static QString removeLigatures(const QString &pre)
Definition: stringutils.cpp:27