t, SLOT( save() ) );
   connect( dialog, SIGNAL( okClicked() ), widget, SLOT( save() ) );
   connect( widget, SIGNAL( changed( bool ) ), dialog, SLOT( enableButtonApply( bool ) ) );

   dialog-&gt;enableButtonApply( false );
   dialog-&gt;show();
</pre>
</p>
<p>
<div align="center"><img src="../images/kdialog.png" /><p><strong> "KDE Dialog example" </strong></p></div>
</p>
<p>
This class can be used in many ways. Note that most KDE ui widgets
and many of KDE core applications use the KDialog so for more
ins