# kio Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# kbetterthankdialogbase.ui.h

    00001 /****************************************************************************
    00002 ** ui.h extension file, included from the uic-generated form implementation.
    00003 **
    00004 ** If you want to add, delete, or rename functions or slots, use
    00005 ** Qt Designer to update this file, preserving your code.
    00006 **
    00007 ** You should not define a constructor or destructor in this file.
    00008 ** Instead, write your code in functions called init() and destroy().
    00009 ** These will automatically be called by the form's constructor and
    00010 ** destructor.
    00011 *****************************************************************************/
    00012
    00013
    00014 void KBetterThanKDialogBase::clicked()
    00015 {
    00016     if (sender() == _allowOnce) {
    00017     done(0);
    00018     } else if (sender() == _allowAlways) {
    00019     done(1);
    00020     } else if (sender() == _deny) {
    00021     done(2);
    00022     } else if (sender() == _denyForever) {
    00023     done(3);
    00024     }
    00025 }
    00026
    00027
    00028 void KBetterThanKDialogBase::setLabel( const QString & label )
    00029 {
    00030     _label->setText(label);
    00031 }
    00032
    00033
    00034 void KBetterThanKDialogBase::init()
    00035 {
    00036     _allowOnce->setFocus();
    00037 }
    00038
    00039
    00040 void KBetterThanKDialogBase::accept()
    00041 {
    00042     setResult(0);
    00043 }
    00044
    00045
    00046 void KBetterThanKDialogBase::reject()
    00047 {
    00048     QDialog::reject();
    00049     setResult(2);
    00050 }

This file is part of the documentation for kio Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:23:55 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003