Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qdbus org.onboard.Onboard /org/onboard/Onboard/Keyboard org.onboard.Onboard.Keyboard.Show

qdbus org.onboard.Onboard /org/onboard/Onboard/Keyboard org.onboard.Onboard.Keyboard.Show

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 1 Posters 1.2k Views
  • 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.
  • gfxxG Offline
    gfxxG Offline
    gfxx
    wrote on last edited by
    #1

    I must reply these command using QtDBus:

    qdbus org.onboard.Onboard /org/onboard/Onboard/Keyboard org.onboard.Onboard.Keyboard.Show
    

    I try to use these voit witouth succes ... for shure because I have no experience with dbus ....

    void MainWindow::openKeyboard()
    {
    
           QDBusConnection::sessionBus().connect("org.onboard.Onboard", "/org/onboard/Onboard/Keyboard" ,"org.onboard.Onboard.Keyboard");
           QDBusMessage msg = QDBusMessage::createSignal("org.onboard.Onboard", "/org/onboard/Onboard/Keyboard" ,"org.onboard.Onboard.Keyboard.Show");
           QDBusConnection::sessionBus().send(msg);
    }
    

    I need some help or good totorial link to make these ... I not really understand qt example ....
    My first problem: org.onboard.Onboard is the service or the right service is: org.freedesktop.DBus.ObjectManager

    regards
    Giorgio

    bkt

    gfxxG 1 Reply Last reply
    0
    • gfxxG gfxx

      I must reply these command using QtDBus:

      qdbus org.onboard.Onboard /org/onboard/Onboard/Keyboard org.onboard.Onboard.Keyboard.Show
      

      I try to use these voit witouth succes ... for shure because I have no experience with dbus ....

      void MainWindow::openKeyboard()
      {
      
             QDBusConnection::sessionBus().connect("org.onboard.Onboard", "/org/onboard/Onboard/Keyboard" ,"org.onboard.Onboard.Keyboard");
             QDBusMessage msg = QDBusMessage::createSignal("org.onboard.Onboard", "/org/onboard/Onboard/Keyboard" ,"org.onboard.Onboard.Keyboard.Show");
             QDBusConnection::sessionBus().send(msg);
      }
      

      I need some help or good totorial link to make these ... I not really understand qt example ....
      My first problem: org.onboard.Onboard is the service or the right service is: org.freedesktop.DBus.ObjectManager

      regards
      Giorgio

      gfxxG Offline
      gfxxG Offline
      gfxx
      wrote on last edited by gfxx
      #2

      @gfxx link text

      this link explain better (in the middle of post list..) the situation and a Nice user attach a good example in qt4 ....

      regards
      Giorgio

      bkt

      gfxxG 1 Reply Last reply
      1
      • gfxxG gfxx

        @gfxx link text

        this link explain better (in the middle of post list..) the situation and a Nice user attach a good example in qt4 ....

        regards
        Giorgio

        gfxxG Offline
        gfxxG Offline
        gfxx
        wrote on last edited by gfxx
        #3

        @gfxx I have modified the old onboard_qt_4 into onbhoard_qt_5 vith some trivial modyfications .... it works ... but the method "Visible" is calling by other service and method ( org.freedesktop.DBus.Properties.Get ) ... so these part not work at all .... onboard service is an user service so is registered only after it exist ... so autorun works only aftere QProcess "onboard" call ...

        file.tar.gz on these forum

        regards
        Giorgio

        bkt

        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