diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:12 -0600 |
commit | 60da1801389e3c729d440a353003acca39a7c3b6 (patch) | |
tree | 18240da7b279e174dadb615b3a32ea05cc0f74cc /src/kchmindexwindow.cpp | |
parent | f35af5996cb6b2875a9fb4f4789b44f21eec5d18 (diff) | |
download | kchmviewer-60da1801389e3c729d440a353003acca39a7c3b6.tar.gz kchmviewer-60da1801389e3c729d440a353003acca39a7c3b6.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/kchmindexwindow.cpp')
-rw-r--r-- | src/kchmindexwindow.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kchmindexwindow.cpp b/src/kchmindexwindow.cpp index 01a7a8d..617eff3 100644 --- a/src/kchmindexwindow.cpp +++ b/src/kchmindexwindow.cpp @@ -19,7 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include <tqlayout.h> +#include <layout.h> #include <tqheader.h> #include "libchmfile.h" @@ -34,8 +34,8 @@ KCHMIndexWindow::KCHMIndexWindow ( TQWidget * parent, const char * name, WFlags f ) : TQWidget (parent, name, f) { - TQVBoxLayout * tqlayout = new TQVBoxLayout (this); - tqlayout->setMargin (5); + TQVBoxLayout * layout = new TQVBoxLayout (this); + layout->setMargin (5); m_indexFinder = new TQLineEdit (this); m_indexFinder->setFocus(); @@ -47,9 +47,9 @@ KCHMIndexWindow::KCHMIndexWindow ( TQWidget * parent, const char * name, WFlags m_indexList->setShowToolTips(true); //m_indexList->setSorting( 0, true ); - tqlayout->addWidget (m_indexFinder); - tqlayout->addSpacing (10); - tqlayout->addWidget (m_indexList); + layout->addWidget (m_indexFinder); + layout->addSpacing (10); + layout->addWidget (m_indexList); connect( m_indexFinder, TQT_SIGNAL( textChanged (const TQString &) ), @@ -104,7 +104,7 @@ void KCHMIndexWindow::onReturnPressed( ) } -void KCHMIndexWindow::tqinvalidate( ) +void KCHMIndexWindow::invalidate( ) { m_indexList->clear(); m_indexListFilled = false; |