summaryrefslogtreecommitdiffstats
path: root/kio/misc/tdewalletd/kbetterthankdialogbase.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'kio/misc/tdewalletd/kbetterthankdialogbase.ui.h')
-rw-r--r--kio/misc/tdewalletd/kbetterthankdialogbase.ui.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/kio/misc/tdewalletd/kbetterthankdialogbase.ui.h b/kio/misc/tdewalletd/kbetterthankdialogbase.ui.h
new file mode 100644
index 000000000..2b3e16b0d
--- /dev/null
+++ b/kio/misc/tdewalletd/kbetterthankdialogbase.ui.h
@@ -0,0 +1,50 @@
+/****************************************************************************
+** ui.h extension file, included from the uic-generated form implementation.
+**
+** If you want to add, delete, or rename functions or slots, use
+** Qt Designer to update this file, preserving your code.
+**
+** You should not define a constructor or destructor in this file.
+** Instead, write your code in functions called init() and destroy().
+** These will automatically be called by the form's constructor and
+** destructor.
+*****************************************************************************/
+
+
+void KBetterThanKDialogBase::clicked()
+{
+ if (sender() == _allowOnce) {
+ done(0);
+ } else if (sender() == _allowAlways) {
+ done(1);
+ } else if (sender() == _deny) {
+ done(2);
+ } else if (sender() == _denyForever) {
+ done(3);
+ }
+}
+
+
+void KBetterThanKDialogBase::setLabel( const TQString & label )
+{
+ _label->setText(label);
+}
+
+
+void KBetterThanKDialogBase::init()
+{
+ _allowOnce->setFocus();
+}
+
+
+void KBetterThanKDialogBase::accept()
+{
+ setResult(0);
+}
+
+
+void KBetterThanKDialogBase::reject()
+{
+ TQDialog::reject();
+ setResult(2);
+}