×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    1

    How to use qdbus to register a system bus services ?

    How to use QDBus to register a system bus services ?

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to use qdbus to register a system bus services ?


  3. #3
    Registered User
    Join Date
    Oct 2006
    Location
    Helsinki
    Posts
    38

    Re: How to use qdbus to register a system bus services ?

    Hi
    Hope the below source code will help you.
    QDBusConnection conn = QDBusConnection::systemBus();
    if (!conn.isConnected())
    {
    qDebug() << "QDBusConnection::systemBus() failed.";
    return;
    }
    bool error = conn.connect("", SERVICENAME,SIGNALNAME,SIGNAL, this, SLOT(onSignal()));
    if (!error)
    {
    //Connection failure
    }
    Gokul Kartha,
    GSM:+358438243619,
    Skype:everyourgokul
    Linkedin :http://www.linkedin.com/in/gokulkartha
    My Blog : http://gokulkartha.blogspot.com

Similar Threads

  1. HELP !auto-reply sms system (using 8250 & VB6)
    By dancingqueeneng in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2007-02-08, 07:08
  2. Drawing in system area(the part draws battery&radio signal)
    By toughworker in forum Symbian User Interface
    Replies: 2
    Last Post: 2004-12-22, 01:28
  3. how to develop SMS system for bus ticketing..
    By zira in forum General Messaging
    Replies: 3
    Last Post: 2004-10-27, 02:03
  4. Replies: 3
    Last Post: 2004-07-20, 03:41
  5. System Help with nokia pc connectivity SDK
    By gotka in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2004-07-06, 09:56

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •