No subject


Thu Nov 10 03:57:02 UTC 2011


this by either of the following ways. 
  
1. Talk to the client APIs provided by the Kwallet::Wallet class 
2. Use the DCOP interface provided by the kwallet service. 
  
For using method 2, my application needs to register as DCOP client and
communicate to the kwallet service via DCOP. 
I tried using seemingly easier method 1 . But I see that my application
needs to be a KDE application to talk to Kwallet::Wallet APIs. i.e I had
to use QObject related stuff and KApplication in my code. Otherwise I
get some segmentation fault while trying to open a wallet. 
  
I would like to know if there is any way to write a simple application
which doesnt need KApplication or QObject related things ( non-KDE ) and
still can access kwallets. 
It would be helpful if anybody could provide me the details for this and
any related links. 
  
Thanks in Advance, 
Rajaram. 
  


--=__Part6A4967A3.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <style type=3D"text/css">
      <!--
        body { line-height: normal; margin-right: 4px; margin-bottom: 1px; =
margin-top: 4px; margin-left: 4px; font-variant: normal }
      -->
    </style>
   =20
  </head>
  <body>
    <DIV>
      Hi,
    </DIV>
    <DIV>
       
    </DIV>
    <DIV>
      I am trying to write an application which reads and writes secrets =
in kwallet.
    </DIV>
    <DIV>
       
    </DIV>
    <DIV>
      From the details I got through the web , I understand that we =
can do this by either of the following ways.
    </DIV>
    <DIV>
       
    </DIV>
    <DIV>
      1. Talk to the client APIs provided by the Kwallet::Wallet class
    </DIV>
    <DIV>
      2. Use the DCOP interface provided by the kwallet service.
    </DIV>
    <DIV>
       
    </DIV>
    <DIV>
      For using method 2, my application needs to register as DCOP =
client and communicate to the kwallet service via DCOP.
    </DIV>
    <DIV>
      I tried using seemingly easier method 1 . But I see that my =
application needs to be a KDE application to talk to Kwallet::Wallet APIs. =
i.e I had to use QObject related stuff and KApplication in my code. =
Otherwise I get some segmentation fault while trying to open a wallet.
    </DIV>
    <DIV>
       
    </DIV>
    <DIV>
      I would like to know if there is any way to write a simple applicatio=
n which doesnt need KApplication or QObject related things ( non-KDE =
) and still can access kwallets.
    </DIV>
    <DIV>
      It would be helpful if anybody could provide me the details for this =
and any related links.
    </DIV>
    <DIV>
       
    </DIV>
    <DIV>
      Thanks in Advance,
    </DIV>
    <DIV>
      Rajaram.
    </DIV>
    <DIV>
       
    </DIV>
  </body>
</html>

--=__Part6A4967A3.0__=--



More information about the Kde-bindings mailing list