blob: e7a7545da87a94ebea8dbb1048c8afabf2cd0ac4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef CODESNIPHELPERS_H
#define CODESNIPHELPERS_H
#include <QtCore/QString>
class CodeSnipHelpers
{
public:
static QString fixSpaces(QString code);
static QString dedent(const QString &code);
static void prependCode(QString *code, QString firstLine);
};
#endif // CODESNIPHELPERS_H
|