summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/basetreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/basetreeview.cpp')
-rw-r--r--quanta/treeviews/basetreeview.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/quanta/treeviews/basetreeview.cpp b/quanta/treeviews/basetreeview.cpp
index 278505a2..7ff962e1 100644
--- a/quanta/treeviews/basetreeview.cpp
+++ b/quanta/treeviews/basetreeview.cpp
@@ -669,7 +669,7 @@ void BaseTreeView::slotPaste()
}
-void BaseTreeView::slotPercent(KIO::Job *job, unsigned long value)
+void BaseTreeView::slotPercent(TDEIO::Job *job, unsigned long value)
{
Q_UNUSED(job);
progressBar->setProgress(value);
@@ -818,7 +818,7 @@ void BaseTreeView::reload(BaseTreeBranch *btb)
}
-void BaseTreeView::slotJobFinished(KIO::Job *job)
+void BaseTreeView::slotJobFinished(TDEIO::Job *job)
{
if ( job->error() )
job->showErrorDialog(this);
@@ -894,7 +894,7 @@ void BaseTreeView::slotDropped (TQWidget *, TQDropEvent * /*e*/, KURL::List& fil
}
}
bool tooltip = showToolTips();
- KIO::Job *job;
+ TDEIO::Job *job;
switch ( result ) {
case 1 : setShowToolTips(false);
setDragEnabled(false);
@@ -908,18 +908,18 @@ void BaseTreeView::slotDropped (TQWidget *, TQDropEvent * /*e*/, KURL::List& fil
setDragEnabled(true);
setShowToolTips(tooltip);
return;
- case 3 : job = KIO::link(fileList, dest);
+ case 3 : job = TDEIO::link(fileList, dest);
break;
default : return ;
}
if (!job)
return;
- connect(job, TQT_SIGNAL( result(KIO::Job *) ),
- this, TQT_SLOT( slotJobFinished(KIO::Job *) ) );
+ connect(job, TQT_SIGNAL( result(TDEIO::Job *) ),
+ this, TQT_SLOT( slotJobFinished(TDEIO::Job *) ) );
progressBar->setTotalSteps(100);
- connect(job, TQT_SIGNAL(percent( KIO::Job *, unsigned long)),
- this, TQT_SLOT(slotPercent( KIO::Job *, unsigned long)));
+ connect(job, TQT_SIGNAL(percent( TDEIO::Job *, unsigned long)),
+ this, TQT_SLOT(slotPercent( TDEIO::Job *, unsigned long)));
}
@@ -1057,13 +1057,13 @@ void BaseTreeView::doRename(KFileTreeViewItem* kftvi, const TQString & newName)
}
-void BaseTreeView::saveLayout(KConfig *config, const TQString &group)
+void BaseTreeView::saveLayout(TDEConfig *config, const TQString &group)
{
KListView::saveLayout(config, group);
if (! m_saveOpenFolder || ! qConfig.saveTrees)
return;
- KConfigGroupSaver saver(config, group);
+ TDEConfigGroupSaver saver(config, group);
BaseTreeBranch *btb;
int i = 0;
KFileTreeBranchIterator it( branches() );
@@ -1083,10 +1083,10 @@ void BaseTreeView::saveLayout(KConfig *config, const TQString &group)
}
-void BaseTreeView::restoreLayout(KConfig *config, const TQString &group)
+void BaseTreeView::restoreLayout(TDEConfig *config, const TQString &group)
{
KListView::restoreLayout(config, group);
- KConfigGroupSaver saver(config, group);
+ TDEConfigGroupSaver saver(config, group);
setShowToolTips( config->readBoolEntry("ShowToolTips", true) );
if (! m_saveOpenFolder || ! qConfig.saveTrees)