diff options
Diffstat (limited to 'kaudiocreator/general.ui.h')
-rw-r--r-- | kaudiocreator/general.ui.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kaudiocreator/general.ui.h b/kaudiocreator/general.ui.h new file mode 100644 index 00000000..c54af842 --- /dev/null +++ b/kaudiocreator/general.ui.h @@ -0,0 +1,19 @@ +/**************************************************************************** +** ui.h extension file, included from the uic-generated form implementation. +** +** If you wish to add, delete or rename functions or slots use +** Qt Designer which will update this file, preserving your code. Create an +** init() function in place of a constructor, and a destroy() function in +** place of a destructor. +*****************************************************************************/ + +#include <qregexp.h> +#include <qlineedit.h> +#include <qlabel.h> + +void General::updateExample() +{ + QString text = example->text(); + text.replace( QRegExp(kcfg_replaceInput->text()), kcfg_replaceOutput->text() ); + exampleOutput->setText(text); +} |