Index: /trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp	(revision 64258)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp	(revision 64259)
@@ -44,4 +44,13 @@
 
 
+/** Column index enumerator. */
+enum UIHotKeyColumnIndex
+{
+    UIHotKeyColumnIndex_Description,
+    UIHotKeyColumnIndex_Sequence,
+    UIHotKeyColumnIndex_Max
+};
+
+
 /* Global settings / Input page / Cache / Shortcut cache item: */
 struct UIShortcutCacheItem
@@ -119,6 +128,8 @@
         switch (m_iColumn)
         {
-            case 0: return m_order == Qt::AscendingOrder ? item1.description < item2.description : item1.description > item2.description;
-            case 1: return m_order == Qt::AscendingOrder ? item1.currentSequence < item2.currentSequence : item1.currentSequence > item2.currentSequence;
+            case UIHotKeyColumnIndex_Description:
+                return m_order == Qt::AscendingOrder ? item1.description < item2.description : item1.description > item2.description;
+            case UIHotKeyColumnIndex_Sequence:
+                return m_order == Qt::AscendingOrder ? item1.currentSequence < item2.currentSequence : item1.currentSequence > item2.currentSequence;
             default: break;
         }
@@ -196,11 +207,4 @@
 
 public:
-
-    /* Hot-key table field indexes: */
-    enum Section
-    {
-        Section_Name = 0,
-        Section_Value = 1
-    };
 
     /* Constructor: */
@@ -310,6 +314,6 @@
     switch (index.column())
     {
-        case UIHotKeyTable::Section_Name: return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
-        case UIHotKeyTable::Section_Value: return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsEditable;
+        case UIHotKeyColumnIndex_Description: return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
+        case UIHotKeyColumnIndex_Sequence: return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsEditable;
         default: break;
     }
@@ -330,6 +334,6 @@
             switch (iSection)
             {
-                case UIHotKeyTable::Section_Name: return tr("Name");
-                case UIHotKeyTable::Section_Value: return tr("Shortcut");
+                case UIHotKeyColumnIndex_Description: return tr("Name");
+                case UIHotKeyColumnIndex_Sequence: return tr("Shortcut");
                 default: break;
             }
@@ -356,10 +360,10 @@
             switch (index.column())
             {
-                case UIHotKeyTable::Section_Name:
+                case UIHotKeyColumnIndex_Description:
                 {
                     /* Return shortcut description: */
                     return m_filteredShortcuts[iIndex].description;
                 }
-                case UIHotKeyTable::Section_Value:
+                case UIHotKeyColumnIndex_Sequence:
                 {
                     /* If that is host-combo cell: */
@@ -386,10 +390,10 @@
             switch (index.column())
             {
-                case UIHotKeyTable::Section_Value: return m_filteredShortcuts[iIndex].key == UIHostCombo::hostComboCacheKey() ?
-                                                        QVariant::fromValue(UIHostComboWrapper(m_filteredShortcuts[iIndex].currentSequence)) :
-                                                        QVariant::fromValue(UIHotKey(m_type == UIActionPoolType_Runtime ?
-                                                                                     UIHotKeyType_Simple : UIHotKeyType_WithModifiers,
-                                                                                     m_filteredShortcuts[iIndex].currentSequence,
-                                                                                     m_filteredShortcuts[iIndex].defaultSequence));
+                case UIHotKeyColumnIndex_Sequence: return m_filteredShortcuts[iIndex].key == UIHostCombo::hostComboCacheKey() ?
+                                                          QVariant::fromValue(UIHostComboWrapper(m_filteredShortcuts[iIndex].currentSequence)) :
+                                                          QVariant::fromValue(UIHotKey(m_type == UIActionPoolType_Runtime ?
+                                                                                       UIHotKeyType_Simple : UIHotKeyType_WithModifiers,
+                                                                                       m_filteredShortcuts[iIndex].currentSequence,
+                                                                                       m_filteredShortcuts[iIndex].defaultSequence));
                 default: break;
             }
@@ -404,5 +408,5 @@
             switch (index.column())
             {
-                case UIHotKeyTable::Section_Value:
+                case UIHotKeyColumnIndex_Sequence:
                 {
                     if (m_filteredShortcuts[iIndex].key != UIHostCombo::hostComboCacheKey() &&
@@ -421,5 +425,5 @@
             switch (index.column())
             {
-                case UIHotKeyTable::Section_Value:
+                case UIHotKeyColumnIndex_Sequence:
                 {
                     if (m_duplicatedSequences.contains(m_filteredShortcuts[iIndex].key))
@@ -450,5 +454,5 @@
             switch (index.column())
             {
-                case UIHotKeyTable::Section_Value:
+                case UIHotKeyColumnIndex_Sequence:
                 {
                     /* Get index: */
@@ -557,5 +561,5 @@
 
     /* Configure sorting: */
-    sortByColumn(Section_Name, Qt::AscendingOrder);
+    sortByColumn(UIHotKeyColumnIndex_Description, Qt::AscendingOrder);
     setSortingEnabled(true);
 }
@@ -575,9 +579,9 @@
     horizontalHeader()->setStretchLastSection(false);
 #if QT_VERSION >= 0x050000
-    horizontalHeader()->setSectionResizeMode(Section_Name, QHeaderView::Interactive);
-    horizontalHeader()->setSectionResizeMode(Section_Value, QHeaderView::Stretch);
+    horizontalHeader()->setSectionResizeMode(UIHotKeyColumnIndex_Description, QHeaderView::Interactive);
+    horizontalHeader()->setSectionResizeMode(UIHotKeyColumnIndex_Sequence, QHeaderView::Stretch);
 #else /* QT_VERSION < 0x050000 */
-    horizontalHeader()->setResizeMode(Section_Name, QHeaderView::Interactive);
-    horizontalHeader()->setResizeMode(Section_Value, QHeaderView::Stretch);
+    horizontalHeader()->setResizeMode(UIHotKeyColumnIndex_Description, QHeaderView::Interactive);
+    horizontalHeader()->setResizeMode(UIHotKeyColumnIndex_Sequence, QHeaderView::Stretch);
 #endif /* QT_VERSION < 0x050000 */
 
Index: /trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h	(revision 64258)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h	(revision 64259)
@@ -21,5 +21,4 @@
 /* Qt includes: */
 #include <QAbstractTableModel>
-#include <QTableView>
 
 /* GUI includes: */
@@ -34,4 +33,5 @@
 class UIHotKeyTableModel;
 class UIHotKeyTable;
+
 
 /* Global settings / Input page: */
