diff options
Diffstat (limited to 'qtjava/javalib/test/FilePropsPageBase.java')
-rw-r--r-- | qtjava/javalib/test/FilePropsPageBase.java | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/qtjava/javalib/test/FilePropsPageBase.java b/qtjava/javalib/test/FilePropsPageBase.java index 4fd11d27..ba0a8f9e 100644 --- a/qtjava/javalib/test/FilePropsPageBase.java +++ b/qtjava/javalib/test/FilePropsPageBase.java @@ -9,113 +9,113 @@ import org.kde.qt.*; -public class FilePropsPageBase extends QWidget { - QGroupBox GroupBox7; - QLabel TextLabel1_2; - QLineEdit classname_edit; - QLabel TextLabel2_2; - QLineEdit baseclass_edit; - QLineEdit headerfile_edit; - QLabel implfile_label; - QLabel headerfile_label; - QLineEdit implfile_edit; - QLabel TextLabel5; - QLabel TextLabel6; - QListBox classes_listbox; - QMultiLineEdit desc_textview; - - QGridLayout grid; - QGridLayout grid_2; +public class FilePropsPageBase extends TQWidget { + TQGroupBox GroupBox7; + TQLabel TextLabel1_2; + TQLineEdit classname_edit; + TQLabel TextLabel2_2; + TQLineEdit baseclass_edit; + TQLineEdit headerfile_edit; + TQLabel implfile_label; + TQLabel headerfile_label; + TQLineEdit implfile_edit; + TQLabel TextLabel5; + TQLabel TextLabel6; + TQListBox classes_listbox; + TQMultiLineEdit desc_textview; + + TQGridLayout grid; + TQGridLayout grid_2; /* * Constructs a FilePropsPageBase which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -public FilePropsPageBase( QWidget parent, String name, int fl ) +public FilePropsPageBase( TQWidget parent, String name, int fl ) { super( parent, name, fl ); if ( name == null ) setName( "Form1" ); resize( 414, 366 ); setCaption( tr( "Form1" ) ); - grid = new QGridLayout( this ); + grid = new TQGridLayout( this ); grid.setSpacing( 6 ); grid.setMargin( 11 ); - GroupBox7 = new QGroupBox( this, "GroupBox7" ); + GroupBox7 = new TQGroupBox( this, "GroupBox7" ); GroupBox7.setTitle( tr( "Customize" ) ); GroupBox7.setColumnLayout(0, Qt.Vertical ); GroupBox7.layout().setSpacing( 0 ); GroupBox7.layout().setMargin( 0 ); - grid_2 = new QGridLayout( GroupBox7.layout() ); + grid_2 = new TQGridLayout( GroupBox7.layout() ); grid_2.setAlignment( Qt.AlignTop ); grid_2.setSpacing( 6 ); grid_2.setMargin( 11 ); - TextLabel1_2 = new QLabel( GroupBox7, "TextLabel1_2" ); + TextLabel1_2 = new TQLabel( GroupBox7, "TextLabel1_2" ); TextLabel1_2.setText( tr( "Class name:" ) ); grid_2.addWidget( TextLabel1_2, 0, 0 ); - classname_edit = new QLineEdit( GroupBox7, "classname_edit" ); + classname_edit = new TQLineEdit( GroupBox7, "classname_edit" ); grid_2.addWidget( classname_edit, 1, 0 ); - TextLabel2_2 = new QLabel( GroupBox7, "TextLabel2_2" ); + TextLabel2_2 = new TQLabel( GroupBox7, "TextLabel2_2" ); TextLabel2_2.setText( tr( "Base class:" ) ); grid_2.addWidget( TextLabel2_2, 2, 0 ); - baseclass_edit = new QLineEdit( GroupBox7, "baseclass_edit" ); + baseclass_edit = new TQLineEdit( GroupBox7, "baseclass_edit" ); grid_2.addWidget( baseclass_edit, 3, 0 ); - headerfile_edit = new QLineEdit( GroupBox7, "headerfile_edit" ); + headerfile_edit = new TQLineEdit( GroupBox7, "headerfile_edit" ); grid_2.addWidget( headerfile_edit, 1, 1 ); - implfile_label = new QLabel( GroupBox7, "implfile_label" ); + implfile_label = new TQLabel( GroupBox7, "implfile_label" ); implfile_label.setText( tr( "Implementation file:" ) ); grid_2.addWidget( implfile_label, 2, 1 ); - headerfile_label = new QLabel( GroupBox7, "headerfile_label" ); + headerfile_label = new TQLabel( GroupBox7, "headerfile_label" ); headerfile_label.setText( tr( "Header file:" ) ); grid_2.addWidget( headerfile_label, 0, 1 ); - implfile_edit = new QLineEdit( GroupBox7, "implfile_edit" ); + implfile_edit = new TQLineEdit( GroupBox7, "implfile_edit" ); grid_2.addWidget( implfile_edit, 3, 1 ); grid.addMultiCellWidget( GroupBox7, 2, 2, 0, 1 ); - TextLabel5 = new QLabel( this, "TextLabel5" ); + TextLabel5 = new TQLabel( this, "TextLabel5" ); TextLabel5.setText( tr( "Classes:" ) ); grid.addWidget( TextLabel5, 0, 0 ); - TextLabel6 = new QLabel( this, "TextLabel6" ); + TextLabel6 = new TQLabel( this, "TextLabel6" ); TextLabel6.setText( tr( "Description:" ) ); grid.addWidget( TextLabel6, 0, 1 ); - classes_listbox = new QListBox( this, "classes_listbox" ); + classes_listbox = new TQListBox( this, "classes_listbox" ); grid.addWidget( classes_listbox, 1, 0 ); - desc_textview = new QMultiLineEdit( this, "desc_textview" ); + desc_textview = new TQMultiLineEdit( this, "desc_textview" ); desc_textview.setEnabled( true ); desc_textview.setText( tr( "" ) ); - desc_textview.setWordWrap( QMultiLineEdit.WidgetWidth ); + desc_textview.setWordWrap( TQMultiLineEdit.WidgetWidth ); desc_textview.setReadOnly( true ); grid.addWidget( desc_textview, 1, 1 ); // signals and slots connections connect( classname_edit, SIGNAL( "textChanged(String)" ), this, SLOT( "slotClassnameChanged(String)" ) ); - connect( classes_listbox, SIGNAL( "mouseButtonClicked(int,QListBoxItem,QPoint)" ), this, SLOT( "slotSelectionChanged()" ) ); + connect( classes_listbox, SIGNAL( "mouseButtonClicked(int,TQListBoxItem,TQPoint)" ), this, SLOT( "slotSelectionChanged()" ) ); // tab order setTabOrder( classes_listbox, classname_edit ); |