summaryrefslogtreecommitdiffstats
path: root/kradio3/src/pluginmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit2620ed602b1dc0a7bc3c3135ee12361b1af25405 (patch)
tree382e1bc273f19af4e5dd261f79741046ed9e37c6 /kradio3/src/pluginmanager.cpp
parentfdd75d807795e8fcf6286df1fb185153ac623efd (diff)
downloadtderadio-2620ed602b1dc0a7bc3c3135ee12361b1af25405.tar.gz
tderadio-2620ed602b1dc0a7bc3c3135ee12361b1af25405.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kradio3/src/pluginmanager.cpp')
-rw-r--r--kradio3/src/pluginmanager.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kradio3/src/pluginmanager.cpp b/kradio3/src/pluginmanager.cpp
index 286b588..6576c84 100644
--- a/kradio3/src/pluginmanager.cpp
+++ b/kradio3/src/pluginmanager.cpp
@@ -116,7 +116,7 @@ void PluginManager::addWidgetPluginMenuItems(TQMenuData *menu, TQMap<WidgetPlugi
void PluginManager::updateWidgetPluginMenuItem(WidgetPluginBase *b, TQMenuData *menu, TQMap<WidgetPluginBase *,int> &map, bool shown) const
{
- if (!b || !map.tqcontains(b))
+ if (!b || !map.contains(b))
return;
const TQString &name = b->description();
@@ -211,7 +211,7 @@ void PluginManager::insertPlugin(PluginBase *p)
void PluginManager::deletePlugin(PluginBase *p)
{
- if (p && m_plugins.tqcontains(p)) {
+ if (p && m_plugins.contains(p)) {
removePlugin(p);
delete p;
}
@@ -220,7 +220,7 @@ void PluginManager::deletePlugin(PluginBase *p)
void PluginManager::removePlugin(PluginBase *p)
{
- if (p && m_plugins.tqcontains(p)) {
+ if (p && m_plugins.contains(p)) {
for (PluginIterator it(m_plugins); it.current(); ++it) {
if (it.current() != p) {
@@ -236,12 +236,12 @@ void PluginManager::removePlugin(PluginBase *p)
// remove config page from config dialog, only chance is to delete it
// plugin will be notified automatically (mechanism implemented by
// PluginBase)
- while (TQFrame *f = m_configPageFrames.tqfind(p)) {
+ while (TQFrame *f = m_configPageFrames.find(p)) {
m_configPageFrames.remove(p);
m_configPages.remove(p);
delete f;
}
- while (TQFrame *f = m_aboutPageFrames.tqfind(p)) {
+ while (TQFrame *f = m_aboutPageFrames.find(p)) {
m_aboutPageFrames.remove(p);
m_aboutPages.remove(p);
delete f;
@@ -265,7 +265,7 @@ void PluginManager::removePlugin(PluginBase *p)
void PluginManager::addConfigurationPage (PluginBase *forWhom,
const ConfigPageInfo &info)
{
- if (!forWhom || !m_plugins.tqcontainsRef(forWhom) || !info.page)
+ if (!forWhom || !m_plugins.containsRef(forWhom) || !info.page)
return;
TQFrame *f = addConfigurationPage(info);
@@ -362,7 +362,7 @@ void PluginManager::addAboutPage (PluginBase *forWhom,
if (!m_aboutDialog)
createAboutDialog(i18n(m_aboutDialogTitle.ascii()));
- if ( !forWhom || !m_plugins.tqcontainsRef(forWhom)
+ if ( !forWhom || !m_plugins.containsRef(forWhom)
|| !m_aboutDialog || !info.page)
return;
@@ -419,7 +419,7 @@ void PluginManager::saveState (KConfig *c) const
TQString class_name = it.current()->pluginClassName();
TQString object_name = it.current()->name();
if (class_name.length() && object_name.length() &&
- m_Application->getPluginClasses().tqcontains(class_name))
+ m_Application->getPluginClasses().contains(class_name))
{
++n;
c->writeEntry("plugin_class_" + TQString::number(n), class_name);