/usr/share/monkeystudio/templates/PHP/Qt Form - Single Inheritance/$Class Name$.php is in monkeystudio-common 1.9.0.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <?php
include( 'ui_$Class Name$.php' );
class $Class Name$ extends $Qt Widget Class$
{
public $signals = array( "" );
public $slots = array( "" );
protected $ui;
public function __construct( QWidget $parent = NULL ) {
parent::__construct( $parent );
$ui = new Ui_$Class Name$();
$ui->setupUi( $this );
}
public function __destruct() {
unset( $ui );
parent::__destruct();
}
}
?>
|