summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/metabar/src/serviceloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/sidebar/metabar/src/serviceloader.cpp')
-rw-r--r--konq-plugins/sidebar/metabar/src/serviceloader.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/konq-plugins/sidebar/metabar/src/serviceloader.cpp b/konq-plugins/sidebar/metabar/src/serviceloader.cpp
index ef190f3..5e5650d 100644
--- a/konq-plugins/sidebar/metabar/src/serviceloader.cpp
+++ b/konq-plugins/sidebar/metabar/src/serviceloader.cpp
@@ -76,15 +76,15 @@ void ServiceLoader::loadServices(const KFileItem item, DOM::DOMString &html, int
KSimpleConfig cfg( *dit + *eit, true );
cfg.setDesktopGroup();
- if(cfg.hasKey("X-KDE-ShowIfRunning" )){
- const TQString app = cfg.readEntry( "X-KDE-ShowIfRunning" );
+ if(cfg.hasKey("X-TDE-ShowIfRunning" )){
+ const TQString app = cfg.readEntry( "X-TDE-ShowIfRunning" );
if(!kapp->dcopClient()->isApplicationRegistered(app.utf8())){
continue;
}
}
- if(cfg.hasKey("X-KDE-Protocol")){
- const TQString protocol = cfg.readEntry( "X-KDE-Protocol" );
+ if(cfg.hasKey("X-TDE-Protocol")){
+ const TQString protocol = cfg.readEntry( "X-TDE-Protocol" );
if(protocol != url.protocol()){
continue;
}
@@ -94,8 +94,8 @@ void ServiceLoader::loadServices(const KFileItem item, DOM::DOMString &html, int
continue;
}
- if(cfg.hasKey("X-KDE-Require")){
- const TQStringList capabilities = cfg.readListEntry( "X-KDE-Require" );
+ if(cfg.hasKey("X-TDE-Require")){
+ const TQStringList capabilities = cfg.readListEntry( "X-TDE-Require" );
if (capabilities.contains( "Write" )){
continue;
}
@@ -142,8 +142,8 @@ void ServiceLoader::loadServices(const KFileItem item, DOM::DOMString &html, int
}
}
if (ok){
- const TQString priority = cfg.readEntry("X-KDE-Priority");
- const TQString submenuName = cfg.readEntry( "X-KDE-Submenu" );
+ const TQString priority = cfg.readEntry("X-TDE-Priority");
+ const TQString submenuName = cfg.readEntry( "X-TDE-Submenu" );
bool usePopup = false;
KPopupMenu *popup;