Redesign/refactoring of KTrader: - separated KMimeTypeTrader and KTrader (will be renamed to KServiceTypeTrader when I have more time)   their api is different, since ktrader works with 1 servicetype as input (e.g. KMyApp/Plugin),   and KMimeTypeTrader works with mimetype + generic service type (Application, KParts/ReadOnlyPart, etc.) - changed the command-line tool ktradertest accordingly, it now takes -mimetype and/or -servicetype, and -constraint arguments - moved preferredService() to the traders, no more direct use of KServiceTypeProfile - also moved OfferList, to KTrader which is now the weighted one. Most KTrader usage is simply ported to KService::List. - removed unused "preferences" feature (was expressed in the trader query language, and used for custom sorting of services) - moved KServiceOffer into its own header file - moved ParseTreeFoo stuff out of the KIO namespace and into KTraderParse namespace (since this will go into kdecore)
Redesign/refactoring of KTrader:
- separated KMimeTypeTrader and KTrader (will be renamed to KServiceTypeTrader when I have more time)
  their api is different, since ktrader works with 1 servicetype as input (e.g. KMyApp/Plugin),
  and KMimeTypeTrader works with mimetype + generic service type (Application, KParts/ReadOnlyPart, etc.)
- changed the command-line tool ktradertest accordingly, it now takes -mimetype and/or -servicetype, and -constraint arguments
- moved preferredService() to the traders, no more direct use of KServiceTypeProfile
- also moved OfferList, to KTrader which is now the weighted one. Most KTrader usage is simply ported to KService::List.
- removed unused "preferences" feature (was expressed in the trader query language, and used for custom sorting of services)
- moved KServiceOffer into its own header file
- moved ParseTreeFoo stuff out of the KIO namespace and into KTraderParse namespace (since this will go into kdecore)

svn path=/trunk/KDE/kdelibs/interfaces/ktexteditor/; revision=542661

DickJ/kate,hlamer/kate,jfmcarreira/kate,sandsmark/kate,hlamer/kate,hlamer/kate,hlamer/kate,sandsmark/kate,DickJ/kate,cmacq2/kate,jfmcarreira/kate,DickJ/kate,hlamer/kate,sandsmark/kate,hlamer/kate,cmacq2/kate,DickJ/kate,hlamer/kate,hlamer/kate,hlamer/kate,jfmcarreira/kate,sandsmark/kate,hlamer/kate,cmacq2/kate