summaryrefslogtreecommitdiffstats
path: root/tdewallet/kbetterthankdialogbase.ui.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:18:06 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:18:06 -0600
commit79fd2b2bbd9f842ce3c84c67e3314033a9cceea4 (patch)
treed6d2174614dc2384de6f77a930aaf3d06b276fae /tdewallet/kbetterthankdialogbase.ui.h
parentc3e3301aba81e1c1771fa309941888a8b0fb59bc (diff)
downloadtdeutils-79fd2b2bbd9f842ce3c84c67e3314033a9cceea4.tar.gz
tdeutils-79fd2b2bbd9f842ce3c84c67e3314033a9cceea4.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tdewallet/kbetterthankdialogbase.ui.h')
-rw-r--r--tdewallet/kbetterthankdialogbase.ui.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/tdewallet/kbetterthankdialogbase.ui.h b/tdewallet/kbetterthankdialogbase.ui.h
new file mode 100644
index 0000000..e97ffd1
--- /dev/null
+++ b/tdewallet/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
+** TQt 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(3);
+ } else if (sender() == _allowAlways) {
+ done(1);
+ } else if (sender() == _deny) {
+ done(4);
+ } else if (sender() == _denyForever) {
+ done(2);
+ }
+}
+
+
+void KBetterThanKDialogBase::setLabel( const TQString & label )
+{
+ _label->setText(label);
+}
+
+
+void KBetterThanKDialogBase::init()
+{
+ _allowOnce->setFocus();
+}
+
+
+void KBetterThanKDialogBase::accept()
+{
+ setResult(3);
+}
+
+
+void KBetterThanKDialogBase::reject()
+{
+ TQDialog::reject();
+ setResult(4);
+}