diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 17:55:22 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 17:55:22 -0600 |
commit | ef5a04df564ad5c27406c41fb55e32ad3aa39d25 (patch) | |
tree | bf521221fffb7a73f318fc5579da7c25fed9ff74 /qtjava/javalib/examples/widgets/WidgetView.java | |
parent | 6d5f6f30f0236920737b74261e664fdaab90c33c (diff) | |
download | tdebindings-ef5a04df564ad5c27406c41fb55e32ad3aa39d25.tar.gz tdebindings-ef5a04df564ad5c27406c41fb55e32ad3aa39d25.zip |
Rename tqt3 color functions
Diffstat (limited to 'qtjava/javalib/examples/widgets/WidgetView.java')
-rw-r--r-- | qtjava/javalib/examples/widgets/WidgetView.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qtjava/javalib/examples/widgets/WidgetView.java b/qtjava/javalib/examples/widgets/WidgetView.java index 2907f49c..77382908 100644 --- a/qtjava/javalib/examples/widgets/WidgetView.java +++ b/qtjava/javalib/examples/widgets/WidgetView.java @@ -243,7 +243,7 @@ WidgetView( TQWidget parent, String name ) + "about widgets on the screen."); // Install an application-global event filter to catch control+leftbutton - qApp().installEventFilter( this ); + tqApp().installEventFilter( this ); //make a central widget to contain the other widgets central = new TQWidget( this ); @@ -268,7 +268,7 @@ WidgetView( TQWidget parent, String name ) id = popup.insertItem( new TQIconSet(openIcon), "&Open", this, SLOT(" open()") ); popup.insertSeparator(); - popup.insertItem( "&Quit", qApp(), SLOT("quit()"), new TQKeySequence(CTRL+Key_Q) ); + popup.insertItem( "&Quit", tqApp(), SLOT("quit()"), new TQKeySequence(CTRL+Key_Q) ); textStylePopup = popup = new TQPopupMenu( this ); @@ -813,13 +813,13 @@ void mySelectionChanged( TQListViewItem item ) void showProperties() { - if ( qApp().focusWidget() == null ) + if ( tqApp().focusWidget() == null ) return; - String output = "Properties for class '" + qApp().focusWidget().className() + "'"; + String output = "Properties for class '" + tqApp().focusWidget().className() + "'"; int i = 0; - while( i < (int) qApp().focusWidget().metaObject().numProperties( true ) ) { + while( i < (int) tqApp().focusWidget().metaObject().numProperties( true ) ) { TQMetaProperty p - = qApp().focusWidget().metaObject().property( i, true ); + = tqApp().focusWidget().metaObject().property( i, true ); String tmp = "\n " + (++i) + ": " + p.name() + " (read-" + (p.writable() ? "write" : "only") + ", " + p.type() + ")"; output += tmp; |