13 #ifndef __Stub_h_Included__
14 #define __Stub_h_Included__
16 #include <tqcstring.h>
17 #include <tqvaluelist.h>
22 #include <tdelibs_export.h>
24 typedef TQValueList<TQCString> QCStringList;
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;
139 #endif // __Stub_h_Included__
void setCommand(const TQCString &command)
Set the command.
Utility class to access the authentication tokens needed to run a KDE program (X11 and DCOP cookies)...
void setDCOPForwarding(bool dcopForwarding)
Enable DCOP forwarding.
virtual TQCString iceAuth()
See display.
virtual TQCString display()
This virtual function can be overloaded when special behavior is desired.
void setScheduler(int sched)
Set the scheduler type.
virtual TQCString dcopServer()
See display.
void setDcopTransport(const TQCString &dcopTransport)
Specify dcop transport.
Scheduler
Different schedulers.
Synchronous communication with tty programs.
virtual TQCString dcopAuth()
See display.
void setUser(const TQCString &user)
Set the target user.
void setXOnly(bool xonly)
Set to "X only mode": Sycoca is not built and tdeinit is not launched.