summaryrefslogtreecommitdiffstats
path: root/languages/ruby/rubysupport_part.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 19:08:25 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 19:08:25 +0000
commite9be34de5fe62ce92c1d4cad63d03be76e9beb8d (patch)
treeb41889ff9d6b950124134560ccbcecc78493a452 /languages/ruby/rubysupport_part.cpp
parent48d4a26399959121f33d2bc3bfe51c7827b654fc (diff)
downloadtdevelop-e9be34de5fe62ce92c1d4cad63d03be76e9beb8d.tar.gz
tdevelop-e9be34de5fe62ce92c1d4cad63d03be76e9beb8d.zip
Fix kdevelop Qt3 compilation
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1237312 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/ruby/rubysupport_part.cpp')
-rw-r--r--languages/ruby/rubysupport_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/ruby/rubysupport_part.cpp b/languages/ruby/rubysupport_part.cpp
index 4fe000a5..7c451a05 100644
--- a/languages/ruby/rubysupport_part.cpp
+++ b/languages/ruby/rubysupport_part.cpp
@@ -637,7 +637,7 @@ KDevDesignerIntegration *RubySupportPart::designer(KInterfaceDesigner::DesignerT
if (des == 0)
{
RubyImplementationWidget *impl = new RubyImplementationWidget(this);
- des = new TQtDesignerRubyIntegration(this, impl);
+ des = new QtDesignerRubyIntegration(this, impl);
des->loadSettings(*project()->projectDom(),
"kdevrubysupport/designerintegration");
m_designers[type] = des;
@@ -679,7 +679,7 @@ void RubySupportPart::slotCreateSubclass()
TQFileInfo fi(m_contextFileName);
if (fi.extension(false) != "ui")
return;
- TQtDesignerRubyIntegration *des = dynamic_cast<TQtDesignerRubyIntegration*>(designer(KInterfaceDesigner::TQtDesigner));
+ QtDesignerRubyIntegration *des = dynamic_cast<QtDesignerRubyIntegration*>(designer(KInterfaceDesigner::TQtDesigner));
if (des)
des->selectImplementation(m_contextFileName);
}