summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-11 17:20:38 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-11 17:20:38 -0500
commitff57382179e9b49b5b80872d237603611ff5ac13 (patch)
tree0248c85e56e25f88cf916e9bb363c362ee7afcb3 /tdeio
parentd46b1b9c643c4694ae5c58d38bf90d2578cc72d7 (diff)
downloadtdelibs-ff57382179e9b49b5b80872d237603611ff5ac13.tar.gz
tdelibs-ff57382179e9b49b5b80872d237603611ff5ac13.zip
Second part of prior commit
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/tdefile/kopenwith.cpp2
-rw-r--r--tdeio/tdefile/kpropertiesdialog.cpp4
-rw-r--r--tdeio/tdeio/kservice.cpp8
3 files changed, 7 insertions, 7 deletions
diff --git a/tdeio/tdefile/kopenwith.cpp b/tdeio/tdefile/kopenwith.cpp
index 5db8b79d9..6688fc387 100644
--- a/tdeio/tdefile/kopenwith.cpp
+++ b/tdeio/tdefile/kopenwith.cpp
@@ -754,7 +754,7 @@ void KOpenWithDlg::slotOK()
{
desktop->writeEntry("Terminal", false);
}
- desktop->writeEntry("InitialPreference", maxPreference + 1);
+ desktop->writeEntry("X-TDE-InitialPreference", maxPreference + 1);
if (bRemember || d->saveNewApps)
diff --git a/tdeio/tdefile/kpropertiesdialog.cpp b/tdeio/tdefile/kpropertiesdialog.cpp
index 8302f3080..0d2df33e0 100644
--- a/tdeio/tdefile/kpropertiesdialog.cpp
+++ b/tdeio/tdefile/kpropertiesdialog.cpp
@@ -4077,7 +4077,7 @@ TDEApplicationPropsPlugin::TDEApplicationPropsPlugin( KPropertiesDialog *_props
TQString commentStr = config.readComment();
TQString genNameStr = config.readGenericName();
- TQStringList selectedTypes = config.readListEntry( "ServiceTypes" );
+ TQStringList selectedTypes = config.readListEntry( "X-TDE-ServiceTypes" );
// For compatibility with KDE 1.x
selectedTypes += config.readListEntry( "MimeType", ';' );
@@ -4195,7 +4195,7 @@ void TDEApplicationPropsPlugin::applyChanges()
selectedTypes.append( extensionsList->text( i ) );
config.writeEntry( "MimeType", selectedTypes, ';' );
- config.writeEntry( "ServiceTypes", "" );
+ config.writeEntry( "X-TDE-ServiceTypes", "" );
// hmm, actually it should probably be the contrary (but see also typeslistitem.cpp)
TQString nameStr = nameEdit ? nameEdit->text() : TQString::null;
diff --git a/tdeio/tdeio/kservice.cpp b/tdeio/tdeio/kservice.cpp
index 4b30e82c7..f0c114e77 100644
--- a/tdeio/tdeio/kservice.cpp
+++ b/tdeio/tdeio/kservice.cpp
@@ -267,8 +267,8 @@ KService::init( KDesktopFile *config )
m_strInit = config->readEntry("X-TDE-Init" );
entryMap.remove("X-TDE-Init");
- m_lstServiceTypes = config->readListEntry( "ServiceTypes" );
- entryMap.remove("ServiceTypes");
+ m_lstServiceTypes = config->readListEntry( "X-TDE-ServiceTypes" );
+ entryMap.remove("X-TDE-ServiceTypes");
// For compatibility with KDE 1.x
if (!kde4application)
m_lstServiceTypes += config->readListEntry( "MimeType", ';' );
@@ -299,8 +299,8 @@ KService::init( KDesktopFile *config )
m_initialPreference = config->readNumEntry( "X-TDE-InitialPreference", 1 );
entryMap.remove("X-TDE-InitialPreference");
if ( m_initialPreference == 1 )
- m_initialPreference = config->readNumEntry( "InitialPreference", 1 );
- entryMap.remove("InitialPreference");
+ m_initialPreference = config->readNumEntry( "X-TDE-InitialPreference", 1 );
+ entryMap.remove("X-TDE-InitialPreference");
// Store all additional entries in the property map.
// A TQMap<TQString,TQString> would be easier for this but we can't