diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:56:09 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:56:09 -0600 |
commit | 455b6d51833aba47992f7202e924defcc45c9828 (patch) | |
tree | 289c791cd71d220f87711cfa19fe325233604857 /src/kile/kilelistselector.cpp | |
parent | 6238a41f5d502a181672fdcc235e9977584dfe38 (diff) | |
download | kile-455b6d51833aba47992f7202e924defcc45c9828.tar.gz kile-455b6d51833aba47992f7202e924defcc45c9828.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6238a41f5d502a181672fdcc235e9977584dfe38.
Diffstat (limited to 'src/kile/kilelistselector.cpp')
-rw-r--r-- | src/kile/kilelistselector.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kile/kilelistselector.cpp b/src/kile/kilelistselector.cpp index 54eb5e6..3e1c149 100644 --- a/src/kile/kilelistselector.cpp +++ b/src/kile/kilelistselector.cpp @@ -19,7 +19,7 @@ #include <tqstringlist.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.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 *layout = new TQVBoxLayout(plainPage()); + TQVBoxLayout *tqlayout = new TQVBoxLayout(plainPage()); - layout->addWidget(new TQLabel(select, plainPage())); - layout->addSpacing(8); + tqlayout->addWidget(new TQLabel(select, plainPage())); + tqlayout->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 - layout->addWidget(m_listview); + tqlayout->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(sizeHint().width(),sizeHint().height()+4); + resize(tqsizeHint().width(),tqsizeHint().height()+4); connect(m_listview, TQT_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint &,int)), this, TQT_SLOT(accept())); } |