diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:02 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:02 -0600 |
commit | 71061104fa6242b2e0bf08b0920e08ee2f2924c5 (patch) | |
tree | 4e74a78c2e35494cf94c30414d14e884f557320f /src/kchmsearchwindow.cpp | |
parent | 60da1801389e3c729d440a353003acca39a7c3b6 (diff) | |
download | kchmviewer-71061104fa6242b2e0bf08b0920e08ee2f2924c5.tar.gz kchmviewer-71061104fa6242b2e0bf08b0920e08ee2f2924c5.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 60da1801389e3c729d440a353003acca39a7c3b6.
Diffstat (limited to 'src/kchmsearchwindow.cpp')
-rw-r--r-- | src/kchmsearchwindow.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/kchmsearchwindow.cpp b/src/kchmsearchwindow.cpp index be0122c..7e5af5b 100644 --- a/src/kchmsearchwindow.cpp +++ b/src/kchmsearchwindow.cpp @@ -34,33 +34,33 @@ KCHMSearchWindow::KCHMSearchWindow( TQWidget * parent, const char * name, WFlags f ) : TQWidget (parent, name, f) { - TQVBoxLayout * layout = new TQVBoxLayout (this); - layout->setMargin(6); - layout->setSpacing(6); + TQVBoxLayout * tqlayout = new TQVBoxLayout (this); + tqlayout->setMargin(6); + tqlayout->setSpacing(6); // Labels <type words to search> and <help> - TQHBoxLayout * labellayout = new TQHBoxLayout(); - labellayout->addWidget( new TQLabel( i18n( "Type in word(s) to search for:"), this) ); - labellayout->addStretch( 10 ); + TQHBoxLayout * labeltqlayout = new TQHBoxLayout(); + labeltqlayout->addWidget( new TQLabel( i18n( "Type in word(s) to search for:"), this) ); + labeltqlayout->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 ) ); - labellayout->addWidget ( helplink ); - layout->addLayout( labellayout ); + labeltqlayout->addWidget ( helplink ); + tqlayout->addLayout( labeltqlayout ); m_searchQuery = new TQComboBox (TRUE, this); m_searchQuery->setFocus(); m_searchQuery->setMaxCount (10); - m_searchQuery->setSizePolicy ( TQSizePolicy ( TQSizePolicy::Expanding, TQSizePolicy::Fixed ) ); + m_searchQuery->tqsetSizePolicy ( TQSizePolicy ( TQSizePolicy::Expanding, TQSizePolicy::Fixed ) ); TQPushButton * searchButton = new TQPushButton ( i18n("Go"), this); - searchButton->setSizePolicy ( TQSizePolicy ( TQSizePolicy::Minimum, TQSizePolicy::Fixed ) ); + searchButton->tqsetSizePolicy ( TQSizePolicy ( TQSizePolicy::Minimum, TQSizePolicy::Fixed ) ); - TQHBoxLayout * hlayout = new TQHBoxLayout ( layout ); - hlayout->addWidget ( m_searchQuery ); - hlayout->addWidget ( searchButton ); + TQHBoxLayout * htqlayout = new TQHBoxLayout ( tqlayout ); + htqlayout->addWidget ( m_searchQuery ); + htqlayout->addWidget ( searchButton ); m_searchList = new KQListView (this); m_searchList->addColumn( i18n( "Title" ) ); @@ -87,15 +87,15 @@ KCHMSearchWindow::KCHMSearchWindow( TQWidget * parent, const char * name, WFlags this, TQT_SLOT( slotContextMenuRequested ( TQListViewItem *, const TQPoint &, int ) ) ); - //layout->addSpacing (10); - layout->addWidget (m_searchList); + //tqlayout->addSpacing (10); + tqlayout->addWidget (m_searchList); new KCHMListItemTooltip( m_searchList ); m_contextMenu = 0; m_searchEngine = 0; } -void KCHMSearchWindow::invalidate( ) +void KCHMSearchWindow::tqinvalidate( ) { m_searchList->clear(); m_searchQuery->clear(); |