summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:30 -0600
commit29df04c24350cc76a41e2410d1c92445f9338b98 (patch)
treec2b9cde128e24275393a83d9eaec58b2ef12d109 /quanta/treeviews
parentc70534eef6085384ef7ddff369a154dbc8901917 (diff)
downloadtdewebdev-29df04c24350cc76a41e2410d1c92445f9338b98.tar.gz
tdewebdev-29df04c24350cc76a41e2410d1c92445f9338b98.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'quanta/treeviews')
-rw-r--r--quanta/treeviews/basetreeview.cpp2
-rw-r--r--quanta/treeviews/doctreeview.cpp2
-rw-r--r--quanta/treeviews/scripttreeview.cpp8
3 files changed, 6 insertions, 6 deletions
diff --git a/quanta/treeviews/basetreeview.cpp b/quanta/treeviews/basetreeview.cpp
index 9ff82da5..278505a2 100644
--- a/quanta/treeviews/basetreeview.cpp
+++ b/quanta/treeviews/basetreeview.cpp
@@ -618,7 +618,7 @@ void BaseTreeView::insertOpenWithMenu(KPopupMenu *menu, int position)
TQDictIterator<QuantaPlugin> it2(plugins);
for(;it2.current();++it2)
{
- int id = m_openWithMenu->insertItem(KGlobal::iconLoader()->loadIconSet(it2.current()->icon(),KIcon::Small), it2.current()->name());
+ int id = m_openWithMenu->insertItem(TDEGlobal::iconLoader()->loadIconSet(it2.current()->icon(),KIcon::Small), it2.current()->name());
m_pluginIds[id] = it2.current();
}
connect(m_openWithMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(slotOpenWithActivated(int)));
diff --git a/quanta/treeviews/doctreeview.cpp b/quanta/treeviews/doctreeview.cpp
index dbd7c11a..39d8ba5b 100644
--- a/quanta/treeviews/doctreeview.cpp
+++ b/quanta/treeviews/doctreeview.cpp
@@ -80,7 +80,7 @@ void DocTreeView::slotRefreshTree()
delete *it;
}
m_folderList.clear();
- TQStringList docDirs = KGlobal::instance()->dirs()->findDirs("appdata", "doc");
+ TQStringList docDirs = TDEGlobal::instance()->dirs()->findDirs("appdata", "doc");
for ( TQStringList::Iterator it = docDirs.begin(); it != docDirs.end(); ++it )
{
diff --git a/quanta/treeviews/scripttreeview.cpp b/quanta/treeviews/scripttreeview.cpp
index eb64dd0b..6819e1ca 100644
--- a/quanta/treeviews/scripttreeview.cpp
+++ b/quanta/treeviews/scripttreeview.cpp
@@ -172,9 +172,9 @@ void ScriptTreeView::slotEditScript()
emit openFile(urlToOpen);
else
{
- KProcess *proc = new KProcess();
+ TDEProcess *proc = new TDEProcess();
*proc << editApp << urlToOpen.path();
- proc->start(KProcess::DontCare);
+ proc->start(TDEProcess::DontCare);
}
}
}
@@ -195,11 +195,11 @@ void ScriptTreeView::slotRun()
}
else
{
- KProcess *proc = new KProcess();
+ TDEProcess *proc = new TDEProcess();
TQStringList argsList = TQStringList::split(' ', execApp);
*proc << argsList;
*proc << urlToOpen.path();
- proc->start(KProcess::DontCare);
+ proc->start(TDEProcess::DontCare);
}
}
}