21 #ifndef _TDEUNIQUEAPP_H
22 #define _TDEUNIQUEAPP_H
24 #include <tdeapplication.h>
25 #include <dcopobject.h>
27 class TDEUniqueApplicationPrivate;
69 bool configUnique=
false);
94 TQt::HANDLE colormap=0,
95 bool allowStyles=
true,
96 bool configUnique=
false);
155 bool process(
const TQCString &fun,
const TQByteArray &data,
156 TQCString &replyType, TQByteArray &replyData);
178 virtual int newInstance();
186 bool restoringSession();
191 static void setHandleAutoStarted();
197 void delayRequest(
const TQCString &fun,
const TQByteArray &data);
203 void processDelayed();
205 void newInstanceNoFork();
210 static bool s_nofork;
211 static bool s_multipleInstances;
212 static bool s_uniqueTestDone;
213 static bool s_handleAutoStarted;
216 virtual void virtual_hook(
int id,
void* data );
218 TDEUniqueApplicationPrivate *d;
virtual bool process(const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
Controls and provides information to all KDE applications.
static void addCmdLineOptions()
Add Qt and KDE command line options to TDECmdLineArgs.
Access to KDE global objects for use in shared libraries.
Maintains only a single instance of a running application at a time.