diff options
Diffstat (limited to 'qtjava/javalib/test/AppWizardBase.java')
-rw-r--r-- | qtjava/javalib/test/AppWizardBase.java | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/qtjava/javalib/test/AppWizardBase.java b/qtjava/javalib/test/AppWizardBase.java index 48ae0dd3..9cdb47cb 100644 --- a/qtjava/javalib/test/AppWizardBase.java +++ b/qtjava/javalib/test/AppWizardBase.java @@ -8,32 +8,32 @@ ****************************************************************************/ import org.kde.qt.*; -public class AppWizardBase extends QWizard { - QGroupBox GroupBox8; - QCheckBox lsm_checkbox; - QLabel TextLabel7; - QComboBox license_combobox; - QLabel TextLabel2; - QLineEdit version_edit; - QLabel TextLabel5; - QMultiLineEdit desc_multiedit; - QGroupBox General; - QLabel TextLabel4; - QLabel TextLabel6; - QLabel TextLabel3; - QLineEdit company_edit; - QLineEdit email_edit; - QLineEdit author_edit; - QLabel TextLabel1; - QPushButton loadheader_button; - QPushButton newheader_button; - QMultiLineEdit header_multiedit; - - QGridLayout grid; - QGridLayout GroupBox8Layout; - QGridLayout GeneralLayout; - QGridLayout grid_2; - QHBoxLayout Layout5; +public class AppWizardBase extends TQWizard { + TQGroupBox GroupBox8; + TQCheckBox lsm_checkbox; + TQLabel TextLabel7; + TQComboBox license_combobox; + TQLabel TextLabel2; + TQLineEdit version_edit; + TQLabel TextLabel5; + TQMultiLineEdit desc_multiedit; + TQGroupBox General; + TQLabel TextLabel4; + TQLabel TextLabel6; + TQLabel TextLabel3; + TQLineEdit company_edit; + TQLineEdit email_edit; + TQLineEdit author_edit; + TQLabel TextLabel1; + TQPushButton loadheader_button; + TQPushButton newheader_button; + TQMultiLineEdit header_multiedit; + + TQGridLayout grid; + TQGridLayout GroupBox8Layout; + TQGridLayout GeneralLayout; + TQGridLayout grid_2; + TQHBoxLayout Layout5; /* @@ -43,139 +43,139 @@ public class AppWizardBase extends QWizard { * The wizard will by default be modeless, unless you set 'modal' to * true to construct a modal wizard. */ -AppWizardBase( QWidget parent, String name, boolean modal, int fl ) +AppWizardBase( TQWidget parent, String name, boolean modal, int fl ) { super( parent, name, modal, fl ); if ( name == null ) setName( "AppWizardBase" ); resize( 414, 437 ); setCaption( tr( "Application Wizard" ) ); - QToolTip.add( this, tr( "" ) ); + TQToolTip.add( this, tr( "" ) ); - QWidget privateWidget = new QWidget( this, "privateWidget" ); - grid = new QGridLayout( privateWidget ); + TQWidget privateWidget = new TQWidget( this, "privateWidget" ); + grid = new TQGridLayout( privateWidget ); grid.setSpacing( 6 ); grid.setMargin( 11 ); - GroupBox8 = new QGroupBox( privateWidget, "GroupBox8" ); + GroupBox8 = new TQGroupBox( privateWidget, "GroupBox8" ); GroupBox8.setTitle( tr( "Project" ) ); GroupBox8.setColumnLayout(0, Qt.Vertical ); GroupBox8.layout().setSpacing( 0 ); GroupBox8.layout().setMargin( 0 ); - GroupBox8Layout = new QGridLayout( GroupBox8.layout() ); + GroupBox8Layout = new TQGridLayout( GroupBox8.layout() ); GroupBox8Layout.setAlignment( Qt.AlignTop ); GroupBox8Layout.setSpacing( 6 ); GroupBox8Layout.setMargin( 11 ); - lsm_checkbox = new QCheckBox( GroupBox8, "lsm_checkbox" ); + lsm_checkbox = new TQCheckBox( GroupBox8, "lsm_checkbox" ); lsm_checkbox.setText( tr( "generate lsm-File - (Linux Software Map)" ) ); GroupBox8Layout.addMultiCellWidget( lsm_checkbox, 1, 1, 0, 3 ); - TextLabel7 = new QLabel( GroupBox8, "TextLabel7" ); + TextLabel7 = new TQLabel( GroupBox8, "TextLabel7" ); TextLabel7.setText( tr( "License:" ) ); GroupBox8Layout.addWidget( TextLabel7, 0, 0 ); - license_combobox = new QComboBox( false, GroupBox8, "license_combobox" ); + license_combobox = new TQComboBox( false, GroupBox8, "license_combobox" ); license_combobox.insertItem( tr( "GPL" ) ); license_combobox.insertItem( tr( "LGPL" ) ); license_combobox.insertItem( tr( "BSD" ) ); license_combobox.insertItem( tr( "Artistic" ) ); - license_combobox.insertItem( tr( "QPL" ) ); + license_combobox.insertItem( tr( "TQPL" ) ); license_combobox.insertItem( tr( "Custom" ) ); GroupBox8Layout.addWidget( license_combobox, 0, 1 ); - TextLabel2 = new QLabel( GroupBox8, "TextLabel2" ); + TextLabel2 = new TQLabel( GroupBox8, "TextLabel2" ); TextLabel2.setText( tr( "Version:" ) ); GroupBox8Layout.addWidget( TextLabel2, 0, 2 ); - version_edit = new QLineEdit( GroupBox8, "version_edit" ); + version_edit = new TQLineEdit( GroupBox8, "version_edit" ); version_edit.setText( tr( "0.1" ) ); GroupBox8Layout.addWidget( version_edit, 0, 3 ); - TextLabel5 = new QLabel( GroupBox8, "TextLabel5" ); + TextLabel5 = new TQLabel( GroupBox8, "TextLabel5" ); TextLabel5.setText( tr( "Description:" ) ); GroupBox8Layout.addMultiCellWidget( TextLabel5, 2, 2, 0, 1 ); - desc_multiedit = new QMultiLineEdit( GroupBox8, "desc_multiedit" ); + desc_multiedit = new TQMultiLineEdit( GroupBox8, "desc_multiedit" ); GroupBox8Layout.addMultiCellWidget( desc_multiedit, 3, 3, 0, 3 ); grid.addWidget( GroupBox8, 1, 0 ); - General = new QGroupBox( privateWidget, "General" ); + General = new TQGroupBox( privateWidget, "General" ); General.setTitle( tr( "General" ) ); General.setColumnLayout(0, Qt.Vertical ); General.layout().setSpacing( 0 ); General.layout().setMargin( 0 ); - GeneralLayout = new QGridLayout( General.layout() ); + GeneralLayout = new TQGridLayout( General.layout() ); GeneralLayout.setAlignment( Qt.AlignTop ); GeneralLayout.setSpacing( 6 ); GeneralLayout.setMargin( 11 ); - TextLabel4 = new QLabel( General, "TextLabel4" ); + TextLabel4 = new TQLabel( General, "TextLabel4" ); TextLabel4.setText( tr( "Company:" ) ); GeneralLayout.addWidget( TextLabel4, 2, 0 ); - TextLabel6 = new QLabel( General, "TextLabel6" ); + TextLabel6 = new TQLabel( General, "TextLabel6" ); TextLabel6.setText( tr( "Email:" ) ); GeneralLayout.addWidget( TextLabel6, 1, 0 ); - TextLabel3 = new QLabel( General, "TextLabel3" ); + TextLabel3 = new TQLabel( General, "TextLabel3" ); TextLabel3.setText( tr( "Author:" ) ); GeneralLayout.addWidget( TextLabel3, 0, 0 ); - company_edit = new QLineEdit( General, "company_edit" ); + company_edit = new TQLineEdit( General, "company_edit" ); GeneralLayout.addWidget( company_edit, 2, 1 ); - email_edit = new QLineEdit( General, "email_edit" ); + email_edit = new TQLineEdit( General, "email_edit" ); GeneralLayout.addWidget( email_edit, 1, 1 ); - author_edit = new QLineEdit( General, "author_edit" ); + author_edit = new TQLineEdit( General, "author_edit" ); GeneralLayout.addWidget( author_edit, 0, 1 ); grid.addWidget( General, 0, 0 ); addPage( privateWidget, tr( "General" ) ); - QWidget privateWidget_2 = new QWidget( this, "privateWidget_2" ); - grid_2 = new QGridLayout( privateWidget_2 ); + TQWidget privateWidget_2 = new TQWidget( this, "privateWidget_2" ); + grid_2 = new TQGridLayout( privateWidget_2 ); grid_2.setSpacing( 6 ); grid_2.setMargin( 11 ); - Layout5 = new QHBoxLayout(); + Layout5 = new TQHBoxLayout(); Layout5.setSpacing( 6 ); Layout5.setMargin( 0 ); - TextLabel1 = new QLabel( privateWidget_2, "TextLabel1" ); + TextLabel1 = new TQLabel( privateWidget_2, "TextLabel1" ); TextLabel1.setText( tr( "headertemplate for your files:" ) ); Layout5.addWidget( TextLabel1 ); - QSpacerItem spacer = new QSpacerItem( 0, 0, QSizePolicy.Expanding, QSizePolicy.Minimum ); + TQSpacerItem spacer = new TQSpacerItem( 0, 0, TQSizePolicy.Expanding, TQSizePolicy.Minimum ); Layout5.addItem( spacer ); - loadheader_button = new QPushButton( privateWidget_2, "loadheader_button" ); + loadheader_button = new TQPushButton( privateWidget_2, "loadheader_button" ); loadheader_button.setText( tr( "Load..." ) ); - QToolTip.add( loadheader_button, tr( "" ) ); + TQToolTip.add( loadheader_button, tr( "" ) ); Layout5.addWidget( loadheader_button ); - newheader_button = new QPushButton( privateWidget_2, "newheader_button" ); + newheader_button = new TQPushButton( privateWidget_2, "newheader_button" ); newheader_button.setText( tr( "New" ) ); - QToolTip.add( newheader_button, tr( "Clears the pre-set headertemplate" ) ); + TQToolTip.add( newheader_button, tr( "Clears the pre-set headertemplate" ) ); Layout5.addWidget( newheader_button ); grid_2.addLayout( Layout5, 0, 0 ); - header_multiedit = new QMultiLineEdit( privateWidget_2, "header_multiedit" ); + header_multiedit = new TQMultiLineEdit( privateWidget_2, "header_multiedit" ); grid_2.addWidget( header_multiedit, 1, 0 ); addPage( privateWidget_2, tr( "Header" ) ); |