OSDN Git Service

'sage' button fix
[kita/kita.git] / src / kitawritedialogbase.ui.h
diff --git a/src/kitawritedialogbase.ui.h b/src/kitawritedialogbase.ui.h
new file mode 100644 (file)
index 0000000..338ba19
--- /dev/null
@@ -0,0 +1,21 @@
+/****************************************************************************
+** 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 KitaWriteDialogBase::sageBoxToggled( bool on )
+{
+    if ( on ) {
+       m_mailswap = mailLine->text();
+       mailLine->setText("sage");
+       mailLine->setReadOnly(true);
+    } else {
+       mailLine->setReadOnly(false);
+       mailLine->setText(m_mailswap);
+    }
+}