summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/examples/kscribble/KPenBrushDlg.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/examples/kscribble/KPenBrushDlg.java')
-rw-r--r--kdejava/koala/examples/kscribble/KPenBrushDlg.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/kdejava/koala/examples/kscribble/KPenBrushDlg.java b/kdejava/koala/examples/kscribble/KPenBrushDlg.java
index aabb0d3e..4da95f40 100644
--- a/kdejava/koala/examples/kscribble/KPenBrushDlg.java
+++ b/kdejava/koala/examples/kscribble/KPenBrushDlg.java
@@ -17,18 +17,18 @@ import org.kde.koala.*;
* @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team.
* @version KDevelop version 1.2 code generation
*/
-public class KPenBrushDlg extends QDialog {
+public class KPenBrushDlg extends TQDialog {
- private QSpinBox width_spbox;
- private QLabel width_label;
- private QPushButton default_btn;
- private QPushButton ok_btn;
- private QPushButton cancel_btn;
+ private TQSpinBox width_spbox;
+ private TQLabel width_label;
+ private TQPushButton default_btn;
+ private TQPushButton ok_btn;
+ private TQPushButton cancel_btn;
- public KPenBrushDlg(int curr, QWidget parent, String name) {
+ public KPenBrushDlg(int curr, TQWidget parent, String name) {
super (parent,name,true,WStyle_ContextHelp);
initDialog();
- QWhatsThis.add(width_spbox,i18n("Select brush width"));
+ TQWhatsThis.add(width_spbox,i18n("Select brush width"));
width_spbox.setValue(curr);
connect(default_btn, SIGNAL("clicked()"), this, SLOT("slotDefault()"));
@@ -45,30 +45,30 @@ public class KPenBrushDlg extends QDialog {
void initDialog(){
this.resize(370,210);
this.setMinimumSize(0,0);
- width_spbox= new QSpinBox(this,"width_spbox");
+ width_spbox= new TQSpinBox(this,"width_spbox");
width_spbox.setGeometry(150,50,100,25);
width_spbox.setMinimumSize(0,0);
width_spbox.setValue(1);
width_spbox.setRange(1,99);
- width_label= new QLabel(this,"width_label");
+ width_label= new TQLabel(this,"width_label");
width_label.setGeometry(20,50,120,25);
width_label.setMinimumSize(0,0);
width_label.setText(i18n("Pen width:"));
- default_btn= new QPushButton(this,"default");
+ default_btn= new TQPushButton(this,"default");
default_btn.setGeometry(30,160,100,30);
default_btn.setMinimumSize(0,0);
default_btn.setText(i18n("&Default"));
default_btn.setAutoDefault(true);
- ok_btn= new QPushButton(this,"ok");
+ ok_btn= new TQPushButton(this,"ok");
ok_btn.setGeometry(140,160,100,30);
ok_btn.setMinimumSize(0,0);
ok_btn.setText(i18n("&OK"));
ok_btn.setAutoDefault(true);
- cancel_btn= new QPushButton(this,"cancel");
+ cancel_btn= new TQPushButton(this,"cancel");
cancel_btn.setGeometry(250,160,100,30);
cancel_btn.setMinimumSize(0,0);
cancel_btn.setText(i18n("&Cancel"));