|
|
@ -236,9 +236,11 @@ KService::init( KDesktopFile *config )
|
|
|
|
m_strComment = config->readComment();
|
|
|
|
m_strComment = config->readComment();
|
|
|
|
entryMap.remove("Comment");
|
|
|
|
entryMap.remove("Comment");
|
|
|
|
m_strGenName = config->readGenericName();
|
|
|
|
m_strGenName = config->readGenericName();
|
|
|
|
|
|
|
|
#ifdef KDE4_MENU_SUFFIX
|
|
|
|
if (kde4application) {
|
|
|
|
if (kde4application) {
|
|
|
|
m_strGenName += " [KDE4]";
|
|
|
|
m_strGenName += " [KDE4]";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
entryMap.remove("GenericName");
|
|
|
|
entryMap.remove("GenericName");
|
|
|
|
TQString untranslatedGenericName = config->readEntryUntranslated( "GenericName" );
|
|
|
|
TQString untranslatedGenericName = config->readEntryUntranslated( "GenericName" );
|
|
|
|
if (!untranslatedGenericName.isEmpty())
|
|
|
|
if (!untranslatedGenericName.isEmpty())
|
|
|
@ -496,12 +498,12 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
void reparseConfiguration() { }
|
|
|
|
void reparseConfiguration() { }
|
|
|
|
|
|
|
|
|
|
|
|
KEntryMap internalEntryMap( const TQString &pGroup) const
|
|
|
|
KEntryMap internalEntryMap( const TQString &pGroup) const
|
|
|
|
{ Q_UNUSED(pGroup); return KEntryMap(); }
|
|
|
|
{ Q_UNUSED(pGroup); return KEntryMap(); }
|
|
|
|
|
|
|
|
|
|
|
|
KEntryMap internalEntryMap() const { return KEntryMap(); }
|
|
|
|
KEntryMap internalEntryMap() const { return KEntryMap(); }
|
|
|
|
|
|
|
|
|
|
|
|
void putData(const KEntryKey &_key, const KEntry& _data, bool _checkGroup)
|
|
|
|
void putData(const KEntryKey &_key, const KEntry& _data, bool _checkGroup)
|
|
|
|
{ Q_UNUSED(_key); Q_UNUSED(_data); Q_UNUSED(_checkGroup); }
|
|
|
|
{ Q_UNUSED(_key); Q_UNUSED(_data); Q_UNUSED(_checkGroup); }
|
|
|
|
|
|
|
|
|
|
|
|
KEntry lookupData(const KEntryKey &_key) const
|
|
|
|
KEntry lookupData(const KEntryKey &_key) const
|
|
|
@ -771,10 +773,10 @@ bool KService::noDisplay() const {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!kapp->authorizeControlModule(d->menuId))
|
|
|
|
if (!kapp->authorizeControlModule(d->menuId))
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|