diff options
Diffstat (limited to 'quanta/plugins')
-rw-r--r-- | quanta/plugins/quantaplugin.cpp | 2 | ||||
-rw-r--r-- | quanta/plugins/quantaplugineditor.cpp | 6 | ||||
-rw-r--r-- | quanta/plugins/quantaplugininterface.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/quanta/plugins/quantaplugin.cpp b/quanta/plugins/quantaplugin.cpp index bfed02c1..dab6dbd0 100644 --- a/quanta/plugins/quantaplugin.cpp +++ b/quanta/plugins/quantaplugin.cpp @@ -155,7 +155,7 @@ bool QuantaPlugin::run() } case 3: { KURL url; if ( Project::ref()->hasProject() && - (Project::ref()->tqcontains(view->document()->url()) || + (Project::ref()->contains(view->document()->url()) || view->document()->isUntitled()) ) { diff --git a/quanta/plugins/quantaplugineditor.cpp b/quanta/plugins/quantaplugineditor.cpp index db7f73ed..e530ee0c 100644 --- a/quanta/plugins/quantaplugineditor.cpp +++ b/quanta/plugins/quantaplugineditor.cpp @@ -115,10 +115,10 @@ void QuantaPluginEditor::configurePlugin() if(item) key = item->text(0); - if(!key.isNull() && m_plugins.tqfind(key)) + if(!key.isNull() && m_plugins.find(key)) { QuantaPluginConfig *configDlg = new QuantaPluginConfig(this, "pluginConfig"); - QuantaPlugin *curPlugin = m_plugins.tqfind(key); + QuantaPlugin *curPlugin = m_plugins.find(key); PluginConfig *configWidget = static_cast<PluginConfig*>(configDlg->mainWidget()); configWidget->outputWindow->setCurrentText(curPlugin->outputWindow()); @@ -186,7 +186,7 @@ void QuantaPluginEditor::removePlugin() TQListViewItem *currentItem = m_pluginEditorWidget->pluginList->currentItem(); if (currentItem) { - QuantaPlugin *plugin = m_plugins.tqfind(currentItem->text(0)); + QuantaPlugin *plugin = m_plugins.find(currentItem->text(0)); if(plugin) { m_plugins.remove(plugin->pluginName()); diff --git a/quanta/plugins/quantaplugininterface.cpp b/quanta/plugins/quantaplugininterface.cpp index 73ba5a48..0c93d2ca 100644 --- a/quanta/plugins/quantaplugininterface.cpp +++ b/quanta/plugins/quantaplugininterface.cpp @@ -71,7 +71,7 @@ void QuantaPluginInterface::readConfigFile(const TQString& configFile) // now that we have a list of the plugins, go through and get the details of them for(TQStringList::Iterator it = pList.begin();it != pList.end();++it) { - if (m_plugins.tqfind(*it)) + if (m_plugins.find(*it)) continue; config->setGroup(*it); @@ -176,7 +176,7 @@ bool QuantaPluginInterface::pluginAvailable(const TQString &a_name) { if (a_name.isEmpty()) return false; - QuantaPlugin *availPlugin = m_plugins.tqfind(a_name); + QuantaPlugin *availPlugin = m_plugins.find(a_name); if(availPlugin && QuantaPlugin::validatePlugin(availPlugin)) return true; |