|
Rabbit Remote Control 0.1.0-bate14
|
Manage desktop shortcut keys. More...
#include <DesktopShortcuts.h>


Public Member Functions | |
| CDesktopShortcutManager (QObject *parent=nullptr) | |
| bool | disableAllShortcuts () |
| bool | restoreAllShortcuts () |
| bool | isDisabled () const |
| QString | desktopEnvironment () const |
Static Public Member Functions | |
| static QString | detectDesktopEnvironment () |
| static bool | runCommand (const QString &program, const QStringList &args=QStringList(), int timeout=5000) |
| static QString | getCommandOutput (const QString &program, const QStringList &args) |
Private Member Functions | |
| bool | backupFile (const QString &sourcePath, const QString &backupPath) |
| bool | restoreFile (const QString &backupPath, const QString &targetPath) |
Private Attributes | |
| QString | m_desktopEnv |
| bool | m_shortcutsDisabled = false |
| QMap< QString, QMap< QString, QString > > | m_gnomeSettings |
| QMap< QString, QString > | m_kdeSettings |
| QMap< QString, QString > | m_xfceSettings |
| QString | m_gnomeBackupPath |
| QString | m_kdeBackupPath |
Manage desktop shortcut keys.
Definition at line 16 of file DesktopShortcuts.h.
|
virtual |
Definition at line 24 of file DesktopShortcuts.cpp.
|
private |
Definition at line 779 of file DesktopShortcuts.cpp.
|
inline |
Definition at line 30 of file DesktopShortcuts.h.
|
static |
Definition at line 34 of file DesktopShortcuts.cpp.
| bool CDesktopShortcutManager::disableAllShortcuts | ( | ) |
Definition at line 57 of file DesktopShortcuts.cpp.
|
static |
Definition at line 767 of file DesktopShortcuts.cpp.
|
inline |
Definition at line 29 of file DesktopShortcuts.h.
| bool CDesktopShortcutManager::restoreAllShortcuts | ( | ) |
Definition at line 87 of file DesktopShortcuts.cpp.
|
private |
Definition at line 784 of file DesktopShortcuts.cpp.
|
static |
Definition at line 735 of file DesktopShortcuts.cpp.
|
private |
Definition at line 38 of file DesktopShortcuts.h.
|
private |
Definition at line 45 of file DesktopShortcuts.h.
|
private |
Definition at line 42 of file DesktopShortcuts.h.
|
private |
Definition at line 46 of file DesktopShortcuts.h.
|
private |
Definition at line 43 of file DesktopShortcuts.h.
|
private |
Definition at line 39 of file DesktopShortcuts.h.
|
private |
Definition at line 44 of file DesktopShortcuts.h.