[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KRun confusion
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-03-11 21:27:14
Message-ID: 200403112227.14160.bastian () kde ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu March 11 2004 20:45, Brad Hards wrote:
> OK, got that, but neither Waldo's example, or the new attempt (below) is
> working for me.
> 		KURL url("file:/home/bradh/sonyproj/DCIM/103MSPJP/SPJP0003.JPG");
> 		(void) new KRun(url);
> 		sleep(20);

All the action happens from the event loop, a sleep() will not be doing 
anything. If you haven't started the event loop yet you can do so with 
kapp->exec();

Cheers,
Waldo
- -- 
bastian@kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian@suse.com

"IBM may, in any manner it sees fit and without royalty to SCO, 
 distribute any Licensed IBM Materials contained in the SCO Products"
From: Joint Development Agreement between the SCO, Inc. and
      International Business Machines Corporation
http://www.sec.gov/Archives/edgar/data/851560/0000891618-99-000561.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAUNmyN4pvrENfboIRAnsrAKCIch1i/DVqsi/K5kmN/2wq8vfzEQCgpVa1
Q6l0ZCc21h6qAx2Gi/CJrcA=
=buNC
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic