Files
vcmi/launcher/helper.h
T

32 lines
810 B
C++
Raw Normal View History

2024-04-21 16:56:39 +02:00
/*
2025-01-15 20:30:48 +01:00
* helper.h, part of VCMI engine
2024-04-21 16:56:39 +02:00
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#pragma once
2025-01-15 20:30:48 +01:00
#include <QString>
class QObject;
2025-03-17 21:58:31 +01:00
class MainWindow;
2024-04-21 16:56:39 +02:00
namespace Helper
{
2025-10-17 13:52:01 +02:00
void loadSettings();
void reLoadSettings();
void enableScrollBySwiping(QObject * scrollTarget);
QString getRealPath(QString path);
bool performNativeCopy(QString src, QString dst);
void revealDirectoryInFileBrowser(QString path);
MainWindow * getMainWindow();
void keepScreenOn(bool isEnabled);
2025-10-30 21:10:20 +01:00
bool canUseFolderPicker();
void nativeFolderPicker(QWidget *parent, std::function<void(QString)>&& cb);
2025-10-17 13:52:01 +02:00
QStringList findFilesForCopy(const QString &treeUri);
2025-12-22 15:16:33 +01:00
void sendFileToApp(QString path);
2024-04-21 16:56:39 +02:00
}