summaryrefslogtreecommitdiffstats
path: root/kedit/misc.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'kedit/misc.ui.h')
-rw-r--r--kedit/misc.ui.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kedit/misc.ui.h b/kedit/misc.ui.h
new file mode 100644
index 0000000..339c944
--- /dev/null
+++ b/kedit/misc.ui.h
@@ -0,0 +1,14 @@
+/****************************************************************************
+** 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.
+*****************************************************************************/
+void Misc::settingsWrapMode( int mode )
+{
+ bool state = ((mode == 2) ? true : false);
+ kcfg_WrapColumn->setEnabled( state );
+ wrapLabel->setEnabled( state );
+}