/**
  * Constructor
  *
  * @param QDialogBox $objControl
  *
  * @throws QCallerException
  */
 public function __construct($objControl)
 {
     if (!$objControl instanceof QDialogBox) {
         throw new QCallerException('First parameter of constructor is expecting an object of type QDialogBox');
     }
     $this->strJavaScript = $objControl->GetHideDialogJavaScript();
 }