summaryrefslogtreecommitdiffstats
path: root/quanta/plugins/quantaplugininterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/plugins/quantaplugininterface.cpp')
-rw-r--r--quanta/plugins/quantaplugininterface.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/quanta/plugins/quantaplugininterface.cpp b/quanta/plugins/quantaplugininterface.cpp
index 098c7828..73ba5a48 100644
--- a/quanta/plugins/quantaplugininterface.cpp
+++ b/quanta/plugins/quantaplugininterface.cpp
@@ -38,12 +38,12 @@
#include "resource.h"
#include "quantacommon.h"
-QuantaPluginInterface::QuantaPluginInterface(TQWidget *parent)
+QuantaPluginInterface::QuantaPluginInterface(TQWidget *tqparent)
{
- m_parent = parent;
+ m_parent = tqparent;
(void) new KAction( i18n( "Configure &Plugins..." ), 0, 0,
this, TQT_SLOT( slotPluginsEdit() ),
- ((KMainWindow*)parent)->actionCollection(), "configure_plugins" );
+ ((KMainWindow*)tqparent)->actionCollection(), "configure_plugins" );
m_pluginMenu = 0L;
// m_plugins.setAutoDelete(true);
}
@@ -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.find(*it))
+ if (m_plugins.tqfind(*it))
continue;
config->setGroup(*it);
@@ -90,7 +90,7 @@ void QuantaPluginInterface::readConfigFile(const TQString& configFile)
if (pluginType == "Command Line")
{
emit hideSplash();
- KMessageBox::information(m_parent, i18n("<qt><b>%1</b> is a command line plugin. We have removed support for command-line plugins. However, the functionality has not been lost as script actions can still be used to run command-line tools. </qt>").arg(*it), i18n("Unsupported Plugin Type"), "CommandLinePluginWarning");
+ KMessageBox::information(m_parent, i18n("<qt><b>%1</b> is a command line plugin. We have removed support for command-line plugins. However, the functionality has not been lost as script actions can still be used to run command-line tools. </qt>").tqarg(*it), i18n("Unsupported Plugin Type"), "CommandLinePluginWarning");
continue;
}
@@ -176,7 +176,7 @@ bool QuantaPluginInterface::pluginAvailable(const TQString &a_name)
{
if (a_name.isEmpty())
return false;
- QuantaPlugin *availPlugin = m_plugins.find(a_name);
+ QuantaPlugin *availPlugin = m_plugins.tqfind(a_name);
if(availPlugin && QuantaPlugin::validatePlugin(availPlugin))
return true;
@@ -257,7 +257,7 @@ void QuantaPluginInterface::slotPluginsValidate()
{
invalidNames += "<br>" + invalidPlugins[i]->name();
}
- int answer = KMessageBox::questionYesNo(m_parent, i18n("<qt>The following plugins seems to be invalid:<b>%1</b>.<br><br>Do you want to edit the plugins?</qt>").arg(invalidNames), i18n("Invalid Plugins"), i18n("Edit Plugins"), i18n("Do Not Edit"));
+ int answer = KMessageBox::questionYesNo(m_parent, i18n("<qt>The following plugins seems to be invalid:<b>%1</b>.<br><br>Do you want to edit the plugins?</qt>").tqarg(invalidNames), i18n("Invalid Plugins"), i18n("Edit Plugins"), i18n("Do Not Edit"));
if(answer == KMessageBox::Yes)
{
slotPluginsEdit();