mirror of
https://github.com/huderlem/porymap.git
synced 2026-03-21 17:45:44 -05:00
20 lines
581 B
C++
20 lines
581 B
C++
#pragma once
|
|
#ifndef UTILITY_H
|
|
#define UTILITY_H
|
|
|
|
#include <QString>
|
|
#include <QLineEdit>
|
|
|
|
namespace Util {
|
|
void numericalModeSort(QStringList &list);
|
|
int roundUp(int numToRound, int multiple);
|
|
QString toDefineCase(QString input);
|
|
QString toHexString(uint32_t value, int minLength = 0);
|
|
QString toHtmlParagraph(const QString &text);
|
|
Qt::Orientations getOrientation(bool xflip, bool yflip);
|
|
QString replaceExtension(const QString &path, const QString &newExtension);
|
|
void setErrorStylesheet(QLineEdit *lineEdit, bool isError);
|
|
}
|
|
|
|
#endif // UTILITY_H
|