diff options
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqwhatsthis.cpp')
-rw-r--r-- | tqtinterface/qt4/src/widgets/tqwhatsthis.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqwhatsthis.cpp b/tqtinterface/qt4/src/widgets/tqwhatsthis.cpp index 3ada619..a3275b2 100644 --- a/tqtinterface/qt4/src/widgets/tqwhatsthis.cpp +++ b/tqtinterface/qt4/src/widgets/tqwhatsthis.cpp @@ -135,7 +135,7 @@ class TQWhatsThisButton: public TQToolButton TQ_OBJECT public: - TQWhatsThisButton( TQWidget * tqparent, const char * name ); + TQWhatsThisButton( TQWidget * parent, const char * name ); ~TQWhatsThisButton(); public Q_SLOTS: @@ -149,7 +149,7 @@ class TQWhatsThat : public TQWidget Q_OBJECT TQ_OBJECT public: - TQWhatsThat( TQWidget* w, const TQString& txt, TQWidget* tqparent, const char* name ); + TQWhatsThat( TQWidget* w, const TQString& txt, TQWidget* parent, const char* name ); ~TQWhatsThat() ; public Q_SLOTS: @@ -243,8 +243,8 @@ void qWhatsThisBDH() } -TQWhatsThat::TQWhatsThat( TQWidget* w, const TQString& txt, TQWidget* tqparent, const char* name ) - : TQWidget( tqparent, name, WType_Popup ), text( txt ), pressed( FALSE ), widget( w ) +TQWhatsThat::TQWhatsThat( TQWidget* w, const TQString& txt, TQWidget* parent, const char* name ) + : TQWidget( parent, name, WType_Popup ), text( txt ), pressed( FALSE ), widget( w ) { setBackgroundMode( TQt::NoBackground ); @@ -448,8 +448,8 @@ static const char * const button_image[] = { " ooo "}; // the button class -TQWhatsThisButton::TQWhatsThisButton( TQWidget * tqparent, const char * name ) - : TQToolButton( tqparent, name ) +TQWhatsThisButton::TQWhatsThisButton( TQWidget * parent, const char * name ) + : TQToolButton( parent, name ) { TQPixmap p( (const char**)button_image ); setPixmap( p ); @@ -808,7 +808,7 @@ void TQWhatsThis::remove( TQWidget * widget ) the mouse position; this is useful, for example, if you've subclassed to make the text that is displayed position dependent. - If \a includeParents is TRUE, tqparent widgets are taken into + If \a includeParents is TRUE, parent widgets are taken into consideration as well when looking for what's this help text. \sa add() @@ -838,15 +838,15 @@ TQString TQWhatsThis::textFor( TQWidget * w, const TQPoint& pos, bool includePar /*! Creates a TQToolButton preconfigured to enter "What's this?" mode when clicked. You will often use this with a tool bar as \a - tqparent: + parent: \code (void) TQWhatsThis::whatsThisButton( my_help_tool_bar ); \endcode */ -TQToolButton * TQWhatsThis::whatsThisButton( TQWidget * tqparent ) +TQToolButton * TQWhatsThis::whatsThisButton( TQWidget * parent ) { TQWhatsThisPrivate::setUpWhatsThis(); - return new TQWhatsThisButton( tqparent, + return new TQWhatsThisButton( parent, "automatic what's this? button" ); } |