diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:51:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:51:21 -0600 |
commit | b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (patch) | |
tree | 76f49820693d443128d3720322ff1605e9bcd558 /parts/fileview/partwidget.cpp | |
parent | 247f828db1b8dcdc9346c1568d81cfa00db99c9e (diff) | |
download | tdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.tar.gz tdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'parts/fileview/partwidget.cpp')
-rw-r--r-- | parts/fileview/partwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/fileview/partwidget.cpp b/parts/fileview/partwidget.cpp index 39177191..11bd6f56 100644 --- a/parts/fileview/partwidget.cpp +++ b/parts/fileview/partwidget.cpp @@ -12,7 +12,7 @@ #include <tqwhatsthis.h> #include <tqvbox.h> -#include <tqlayout.h> +#include <layout.h> #include <tqtoolbutton.h> #include <tqdom.h> #include <kxmlguiclient.h> @@ -50,14 +50,14 @@ PartWidget::PartWidget( FileViewPart *part, TQWidget *parent ) m_filetree->setIcon(SmallIcon("folder")); TQWhatsThis::add(m_filetree, i18n("<b>File tree</b><p>" "The file viewer shows all files of the project " - "in a tree tqlayout.")); + "in a tree layout.")); TQHBox* filterBox = new TQHBox( this ); m_btnFilter = new TQToolButton( filterBox ); m_btnFilter->setIconSet( SmallIconSet("filter" ) ); m_btnFilter->setToggleButton( true ); m_filter = new KHistoryCombo( true, filterBox, "filter"); - m_filter->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed )); + m_filter->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed )); filterBox->setStretchFactor(m_filter, 2); connect( m_btnFilter, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotBtnFilterClick() ) ); @@ -101,7 +101,7 @@ void PartWidget::slotFilterChange( const TQString & nf ) if ( empty ) { m_filter->lineEdit()->setText( TQString() ); - TQToolTip::add( m_btnFilter, i18n("Apply last filter (\"%1\")").tqarg( m_lastFilter ) ); + TQToolTip::add( m_btnFilter, i18n("Apply last filter (\"%1\")").arg( m_lastFilter ) ); } else { |