diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:04:18 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-23 02:38:43 +0200 |
commit | 79f7061c5e7cc9c38e2a98dad7c005ce4ff836c8 (patch) | |
tree | 53d5cf7b22fc56ded68d350630842aa639752360 /src/kchmsearchwindow.cpp | |
parent | 6c8fbb5199ea86a9ef727aa258e730006b3876b6 (diff) | |
download | kchmviewer-79f7061c5e7cc9c38e2a98dad7c005ce4ff836c8.tar.gz kchmviewer-79f7061c5e7cc9c38e2a98dad7c005ce4ff836c8.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit de122aa7805984226a4270c63b0f69e7b5022930)
Diffstat (limited to 'src/kchmsearchwindow.cpp')
-rw-r--r-- | src/kchmsearchwindow.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
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 <type words to search> and <help> - 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( "<a href=\"q\"><b>Help</b></a>"), 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; |