Pages
API Documentation
On this page

KDESu::StubProcess Class

Chat with kdesu_stub. More...

List of all members, including inherited members

Public Types

Public Functions

Protected Functions

Detailed Description

StubProcess extends PtyProcess with functionality to chat with kdesu_stub.

Member Type Documentation

enum StubProcess::Scheduler

Different schedulers. SchedNormal is the normal Unix timesharing scheduler, while SchedRealtime is a POSIX.1b realtime scheduler.

Constant
KDESu::StubProcess::SchedNormal 0
KDESu::StubProcess::SchedRealtime 1

Member Function Documentation

StubProcess::StubProcess()

[protected] int StubProcess::converseStub(int check)

Exchange all parameters with kdesu_stub.

[virtual protected] QByteArray StubProcess::display()

This virtual function can be overloaded when special behavior is desired. By default, it returns the value returned by KCookie.

[virtual protected] QByteArray StubProcess::displayAuth()

See display.

void StubProcess::setCommand(const QByteArray &command)

Set the command.

void StubProcess::setPriority(int prio)

Set the priority of the process. The priority value must be between 0 and 100, 0 being the lowest priority. This value is mapped to the scheduler and system dependent priority range of the OS.

void StubProcess::setScheduler(int sched)

Set the scheduler type.

void StubProcess::setUser(const QByteArray &user)

Set the target user.

void StubProcess::setXOnly(bool xonly)

Set to "X only mode": Sycoca is not built and kdeinit is not launched.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.