summaryrefslogtreecommitdiffstats
path: root/src/kile/kilelistselector.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:37 -0600
commit6238a41f5d502a181672fdcc235e9977584dfe38 (patch)
treea433d2a09d981bfda7120d6744d28aea86d3769b /src/kile/kilelistselector.cpp
parent2c33afbc765d5a9c670ca8e14d653f4f6ddc247d (diff)
downloadkile-6238a41f5d502a181672fdcc235e9977584dfe38.tar.gz
kile-6238a41f5d502a181672fdcc235e9977584dfe38.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/kile/kilelistselector.cpp')
-rw-r--r--src/kile/kilelistselector.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kile/kilelistselector.cpp b/src/kile/kilelistselector.cpp
index 3e1c149..54eb5e6 100644
--- a/src/kile/kilelistselector.cpp
+++ b/src/kile/kilelistselector.cpp
@@ -19,7 +19,7 @@
#include <tqstringlist.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqheader.h>
#include <kapplication.h>
@@ -31,10 +31,10 @@
KileListSelectorBase::KileListSelectorBase(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *parent, const char *name) :
KDialogBase( KDialogBase::Plain, caption, Ok|Cancel,Ok, parent, name, true, true )
{
- TQVBoxLayout *tqlayout = new TQVBoxLayout(plainPage());
+ TQVBoxLayout *layout = new TQVBoxLayout(plainPage());
- tqlayout->addWidget(new TQLabel(select, plainPage()));
- tqlayout->addSpacing(8);
+ layout->addWidget(new TQLabel(select, plainPage()));
+ layout->addSpacing(8);
m_listview = new KListView(plainPage());
m_listview->addColumn(i18n("Files"));
@@ -50,7 +50,7 @@ KileListSelectorBase::KileListSelectorBase(const TQStringList &list, const TQStr
#if TDE_VERSION >= KDE_MAKE_VERSION(3,4,0)
m_listview->setShadeSortColumn(false);
#endif
- tqlayout->addWidget(m_listview);
+ layout->addWidget(m_listview);
insertStringList(list);
@@ -59,7 +59,7 @@ KileListSelectorBase::KileListSelectorBase(const TQStringList &list, const TQStr
int h = ( list.count() > 0 ) ? m_listview->header()->height()+12*m_listview->firstChild()->height() : 224;
m_listview->setMinimumSize(w,h);
- resize(tqsizeHint().width(),tqsizeHint().height()+4);
+ resize(sizeHint().width(),sizeHint().height()+4);
connect(m_listview, TQT_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint &,int)), this, TQT_SLOT(accept()));
}