kiten/lib
Using libkiten
Overview | Components | Using libkiten | Adding New Dictionary TypesGeneral Approach to using the classes in the library:
Create a DictionaryManager object, load dictionaries to it using member functions. (persistant) Create a DictQuery object, load it with your query EntryList *results = DictionaryManagerObject->doSearch(DictQueryObject); Do something with each Entry in the EntryList, or do something with the whole list
For your preferences dialog: Get a list of DictionaryPreferenceDialog objects from DictionaryManager to put into your preferences dialog.
If you maintain a history: You can use HistoryPtrList to store and manage lists of EntryList's.
KDE 4.2 API Reference