src/corelib/global/qnamespace.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
child 7 f7bc934e204c
child 18 2f34d5167611
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   907         Key_Dead_Belowdot       = 0x01001260,
   907         Key_Dead_Belowdot       = 0x01001260,
   908         Key_Dead_Hook           = 0x01001261,
   908         Key_Dead_Hook           = 0x01001261,
   909         Key_Dead_Horn           = 0x01001262,
   909         Key_Dead_Horn           = 0x01001262,
   910 
   910 
   911         // multimedia/internet keys - ignored by default - see QKeyEvent c'tor
   911         // multimedia/internet keys - ignored by default - see QKeyEvent c'tor
   912 
       
   913         Key_Back  = 0x01000061,
   912         Key_Back  = 0x01000061,
   914         Key_Forward  = 0x01000062,
   913         Key_Forward  = 0x01000062,
   915         Key_Stop  = 0x01000063,
   914         Key_Stop  = 0x01000063,
   916         Key_Refresh  = 0x01000064,
   915         Key_Refresh  = 0x01000064,
   917 
       
   918         Key_VolumeDown = 0x01000070,
   916         Key_VolumeDown = 0x01000070,
   919         Key_VolumeMute  = 0x01000071,
   917         Key_VolumeMute  = 0x01000071,
   920         Key_VolumeUp = 0x01000072,
   918         Key_VolumeUp = 0x01000072,
   921         Key_BassBoost = 0x01000073,
   919         Key_BassBoost = 0x01000073,
   922         Key_BassUp = 0x01000074,
   920         Key_BassUp = 0x01000074,
   923         Key_BassDown = 0x01000075,
   921         Key_BassDown = 0x01000075,
   924         Key_TrebleUp = 0x01000076,
   922         Key_TrebleUp = 0x01000076,
   925         Key_TrebleDown = 0x01000077,
   923         Key_TrebleDown = 0x01000077,
   926 
       
   927         Key_MediaPlay  = 0x01000080,
   924         Key_MediaPlay  = 0x01000080,
   928         Key_MediaStop  = 0x01000081,
   925         Key_MediaStop  = 0x01000081,
   929         Key_MediaPrevious  = 0x01000082,
   926         Key_MediaPrevious  = 0x01000082,
   930 #if defined(QT3_SUPPORT) && !defined(Q_MOC_RUN)
   927 #if defined(QT3_SUPPORT) && !defined(Q_MOC_RUN)
   931         Key_MediaPrev  = Key_MediaPrevious,
   928         Key_MediaPrev  = Key_MediaPrevious,
   932 #endif
   929 #endif
   933         Key_MediaNext  = 0x01000083,
   930         Key_MediaNext  = 0x01000083,
   934         Key_MediaRecord = 0x01000084,
   931         Key_MediaRecord = 0x01000084,
   935 
       
   936         Key_HomePage  = 0x01000090,
   932         Key_HomePage  = 0x01000090,
   937         Key_Favorites  = 0x01000091,
   933         Key_Favorites  = 0x01000091,
   938         Key_Search  = 0x01000092,
   934         Key_Search  = 0x01000092,
   939         Key_Standby = 0x01000093,
   935         Key_Standby = 0x01000093,
   940         Key_OpenUrl = 0x01000094,
   936         Key_OpenUrl = 0x01000094,
   941 
       
   942         Key_LaunchMail  = 0x010000a0,
   937         Key_LaunchMail  = 0x010000a0,
   943         Key_LaunchMedia = 0x010000a1,
   938         Key_LaunchMedia = 0x010000a1,
   944         Key_Launch0  = 0x010000a2,
   939         Key_Launch0  = 0x010000a2,
   945         Key_Launch1  = 0x010000a3,
   940         Key_Launch1  = 0x010000a3,
   946         Key_Launch2  = 0x010000a4,
   941         Key_Launch2  = 0x010000a4,
   955         Key_LaunchB  = 0x010000ad,
   950         Key_LaunchB  = 0x010000ad,
   956         Key_LaunchC  = 0x010000ae,
   951         Key_LaunchC  = 0x010000ae,
   957         Key_LaunchD  = 0x010000af,
   952         Key_LaunchD  = 0x010000af,
   958         Key_LaunchE  = 0x010000b0,
   953         Key_LaunchE  = 0x010000b0,
   959         Key_LaunchF  = 0x010000b1,
   954         Key_LaunchF  = 0x010000b1,
       
   955         Key_MonBrightnessUp = 0x010000b2,
       
   956         Key_MonBrightnessDown = 0x010000b3,
       
   957         Key_KeyboardLightOnOff = 0x010000b4,
       
   958         Key_KeyboardBrightnessUp = 0x010000b5,
       
   959         Key_KeyboardBrightnessDown = 0x010000b6,
       
   960         Key_PowerOff = 0x010000b7,
       
   961         Key_WakeUp = 0x010000b8,
       
   962         Key_Eject = 0x010000b9,
       
   963         Key_ScreenSaver = 0x010000ba,
       
   964         Key_WWW = 0x010000bb,
       
   965         Key_Memo = 0x010000bc,
       
   966         Key_LightBulb = 0x010000bd,
       
   967         Key_Shop = 0x010000be,
       
   968         Key_History = 0x010000bf,
       
   969         Key_AddFavorite = 0x010000c0,
       
   970         Key_HotLinks = 0x010000c1,
       
   971         Key_BrightnessAdjust = 0x010000c2,
       
   972         Key_Finance = 0x010000c3,
       
   973         Key_Community = 0x010000c4,
       
   974         Key_AudioRewind = 0x010000c5,
       
   975         Key_BackForward = 0x010000c6,
       
   976         Key_ApplicationLeft = 0x010000c7,
       
   977         Key_ApplicationRight = 0x010000c8,
       
   978         Key_Book = 0x010000c9,
       
   979         Key_CD = 0x010000ca,
       
   980         Key_Calculator = 0x010000cb,
       
   981         Key_ToDoList = 0x010000cc,
       
   982         Key_ClearGrab = 0x010000cd,
       
   983         Key_Close = 0x010000ce,
       
   984         Key_Copy = 0x010000cf,
       
   985         Key_Cut = 0x010000d0,
       
   986         Key_Display = 0x010000d1,
       
   987         Key_DOS = 0x010000d2,
       
   988         Key_Documents = 0x010000d3,
       
   989         Key_Excel = 0x010000d4,
       
   990         Key_Explorer = 0x010000d5,
       
   991         Key_Game = 0x010000d6,
       
   992         Key_Go = 0x010000d7,
       
   993         Key_iTouch = 0x010000d8,
       
   994         Key_LogOff = 0x010000d9,
       
   995         Key_Market = 0x010000da,
       
   996         Key_Meeting = 0x010000db,
       
   997         Key_MenuKB = 0x010000dc,
       
   998         Key_MenuPB = 0x010000dd,
       
   999         Key_MySites = 0x010000de,
       
  1000         Key_News = 0x010000df,
       
  1001         Key_OfficeHome = 0x010000e0,
       
  1002         Key_Option = 0x010000e1,
       
  1003         Key_Paste = 0x010000e2,
       
  1004         Key_Phone = 0x010000e3,
       
  1005         Key_Calendar = 0x010000e4,
       
  1006         Key_Reply = 0x010000e5,
       
  1007         Key_Reload = 0x010000e6,
       
  1008         Key_RotateWindows = 0x010000e7,
       
  1009         Key_RotationPB = 0x010000e8,
       
  1010         Key_RotationKB = 0x010000e9,
       
  1011         Key_Save = 0x010000ea,
       
  1012         Key_Send = 0x010000eb,
       
  1013         Key_Spell = 0x010000ec,
       
  1014         Key_SplitScreen = 0x010000ed,
       
  1015         Key_Support = 0x010000ee,
       
  1016         Key_TaskPane = 0x010000ef,
       
  1017         Key_Terminal = 0x010000f0,
       
  1018         Key_Tools = 0x010000f1,
       
  1019         Key_Travel = 0x010000f2,
       
  1020         Key_Video = 0x010000f3,
       
  1021         Key_Word = 0x010000f4,
       
  1022         Key_Xfer = 0x010000f5,
       
  1023         Key_ZoomIn = 0x010000f6,
       
  1024         Key_ZoomOut = 0x010000f7,
       
  1025         Key_Away = 0x010000f8,
       
  1026         Key_Messenger = 0x010000f9,
       
  1027         Key_WebCam = 0x010000fa,
       
  1028         Key_MailForward = 0x010000fb,
       
  1029         Key_Pictures = 0x010000fc,
       
  1030         Key_Music = 0x010000fd,
       
  1031         Key_Battery = 0x010000fe,
       
  1032         Key_Bluetooth = 0x010000ff,
       
  1033         Key_WLAN = 0x01000100,
       
  1034         Key_UWB = 0x01000101,
       
  1035         Key_AudioForward = 0x01000102,
       
  1036         Key_AudioRepeat = 0x01000103,
       
  1037         Key_AudioRandomPlay = 0x01000104,
       
  1038         Key_Subtitle = 0x01000105,
       
  1039         Key_AudioCycleTrack = 0x01000106,
       
  1040         Key_Time = 0x01000107,
       
  1041         Key_Hibernate = 0x01000108,
       
  1042         Key_View = 0x01000109,
       
  1043         Key_TopMenu = 0x0100010a,
       
  1044         Key_PowerDown = 0x0100010b,
       
  1045         Key_Suspend = 0x0100010c,
       
  1046         Key_ContrastAdjust = 0x0100010d,
   960 
  1047 
   961         Key_MediaLast = 0x0100ffff,
  1048         Key_MediaLast = 0x0100ffff,
   962 
  1049 
   963         // Keypad navigation keys
  1050         // Keypad navigation keys
   964         Key_Select = 0x01010000,
  1051         Key_Select = 0x01010000,
  1626         CustomGesture     = 0x0100,
  1713         CustomGesture     = 0x0100,
  1627 
  1714 
  1628         LastGestureType   = ~0u
  1715         LastGestureType   = ~0u
  1629     };
  1716     };
  1630 
  1717 
  1631     enum GestureContext
  1718     enum GestureFlag
  1632     {
  1719     {
  1633         WidgetGesture             = 0,
  1720         DontStartGestureOnChildren = 0x01,
  1634         WidgetWithChildrenGesture = 3,
  1721         ReceivePartialGestures     = 0x02
  1635 
  1722     };
  1636         ItemGesture                  = WidgetGesture,
  1723     Q_DECLARE_FLAGS(GestureFlags, GestureFlag)
  1637         ItemWithChildrenGesture      = WidgetWithChildrenGesture
       
  1638     };
       
  1639 
  1724 
  1640     enum NavigationMode
  1725     enum NavigationMode
  1641     {
  1726     {
  1642         NavigationModeNone,
  1727         NavigationModeNone,
  1643         NavigationModeKeypadTabOrder,
  1728         NavigationModeKeypadTabOrder,
  1644         NavigationModeKeypadDirectional,
  1729         NavigationModeKeypadDirectional,
  1645         NavigationModeCursorAuto,
  1730         NavigationModeCursorAuto,
  1646         NavigationModeCursorForceVisible
  1731         NavigationModeCursorForceVisible
  1647     };
       
  1648 
       
  1649     enum RenderHint {
       
  1650         QualityHint,
       
  1651         PerformanceHint
       
  1652     };
  1732     };
  1653 }
  1733 }
  1654 #ifdef Q_MOC_RUN
  1734 #ifdef Q_MOC_RUN
  1655  ;
  1735  ;
  1656 #endif
  1736 #endif
  1668 Q_DECLARE_OPERATORS_FOR_FLAGS(Qt::ItemFlags)
  1748 Q_DECLARE_OPERATORS_FOR_FLAGS(Qt::ItemFlags)
  1669 Q_DECLARE_OPERATORS_FOR_FLAGS(Qt::MatchFlags)
  1749 Q_DECLARE_OPERATORS_FOR_FLAGS(Qt::MatchFlags)
  1670 Q_DECLARE_OPERATORS_FOR_FLAGS(Qt::TextInteractionFlags)
  1750 Q_DECLARE_OPERATORS_FOR_FLAGS(Qt::TextInteractionFlags)
  1671 Q_DECLARE_OPERATORS_FOR_FLAGS(Qt::InputMethodHints)
  1751 Q_DECLARE_OPERATORS_FOR_FLAGS(Qt::InputMethodHints)
  1672 Q_DECLARE_OPERATORS_FOR_FLAGS(Qt::TouchPointStates)
  1752 Q_DECLARE_OPERATORS_FOR_FLAGS(Qt::TouchPointStates)
       
  1753 Q_DECLARE_OPERATORS_FOR_FLAGS(Qt::GestureFlags)
  1673 
  1754 
  1674 typedef bool (*qInternalCallback)(void **);
  1755 typedef bool (*qInternalCallback)(void **);
  1675 
  1756 
  1676 class Q_CORE_EXPORT QInternal {
  1757 class Q_CORE_EXPORT QInternal {
  1677 public:
  1758 public: