mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
332 B
18 lines
332 B
/* |
|
SPDX-FileCopyrightText: 2022 Popov Eugene <[email protected]> |
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#pragma once |
|
|
|
#include <QString> |
|
|
|
class Utils |
|
{ |
|
public: |
|
/** |
|
* Returns a simplified text of a maximum length of maxLength |
|
*/ |
|
static QString simplifiedText(const QString &text, int maxLength); |
|
};
|
|
|