diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 21:51:08 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 21:51:08 -0600 |
commit | 8bc199f487aad2badc9a54c2105f13fff3da7295 (patch) | |
tree | aeab8d62a78c4a2c72a3747db8c650386d0665d9 /tdecore/README.kstartupinfo | |
parent | d3afa6baf98ef5ac191996cc9b909ff9074c168c (diff) | |
download | tdelibs-8bc199f487aad2badc9a54c2105f13fff3da7295.tar.gz tdelibs-8bc199f487aad2badc9a54c2105f13fff3da7295.zip |
Rename KStartup for enhanced compatibility with KDE4
Diffstat (limited to 'tdecore/README.kstartupinfo')
-rw-r--r-- | tdecore/README.kstartupinfo | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tdecore/README.kstartupinfo b/tdecore/README.kstartupinfo index 995b9883a..5ece291ea 100644 --- a/tdecore/README.kstartupinfo +++ b/tdecore/README.kstartupinfo @@ -84,16 +84,16 @@ value, and for apps which need it also X-TDE-WMClass should be set. This sometimes gives slightly better behavior than when these entries are not set. -The KStartupInfo classes : +The TDEStartupInfo classes : -------------------------- In some cases, or if you are interested in getting the ASN information, you -have to use the KStartupInfo classes in tdelibs/tdecore. +have to use the TDEStartupInfo classes in tdelibs/tdecore. Receiving the application startup notification information : ------------------------------------------------------------ - Create an instance of class KStartupInfo and connect to its slots, they + Create an instance of class TDEStartupInfo and connect to its slots, they will be emitted whenever a ASN info is received. The clean_on_cantdetect argument to the constructor means whether all ASN info for non-compliant apps should be removed when a window is mapped @@ -125,8 +125,8 @@ about the finished process should be sent. Since the application may have forked into background, the finish info should include the PID and hostname, and the notification will be stopped only if there's no other PID for it. On the other hand, if you simply really need -to stop ASN, send only the identification ( KStartupInfo::sendFinish() -with only KStartupInfoId argument ). +to stop ASN, send only the identification ( TDEStartupInfo::sendFinish() +with only TDEStartupInfoId argument ). @@ -171,11 +171,11 @@ is 'xemacs', but WM_CLASS is 'emacs', 'Emacs', so its X-TDE-WMClass in its .desktop file should be set to 'emacs' - the case doesn't matter ). The ASN identification string must be a unique string for every ASN. -In KStartupInfo class, it's created as 'hostname;tm.sec;tm.usec;pid', +In TDEStartupInfo class, it's created as 'hostname;tm.sec;tm.usec;pid', tm being the current time. If the identification string is set to "0", it means no ASN should be done ( e.g. for things like tdeio_uiserver, which shouldn't get ASN ). Empty identification string means the same -like "0", except for the call to KStartupInfoId::initId(), where it means +like "0", except for the call to TDEStartupInfoId::initId(), where it means to create a new one. |