summaryrefslogtreecommitdiffstats
path: root/src/translators
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators')
-rw-r--r--src/translators/bibtexexporter.cpp8
-rw-r--r--src/translators/bibtexexporter.h4
-rw-r--r--src/translators/bibteximporter.cpp4
-rw-r--r--src/translators/csvexporter.cpp8
-rw-r--r--src/translators/csvexporter.h6
-rw-r--r--src/translators/csvimporter.cpp4
-rw-r--r--src/translators/exporter.h6
-rw-r--r--src/translators/filelistingimporter.cpp20
-rw-r--r--src/translators/filelistingimporter.h6
-rw-r--r--src/translators/freedbimporter.cpp6
-rw-r--r--src/translators/gcfilmsexporter.cpp4
-rw-r--r--src/translators/htmlexporter.cpp22
-rw-r--r--src/translators/htmlexporter.h4
-rw-r--r--src/translators/onixexporter.cpp8
-rw-r--r--src/translators/onixexporter.h4
-rw-r--r--src/translators/pilotdbexporter.cpp10
-rw-r--r--src/translators/pilotdbexporter.h4
-rw-r--r--src/translators/tellicoxmlexporter.cpp8
-rw-r--r--src/translators/tellicoxmlexporter.h4
19 files changed, 70 insertions, 70 deletions
diff --git a/src/translators/bibtexexporter.cpp b/src/translators/bibtexexporter.cpp
index f987815..2055f39 100644
--- a/src/translators/bibtexexporter.cpp
+++ b/src/translators/bibtexexporter.cpp
@@ -235,8 +235,8 @@ TQWidget* BibtexExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
return m_widget;
}
-void BibtexExporter::readOptions(KConfig* config_) {
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+void BibtexExporter::readOptions(TDEConfig* config_) {
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
m_expandMacros = group.readBoolEntry("Expand Macros", m_expandMacros);
m_packageURL = group.readBoolEntry("URL Package", m_packageURL);
m_skipEmptyKeys = group.readBoolEntry("Skip Empty Keys", m_skipEmptyKeys);
@@ -248,8 +248,8 @@ void BibtexExporter::readOptions(KConfig* config_) {
}
}
-void BibtexExporter::saveOptions(KConfig* config_) {
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+void BibtexExporter::saveOptions(TDEConfig* config_) {
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
m_expandMacros = m_checkExpandMacros->isChecked();
group.writeEntry("Expand Macros", m_expandMacros);
m_packageURL = m_checkPackageURL->isChecked();
diff --git a/src/translators/bibtexexporter.h b/src/translators/bibtexexporter.h
index e3c302c..ef29041 100644
--- a/src/translators/bibtexexporter.h
+++ b/src/translators/bibtexexporter.h
@@ -41,8 +41,8 @@ public:
virtual TQString fileFilter() const;
virtual TQWidget* widget(TQWidget* parent, const char* name=0);
- virtual void readOptions(KConfig*);
- virtual void saveOptions(KConfig*);
+ virtual void readOptions(TDEConfig*);
+ virtual void saveOptions(TDEConfig*);
private:
void writeEntryText(TQString& text, const Data::FieldVec& field, const Data::Entry& entry,
diff --git a/src/translators/bibteximporter.cpp b/src/translators/bibteximporter.cpp
index 850a390..898d216 100644
--- a/src/translators/bibteximporter.cpp
+++ b/src/translators/bibteximporter.cpp
@@ -46,7 +46,7 @@ BibtexImporter::BibtexImporter(const TQString& text_) : Importer(text_)
BibtexImporter::~BibtexImporter() {
bt_cleanup();
if(m_readUTF8) {
- KConfigGroup config(kapp->config(), "Import Options");
+ TDEConfigGroup config(kapp->config(), "Import Options");
config.writeEntry("Bibtex UTF8", m_readUTF8->isChecked());
}
}
@@ -295,7 +295,7 @@ TQWidget* BibtexImporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
m_readLocale->setChecked(true);
TQWhatsThis::add(m_readLocale, i18n("Read the imported file in the local encoding."));
- KConfigGroup config(kapp->config(), "Import Options");
+ TDEConfigGroup config(kapp->config(), "Import Options");
bool useUTF8 = config.readBoolEntry("Bibtex UTF8", false);
if(useUTF8) {
m_readUTF8->setChecked(true);
diff --git a/src/translators/csvexporter.cpp b/src/translators/csvexporter.cpp
index 7d94271..2755a17 100644
--- a/src/translators/csvexporter.cpp
+++ b/src/translators/csvexporter.cpp
@@ -164,13 +164,13 @@ TQWidget* CSVExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
return m_widget;
}
-void CSVExporter::readOptions(KConfig* config_) {
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+void CSVExporter::readOptions(TDEConfig* config_) {
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
m_includeTitles = group.readBoolEntry("Include Titles", m_includeTitles);
m_delimiter = group.readEntry("Delimiter", m_delimiter);
}
-void CSVExporter::saveOptions(KConfig* config_) {
+void CSVExporter::saveOptions(TDEConfig* config_) {
m_includeTitles = m_checkIncludeTitles->isChecked();
if(m_radioComma->isChecked()) {
m_delimiter = TQChar(',');
@@ -182,7 +182,7 @@ void CSVExporter::saveOptions(KConfig* config_) {
m_delimiter = m_editOther->text();
}
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
group.writeEntry("Include Titles", m_includeTitles);
group.writeEntry("Delimiter", m_delimiter);
}
diff --git a/src/translators/csvexporter.h b/src/translators/csvexporter.h
index 8d41a3a..5ec6fed 100644
--- a/src/translators/csvexporter.h
+++ b/src/translators/csvexporter.h
@@ -15,7 +15,7 @@
#define CSVEXPORTER_H
class KLineEdit;
-class KConfig;
+class TDEConfig;
class TQWidget;
class TQCheckBox;
@@ -41,8 +41,8 @@ public:
virtual TQString fileFilter() const;
virtual TQWidget* widget(TQWidget* parent, const char* name=0);
- virtual void readOptions(KConfig* config);
- virtual void saveOptions(KConfig* config);
+ virtual void readOptions(TDEConfig* config);
+ virtual void saveOptions(TDEConfig* config);
private:
TQString& escapeText(TQString& text);
diff --git a/src/translators/csvimporter.cpp b/src/translators/csvimporter.cpp
index ca3e7aa..c4f74d0 100644
--- a/src/translators/csvimporter.cpp
+++ b/src/translators/csvimporter.cpp
@@ -202,7 +202,7 @@ Tellico::Data::CollPtr CSVImporter::collection() {
}
{
- KConfigGroup config(TDEGlobal::config(), TQString::fromLatin1("ImportOptions - CSV"));
+ TDEConfigGroup config(TDEGlobal::config(), TQString::fromLatin1("ImportOptions - CSV"));
config.writeEntry("Delimiter", m_delimiter);
config.writeEntry("First Row Titles", m_firstRowHeader);
}
@@ -320,7 +320,7 @@ TQWidget* CSVImporter::widget(TQWidget* parent_, const char* name_) {
l->addStretch(1);
- KConfigGroup config(TDEGlobal::config(), TQString::fromLatin1("ImportOptions - CSV"));
+ TDEConfigGroup config(TDEGlobal::config(), TQString::fromLatin1("ImportOptions - CSV"));
m_delimiter = config.readEntry("Delimiter", m_delimiter);
m_firstRowHeader = config.readBoolEntry("First Row Titles", m_firstRowHeader);
diff --git a/src/translators/exporter.h b/src/translators/exporter.h
index 76d3897..2815577 100644
--- a/src/translators/exporter.h
+++ b/src/translators/exporter.h
@@ -14,7 +14,7 @@
#ifndef TELLICO_EXPORTER_H
#define TELLICO_EXPORTER_H
-class KConfig;
+class TDEConfig;
class TQWidget;
class TQString;
@@ -75,8 +75,8 @@ public:
virtual void reset() {}
virtual TQWidget* widget(TQWidget* parent, const char* name=0) = 0;
- virtual void readOptions(KConfig*) {}
- virtual void saveOptions(KConfig*) {}
+ virtual void readOptions(TDEConfig*) {}
+ virtual void saveOptions(TDEConfig*) {}
private:
long m_options;
diff --git a/src/translators/filelistingimporter.cpp b/src/translators/filelistingimporter.cpp
index 673cd21..934d4b0 100644
--- a/src/translators/filelistingimporter.cpp
+++ b/src/translators/filelistingimporter.cpp
@@ -69,12 +69,12 @@ Tellico::Data::CollPtr FileListingImporter::collection() {
TQString volume = volumeName();
m_job = m_recursive->isChecked()
- ? KIO::listRecursive(url(), true, false)
- : KIO::listDir(url(), true, false);
- connect(m_job, TQT_SIGNAL(entries(KIO::Job*, const KIO::UDSEntryList&)),
- TQT_SLOT(slotEntries(KIO::Job*, const KIO::UDSEntryList&)));
+ ? TDEIO::listRecursive(url(), true, false)
+ : TDEIO::listDir(url(), true, false);
+ connect(m_job, TQT_SIGNAL(entries(TDEIO::Job*, const TDEIO::UDSEntryList&)),
+ TQT_SLOT(slotEntries(TDEIO::Job*, const TDEIO::UDSEntryList&)));
- if(!KIO::NetAccess::synchronousRun(m_job, Kernel::self()->widget()) || m_cancelled) {
+ if(!TDEIO::NetAccess::synchronousRun(m_job, Kernel::self()->widget()) || m_cancelled) {
return 0;
}
@@ -114,18 +114,18 @@ Tellico::Data::CollPtr FileListingImporter::collection() {
// remove "./" from the string
entry->setField(folder, tmp.right(tmp.length()-2));
entry->setField(type, it.current()->mimetype());
- entry->setField(size, KIO::convertSize(it.current()->size()));
+ entry->setField(size, TDEIO::convertSize(it.current()->size()));
entry->setField(perm, it.current()->permissionsString());
entry->setField(owner, it.current()->user());
entry->setField(group, it.current()->group());
- time_t t = it.current()->time(KIO::UDS_CREATION_TIME);
+ time_t t = it.current()->time(TDEIO::UDS_CREATION_TIME);
if(t > 0) {
TQDateTime dt;
dt.setTime_t(t);
entry->setField(created, dt.toString(Qt::ISODate));
}
- t = it.current()->time(KIO::UDS_MODIFICATION_TIME);
+ t = it.current()->time(TDEIO::UDS_MODIFICATION_TIME);
if(t > 0) {
TQDateTime dt;
dt.setTime_t(t);
@@ -206,14 +206,14 @@ TQWidget* FileListingImporter::widget(TQWidget* parent_, const char* name_) {
return m_widget;
}
-void FileListingImporter::slotEntries(KIO::Job* job_, const KIO::UDSEntryList& list_) {
+void FileListingImporter::slotEntries(TDEIO::Job* job_, const TDEIO::UDSEntryList& list_) {
if(m_cancelled) {
job_->kill();
m_job = 0;
return;
}
- for(KIO::UDSEntryList::ConstIterator it = list_.begin(); it != list_.end(); ++it) {
+ for(TDEIO::UDSEntryList::ConstIterator it = list_.begin(); it != list_.end(); ++it) {
KFileItem* item = new KFileItem(*it, url(), false, true);
if(item->isFile()) {
m_files.append(item);
diff --git a/src/translators/filelistingimporter.h b/src/translators/filelistingimporter.h
index 82d1693..bddc059 100644
--- a/src/translators/filelistingimporter.h
+++ b/src/translators/filelistingimporter.h
@@ -23,7 +23,7 @@
#include <tqguardedptr.h>
class TQCheckBox;
-namespace KIO {
+namespace TDEIO {
class Job;
}
@@ -53,7 +53,7 @@ public slots:
void slotCancel();
private slots:
- void slotEntries(KIO::Job* job, const KIO::UDSEntryList& list);
+ void slotEntries(TDEIO::Job* job, const TDEIO::UDSEntryList& list);
private:
TQString volumeName() const;
@@ -62,7 +62,7 @@ private:
TQWidget* m_widget;
TQCheckBox* m_recursive;
TQCheckBox* m_filePreview;
- TQGuardedPtr<KIO::Job> m_job;
+ TQGuardedPtr<TDEIO::Job> m_job;
KFileItemList m_files;
TQPixmap m_pixmap;
bool m_cancelled : 1;
diff --git a/src/translators/freedbimporter.cpp b/src/translators/freedbimporter.cpp
index 480bf07..805fbff 100644
--- a/src/translators/freedbimporter.cpp
+++ b/src/translators/freedbimporter.cpp
@@ -96,7 +96,7 @@ void FreeDBImporter::readCDROM() {
}
{
- KConfigGroup config(TDEGlobal::config(), TQString::fromLatin1("ImportOptions - FreeDB"));
+ TDEConfigGroup config(TDEGlobal::config(), TQString::fromLatin1("ImportOptions - FreeDB"));
config.writeEntry("CD-ROM Devices", drives);
config.writeEntry("Last Device", drivePath);
config.writeEntry("Cache Files Only", false);
@@ -291,7 +291,7 @@ void FreeDBImporter::readCache() {
#ifdef HAVE_KCDDB
{
// remember the import options
- KConfigGroup config(TDEGlobal::config(), TQString::fromLatin1("ImportOptions - FreeDB"));
+ TDEConfigGroup config(TDEGlobal::config(), TQString::fromLatin1("ImportOptions - FreeDB"));
config.writeEntry("Cache Files Only", true);
}
@@ -515,7 +515,7 @@ TQWidget* FreeDBImporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
l->addStretch(1);
// now read config options
- KConfigGroup config(TDEGlobal::config(), TQString::fromLatin1("ImportOptions - FreeDB"));
+ TDEConfigGroup config(TDEGlobal::config(), TQString::fromLatin1("ImportOptions - FreeDB"));
TQStringList devices = config.readListEntry("CD-ROM Devices");
if(devices.isEmpty()) {
#if defined(__OpenBSD__)
diff --git a/src/translators/gcfilmsexporter.cpp b/src/translators/gcfilmsexporter.cpp
index 91a4d8e..55e3c7c 100644
--- a/src/translators/gcfilmsexporter.cpp
+++ b/src/translators/gcfilmsexporter.cpp
@@ -85,8 +85,8 @@ bool GCfilmsExporter::exec() {
imageDir = url();
imageDir.cd(TQString::fromLatin1(".."));
imageDir.addPath(url().fileName().section('.', 0, 0) + TQString::fromLatin1("_images/"));
- if(!KIO::NetAccess::exists(imageDir, false, 0)) {
- bool success = KIO::NetAccess::mkdir(imageDir, Kernel::self()->widget());
+ if(!TDEIO::NetAccess::exists(imageDir, false, 0)) {
+ bool success = TDEIO::NetAccess::mkdir(imageDir, Kernel::self()->widget());
if(!success) {
imageDir = KURL(); // means don't write images
}
diff --git a/src/translators/htmlexporter.cpp b/src/translators/htmlexporter.cpp
index 6cb38b4..2e006a3 100644
--- a/src/translators/htmlexporter.cpp
+++ b/src/translators/htmlexporter.cpp
@@ -483,8 +483,8 @@ TQWidget* HTMLExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
return m_widget;
}
-void HTMLExporter::readOptions(KConfig* config_) {
- KConfigGroup exportConfig(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+void HTMLExporter::readOptions(TDEConfig* config_) {
+ TDEConfigGroup exportConfig(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
m_printHeaders = exportConfig.readBoolEntry("Print Field Headers", m_printHeaders);
m_printGrouped = exportConfig.readBoolEntry("Print Grouped", m_printGrouped);
m_exportEntryFiles = exportConfig.readBoolEntry("Export Entry Files", m_exportEntryFiles);
@@ -495,8 +495,8 @@ void HTMLExporter::readOptions(KConfig* config_) {
+ m_entryXSLTFile + TQString::fromLatin1(".xsl"));
}
-void HTMLExporter::saveOptions(KConfig* config_) {
- KConfigGroup cfg(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+void HTMLExporter::saveOptions(TDEConfig* config_) {
+ TDEConfigGroup cfg(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
m_printHeaders = m_checkPrintHeaders->isChecked();
cfg.writeEntry("Print Field Headers", m_printHeaders);
m_printGrouped = m_checkPrintGrouped->isChecked();
@@ -562,7 +562,7 @@ TQString HTMLExporter::handleLink(const TQString& link_) {
// the tmpDir() when exporting entry files from a collection, but those images
// don't actually exist, and they get copied in writeImages() instead.
// so we only need to keep track of the url if it exists
- const bool exists = KIO::NetAccess::exists(u, false, 0);
+ const bool exists = TDEIO::NetAccess::exists(u, false, 0);
if(exists) {
m_files.append(u);
}
@@ -620,10 +620,10 @@ void HTMLExporter::createDir() {
myDebug() << "HTMLExporter::createDir() - called on empty URL!" << endl;
return;
}
- if(KIO::NetAccess::exists(dir, false, 0)) {
+ if(TDEIO::NetAccess::exists(dir, false, 0)) {
m_checkCreateDir = false;
} else {
- m_checkCreateDir = !KIO::NetAccess::mkdir(dir, m_widget);
+ m_checkCreateDir = !TDEIO::NetAccess::mkdir(dir, m_widget);
}
}
@@ -647,12 +647,12 @@ bool HTMLExporter::copyFiles() {
target = fileDir();
}
target.setFileName((*it).fileName());
- bool success = KIO::NetAccess::file_copy(*it, target, -1, true /* overwrite */, false /* resume */, m_widget);
+ bool success = TDEIO::NetAccess::file_copy(*it, target, -1, true /* overwrite */, false /* resume */, m_widget);
if(success) {
m_copiedFiles.add((*it).url());
} else {
kdWarning() << "HTMLExporter::copyFiles() - can't copy " << target << endl;
- kdWarning() << KIO::NetAccess::lastErrorString() << endl;
+ kdWarning() << TDEIO::NetAccess::lastErrorString() << endl;
}
if(j%stepSize == 0) {
if(options() & ExportProgress) {
@@ -741,11 +741,11 @@ bool HTMLExporter::writeEntryFiles() {
dataDir.setPath(TDEGlobal::dirs()->findResourceDir("appdata", TQString::fromLatin1("pics/tellico.png")) + "pics/");
KURL target = fileDir();
target.addPath(TQString::fromLatin1("pics/"));
- KIO::NetAccess::mkdir(target, m_widget);
+ TDEIO::NetAccess::mkdir(target, m_widget);
for(TQStringList::ConstIterator it = dataImages.begin(); it != dataImages.end(); ++it) {
dataDir.setFileName(*it);
target.setFileName(*it);
- KIO::NetAccess::copy(dataDir, target, m_widget);
+ TDEIO::NetAccess::copy(dataDir, target, m_widget);
}
return true;
diff --git a/src/translators/htmlexporter.h b/src/translators/htmlexporter.h
index e99f227..e2275ab 100644
--- a/src/translators/htmlexporter.h
+++ b/src/translators/htmlexporter.h
@@ -53,8 +53,8 @@ public:
virtual TQString fileFilter() const;
virtual TQWidget* widget(TQWidget* parent, const char* name=0);
- virtual void readOptions(KConfig*);
- virtual void saveOptions(KConfig*);
+ virtual void readOptions(TDEConfig*);
+ virtual void saveOptions(TDEConfig*);
void setCollectionURL(const KURL& url) { m_collectionURL = url; m_links.clear(); }
void setXSLTFile(const TQString& filename);
diff --git a/src/translators/onixexporter.cpp b/src/translators/onixexporter.cpp
index 22314b5..f4861af 100644
--- a/src/translators/onixexporter.cpp
+++ b/src/translators/onixexporter.cpp
@@ -184,15 +184,15 @@ TQWidget* ONIXExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
return m_widget;
}
-void ONIXExporter::readOptions(KConfig* config_) {
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+void ONIXExporter::readOptions(TDEConfig* config_) {
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
m_includeImages = group.readBoolEntry("Include Images", m_includeImages);
}
-void ONIXExporter::saveOptions(KConfig* config_) {
+void ONIXExporter::saveOptions(TDEConfig* config_) {
m_includeImages = m_checkIncludeImages->isChecked();
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
group.writeEntry("Include Images", m_includeImages);
}
diff --git a/src/translators/onixexporter.h b/src/translators/onixexporter.h
index 08c0dcd..3cf44c8 100644
--- a/src/translators/onixexporter.h
+++ b/src/translators/onixexporter.h
@@ -42,8 +42,8 @@ public:
virtual TQString fileFilter() const;
virtual TQWidget* widget(TQWidget*, const char* name=0);
- virtual void readOptions(KConfig*);
- virtual void saveOptions(KConfig*);
+ virtual void readOptions(TDEConfig*);
+ virtual void saveOptions(TDEConfig*);
TQString text();
diff --git a/src/translators/pilotdbexporter.cpp b/src/translators/pilotdbexporter.cpp
index 5d7b40f..be86de2 100644
--- a/src/translators/pilotdbexporter.cpp
+++ b/src/translators/pilotdbexporter.cpp
@@ -58,7 +58,7 @@ bool PilotDBExporter::exec() {
TQTextCodec* codec = 0;
{
// Latin1 is default
- KConfigGroup group(TDEGlobal::config(), TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+ TDEConfigGroup group(TDEGlobal::config(), TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
codec = TDEGlobal::charsets()->codecForName(group.readEntry("Charset"));
}
if(!codec) {
@@ -218,13 +218,13 @@ TQWidget* PilotDBExporter::widget(TQWidget* parent_, const char* name_/*=0*/) {
return m_widget;
}
-void PilotDBExporter::readOptions(KConfig* config_) {
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+void PilotDBExporter::readOptions(TDEConfig* config_) {
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
m_backup = group.readBoolEntry("Backup", m_backup);
}
-void PilotDBExporter::saveOptions(KConfig* config_) {
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+void PilotDBExporter::saveOptions(TDEConfig* config_) {
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
m_backup = m_checkBackup->isChecked();
group.writeEntry("Backup", m_backup);
}
diff --git a/src/translators/pilotdbexporter.h b/src/translators/pilotdbexporter.h
index d4e87ad..cce7d13 100644
--- a/src/translators/pilotdbexporter.h
+++ b/src/translators/pilotdbexporter.h
@@ -38,8 +38,8 @@ public:
virtual TQString fileFilter() const;
virtual TQWidget* widget(TQWidget* parent, const char* name=0);
- virtual void readOptions(KConfig* cfg);
- virtual void saveOptions(KConfig* cfg);
+ virtual void readOptions(TDEConfig* cfg);
+ virtual void saveOptions(TDEConfig* cfg);
void setColumns(const TQStringList& columns) { m_columns = columns; }
diff --git a/src/translators/tellicoxmlexporter.cpp b/src/translators/tellicoxmlexporter.cpp
index be7404b..7e62bb5 100644
--- a/src/translators/tellicoxmlexporter.cpp
+++ b/src/translators/tellicoxmlexporter.cpp
@@ -490,15 +490,15 @@ TQWidget* TellicoXMLExporter::widget(TQWidget* parent_, const char* name_/*=0*/)
return m_widget;
}
-void TellicoXMLExporter::readOptions(KConfig* config_) {
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+void TellicoXMLExporter::readOptions(TDEConfig* config_) {
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
m_includeImages = group.readBoolEntry("Include Images", m_includeImages);
}
-void TellicoXMLExporter::saveOptions(KConfig* config_) {
+void TellicoXMLExporter::saveOptions(TDEConfig* config_) {
m_includeImages = m_checkIncludeImages->isChecked();
- KConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
+ TDEConfigGroup group(config_, TQString::fromLatin1("ExportOptions - %1").arg(formatString()));
group.writeEntry("Include Images", m_includeImages);
}
diff --git a/src/translators/tellicoxmlexporter.h b/src/translators/tellicoxmlexporter.h
index d2b291c..3f6c0ca 100644
--- a/src/translators/tellicoxmlexporter.h
+++ b/src/translators/tellicoxmlexporter.h
@@ -50,8 +50,8 @@ public:
void setIncludeGroups(bool b) { m_includeGroups = b; }
virtual TQWidget* widget(TQWidget*, const char*);
- virtual void readOptions(KConfig* cfg);
- virtual void saveOptions(KConfig* cfg);
+ virtual void readOptions(TDEConfig* cfg);
+ virtual void saveOptions(TDEConfig* cfg);
/**
* An integer indicating format version.