2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Move many widget classes to lib_ui.

This commit is contained in:
John Preston
2019-09-16 14:14:06 +03:00
parent dda587a2fc
commit 849deb57e2
189 changed files with 3750 additions and 2572 deletions

View File

@@ -20,26 +20,15 @@ namespace Platform {
inline void SetWatchingMediaKeys(bool watching) {
}
bool IsApplicationActive();
inline void StartTranslucentPaint(QPainter &p, QPaintEvent *e) {
}
inline void InitOnTopPanel(QWidget *panel) {
}
inline void DeInitOnTopPanel(QWidget *panel) {
}
inline void ReInitOnTopPanel(QWidget *panel) {
}
QString CurrentExecutablePath(int argc, char *argv[]);
inline std::optional<crl::time> LastUserInputTime() {
return std::nullopt;
}
inline void IgnoreApplicationActivationRightNow() {
}
inline constexpr bool UseMainQueueGeneric() {
return true;
}
@@ -70,15 +59,12 @@ void psAutoStart(bool start, bool silent = false);
void psSendToMenu(bool send, bool silent = false);
QRect psDesktopRect();
void psShowOverAll(QWidget *w, bool canFocus = true);
void psBringToBack(QWidget *w);
int psCleanup();
int psFixPrevious();
void psNewVersion();
void psUpdateOverlayed(QWidget *widget);
inline QByteArray psDownloadPathBookmark(const QString &path) {
return QByteArray();
}