summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/test/kcombobox/KComboBoxTest.java
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kdejava/koala/test/kcombobox/KComboBoxTest.java
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kdejava/koala/test/kcombobox/KComboBoxTest.java')
-rw-r--r--kdejava/koala/test/kcombobox/KComboBoxTest.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdejava/koala/test/kcombobox/KComboBoxTest.java b/kdejava/koala/test/kcombobox/KComboBoxTest.java
index c0b8d5fd..0f914a2e 100644
--- a/kdejava/koala/test/kcombobox/KComboBoxTest.java
+++ b/kdejava/koala/test/kcombobox/KComboBoxTest.java
@@ -41,10 +41,10 @@ import java.util.*;
KCmdLineArgs args = KCmdLineArgs.parsedArgs();
// Make a central widget to contain the other widgets
- QWidget w = new QWidget();
+ TQWidget w = new TQWidget();
// Insert the widget container (parent widget) into
// a layout manager (VERTICAL).
- QVBoxLayout vbox = new QVBoxLayout( w, KDialog.marginHint(),
+ TQVBoxLayout vbox = new TQVBoxLayout( w, KDialog.marginHint(),
KDialog.spacingHint() );
// Resize the widget
w.resize( 500, 100 );
@@ -54,11 +54,11 @@ import java.util.*;
// Create and modify read-write widget
KComboBox rwc = new KComboBox( true, w, "rwcombobox" );
- QLabel lblrw = new QLabel( rwc, "&Editable ComboBox", w, "rwcombolabel",0
+ TQLabel lblrw = new TQLabel( rwc, "&Editable ComboBox", w, "rwcombolabel",0
);
rwc.setDuplicatesEnabled( true );
rwc.completionObject().setItems( list );
- rwc.setInsertionPolicy( QComboBox.NoInsertion );
+ rwc.setInsertionPolicy( TQComboBox.NoInsertion );
rwc.insertStringList( list );
rwc.setEditText( "KDE Java Bindings" );
@@ -76,7 +76,7 @@ import java.util.*;
s_pCompletion.setCompletionMode( KGlobalSettings.completionMode() );
konqc.setCompletionObject( s_pCompletion );
- QLabel lblkonq = new QLabel( konqc, "&Konqueror's ComboBox", w );
+ TQLabel lblkonq = new TQLabel( konqc, "&Konqueror's ComboBox", w );
// konqc.insertItem( KIconLoader.SmallIcon("www"),
// "http://www.kde.org" );
konqc.insertItem( app.iconLoader().loadIcon("www",0 ),
@@ -85,15 +85,15 @@ import java.util.*;
// Create a read-only widget
KComboBox soc = new KComboBox( w, "socombobox" );
- QLabel lblso = new QLabel( soc, "&Select-Only ComboBox", w, "socombolabel",0 );
+ TQLabel lblso = new TQLabel( soc, "&Select-Only ComboBox", w, "socombolabel",0 );
soc.setCompletionMode( KGlobalSettings.CompletionAuto );
soc.completionObject().setItems( list );
soc.insertStringList( list );
// Create an exit button
- QPushButton push = new QPushButton( "E&xit", w );
+ TQPushButton push = new TQPushButton( "E&xit", w );
- QObject.connect( push, Qt.SIGNAL("clicked()"), app, Qt.SLOT("closeAllWindows()" ) );
+ TQObject.connect( push, Qt.SIGNAL("clicked()"), app, Qt.SLOT("closeAllWindows()" ) );
// Insert the widgets into the layout manager.
vbox.addWidget( lblrw );