diff options
Diffstat (limited to 'kdejava/koala/examples/simplemail/SimpleMailFrm.java')
-rw-r--r-- | kdejava/koala/examples/simplemail/SimpleMailFrm.java | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kdejava/koala/examples/simplemail/SimpleMailFrm.java b/kdejava/koala/examples/simplemail/SimpleMailFrm.java index 957ad385..ce463a80 100644 --- a/kdejava/koala/examples/simplemail/SimpleMailFrm.java +++ b/kdejava/koala/examples/simplemail/SimpleMailFrm.java @@ -19,26 +19,26 @@ import java.util.LinkedList; class SimpleMailFrm extends KMainWindow { - QGroupBox groupBox1; + TQGroupBox groupBox1; KLineEdit txtServer; KLineEdit txtUserName; KPasswordEdit txtPassword; - QLabel textLabel1; - QLabel textLabel2; - QLabel textLabel3; + TQLabel textLabel1; + TQLabel textLabel2; + TQLabel textLabel3; KLineEdit txtFrom; KLineEdit txtTo; KLineEdit txtBCC; - QLabel textLabel4; - QLabel textLabel6; - QLabel textLabel5; + TQLabel textLabel4; + TQLabel textLabel6; + TQLabel textLabel5; KPushButton btSend; KPushButton btCancel; - QMultiLineEdit txtMessage; + TQMultiLineEdit txtMessage; - QGridLayout form1Layout; - QGridLayout groupBox1Layout; + TQGridLayout form1Layout; + TQGridLayout groupBox1Layout; KApplication parentApp = null; @@ -52,16 +52,16 @@ class SimpleMailFrm extends KMainWindow { resize( 582, 486 ); setCaption( trUtf8( "Simple Mailer" ) ); - QGroupBox centralBox = new QGroupBox((QWidget) this,""); + TQGroupBox centralBox = new TQGroupBox((TQWidget) this,""); - form1Layout = new QGridLayout(centralBox, 1, 1, 11, 6, "form1Layout"); + form1Layout = new TQGridLayout(centralBox, 1, 1, 11, 6, "form1Layout"); - groupBox1 = new QGroupBox( centralBox, "groupBox1" ); + groupBox1 = new TQGroupBox( centralBox, "groupBox1" ); groupBox1.setTitle( trUtf8( "Mailserver data" ) ); groupBox1.setColumnLayout(0, Qt.Vertical ); groupBox1.layout().setSpacing( 6 ); groupBox1.layout().setMargin( 11 ); - groupBox1Layout = new QGridLayout( groupBox1.layout() ); + groupBox1Layout = new TQGridLayout( groupBox1.layout() ); groupBox1Layout.setAlignment( Qt.AlignTop ); txtServer = new KLineEdit( groupBox1, "txtServer" ); @@ -76,17 +76,17 @@ class SimpleMailFrm extends KMainWindow { groupBox1Layout.addWidget( txtPassword, 2, 1 ); - textLabel1 = new QLabel( groupBox1, "textLabel1" ); + textLabel1 = new TQLabel( groupBox1, "textLabel1" ); textLabel1.setText( trUtf8( "Server" ) ); groupBox1Layout.addWidget( textLabel1, 0, 0 ); - textLabel2 = new QLabel( groupBox1, "textLabel2" ); + textLabel2 = new TQLabel( groupBox1, "textLabel2" ); textLabel2.setText( trUtf8( "Username" ) ); groupBox1Layout.addWidget( textLabel2, 1, 0 ); - textLabel3 = new QLabel( groupBox1, "textLabel3" ); + textLabel3 = new TQLabel( groupBox1, "textLabel3" ); textLabel3.setText( trUtf8( "Password" ) ); groupBox1Layout.addWidget( textLabel3, 2, 0 ); @@ -103,17 +103,17 @@ class SimpleMailFrm extends KMainWindow { groupBox1Layout.addWidget( txtBCC, 2, 3 ); - textLabel4 = new QLabel( groupBox1, "textLabel4" ); + textLabel4 = new TQLabel( groupBox1, "textLabel4" ); textLabel4.setText( trUtf8( "From" ) ); groupBox1Layout.addWidget( textLabel4, 0, 2 ); - textLabel6 = new QLabel( groupBox1, "textLabel6" ); + textLabel6 = new TQLabel( groupBox1, "textLabel6" ); textLabel6.setText( trUtf8( "BCC" ) ); groupBox1Layout.addWidget( textLabel6, 2, 2 ); - textLabel5 = new QLabel( groupBox1, "textLabel5" ); + textLabel5 = new TQLabel( groupBox1, "textLabel5" ); textLabel5.setText( trUtf8( "To" ) ); groupBox1Layout.addWidget( textLabel5, 1, 2 ); @@ -130,7 +130,7 @@ class SimpleMailFrm extends KMainWindow { form1Layout.addWidget( btCancel, 2, 1 ); - txtMessage = new QMultiLineEdit(centralBox, "txtMessage" ); + txtMessage = new TQMultiLineEdit(centralBox, "txtMessage" ); form1Layout.addMultiCellWidget( txtMessage, 1, 1, 0, 1 ); |