diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:14:36 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:14:36 -0600 |
commit | 98ed486e2f25cfd58e6cc036862bcac0e988f361 (patch) | |
tree | 23b89d4f0244fad16b66aeca0b23f9dd0053fc7e | |
parent | 7c140ea1cb70b8a6ecb34454514dcf91d7bcd0c7 (diff) | |
download | tdeaccessibility-98ed486e2f25cfd58e6cc036862bcac0e988f361.tar.gz tdeaccessibility-98ed486e2f25cfd58e6cc036862bcac0e988f361.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
27 files changed, 47 insertions, 47 deletions
diff --git a/kmag/kmag.cpp b/kmag/kmag.cpp index f345f8e..3feea65 100644 --- a/kmag/kmag.cpp +++ b/kmag/kmag.cpp @@ -864,7 +864,7 @@ void KmagApp::slotFileQuit() void KmagApp::copyToClipBoard() { - TQClipboard *cb=KApplication::clipboard(); + TQClipboard *cb=TDEApplication::clipboard(); cb->setPixmap(m_zoomView->getPixmap()); } diff --git a/kmag/kmag.h b/kmag/kmag.h index 995a6d2..51de1b8 100644 --- a/kmag/kmag.h +++ b/kmag/kmag.h @@ -48,7 +48,7 @@ * KmagApp reimplements the methods that KMainWindow provides for main window handling and supports * full session management as well as using KActions. * @see KMainWindow - * @see KApplication + * @see TDEApplication * @see KConfig * * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. diff --git a/kmag/kmagzoomview.cpp b/kmag/kmagzoomview.cpp index a490de8..2a26b2c 100644 --- a/kmag/kmagzoomview.cpp +++ b/kmag/kmagzoomview.cpp @@ -133,7 +133,7 @@ KMagZoomView::KMagZoomView(TQWidget *parent, const char *name) m_invert(false), m_fitToWindow(true) { - KApplication::setGlobalMouseTracking(TRUE); + TDEApplication::setGlobalMouseTracking(TRUE); viewport()->setMouseTracking(TRUE); viewport()->setBackgroundMode (NoBackground); viewport()->setFocusPolicy(TQ_StrongFocus); @@ -167,7 +167,7 @@ KMagZoomView::KMagZoomView(TQWidget *parent, const char *name) KMagZoomView::~KMagZoomView() { - KApplication::setGlobalMouseTracking(FALSE); + TDEApplication::setGlobalMouseTracking(FALSE); } /** @@ -307,7 +307,7 @@ void KMagZoomView::paintMouseCursor(TQPaintDevice *dev, TQPoint mousePos) { // 3. Actual cursor // Get the current cursor type - TQWidget *dummy = KApplication::widgetAt(TQCursor::pos(), FALSE); + TQWidget *dummy = TDEApplication::widgetAt(TQCursor::pos(), FALSE); if(!dummy) break; kdDebug() << ">" << dummy->name() << ":" << dummy->cursor().shape() << "-" << endl; diff --git a/kmag/main.cpp b/kmag/main.cpp index a543029..1111722 100644 --- a/kmag/main.cpp +++ b/kmag/main.cpp @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) TDECmdLineArgs::init( argc, argv, aboutData ); TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. - KApplication app; + TDEApplication app; if (app.isRestored()) { diff --git a/kmouth/configwizard.cpp b/kmouth/configwizard.cpp index 3ca0b5c..7b21441 100644 --- a/kmouth/configwizard.cpp +++ b/kmouth/configwizard.cpp @@ -63,7 +63,7 @@ void ConfigWizard::initCommandPage(KConfig *config) { } void ConfigWizard::initBookPage() { - TQString standardBook = KApplication::kApplication()->dirs()->findResource("appdata", "standard.phrasebook"); + TQString standardBook = TDEApplication::kApplication()->dirs()->findResource("appdata", "standard.phrasebook"); bool displayBook = (standardBook.isNull() || standardBook.isEmpty()); if (displayBook) { @@ -80,7 +80,7 @@ void ConfigWizard::initBookPage() { void ConfigWizard::initCompletion (KConfig *config) { if (!WordCompletion::isConfigured()) { - TQString dictionaryFile = KApplication::kApplication()->dirs()->findResource("appdata", "dictionary.txt"); + TQString dictionaryFile = TDEApplication::kApplication()->dirs()->findResource("appdata", "dictionary.txt"); TQFile file(dictionaryFile); if (file.exists()) { // If there is a word completion dictionary but no entry in the @@ -138,7 +138,7 @@ bool ConfigWizard::configurationNeeded () { } void ConfigWizard::help () { - KApplication::kApplication()->invokeHelp ("Wizard"); + TDEApplication::kApplication()->invokeHelp ("Wizard"); } #include "configwizard.moc" diff --git a/kmouth/kmouth.cpp b/kmouth/kmouth.cpp index 83c2797..7c78bae 100644 --- a/kmouth/kmouth.cpp +++ b/kmouth/kmouth.cpp @@ -266,7 +266,7 @@ void KMouthApp::readOptions() toolBar("mainToolBar")->applySettings (config, "mainToolBar"); toolBar("phrasebookBar")->applySettings (config, "phrasebookBar"); - TQString standardBook = KApplication::kApplication()->dirs()->findResource("appdata", "standard.phrasebook"); + TQString standardBook = TDEApplication::kApplication()->dirs()->findResource("appdata", "standard.phrasebook"); if (!standardBook.isEmpty()) { PhraseBook book; book.open(KURL::fromPathOrURL( standardBook )); @@ -460,7 +460,7 @@ void KMouthApp::slotPhrasebookConfirmed (PhraseBook &book) { phrases = new KActionCollection (this, actionCollection()); book.addToGUI (popup, toolbar, phrases, TQT_TQOBJECT(this), TQT_SLOT(slotPhraseSelected (const TQString &))); - TQString bookLocation = KApplication::kApplication()->dirs()->saveLocation ("appdata", "/"); + TQString bookLocation = TDEApplication::kApplication()->dirs()->saveLocation ("appdata", "/"); if (!bookLocation.isNull() && !bookLocation.isEmpty()) { book.save (KURL::fromPathOrURL( bookLocation + "standard.phrasebook" )); } diff --git a/kmouth/kmouth.h b/kmouth/kmouth.h index 0c5888f..72fa608 100644 --- a/kmouth/kmouth.h +++ b/kmouth/kmouth.h @@ -47,7 +47,7 @@ class PhraseBook; * KMouthApp reimplements the methods that KMainWindow provides for main window handling and supports * full session management as well as using KActions. * @see KMainWindow - * @see KApplication + * @see TDEApplication * @see KConfig * * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. diff --git a/kmouth/main.cpp b/kmouth/main.cpp index ec7eb78..66beff7 100644 --- a/kmouth/main.cpp +++ b/kmouth/main.cpp @@ -47,7 +47,7 @@ int main(int argc, char *argv[]) TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. aboutData.addCredit("Olaf Schmidt", I18N_NOOP("Tips, extended phrase books"), 0, 0); - KApplication app; + TDEApplication app; if (app.isRestored()) { diff --git a/kmouth/phrasebook/phrasebookdialog.cpp b/kmouth/phrasebook/phrasebookdialog.cpp index 1c035e6..a8a0609 100644 --- a/kmouth/phrasebook/phrasebookdialog.cpp +++ b/kmouth/phrasebook/phrasebookdialog.cpp @@ -225,7 +225,7 @@ void InitialPhraseBookWidget::createBook () { } } - TQString bookLocation = KApplication::kApplication()->dirs()->saveLocation ("appdata", "/"); + TQString bookLocation = TDEApplication::kApplication()->dirs()->saveLocation ("appdata", "/"); if (!bookLocation.isNull() && !bookLocation.isEmpty()) { book.save (KURL( bookLocation + "standard.phrasebook" )); } @@ -264,7 +264,7 @@ PhraseBookDialog::PhraseBookDialog () initGUI(); initActions(); initStandardPhraseBooks(); - TQString standardBook = KApplication::kApplication()->dirs()->findResource("appdata", "standard.phrasebook"); + TQString standardBook = TDEApplication::kApplication()->dirs()->findResource("appdata", "standard.phrasebook"); if (!standardBook.isNull() && !standardBook.isEmpty()) { PhraseBook book; book.open(KURL( standardBook )); diff --git a/kmouth/wordcompletion/dictionarycreationwizard.cpp b/kmouth/wordcompletion/dictionarycreationwizard.cpp index 5574c97..1346722 100644 --- a/kmouth/wordcompletion/dictionarycreationwizard.cpp +++ b/kmouth/wordcompletion/dictionarycreationwizard.cpp @@ -222,11 +222,11 @@ TQString DictionaryCreationWizard::createDictionary() { do { dictnumber++; filename = TQString("wordcompletion%1.dict").arg(dictnumber); - dictionaryFile = KApplication::kApplication()->dirs()->findResource("appdata", filename); + dictionaryFile = TDEApplication::kApplication()->dirs()->findResource("appdata", filename); } while (KStandardDirs::exists(dictionaryFile)); - dictionaryFile = KApplication::kApplication()->dirs()->saveLocation ("appdata", "/") + filename; + dictionaryFile = TDEApplication::kApplication()->dirs()->saveLocation ("appdata", "/") + filename; if (WordList::saveWordList (map, dictionaryFile)) return filename; else @@ -319,7 +319,7 @@ TQMap <TQString, int> MergeWidget::mergeParameters () { for (; it.current(); ++it) { if (it.current()->isChecked()) { TQString name = it.currentKey(); - TQString dictionaryFile = KApplication::kApplication()->dirs()->findResource("appdata", name); + TQString dictionaryFile = TDEApplication::kApplication()->dirs()->findResource("appdata", name); files[dictionaryFile] = weights[name]->value(); } } @@ -363,7 +363,7 @@ void CompletionWizardWidget::ok (KConfig *config) { TQString filename; TQString dictionaryFile; - dictionaryFile = KApplication::kApplication()->dirs()->saveLocation ("appdata", "/") + "wordcompletion1.dict"; + dictionaryFile = TDEApplication::kApplication()->dirs()->saveLocation ("appdata", "/") + "wordcompletion1.dict"; if (WordList::saveWordList (map, dictionaryFile)) { config->setGroup("Dictionary 0"); config->writeEntry ("Filename", "wordcompletion1.dict"); diff --git a/kmouth/wordcompletion/wordcompletion.cpp b/kmouth/wordcompletion/wordcompletion.cpp index 5abd4b7..7936044 100644 --- a/kmouth/wordcompletion/wordcompletion.cpp +++ b/kmouth/wordcompletion/wordcompletion.cpp @@ -144,7 +144,7 @@ bool WordCompletion::setWordList(const TQString &wordlist) { d->current = d->dictionaries[0]; TQString filename = d->dictDetails[d->current].filename; - TQString dictionaryFile = KApplication::kApplication()->dirs()->findResource("appdata", filename); + TQString dictionaryFile = TDEApplication::kApplication()->dirs()->findResource("appdata", filename); TQFile file(dictionaryFile); if (file.exists() && file.open(IO_ReadOnly)) { TQTextStream stream(&file); @@ -195,7 +195,7 @@ void WordCompletion::addSentence (const TQString &sentence) { void WordCompletion::save () { if (d->wordsToSave) { TQString filename = d->dictDetails[d->current].filename; - TQString dictionaryFile = KApplication::kApplication()->dirs()->findResource("appdata", filename); + TQString dictionaryFile = TDEApplication::kApplication()->dirs()->findResource("appdata", filename); TQFile file(dictionaryFile); if (!file.exists()) return; diff --git a/kmouth/wordcompletion/wordlist.cpp b/kmouth/wordcompletion/wordlist.cpp index 6cb40d6..d01520c 100644 --- a/kmouth/wordcompletion/wordlist.cpp +++ b/kmouth/wordcompletion/wordlist.cpp @@ -292,10 +292,10 @@ WordMap parseKDEDoc (TQString language, KProgressDialog *pdlg) { pdlg->show(); tqApp->processEvents (20); - TQStringList files = KApplication::kApplication()->dirs()->findAllResources ("html", language + "/*.docbook", true, true); + TQStringList files = TDEApplication::kApplication()->dirs()->findAllResources ("html", language + "/*.docbook", true, true); if ((files.count() == 0) && (language.length() == 5)) { language = language.left(2); - files = KApplication::kApplication()->dirs()->findAllResources ("html", language + "/*.docbook", true, true); + files = TDEApplication::kApplication()->dirs()->findAllResources ("html", language + "/*.docbook", true, true); } return parseFiles (files, TQTextStream::UnicodeUTF8, 0, pdlg); diff --git a/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp b/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp index bb91885..dc0e132 100644 --- a/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp +++ b/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp @@ -62,7 +62,7 @@ TQObject* FreeverbPluginFactory::createObject(TQObject *parent, const char* name // Plugin Constructor -FreeverbPlugin::FreeverbPlugin(TQObject *parent, const char* name) //, KApplication *Appl) +FreeverbPlugin::FreeverbPlugin(TQObject *parent, const char* name) //, TDEApplication *Appl) : FXPlugin(parent, name) //, m_Appl(Appl) { m_config = new KSimpleConfig("ksayit_freeverbrc"); @@ -76,7 +76,7 @@ FreeverbPlugin::~FreeverbPlugin() /** sets the Main application object */ -void FreeverbPlugin::setApplication(KApplication *Appl) +void FreeverbPlugin::setApplication(TDEApplication *Appl) { m_Appl = Appl; } diff --git a/ksayit/Freeverb_plugin/ksayitfreeverblib.h b/ksayit/Freeverb_plugin/ksayitfreeverblib.h index 834d180..8c224fc 100644 --- a/ksayit/Freeverb_plugin/ksayitfreeverblib.h +++ b/ksayit/Freeverb_plugin/ksayitfreeverblib.h @@ -54,14 +54,14 @@ Q_OBJECT public: // Constructor - FreeverbPlugin(TQObject *parent=0, const char* name=0); //, KApplication *Appl=0); + FreeverbPlugin(TQObject *parent=0, const char* name=0); //, TDEApplication *Appl=0); // Destructor ~FreeverbPlugin(); /** sets the Main application object */ - void setApplication(KApplication *Appl); + void setApplication(TDEApplication *Appl); /** returns the Name of the Plugin */ @@ -87,7 +87,7 @@ public: private: - KApplication *m_Appl; + TDEApplication *m_Appl; KSimpleConfig *m_config; }; diff --git a/ksayit/KTTSD_Lib/kttsdlib.cpp b/ksayit/KTTSD_Lib/kttsdlib.cpp index 4643b35..a3a0269 100644 --- a/ksayit/KTTSD_Lib/kttsdlib.cpp +++ b/ksayit/KTTSD_Lib/kttsdlib.cpp @@ -27,7 +27,7 @@ #include "kttsdlibsetupimpl.h" -KTTSDLib::KTTSDLib(TQObject *parent, const char *name, KApplication *Appl) +KTTSDLib::KTTSDLib(TQObject *parent, const char *name, TDEApplication *Appl) : TQObject(parent, name), m_Appl(Appl) { KGlobal::locale()->insertCatalogue("libKTTSD"); diff --git a/ksayit/KTTSD_Lib/kttsdlib.h b/ksayit/KTTSD_Lib/kttsdlib.h index be23c84..52b3272 100644 --- a/ksayit/KTTSD_Lib/kttsdlib.h +++ b/ksayit/KTTSD_Lib/kttsdlib.h @@ -71,7 +71,7 @@ public slots: void slotTextStarted(const uint job); public: - KTTSDLib(TQObject *parent=0, const char *name=0, KApplication *Appl=0); + KTTSDLib(TQObject *parent=0, const char *name=0, TDEApplication *Appl=0); ~KTTSDLib(); @@ -109,7 +109,7 @@ private slots: void removeAllJobsFromList(); private: - KApplication *m_Appl; + TDEApplication *m_Appl; kttsdlibtalker2 *m_talker; uint m_curJobNum; typedef queue<uint> jobListType; diff --git a/ksayit/KTTSD_Lib/kttsdlibtalker2.cpp b/ksayit/KTTSD_Lib/kttsdlibtalker2.cpp index c91f394..f20b09c 100644 --- a/ksayit/KTTSD_Lib/kttsdlibtalker2.cpp +++ b/ksayit/KTTSD_Lib/kttsdlibtalker2.cpp @@ -46,7 +46,7 @@ kttsdlibtalker2::~kttsdlibtalker2() } -void kttsdlibtalker2::KTTSD_init(KApplication *Appl) +void kttsdlibtalker2::KTTSD_init(TDEApplication *Appl) { kdDebug(100200) << "kttsdlibtalker2::KTTSD_init()" << endl; diff --git a/ksayit/KTTSD_Lib/kttsdlibtalker2.h b/ksayit/KTTSD_Lib/kttsdlibtalker2.h index 7479d4d..e3a6104 100644 --- a/ksayit/KTTSD_Lib/kttsdlibtalker2.h +++ b/ksayit/KTTSD_Lib/kttsdlibtalker2.h @@ -43,7 +43,7 @@ public: /** Intializes the DCOP interface. */ - void KTTSD_init(KApplication *Appl); + void KTTSD_init(TDEApplication *Appl); /** See \p KSpeech Class Reference. Returns the job number. */ @@ -92,7 +92,7 @@ protected: private: TQCString m_objID; - KApplication *m_Appl; + TDEApplication *m_Appl; DCOPClient *m_client; uint m_jobNum; diff --git a/ksayit/src/fxpluginhandler.cpp b/ksayit/src/fxpluginhandler.cpp index 25fc7a9..61d0491 100644 --- a/ksayit/src/fxpluginhandler.cpp +++ b/ksayit/src/fxpluginhandler.cpp @@ -125,7 +125,7 @@ void FXPluginHandler::readConfiguration() if ( factory ){ plugin.p = static_cast<FXPlugin*>( factory->create( (TQObject*)this, (plugin.name).latin1() ) ); if ( plugin.p ){ // Plugin found - plugin.p->setApplication( KApplication::kApplication() ); + plugin.p->setApplication( TDEApplication::kApplication() ); plugin.description = plugin.p->getDescription_KS(); // append to list of active plugins m_lstActivePlugins.append( plugin.name ); @@ -158,7 +158,7 @@ void FXPluginHandler::showEffectGUI(const TQString &pname) if ( factory ){ plugin.p = static_cast<FXPlugin*>( factory->create( (TQObject*)this, (plugin.name).latin1() ) ); if ( plugin.p ){ // Plugin found - plugin.p->setApplication( KApplication::kApplication() ); + plugin.p->setApplication( TDEApplication::kApplication() ); plugin.description = plugin.p->getDescription_KS(); // append to list of active plugins m_lstActivePlugins.append( plugin.name ); diff --git a/ksayit/src/ksayit.h b/ksayit/src/ksayit.h index 20a7dba..14a79f3 100644 --- a/ksayit/src/ksayit.h +++ b/ksayit/src/ksayit.h @@ -60,7 +60,7 @@ class KSayItBookmarkHandler; * KSayItApp reimplements the methods that KMainWindow provides for main window handling and supports * full session management as well as using KActions. * @see KMainWindow - * @see KApplication + * @see TDEApplication * @see KConfig * * @author Robert Vogl diff --git a/ksayit/src/ksayit_fxplugin.h b/ksayit/src/ksayit_fxplugin.h index 4e7ebd7..87ff053 100644 --- a/ksayit/src/ksayit_fxplugin.h +++ b/ksayit/src/ksayit_fxplugin.h @@ -29,7 +29,7 @@ using namespace Arts; * If you would like to implement a plugin, simply make a class * derived from FXPlugin, include 'ksayit_fxplugin.h' and reimplement all the * pure virtual functions provided herein. - * *Appl is a pointer to the main application as delivered by \p KApplication::kApplication(). + * *Appl is a pointer to the main application as delivered by \p TDEApplication::kApplication(). * It can be used for any reason i.e. to install a TQt translator.\n \author Robert Vogl */ @@ -42,7 +42,7 @@ public: /** Sets the Main application object. Useful for config objects etc. */ - virtual void setApplication(KApplication *Appl) = 0; + virtual void setApplication(TDEApplication *Appl) = 0; /** Returns the name of the plugin. This name is the unique identifier * for the plugin. A expressive name is recommended because this name diff --git a/ksayit/src/ksayit_ttsplugin.h b/ksayit/src/ksayit_ttsplugin.h index 68179d7..0125ff1 100644 --- a/ksayit/src/ksayit_ttsplugin.h +++ b/ksayit/src/ksayit_ttsplugin.h @@ -36,14 +36,14 @@ * In addition you must implement two class factories:\n * \p createPlugin() returns a pointer to an instance of your class. * The Plugin Handler of KSayIt calls this function with a parameter pointing - * to the main application instance, as delivered by \p KApplication::kApplication(). + * to the main application instance, as delivered by \p TDEApplication::kApplication(). * This pointer can be used for any reason i.e. to install a TQt translator.\n * An instance of your class should be deleted by use of \p destroyPlugin().\n * Example: \code extern "C" { - TTSPlugin* createPlugin(KApplication *Appl) + TTSPlugin* createPlugin(TDEApplication *Appl) { return new MyNewPlugin(Appl); } @@ -155,7 +155,7 @@ public: }; // Types of the class factories -typedef TTSPlugin* (*create_ttspi)(KApplication *Appl); +typedef TTSPlugin* (*create_ttspi)(TDEApplication *Appl); typedef void (*destroy_ttspi)(TTSPlugin *p); diff --git a/ksayit/src/main.cpp b/ksayit/src/main.cpp index 921c3a1..c7c9b26 100644 --- a/ksayit/src/main.cpp +++ b/ksayit/src/main.cpp @@ -46,7 +46,7 @@ int main(int argc, char *argv[]) aboutData.addAuthor("Robert Vogl",0, "voglrobe@web.de"); TDECmdLineArgs::init( argc, argv, &aboutData ); - KApplication app; + TDEApplication app; // setup MCOP KArtsDispatcher dispatcher; diff --git a/kttsd/compat/interfaces/kspeech/kspeech.h b/kttsd/compat/interfaces/kspeech/kspeech.h index fac9a7e..d217b89 100644 --- a/kttsd/compat/interfaces/kspeech/kspeech.h +++ b/kttsd/compat/interfaces/kspeech/kspeech.h @@ -219,7 +219,7 @@ client->attach(); if (!client->isApplicationRegistered("kttsd")) { TQString error; - if (KApplication::startServiceByDesktopName("kttsd", TQStringList(), &error)) + if (TDEApplication::startServiceByDesktopName("kttsd", TQStringList(), &error)) cout << "Starting KTTSD failed with message " << error << endl; } @endverbatim diff --git a/kttsd/filters/main.cpp b/kttsd/filters/main.cpp index 35cdb31..fa6b170 100644 --- a/kttsd/filters/main.cpp +++ b/kttsd/filters/main.cpp @@ -69,7 +69,7 @@ int main(int argc, char *argv[]) // Tell which options are supported TDECmdLineArgs::addCmdLineOptions( options ); - KApplication app( false, false ); + TDEApplication app( false, false ); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); diff --git a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp index d6addf9..b07a885 100644 --- a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp +++ b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp @@ -1764,7 +1764,7 @@ void KCMKttsMgr::enableKttsdToggled(bool) { // kdDebug() << "KCMKttsMgr::enableKttsdToggled:: Starting KTTSD" << endl; TQString error; - if (KApplication::startServiceByDesktopName("kttsd", TQStringList(), &error)) + if (TDEApplication::startServiceByDesktopName("kttsd", TQStringList(), &error)) { kdDebug() << "Starting KTTSD failed with message " << error << endl; m_kttsmgrw->enableKttsdCheckBox->setChecked(false); diff --git a/kttsd/kttsmgr/kttsmgr.cpp b/kttsd/kttsmgr/kttsmgr.cpp index e4ceb7c..877c012 100644 --- a/kttsd/kttsmgr/kttsmgr.cpp +++ b/kttsd/kttsmgr/kttsmgr.cpp @@ -284,7 +284,7 @@ void KttsMgrTray::speakClipboardSelected() if (!isKttsdRunning()) { TQString error; - if (KApplication::startServiceByDesktopName("kttsd", TQStringList(), &error) != 0) + if (TDEApplication::startServiceByDesktopName("kttsd", TQStringList(), &error) != 0) kdError() << "Starting KTTSD failed with message " << error << endl; } speakClipboard(); |