SceneSwitcher/lib/utils/utility.hpp
WarmUpTill 46bf6c666f
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
Cleanup includes
2026-07-11 19:50:58 +02:00

30 lines
608 B
C++

#pragma once
#include "export-symbol-helper.hpp"
#include <QString>
#include <string>
class QListWidget;
class QObject;
class QWidget;
namespace advss {
EXPORT std::pair<int, int> GetCursorPos();
bool ReplaceAll(std::string &str, const std::string &from,
const std::string &to);
EXPORT bool CompareIgnoringLineEnding(QString &s1, QString &s2);
std::string ToString(double value);
/* Legacy helpers */
void listAddClicked(QListWidget *list, QWidget *newWidget,
QObject **addHighlight = nullptr);
bool listMoveUp(QListWidget *list);
bool listMoveDown(QListWidget *list);
} // namespace advss