diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/tests/test_qframe.js | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'kjsembed/tests/test_qframe.js')
-rw-r--r-- | kjsembed/tests/test_qframe.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kjsembed/tests/test_qframe.js b/kjsembed/tests/test_qframe.js index 218b2e7f..cf888b23 100644 --- a/kjsembed/tests/test_qframe.js +++ b/kjsembed/tests/test_qframe.js @@ -1,27 +1,27 @@ #!/usr/bin/env kjscmd var mw = new KMainWindow(this); -var hbox = new QHBox( mw ); +var hbox = new TQHBox( mw ); -var f1 = new QLabel( hbox ); -f1.frameShape = QLabel.Box; -f1.frameShadow = QLabel.Raised; +var f1 = new TQLabel( hbox ); +f1.frameShape = TQLabel.Box; +f1.frameShadow = TQLabel.Raised; f1.lineWidth = 4; f1.margin = 4; f1.midLineWidth = 1; f1.paletteBackgroundColor = "red"; f1.text = "Frame 1"; -var f2 = new QLabel( hbox ); -f2.frameShape = QLabel.WinPanel; -f2.frameShadow = QLabel.Sunken; +var f2 = new TQLabel( hbox ); +f2.frameShape = TQLabel.WinPanel; +f2.frameShadow = TQLabel.Sunken; f2.lineWidth = 4; f2.margin = 4; f2.midLineWidth = 1; f2.paletteBackgroundColor = "white"; f2.text = "Frame 2"; -var f3 = new QLabel( hbox ); -f3.frameShape = QLabel.Box; +var f3 = new TQLabel( hbox ); +f3.frameShape = TQLabel.Box; f3.lineWidth = 4; f3.margin = 4; f3.midLineWidth = 1; |