File indexing completed on 2024-04-28 05:35:29
0001 /* 0002 SPDX-FileCopyrightText: 2022 Popov Eugene <popov895@ukr.net> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QString> 0010 0011 class Utils 0012 { 0013 public: 0014 /** 0015 * Returns a simplified text of a maximum length of maxLength 0016 */ 0017 static QString simplifiedText(const QString &text, int maxLength); 0018 };