13#ifndef __Stub_h_Included__
14#define __Stub_h_Included__
17#include <tqvaluelist.h>
22#include <tdelibs_export.h>
24typedef TQValueList<TQCString> QCStringList;
32class TDESU_EXPORT StubProcess:
public PtyProcess
42 { m_pCookie->setDcopTransport(dcopTransport); }
47 void setCommand(
const TQCString &command) { m_Command = command; }
52 void setUser(
const TQCString &user) { m_User = user; }
57 void setXOnly(
bool xonly) { m_bXOnly = xonly; }
69 void setPriority(
int prio);
87 int ConverseStub(
int check);
94 void notifyTaskbar(
const TQString &suffix);
100 virtual TQCString
display() {
return m_pCookie->display(); }
105 virtual TQCString displayAuth() {
return m_pCookie->displayAuth(); }
110 virtual TQCString
dcopServer() {
return m_pCookie->dcopServer(); }
114 virtual TQCString
dcopAuth() {
return m_pCookie->dcopAuth(); }
118 virtual TQCString
iceAuth() {
return m_pCookie->iceAuth(); }
121 bool m_bDCOPForwarding;
124 TQCString m_dcopTransport;
130 TQCString commaSeparatedList(QCStringList);
133 virtual void virtual_hook(
int id,
void* data );
135 class StubProcessPrivate;
136 StubProcessPrivate *d;
Utility class to access the authentication tokens needed to run a KDE program (X11 and DCOP cookies).
virtual TQCString display()
This virtual function can be overloaded when special behavior is desired.
Scheduler
Different schedulers.
void setDcopTransport(const TQCString &dcopTransport)
Specify dcop transport.
void setCommand(const TQCString &command)
Set the command.
void setDCOPForwarding(bool dcopForwarding)
Enable DCOP forwarding.
void setXOnly(bool xonly)
Set to "X only mode": Sycoca is not built and tdeinit is not launched.
virtual TQCString dcopAuth()
See display.
virtual TQCString dcopServer()
See display.
void setUser(const TQCString &user)
Set the target user.
void setScheduler(int sched)
Set the scheduler type.
virtual TQCString iceAuth()
See display.