summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/metabar/src
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:43:10 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-06-08 15:43:10 -0500
commit52819036865f52372e4e78a1e7bc9bc94d224f3a (patch)
treed64aa67fd29867410d99f4b037619ac9417ada2d /konq-plugins/sidebar/metabar/src
parentf0ac846a0bfbdc2a5d372cabec0103990ab74ef0 (diff)
downloadtdeaddons-52819036865f52372e4e78a1e7bc9bc94d224f3a.tar.gz
tdeaddons-52819036865f52372e4e78a1e7bc9bc94d224f3a.zip
Update XDG information in support of bug report 892.
Diffstat (limited to 'konq-plugins/sidebar/metabar/src')
-rw-r--r--konq-plugins/sidebar/metabar/src/metabar.cpp2
-rw-r--r--konq-plugins/sidebar/metabar/src/metabar.desktop2
-rw-r--r--konq-plugins/sidebar/metabar/src/metabar_add.desktop2
-rw-r--r--konq-plugins/sidebar/metabar/src/serviceloader.cpp16
4 files changed, 11 insertions, 11 deletions
diff --git a/konq-plugins/sidebar/metabar/src/metabar.cpp b/konq-plugins/sidebar/metabar/src/metabar.cpp
index 6a020f0..0a7528f 100644
--- a/konq-plugins/sidebar/metabar/src/metabar.cpp
+++ b/konq-plugins/sidebar/metabar/src/metabar.cpp
@@ -44,7 +44,7 @@ extern "C" {
map->insert("Icon", "metabar");
map->insert("Name", "Metabar");
map->insert("Open", "true");
- map->insert("X-KDE-KonqSidebarModule","konqsidebar_metabar");
+ map->insert("X-TDE-KonqSidebarModule","konqsidebar_metabar");
fn->setLatin1("metabar%1.desktop");
return true;
}
diff --git a/konq-plugins/sidebar/metabar/src/metabar.desktop b/konq-plugins/sidebar/metabar/src/metabar.desktop
index 9ea7917..3abf188 100644
--- a/konq-plugins/sidebar/metabar/src/metabar.desktop
+++ b/konq-plugins/sidebar/metabar/src/metabar.desktop
@@ -77,5 +77,5 @@ Name[vi]=siêu thanh
Name[zh_CN]=Metabar
Open=false
-X-KDE-KonqSidebarModule=konqsidebar_metabar
+X-TDE-KonqSidebarModule=konqsidebar_metabar
diff --git a/konq-plugins/sidebar/metabar/src/metabar_add.desktop b/konq-plugins/sidebar/metabar/src/metabar_add.desktop
index e7003e9..d17e243 100644
--- a/konq-plugins/sidebar/metabar/src/metabar_add.desktop
+++ b/konq-plugins/sidebar/metabar/src/metabar_add.desktop
@@ -67,4 +67,4 @@ Name[vi]=Siêu Thanh
Open=false
Type=Link
URL=
-X-KDE-KonqSidebarAddModule=konqsidebar_metabar
+X-TDE-KonqSidebarAddModule=konqsidebar_metabar
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;