mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 01:44:49 -05:00
29 lines
664 B
C++
29 lines
664 B
C++
#pragma once
|
|
#include "export-symbol-helper.hpp"
|
|
|
|
#include <optional>
|
|
#include <QListWidget>
|
|
#include <QMetaObject>
|
|
#include <QPushButton>
|
|
#include <QString>
|
|
#include <QWidget>
|
|
#include <string>
|
|
|
|
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
|