From 79f7061c5e7cc9c38e2a98dad7c005ce4ff836c8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:04:18 -0600 Subject: Rename obsolete tq methods to standard names (cherry picked from commit de122aa7805984226a4270c63b0f69e7b5022930) --- src/kchmsearchwindow.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/kchmsearchwindow.cpp') diff --git a/src/kchmsearchwindow.cpp b/src/kchmsearchwindow.cpp index c760339..be0122c 100644 --- a/src/kchmsearchwindow.cpp +++ b/src/kchmsearchwindow.cpp @@ -34,21 +34,21 @@ KCHMSearchWindow::KCHMSearchWindow( TQWidget * parent, const char * name, WFlags f ) : TQWidget (parent, name, f) { - TQVBoxLayout * tqlayout = new TQVBoxLayout (this); - tqlayout->setMargin(6); - tqlayout->setSpacing(6); + TQVBoxLayout * layout = new TQVBoxLayout (this); + layout->setMargin(6); + layout->setSpacing(6); // Labels and - TQHBoxLayout * labeltqlayout = new TQHBoxLayout(); - labeltqlayout->addWidget( new TQLabel( i18n( "Type in word(s) to search for:"), this) ); - labeltqlayout->addStretch( 10 ); + TQHBoxLayout * labellayout = new TQHBoxLayout(); + labellayout->addWidget( new TQLabel( i18n( "Type in word(s) to search for:"), this) ); + labellayout->addStretch( 10 ); KCHMClickableLabel * helplink = new KCHMClickableLabel( i18n( "Help"), this ); connect( helplink, TQT_SIGNAL( clicked() ), this, TQT_SLOT( onHelpClicked() ) ); helplink->setCursor( TQCursor( TQt::PointingHandCursor ) ); - labeltqlayout->addWidget ( helplink ); - tqlayout->addLayout( labeltqlayout ); + labellayout->addWidget ( helplink ); + layout->addLayout( labellayout ); m_searchQuery = new TQComboBox (TRUE, this); m_searchQuery->setFocus(); @@ -58,9 +58,9 @@ KCHMSearchWindow::KCHMSearchWindow( TQWidget * parent, const char * name, WFlags TQPushButton * searchButton = new TQPushButton ( i18n("Go"), this); searchButton->setSizePolicy ( TQSizePolicy ( TQSizePolicy::Minimum, TQSizePolicy::Fixed ) ); - TQHBoxLayout * htqlayout = new TQHBoxLayout ( tqlayout ); - htqlayout->addWidget ( m_searchQuery ); - htqlayout->addWidget ( searchButton ); + TQHBoxLayout * hlayout = new TQHBoxLayout ( layout ); + hlayout->addWidget ( m_searchQuery ); + hlayout->addWidget ( searchButton ); m_searchList = new KQListView (this); m_searchList->addColumn( i18n( "Title" ) ); @@ -87,8 +87,8 @@ KCHMSearchWindow::KCHMSearchWindow( TQWidget * parent, const char * name, WFlags this, TQT_SLOT( slotContextMenuRequested ( TQListViewItem *, const TQPoint &, int ) ) ); - //tqlayout->addSpacing (10); - tqlayout->addWidget (m_searchList); + //layout->addSpacing (10); + layout->addWidget (m_searchList); new KCHMListItemTooltip( m_searchList ); m_contextMenu = 0; -- cgit v1.2.1