mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Move redirect signals into header
This commit is contained in:
parent
30017db8d5
commit
0a9452c717
@ -131,22 +131,7 @@ bool Util::writeJsonObjectToFile(const QString& absoluteFilePath, const QJsonObj
|
||||
out << QJsonDocument(object).toJson();
|
||||
|
||||
configTmp.close();
|
||||
return true;
|
||||
}
|
||||
|
||||
void Util::setNavigation(QString nav)
|
||||
{
|
||||
emit requestNavigation(nav);
|
||||
}
|
||||
|
||||
void Util::setNavigationActive(bool isActive)
|
||||
{
|
||||
emit requestNavigationActive(isActive);
|
||||
}
|
||||
|
||||
void Util::setToggleWallpaperConfiguration()
|
||||
{
|
||||
emit requestToggleWallpaperConfiguration();
|
||||
return true;
|
||||
}
|
||||
|
||||
QString Util::fixWindowsPath(QString url)
|
||||
|
@ -86,10 +86,21 @@ public slots:
|
||||
|
||||
static QString generateRandomString(quint32 length = 32);
|
||||
|
||||
void setNavigation(QString nav);
|
||||
void setNavigationActive(bool isActive);
|
||||
void setNavigation(QString nav)
|
||||
{
|
||||
emit requestNavigation(nav);
|
||||
}
|
||||
|
||||
void setToggleWallpaperConfiguration();
|
||||
// When we create a wallpaper the main navigation gets disabled
|
||||
void setNavigationActive(bool isActive)
|
||||
{
|
||||
emit requestNavigationActive(isActive);
|
||||
}
|
||||
|
||||
void setToggleWallpaperConfiguration()
|
||||
{
|
||||
emit requestToggleWallpaperConfiguration();
|
||||
}
|
||||
void openFolderInExplorer(QString url);
|
||||
|
||||
void requestAllLicenses();
|
||||
|
Loading…
Reference in New Issue
Block a user