summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor/kimagemapeditor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
commitf9ced3b3f13f3136ef63c33ef163042010d6e80b (patch)
tree293ce93dfb0dcfd79f83674116d7b3bc56f29af2 /kimagemapeditor/kimagemapeditor.cpp
parent29df04c24350cc76a41e2410d1c92445f9338b98 (diff)
downloadtdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.tar.gz
tdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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;
}