I'm the author of a KDE program, how can I use this widget in my application?

See The documentation for the class KRegExpEditorInterface.