summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor/kimagemapeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kimagemapeditor/kimagemapeditor.cpp')
-rw-r--r--kimagemapeditor/kimagemapeditor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kimagemapeditor/kimagemapeditor.cpp b/kimagemapeditor/kimagemapeditor.cpp
index 1e31596d..3093e7a3 100644
--- a/kimagemapeditor/kimagemapeditor.cpp
+++ b/kimagemapeditor/kimagemapeditor.cpp
@@ -338,16 +338,16 @@ void KImageMapEditor::setModified(bool modified)
}
-KConfig *KImageMapEditor::config()
+TDEConfig *KImageMapEditor::config()
{
return KimeFactory::instance()->config();
}
-void KImageMapEditor::readConfig(KConfig* config) {
+void KImageMapEditor::readConfig(TDEConfig* config) {
recentFilesAction->loadEntries(config,"Data");
}
-void KImageMapEditor::writeConfig(KConfig* config) {
+void KImageMapEditor::writeConfig(TDEConfig* config) {
config->writeEntry("highlightareas",highlightAreasAction->isChecked());
config->writeEntry("showalt",showAltAction->isChecked());
recentFilesAction->saveEntries(config,"Data");
@@ -368,12 +368,12 @@ void KImageMapEditor::writeConfig() {
}
-void KImageMapEditor::saveProperties(KConfig *config)
+void KImageMapEditor::saveProperties(TDEConfig *config)
{
saveLastURL(config);
}
-void KImageMapEditor::readProperties(KConfig * config)
+void KImageMapEditor::readProperties(TDEConfig * config)
{
openLastURL(config);
}
@@ -399,7 +399,7 @@ void KImageMapEditor::slotConfigChanged()
drawZone->viewport()->repaint();
}
-void KImageMapEditor::openLastURL(KConfig* config) {
+void KImageMapEditor::openLastURL(TDEConfig* config) {
KURL lastURL ( config->readPathEntry("lastopenurl") );
TQString lastMap = config->readEntry("lastactivemap");
TQString lastImage = config->readPathEntry("lastactiveimage");
@@ -418,7 +418,7 @@ void KImageMapEditor::openLastURL(KConfig* config) {
}
}
-void KImageMapEditor::saveLastURL(KConfig* config) {
+void KImageMapEditor::saveLastURL(TDEConfig* config) {
config->writePathEntry("lastopenurl",url().path());
config->writeEntry("lastactivemap",mapName());
config->writePathEntry("lastactiveimage",_imageUrl.path());
@@ -2273,7 +2273,7 @@ void KImageMapEditor::saveImageMap(const KURL & url)
if (!backupFileCreated) {
TQString backupFile = url.path()+"~";
- KIO::file_copy(url, KURL::fromPathOrURL( backupFile ), -1, true, false, false);
+ TDEIO::file_copy(url, KURL::fromPathOrURL( backupFile ), -1, true, false, false);
backupFileCreated = true;
}