mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Move many widget classes to lib_ui.
This commit is contained in:
@@ -27,13 +27,7 @@ enum class SystemSettingsType {
|
||||
};
|
||||
|
||||
void SetWatchingMediaKeys(bool watching);
|
||||
bool IsApplicationActive();
|
||||
void SetApplicationIcon(const QIcon &icon);
|
||||
bool TranslucentWindowsSupported(QPoint globalPosition);
|
||||
void StartTranslucentPaint(QPainter &p, QPaintEvent *e);
|
||||
void InitOnTopPanel(QWidget *panel);
|
||||
void DeInitOnTopPanel(QWidget *panel);
|
||||
void ReInitOnTopPanel(QWidget *panel);
|
||||
void RegisterCustomScheme();
|
||||
PermissionStatus GetPermissionStatus(PermissionType type);
|
||||
void RequestPermission(PermissionType type, Fn<void(PermissionStatus)> resultCallback);
|
||||
@@ -45,6 +39,8 @@ bool OpenSystemSettings(SystemSettingsType type);
|
||||
return LastUserInputTime().has_value();
|
||||
}
|
||||
|
||||
void IgnoreApplicationActivationRightNow();
|
||||
|
||||
[[nodiscard]] constexpr bool UseMainQueueGeneric();
|
||||
void DrainMainQueue(); // Needed only if UseMainQueueGeneric() is false.
|
||||
|
||||
|
Reference in New Issue
Block a user