summaryrefslogtreecommitdiffstats
path: root/kmouth/wordcompletion
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:14 -0600
commit6379d18e0ec321e0e08a1389ee4a12f0eaa5992e (patch)
treedd3e6f3b6c190bc5ea47516ddbe04c6777fa6a04 /kmouth/wordcompletion
parent0b54abbdf80cef08e5cb8ef7b8b7af31c54dd9b4 (diff)
downloadtdeaccessibility-6379d18e0ec321e0e08a1389ee4a12f0eaa5992e.tar.gz
tdeaccessibility-6379d18e0ec321e0e08a1389ee4a12f0eaa5992e.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kmouth/wordcompletion')
-rw-r--r--kmouth/wordcompletion/dictionarycreationwizard.cpp2
-rw-r--r--kmouth/wordcompletion/dictionarycreationwizard.h2
-rw-r--r--kmouth/wordcompletion/wordcompletion.cpp4
-rw-r--r--kmouth/wordcompletion/wordcompletionwidget.cpp6
-rw-r--r--kmouth/wordcompletion/wordcompletionwidget.h2
5 files changed, 8 insertions, 8 deletions
diff --git a/kmouth/wordcompletion/dictionarycreationwizard.cpp b/kmouth/wordcompletion/dictionarycreationwizard.cpp
index bb35713..b7edf60 100644
--- a/kmouth/wordcompletion/dictionarycreationwizard.cpp
+++ b/kmouth/wordcompletion/dictionarycreationwizard.cpp
@@ -347,7 +347,7 @@ CompletionWizardWidget::CompletionWizardWidget (KWizard *parent, const char *nam
CompletionWizardWidget::~CompletionWizardWidget() {
}
-void CompletionWizardWidget::ok (KConfig *config) {
+void CompletionWizardWidget::ok (TDEConfig *config) {
WordList::WordMap map;
KProgressDialog *pdlg = WordList::progressDialog();
diff --git a/kmouth/wordcompletion/dictionarycreationwizard.h b/kmouth/wordcompletion/dictionarycreationwizard.h
index 8d99da5..fb82fcd 100644
--- a/kmouth/wordcompletion/dictionarycreationwizard.h
+++ b/kmouth/wordcompletion/dictionarycreationwizard.h
@@ -107,7 +107,7 @@ public:
CompletionWizardWidget(KWizard *parent, const char *name);
~CompletionWizardWidget();
- void ok (KConfig *config);
+ void ok (TDEConfig *config);
};
#endif
diff --git a/kmouth/wordcompletion/wordcompletion.cpp b/kmouth/wordcompletion/wordcompletion.cpp
index 7936044..ce373a1 100644
--- a/kmouth/wordcompletion/wordcompletion.cpp
+++ b/kmouth/wordcompletion/wordcompletion.cpp
@@ -95,7 +95,7 @@ TQString WordCompletion::currentWordList() {
}
bool WordCompletion::isConfigured() {
- KConfig *config = new KConfig("kmouthrc");
+ TDEConfig *config = new TDEConfig("kmouthrc");
bool result = config->hasGroup("Dictionary 0");
delete config;
@@ -110,7 +110,7 @@ void WordCompletion::configure() {
d->dictionaries.clear();
d->dictDetails.clear();
- KConfig *config = new KConfig("kmouthrc");
+ TDEConfig *config = new TDEConfig("kmouthrc");
TQStringList groups = config->groupList();
for (TQStringList::Iterator it = groups.begin(); it != groups.end(); ++it)
if ((*it).startsWith ("Dictionary ")) {
diff --git a/kmouth/wordcompletion/wordcompletionwidget.cpp b/kmouth/wordcompletion/wordcompletionwidget.cpp
index b5e34d6..c9e9a1e 100644
--- a/kmouth/wordcompletion/wordcompletionwidget.cpp
+++ b/kmouth/wordcompletion/wordcompletionwidget.cpp
@@ -106,7 +106,7 @@ WordCompletionWidget::WordCompletionWidget(TQWidget *parent, const char *name) :
connect (languageButton, TQT_SIGNAL (activated (int)), this, TQT_SLOT (languageSelected(int)) );
// Object for the KCMKTTSD configuration
- config = new KConfig("kmouthrc");
+ config = new TDEConfig("kmouthrc");
// Load the configuration from the file
load();
@@ -250,7 +250,7 @@ void WordCompletionWidget::exportDictionary() {
if (url.isEmpty() || !url.isValid())
return;
- if (KIO::NetAccess::exists(url, false, this)) {
+ if (TDEIO::NetAccess::exists(url, false, this)) {
if (KMessageBox::warningContinueCancel(0,TQString("<qt>%1</qt>").arg(i18n("The file %1 already exists. "
"Do you want to overwrite it?").arg(url.url())),i18n("File Exists"),i18n("&Overwrite"))==KMessageBox::Cancel) {
return;
@@ -258,7 +258,7 @@ void WordCompletionWidget::exportDictionary() {
}
KURL src;
src.setPath( TDEGlobal::dirs()->findResource ("appdata", item->filename()) );
- KIO::NetAccess::copy (src, url, this);
+ TDEIO::NetAccess::copy (src, url, this);
}
}
diff --git a/kmouth/wordcompletion/wordcompletionwidget.h b/kmouth/wordcompletion/wordcompletionwidget.h
index a12b9e1..a3f5088 100644
--- a/kmouth/wordcompletion/wordcompletionwidget.h
+++ b/kmouth/wordcompletion/wordcompletionwidget.h
@@ -73,7 +73,7 @@ private:
/**
* Object holding all the configuration
*/
- KConfig *config;
+ TDEConfig *config;
TQStringList newDictionaryFiles;
TQStringList removedDictionaryFiles;
};