|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
|
#include <kdebug.h>
|
|
|
|
@ -46,14 +46,14 @@ int main (int argc, char *argv[]){
|
|
|
|
|
|
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutdata );
|
|
|
|
|
// TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
KUniqueApplication::addCmdLineOptions();
|
|
|
|
|
TDEUniqueApplication::addCmdLineOptions();
|
|
|
|
|
|
|
|
|
|
if(!KUniqueApplication::start()){
|
|
|
|
|
if(!TDEUniqueApplication::start()){
|
|
|
|
|
kdDebug() << "KTTSD is already running" << endl;
|
|
|
|
|
return (0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KUniqueApplication app;
|
|
|
|
|
TDEUniqueApplication app;
|
|
|
|
|
// This app is started automatically, no need for session management
|
|
|
|
|
app.disableSessionManagement();
|
|
|
|
|
// TODO: kspeech is obsolete. Use KSpeech instead. For backwards compatibility,
|
|
|
|
|