Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Handling Nokia's End Key.
Forum Updated to NodeBB v4.3 + New Features

Handling Nokia's End Key.

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 5 Posters 5.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    johnk
    wrote on last edited by
    #1

    Hello,

    All Symbian/S60 devices have an End Key. Sometimes it is informally called the red key. The associated S60 macro is EKeyEnd. You'll find the macro for it "here ":http://developer.symbian.org/xref/oss/xref/Symbian3/sf/os/kernelhwsrv/kernel/eka/include/e32keys.h.

    I do not see that it is defined by "Qt":http://developer.symbian.org/xref/oss/xref/Symbian3/sf/mw/qt/src/corelib/global/qnamespace.h.

    How does one handle Nokia's End Key via Qt?

    -jk

    1 Reply Last reply
    0
    • D Offline
      D Offline
      danilocesar
      wrote on last edited by
      #2

      Symbian does not send this key to application.

      But you can watch for a QSymbianEvent on the eventFilter and see if its type = WindowServerEvent.
      If so, check if the event->windowServerEvent()->Type() = KAknUidValueEndKeyCloseEvent

      http://developer.symbian.org/forum/showthread.php?t=6707

      <a href="http://www.danilocesar.com">Danilo Cesar Lemes de Paula</a>
      Software Engineer

      1 Reply Last reply
      0
      • J Offline
        J Offline
        johnk
        wrote on last edited by
        #3

        Obrigado, Danilo!

        -jk

        1 Reply Last reply
        0
        • J Offline
          J Offline
          johnk
          wrote on last edited by
          #4

          For others who may read this in the future, someone just added a nice write up "here":http://developer.symbian.org/wiki/index.php/Handle_the_red_End_key_in_a_Qt_application.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kamalakshantv
            wrote on last edited by
            #5

            [quote author="johnk" date="1282761109"]For others who may read this in the future, someone just added a nice write up "here":http://developer.symbian.org/wiki/index.php/Handle_the_red_End_key_in_a_Qt_application.[/quote]

            Have uploaded a copy in our wiki too. Link "here":http://developer.qt.nokia.com/wiki/How_to_Handle_the_Red_End_Key_in_a_Qt_Application.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              disperso
              wrote on last edited by
              #6

              [quote author="QtK" date="1292193202"]
              [quote author="johnk" date="1282761109"]For others who may read this in the future, someone just added a nice write up "here":http://developer.symbian.org/wiki/index.php/Handle_the_red_End_key_in_a_Qt_application.[/quote]

              Have uploaded a copy in our wiki too. Link "here":http://developer.qt.nokia.com/wiki/How_to_Handle_the_Red_End_Key_in_a_Qt_Application.
              [/quote]

              Thanks, it will be certainly needed in the long future. Unfortunately, "the Symbian Foundation sites will close very soon":http://www.allaboutsymbian.com/news/item/12332_Symbian_Foundation_to_close_al.php.

              I wonder if the people at Forum Nokia are prepared for that. Probably important stuff is there.

              The good thing is that there will be less fragmentation, since Meego is already preparing their own developer network. At least symbian stuff will be in the same place.

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kevinsharp
                wrote on last edited by
                #7

                [quote author="disperso" date="1292214844"]Unfortunately, "the Symbian Foundation sites will close very soon":http://www.allaboutsymbian.com/news/item/12332_Symbian_Foundation_to_close_al.php.

                I wonder if the people at Forum Nokia are prepared for that. Probably important stuff is there.
                [/quote]

                You can find a replicant of the the Symbian.org wiki at http://www.symlab.org/ If you need to find a wiki article that used to be at http://developer.symbian.org/wiki/index.php/Article_Title, you will (probably) find it at http://www.symlab.org/wiki/index.php/Article_Title

                [EDIT: fixed quoting, Volker]

                -- kevin

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved