This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to use KJob?

Tags: None
(comma "," separated)
User avatar
maxf
Registered Member
Posts
1
Karma
0
OS

How to use KJob?

Fri Jun 05, 2009 3:04 pm
Today I discovered the KJob interface in corelibs. I think it's a great way to execute actions in background, but how do I use it? Where do I have to put my code?
Regrades,

maxf
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: How to use KJob?

Sat Jun 06, 2009 6:51 am
It looks mostly like for tasks the application does that may be important to the user, and therefore needs to be able to recieve notifications about. API Documentation: http://api.kde.org/4.x-api/kdelibs-apid ... sKJob.html

You do not need to do it if the user does not need to be aware these actions are taking place ( use QTimer::singleShot to launch a function at a later point in time )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]