summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/basetreeview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:39:24 -0600
commitf9ced3b3f13f3136ef63c33ef163042010d6e80b (patch)
tree293ce93dfb0dcfd79f83674116d7b3bc56f29af2 /quanta/treeviews/basetreeview.cpp
parent29df04c24350cc76a41e2410d1c92445f9338b98 (diff)
downloadtdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.tar.gz
tdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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)