summaryrefslogtreecommitdiffstats
path: root/quanta/plugins
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 19:38:32 +0900
commit9e553028bac0f0d934926318a7b13aa4d8474b27 (patch)
tree363c971f334f9b91813928c97867a113f34431d5 /quanta/plugins
parent13d63148446745909c8ba4b1b68f99e4291cf0cd (diff)
downloadtdewebdev-9e553028bac0f0d934926318a7b13aa4d8474b27.tar.gz
tdewebdev-9e553028bac0f0d934926318a7b13aa4d8474b27.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'quanta/plugins')
-rw-r--r--quanta/plugins/quantaplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/plugins/quantaplugin.cpp b/quanta/plugins/quantaplugin.cpp
index b528c9ff..fcfd9427 100644
--- a/quanta/plugins/quantaplugin.cpp
+++ b/quanta/plugins/quantaplugin.cpp
@@ -114,9 +114,9 @@ bool QuantaPlugin::load()
TQString ow = outputWindow();
m_targetWidget = new TQWidget(quantaApp);
if (m_readOnlyPart)
- m_part = KParts::ComponentFactory::createPartInstanceFromLibrary<KParts::ReadOnlyPart>(partInfo.baseName().latin1(), m_targetWidget, 0, TQT_TQOBJECT(m_targetWidget), 0 );
+ m_part = KParts::ComponentFactory::createPartInstanceFromLibrary<KParts::ReadOnlyPart>(partInfo.baseName().latin1(), m_targetWidget, 0, m_targetWidget, 0 );
else
- m_part = KParts::ComponentFactory::createPartInstanceFromLibrary<KParts::ReadWritePart>(partInfo.baseName().latin1(), m_targetWidget, 0, TQT_TQOBJECT(m_targetWidget), 0 );
+ m_part = KParts::ComponentFactory::createPartInstanceFromLibrary<KParts::ReadWritePart>(partInfo.baseName().latin1(), m_targetWidget, 0, m_targetWidget, 0 );
if(!m_part)
{
KMessageBox::error(quantaApp, i18n("<qt>The <b>%1</b> plugin could not be loaded.<br>Possible reasons are:<br> - <b>%2</b> is not installed;<br> - the file <i>%3</i> is not installed or it is not reachable.").arg(m_name).arg(m_name).arg(m_fileName));