|
|
@ -98,36 +98,23 @@ class UBPlatformUtils |
|
|
|
public: |
|
|
|
public: |
|
|
|
static void init(); |
|
|
|
static void init(); |
|
|
|
static void destroy(); |
|
|
|
static void destroy(); |
|
|
|
|
|
|
|
|
|
|
|
static QString applicationResourcesDirectory(); |
|
|
|
static QString applicationResourcesDirectory(); |
|
|
|
|
|
|
|
|
|
|
|
static void hideFile(const QString &filePath); |
|
|
|
static void hideFile(const QString &filePath); |
|
|
|
static void setFileType(const QString &filePath, unsigned long fileType); |
|
|
|
static void setFileType(const QString &filePath, unsigned long fileType); |
|
|
|
|
|
|
|
|
|
|
|
static void fadeDisplayOut(); |
|
|
|
static void fadeDisplayOut(); |
|
|
|
static void fadeDisplayIn(); |
|
|
|
static void fadeDisplayIn(); |
|
|
|
|
|
|
|
|
|
|
|
static QString preferredTranslation(); |
|
|
|
static QString preferredTranslation(); |
|
|
|
static QString preferredLanguage(); |
|
|
|
static QString preferredLanguage(); |
|
|
|
|
|
|
|
|
|
|
|
static bool hasVirtualKeyboard(); |
|
|
|
static bool hasVirtualKeyboard(); |
|
|
|
//static void showVirtualKeyboard();
|
|
|
|
//static void showVirtualKeyboard();
|
|
|
|
|
|
|
|
|
|
|
|
static void runInstaller(const QString &installerFilePath); |
|
|
|
static void runInstaller(const QString &installerFilePath); |
|
|
|
|
|
|
|
|
|
|
|
static void bringPreviousProcessToFront(); |
|
|
|
static void bringPreviousProcessToFront(); |
|
|
|
|
|
|
|
|
|
|
|
static QString osUserLoginName(); |
|
|
|
static QString osUserLoginName(); |
|
|
|
|
|
|
|
|
|
|
|
static void setDesktopMode(bool desktop); |
|
|
|
static void setDesktopMode(bool desktop); |
|
|
|
|
|
|
|
|
|
|
|
static void setWindowNonActivableFlag(QWidget* widget, bool nonAcivable); |
|
|
|
static void setWindowNonActivableFlag(QWidget* widget, bool nonAcivable); |
|
|
|
|
|
|
|
|
|
|
|
static QString computerName(); |
|
|
|
static QString computerName(); |
|
|
|
|
|
|
|
|
|
|
|
static UBKeyboardLocale** getKeyboardLayouts(int& nCount); |
|
|
|
static UBKeyboardLocale** getKeyboardLayouts(int& nCount); |
|
|
|
|
|
|
|
static QString urlFromClipboard(); |
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|