summaryrefslogtreecommitdiffstats
path: root/src/kchmindexwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:02 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:02 -0600
commit71061104fa6242b2e0bf08b0920e08ee2f2924c5 (patch)
tree4e74a78c2e35494cf94c30414d14e884f557320f /src/kchmindexwindow.cpp
parent60da1801389e3c729d440a353003acca39a7c3b6 (diff)
downloadkchmviewer-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/kchmindexwindow.cpp')
-rw-r--r--src/kchmindexwindow.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kchmindexwindow.cpp b/src/kchmindexwindow.cpp
index 617eff3..01a7a8d 100644
--- a/src/kchmindexwindow.cpp
+++ b/src/kchmindexwindow.cpp
@@ -19,7 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include <layout.h>
+#include <tqlayout.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 * layout = new TQVBoxLayout (this);
- layout->setMargin (5);
+ TQVBoxLayout * tqlayout = new TQVBoxLayout (this);
+ tqlayout->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 );
- layout->addWidget (m_indexFinder);
- layout->addSpacing (10);
- layout->addWidget (m_indexList);
+ tqlayout->addWidget (m_indexFinder);
+ tqlayout->addSpacing (10);
+ tqlayout->addWidget (m_indexList);
connect( m_indexFinder,
TQT_SIGNAL( textChanged (const TQString &) ),
@@ -104,7 +104,7 @@ void KCHMIndexWindow::onReturnPressed( )
}
-void KCHMIndexWindow::invalidate( )
+void KCHMIndexWindow::tqinvalidate( )
{
m_indexList->clear();
m_indexListFilled = false;