[kmobiletools] branches/extragear/kde3/pim/kmobiletools/kmobiletools
Marco Gulino
marco at kmobiletools.org
Sat Jun 16 12:32:34 CEST 2007
SVN commit 676223 by gulino:
GUI: Using Description property in the engines desktop file to get it extracted by scripty.
M +1 -1 engines/at_engine/at_engine.desktop
M +1 -1 engines/gammu_engine/gammu_engine.desktop
M +1 -1 libkmobiletools/kmobiletoolsengine.cpp
M +1 -1 libkmobiletools/kmobiletoolsengine.desktop
M +2 -2 mainpart/newdevicewizard.cpp
--- branches/extragear/kde3/pim/kmobiletools/kmobiletools/engines/at_engine/at_engine.desktop #676222:676223
@@ -13,5 +13,5 @@
Comment[sv]=Kmobiletools-gränssnitt baserat på standardiserade GSM AT-kommadon
Icon=kmobiletoolsAT
ServiceTypes=KMobileTools/Engine
-X-KMobileTools-LongDesc=KMobileTools default engine, developed interally by the KMobileTools team.\nGood choice with almost all mobile phones, but on some models it lacks advanced features.\nBest choice with Motorola Phones, works good also with Sony Ericsson and Siemens.
+Description=KMobileTools default engine, developed interally by the KMobileTools team.\nGood choice with almost all mobile phones, but on some models it lacks advanced features.\nBest choice with Motorola Phones, works good also with Sony Ericsson and Siemens.
X-KDE-Library=libkmobiletools_at
--- branches/extragear/kde3/pim/kmobiletools/kmobiletools/engines/gammu_engine/gammu_engine.desktop #676222:676223
@@ -13,5 +13,5 @@
Comment[sv]=Gränssnitt för Kmobiletools baserat på Gammu
Icon=kmobiletoolsG
ServiceTypes=KMobileTools/Engine
-X-KMobileTools-LongDesc=A KMobileTools engine which uses Gammu as backend. Compatible with all AT-based phones. Special drivers for Alcatel, Nokia, Symbian and Sony Ericsson phones.
+Description=A KMobileTools engine which uses Gammu as backend. Compatible with all AT-based phones. Special drivers for Alcatel, Nokia, Symbian and Sony Ericsson phones.
X-KDE-Library=libkmobiletools_gammu
--- branches/extragear/kde3/pim/kmobiletools/kmobiletools/libkmobiletools/kmobiletoolsengine.cpp #676222:676223
@@ -184,6 +184,6 @@
QString kmobiletoolsEngine::longDesc()
{
- return pluginInfo()->property("X-KMobileTools-LongDesc").toString();
+ return pluginInfo()->property("Description").toString();
}
--- branches/extragear/kde3/pim/kmobiletools/kmobiletools/libkmobiletools/kmobiletoolsengine.desktop #676222:676223
@@ -9,6 +9,6 @@
Comment[pt]=Motor do KMobileTools
Comment[sv]=Gränssnitt för Kmobiletools
-[PropertyDef::X-KMobileTools-LongDesc]
+[PropertyDef::Description]
Type=QString
--- branches/extragear/kde3/pim/kmobiletools/kmobiletools/mainpart/newdevicewizard.cpp #676222:676223
@@ -261,7 +261,7 @@
kcfg_atdevices->insertItem(bturl);
}
#ifdef HAVE_KBLUETOOTH
- else
+ else
{
BtServiceItem *bitem;
QListViewItemIterator it(btsvcLV);
@@ -637,7 +637,7 @@
{
KPluginInfo *engInfo=EnginesList::instance()->engineInfo(enginename, false);
if(!engInfo) return;
- engineDescLabel->setText(engInfo->property("X-KMobileTools-LongDesc").asString().replace('\n',"<br>") );
+ engineDescLabel->setText(engInfo->property("Description").asString().replace('\n',"<br>") );
setNextEnabled ( currentPage(), true );
enginelibname=engInfo->service()->library();
}
More information about the kmobiletools
mailing list