summaryrefslogtreecommitdiffstats
path: root/konqueror/iconview/konq_iconview.cc
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/iconview/konq_iconview.cc')
-rw-r--r--konqueror/iconview/konq_iconview.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/konqueror/iconview/konq_iconview.cc b/konqueror/iconview/konq_iconview.cc
index 975376cb6..71d1fb7a6 100644
--- a/konqueror/iconview/konq_iconview.cc
+++ b/konqueror/iconview/konq_iconview.cc
@@ -359,7 +359,7 @@ KonqKfmIconView::KonqKfmIconView( TQWidget *parentWidget, TQObject *parent, cons
// Create the directory lister
m_dirLister = new KDirLister( true );
setDirLister( m_dirLister );
- m_dirLister->setMainWindow(m_pIconView->tqtopLevelWidget());
+ m_dirLister->setMainWindow(m_pIconView->topLevelWidget());
connect( m_dirLister, TQT_SIGNAL( started( const KURL & ) ),
this, TQT_SLOT( slotStarted() ) );
@@ -872,7 +872,7 @@ void KonqKfmIconView::slotCanceled( const KURL& url )
// the completed() signal, so handle that case.
if ( !m_pIconView->viewport()->isUpdatesEnabled() )
{
- m_pIconView->viewport()->tqsetUpdatesEnabled( true );
+ m_pIconView->viewport()->setUpdatesEnabled( true );
m_pIconView->viewport()->tqrepaint();
}
if ( m_pEnsureVisible ){
@@ -892,7 +892,7 @@ void KonqKfmIconView::slotCompleted()
// not been called), a viewport tqrepaint is forced.
if ( !m_pIconView->viewport()->isUpdatesEnabled() )
{
- m_pIconView->viewport()->tqsetUpdatesEnabled( true );
+ m_pIconView->viewport()->setUpdatesEnabled( true );
m_pIconView->viewport()->tqrepaint();
}
@@ -952,7 +952,7 @@ void KonqKfmIconView::slotNewItems( const KFileItemList& entries )
// We need to disable graphics updates on the iconview when
// inserting items, or else a blank paint operation will be
// performed on the top-left corner for each inserted item!
- m_pIconView->tqsetUpdatesEnabled( false );
+ m_pIconView->setUpdatesEnabled( false );
for (KFileItemListIterator it(entries); it.current(); ++it)
{
//kdDebug(1202) << "KonqKfmIconView::slotNewItem(...)" << _fileitem->url().url() << endl;
@@ -1006,11 +1006,11 @@ void KonqKfmIconView::slotNewItems( const KFileItemList& entries )
m_itemDict.insert( *it, item );
}
// After filtering out updates-on-insertions we can re-enable updates
- m_pIconView->tqsetUpdatesEnabled( true );
+ m_pIconView->setUpdatesEnabled( true );
// Locking the viewport has filtered out blanking and now, since we
// have some items to draw, we can restore updating.
if ( !m_pIconView->viewport()->isUpdatesEnabled() )
- m_pIconView->viewport()->tqsetUpdatesEnabled( true );
+ m_pIconView->viewport()->setUpdatesEnabled( true );
KonqDirPart::newItems( entries );
}
@@ -1150,7 +1150,7 @@ void KonqKfmIconView::slotClear()
// meaningless paint operations (such as a clear() just before drawing
// fresh contents) we disable updating the viewport until we'll
// receive some data or a timeout timer expires.
- m_pIconView->viewport()->tqsetUpdatesEnabled( false );
+ m_pIconView->viewport()->setUpdatesEnabled( false );
if ( !m_pTimeoutRefreshTimer )
{
m_pTimeoutRefreshTimer = new TQTimer( this );
@@ -1247,9 +1247,9 @@ void KonqKfmIconView::slotRefreshViewport()
kdDebug(1202) << "KonqKfmIconView::slotRefreshViewport()" << endl;
TQWidget * vp = m_pIconView->viewport();
bool prevState = vp->isUpdatesEnabled();
- vp->tqsetUpdatesEnabled( true );
+ vp->setUpdatesEnabled( true );
vp->tqrepaint();
- vp->tqsetUpdatesEnabled( prevState );
+ vp->setUpdatesEnabled( prevState );
}
bool KonqKfmIconView::doOpenURL( const KURL & url )