diff options
author | Timothy Pearson <[email protected]> | 2012-02-27 02:13:42 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-27 02:13:42 -0600 |
commit | 520c05ef06ce203ad32470730f68402bc7719157 (patch) | |
tree | 8d0bb18bbbecb4c837e232848905e5819db84b81 /examples/widgets/widgets.cpp | |
parent | b82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff) | |
download | tqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip |
Automated update from qt3
Diffstat (limited to 'examples/widgets/widgets.cpp')
-rw-r--r-- | examples/widgets/widgets.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/widgets/widgets.cpp b/examples/widgets/widgets.cpp index 2f6ec11e3..8a1f5d69c 100644 --- a/examples/widgets/widgets.cpp +++ b/examples/widgets/widgets.cpp @@ -156,7 +156,7 @@ WidgetView::WidgetView( TQWidget *parent, const char *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 ); @@ -181,7 +181,7 @@ WidgetView::WidgetView( TQWidget *parent, const char *name ) id = popup->insertItem( openIcon, "&Open...", this, SLOT( open() ) ); popup->insertSeparator(); - popup->insertItem( "Quit", qApp, SLOT(quit()), CTRL+Key_Q ); + popup->insertItem( "Quit", tqApp, SLOT(quit()), CTRL+Key_Q ); textStylePopup = popup = new TQPopupMenu( this ); menuBar()->insertItem( "&Edit", popup ); @@ -733,15 +733,15 @@ void WidgetView::mySelectionChanged( TQListViewItem* /*item*/ ) void WidgetView::showProperties() { - if ( !qApp->focusWidget() ) + if ( !tqApp->focusWidget() ) return; TQCString output; output.sprintf( "Properties for class '%s'", - qApp->focusWidget()->className() ); + tqApp->focusWidget()->className() ); int i = 0; - while( i < (int) qApp->focusWidget()->metaObject()->numProperties( TRUE ) ) { + while( i < (int) tqApp->focusWidget()->metaObject()->numProperties( TRUE ) ) { const TQMetaProperty* p - = qApp->focusWidget()->metaObject()->property( i, TRUE ); + = tqApp->focusWidget()->metaObject()->property( i, TRUE ); TQCString tmp; tmp.sprintf( "\n %2d: %s (read-%s, %s)", ++i, p->name(), p->writable() ? "write" : "only", p->type() ); |