Hi George!!  =:)<br><br>Can you point me to some kio code that does this?  I looked in a few KIO directories, but nothing that I saw uses the Wallet...<br><br>Thanks!!<br><br>On 8/17/07, <b class="gmail_sendername">George Staikos
</b> <<a href="mailto:staikos@kde.org">staikos@kde.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>If you don't provide one then KWallet's prompt will suffer the<br>infamous "wallet prompt appears in the background" problem.  However<br>just look at what KIO does.  It has the same issue.<br><br>On 17-Aug-07, at 8:03 AM, Jason 'vanRijn' Kasper wrote:
<br><br>> re, all...<br>><br>> KPilot uses a daemon process (kpilotDaemon) which remains running for<br>> synchronization to take place for our users.  It does not currently<br>> have any<br>> on-screen presence (nor has it ever) other than its system tray
<br>> icon, which<br>> means that it does not have a top-level widget.  Our new keyring<br>> conduit<br>> needs to store a password and retrieve it from the wallet<br>> subsystem.  It<br>> looks like KWallet::Wallet was designed with the assumption that it
<br>> would<br>> only be accessed from processes that have a top-level QWidget and<br>> thus a<br>> window id.  In our case, currently, this is not a true assumption.<br>><br>> How should we approach this?  It seems like the following are possible
<br>> solutions:<br>><br>> 1) The Wallet subsystem be changed to not require a top-level<br>> widget and<br>> window id.  Not sure what the ramifications of this are or if it's<br>> desirable.<br>>
<br>> 2) Our keyring conduit does some hackery to randomly pick a top-<br>> level widget<br>> like this:  WId window = QApplication::topLevelWidgets().at(1)-<br>> >winId();<br>> This seems like not the right way...  =;)
<br>><br>> Help, please?  =:)<br>><br>> Thanks!!!<br>><br>> --<br>>  -[ Jason 'vanRijn' Kasper    //  <a href="http://movingparts.net">http://movingparts.net</a> ]-<br>>  -[ KDE PIM Developer         //  
<a href="http://www.kde.org">http://www.kde.org</a>  ]-<br>>  -[ bash fun -> :(){ :|:&};:  //  Numbers 6:22-26 ]-<br><br>--<br>George Staikos<br>KDE Developer                           <a href="http://www.kde.org/">
http://www.kde.org/</a><br>Staikos Computing Services Inc.         <a href="http://www.staikos.net/">http://www.staikos.net/</a><br><br><br><br></blockquote></div><br><br clear="all"><br>-- <br> -[ Jason 'vanRijn' Kasper    //  
<a href="http://movingparts.net">http://movingparts.net</a> ]-<br> -[ KDE PIM Developer         //  <a href="http://www.kde.org">http://www.kde.org</a>  ]-<br> -[ bash fun -> :(){ :|:&};:  //  Numbers 6:22-26 ]-