<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>SMSListener::SMSListener(QObject *parent) :</tt><tt><br>
    </tt><tt>    QObject(parent)</tt><tt><br>
    </tt><tt>{</tt><tt><br>
    </tt><tt>    QDBusConnection::systemBus().connect("",</tt><tt><br>
    </tt><tt>                                         "",</tt><tt><br>
    </tt><tt>                                        
      "org.ofono.MessageManager",</tt><tt><br>
    </tt><tt>                                         "IncomingMessage",</tt><tt><br>
    </tt><tt>                                         this,</tt><tt><br>
    </tt><tt>                                        
      SLOT(onMessageAdded(QString,QVariantList)));</tt><tt><br>
    </tt><tt><br>
    </tt><tt>}</tt><tt><br>
    </tt><tt><br>
    </tt><tt>void SMSListener::onMessageAdded(QString text, QVariantList
      params)</tt><tt><br>
    </tt><tt>{</tt><tt><br>
    </tt><tt>    </tt><tt><br>
    </tt><tt>}</tt><br>
    <br>
    <div class="moz-cite-prefix">On 22.03.2014 00:11, Goulagman wrote:<br>
    </div>
    <blockquote
cite="mid:CAE_wbFtm8m=675i_Mvu1H=D_CXkVNHY04baL4Bfg0XDcEqKx-Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hello,<br>
          <br>
          I am trying to build an application that triggers an alarm
          when a particular word is written in a SMS. The first step is
          to be warned whan a SMS is received. I have searched but I
          can't find how to do that. I have an application using
          telepathy-qt to send an SMS, so I guess that it is also
          possible to be warned when one is received.<br>
          <br>
        </div>
        Is there a standard way to do that ?<br>
        <br>
        Best,<br>
        <br>
        Alexandre.<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list</pre>
    </blockquote>
    <br>
  </body>
</html>