summaryrefslogtreecommitdiffstats
path: root/parts/fileview/partwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/fileview/partwidget.cpp')
-rw-r--r--parts/fileview/partwidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/parts/fileview/partwidget.cpp b/parts/fileview/partwidget.cpp
index db921fb1..040f6312 100644
--- a/parts/fileview/partwidget.cpp
+++ b/parts/fileview/partwidget.cpp
@@ -34,11 +34,11 @@
// class PartWidget
///////////////////////////////////////////////////////////////////////////////
-PartWidget::PartWidget( FileViewPart *part, TQWidget *parent )
- : TQVBox( parent, "fileviewpartwidget" ), m_filetree( 0 ),
+PartWidget::PartWidget( FileViewPart *part, TQWidget *tqparent )
+ : TQVBox( tqparent, "fileviewpartwidget" ), m_filetree( 0 ),
m_filter( 0 ), m_btnFilter( 0 ), m_part( part )
{
- Q_ASSERT( part && parent );
+ Q_ASSERT( part && tqparent );
KDevVCSFileInfoProvider *infoProvider = 0;
if (part && part->versionControl() && part->versionControl()->fileInfoProvider())
@@ -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 layout."));
+ "in a tree tqlayout."));
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->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ m_filter->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
filterBox->setStretchFactor(m_filter, 2);
connect( m_btnFilter, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotBtnFilterClick() ) );
@@ -100,8 +100,8 @@ void PartWidget::slotFilterChange( const TQString & nf )
bool empty = f.isEmpty() || f == "*";
if ( empty )
{
- m_filter->lineEdit()->setText( TQString::null );
- TQToolTip::add( m_btnFilter, i18n("Apply last filter (\"%1\")").arg( m_lastFilter ) );
+ m_filter->lineEdit()->setText( TQString() );
+ TQToolTip::add( m_btnFilter, i18n("Apply last filter (\"%1\")").tqarg( m_lastFilter ) );
}
else
{
@@ -127,7 +127,7 @@ void PartWidget::slotBtnFilterClick()
{
if ( !m_btnFilter->isOn() )
{
- slotFilterChange( TQString::null );
+ slotFilterChange( TQString() );
}
else
{