8#ifndef KDESUSTUBPROCESS_H
9#define KDESUSTUBPROCESS_H
11#include "ptyprocess.h"
13#include <kdesu/kdesu_export.h>
24class StubProcessPrivate;
99 KDESuPrivate::KCookie *m_cookie;
102 QByteArray commaSeparatedList(
const QList<QByteArray> &lst);
103 void writeString(
const QByteArray &str);
110#if KDESU_BUILD_DEPRECATED_SINCE(5, 79)
112 const void *__kdesu_d_do_not_use;
Synchronous communication with tty programs.
Definition: ptyprocess.h:36
Chat with kdesu_stub.
Definition: stubprocess.h:33
void virtual_hook(int id, void *data) override
Standard hack to add virtual methods in a BC way.
virtual QByteArray displayAuth()
See display.
virtual QByteArray display()
This virtual function can be overloaded when special behavior is desired.
Scheduler
Different schedulers.
Definition: stubprocess.h:39
void setPriority(int prio)
Set the priority of the process.
void setXOnly(bool xonly)
Set to "X only mode": Sycoca is not built and kdeinit is not launched.
void setScheduler(int sched)
Set the scheduler type.
void setCommand(const QByteArray &command)
Set the command.
int converseStub(int check)
Exchange all parameters with kdesu_stub.
void setUser(const QByteArray &user)
Set the target user.