[Bug 175220] New: porting of "bool KProcess::setPriority ()" from KDE3 to KDE4

Tim Fechtner timmi at gmx-topmail.de
Sat Nov 15 14:41:13 CET 2008


http://bugs.kde.org/show_bug.cgi?id=175220

           Summary: porting of "bool KProcess::setPriority ()" from KDE3 to
                    KDE4
           Product: kdelibs
           Version: 4.1
          Platform: unspecified
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdelibs-bugs at kde.org
        ReportedBy: timmi at gmx-topmail.de


Version:            (using KDE 4.1.3)

Since KDE 3.2, the class KProcess had a function setPriority(). (see
http://developer.kde.org/documentation/library/3.2-api/kdecore/html/classKProcess.html#a37)
With this function, it was possible to set the process priority.

Since KDE 4, this function is no longer avaible. Please make it avaible also in
KDE 4!

(In KDE 3, setPriority() accepted an int as argument, corresponding to the UNIX
"nice" levels. PrioLowest, PrioLow, PrioLower, PrioNormal, PrioHigher,
PrioHigh, PrioHighest are only representing values between -20 und 19. KDE 4
isn't limited to UNIX, so it seems better to me, to make a new,
platform-indepented enum with values named like above - without relying on UNIX
"nice". setPriority should accept than only this enum as argument - and
transfer it to a platform-dependend value.)


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdelibs-bugs mailing list