summaryrefslogtreecommitdiffstats
path: root/languages/ruby/qtdesignerrubyintegration.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /languages/ruby/qtdesignerrubyintegration.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/ruby/qtdesignerrubyintegration.cpp')
-rw-r--r--languages/ruby/qtdesignerrubyintegration.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/ruby/qtdesignerrubyintegration.cpp b/languages/ruby/qtdesignerrubyintegration.cpp
index 11244f8f..068d983a 100644
--- a/languages/ruby/qtdesignerrubyintegration.cpp
+++ b/languages/ruby/qtdesignerrubyintegration.cpp
@@ -39,13 +39,13 @@
#include "codemodel_utils.h"
#include "implementationwidget.h"
-QtDesignerRubyIntegration::QtDesignerRubyIntegration(KDevLanguageSupport *part,
+TQtDesignerRubyIntegration::TQtDesignerRubyIntegration(KDevLanguageSupport *part,
ImplementationWidget *impl)
- :QtDesignerIntegration(part, impl, false, 0)
+ :TQtDesignerIntegration(part, impl, false, 0)
{
}
-void QtDesignerRubyIntegration::addFunctionToClass(KInterfaceDesigner::Function function, ClassDom klass)
+void TQtDesignerRubyIntegration::addFunctionToClass(KInterfaceDesigner::Function function, ClassDom klass)
{
m_part->partController()->editDocument( KURL( klass->fileName() ) );
KTextEditor::EditInterface* editIface = dynamic_cast<KTextEditor::EditInterface*>( m_part->partController()->activePart() );
@@ -61,7 +61,7 @@ void QtDesignerRubyIntegration::addFunctionToClass(KInterfaceDesigner::Function
klass->getStartPosition( &line, &column );
// compute the insertion point
- QPair<int,int> point;
+ TQPair<int,int> point;
point.first = line + 1;
point.second = column;