summaryrefslogtreecommitdiffstats
path: root/languages/ruby
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
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')
-rw-r--r--languages/ruby/qtdesignerrubyintegration.cpp6
-rw-r--r--languages/ruby/qtdesignerrubyintegration.h4
-rw-r--r--languages/ruby/rubysupport_part.cpp4
3 files changed, 7 insertions, 7 deletions
diff --git a/languages/ruby/qtdesignerrubyintegration.cpp b/languages/ruby/qtdesignerrubyintegration.cpp
index 068d983a..4ad11e8e 100644
--- a/languages/ruby/qtdesignerrubyintegration.cpp
+++ b/languages/ruby/qtdesignerrubyintegration.cpp
@@ -39,13 +39,13 @@
#include "codemodel_utils.h"
#include "implementationwidget.h"
-TQtDesignerRubyIntegration::TQtDesignerRubyIntegration(KDevLanguageSupport *part,
+QtDesignerRubyIntegration::QtDesignerRubyIntegration(KDevLanguageSupport *part,
ImplementationWidget *impl)
- :TQtDesignerIntegration(part, impl, false, 0)
+ :QtDesignerIntegration(part, impl, false, 0)
{
}
-void TQtDesignerRubyIntegration::addFunctionToClass(KInterfaceDesigner::Function function, ClassDom klass)
+void QtDesignerRubyIntegration::addFunctionToClass(KInterfaceDesigner::Function function, ClassDom klass)
{
m_part->partController()->editDocument( KURL( klass->fileName() ) );
KTextEditor::EditInterface* editIface = dynamic_cast<KTextEditor::EditInterface*>( m_part->partController()->activePart() );
diff --git a/languages/ruby/qtdesignerrubyintegration.h b/languages/ruby/qtdesignerrubyintegration.h
index b2f8d4ef..20a2544c 100644
--- a/languages/ruby/qtdesignerrubyintegration.h
+++ b/languages/ruby/qtdesignerrubyintegration.h
@@ -22,12 +22,12 @@
#include <qtdesignerintegration.h>
-class TQtDesignerRubyIntegration : public TQtDesignerIntegration
+class QtDesignerRubyIntegration : public QtDesignerIntegration
{
Q_OBJECT
TQ_OBJECT
public:
- TQtDesignerRubyIntegration(KDevLanguageSupport *part, ImplementationWidget *impl);
+ QtDesignerRubyIntegration(KDevLanguageSupport *part, ImplementationWidget *impl);
protected:
void addFunctionToClass(KInterfaceDesigner::Function function, ClassDom klass);
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);
}