summaryrefslogtreecommitdiffstats
path: root/languages/ruby/rubysupport_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ruby/rubysupport_part.cpp')
-rw-r--r--languages/ruby/rubysupport_part.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/ruby/rubysupport_part.cpp b/languages/ruby/rubysupport_part.cpp
index 664dabd4..9de81db4 100644
--- a/languages/ruby/rubysupport_part.cpp
+++ b/languages/ruby/rubysupport_part.cpp
@@ -127,7 +127,7 @@ void RubySupportPart::projectOpened()
TQFileInfo server(project()->projectDirectory() + "/script/server");
if (! server.exists()) {
cmd += "rails " + project()->projectDirectory();
- if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("KDevelop/AppFrontend"))
+ if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend"))
appFrontend->startAppCommand(project()->projectDirectory(), cmd, false);
}
}
@@ -528,7 +528,7 @@ void RubySupportPart::slotRun ()
// Starting WEBrick for a Rails app. Translate a SIGTERM signal sent by KDevelop
// to a SIGINT expected by WEBrick (ie control&c) to terminate it.
cmd += "script/server& \n trap \"kill -s SIGINT $!\" TERM \n wait \n exit 0";
- if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("KDevelop/AppFrontend"))
+ if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend"))
appFrontend->startAppCommand(project()->projectDirectory(), cmd, false);
} else {
TQString cmd = TQString("%1 -K%2 -C\"%3\" -I\"%4\" \"%5\" %6")
@@ -613,7 +613,7 @@ TQString RubySupportPart::characterCoding() {
void RubySupportPart::startApplication(const TQString &program) {
bool inTerminal = DomUtil::readBoolEntry(*projectDom(), "/kdevrubysupport/run/terminal");
- if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("KDevelop/AppFrontend"))
+ if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend"))
appFrontend->startAppCommand(TQString(), program, inTerminal);
}
@@ -775,7 +775,7 @@ void RubySupportPart::slotSwitchToTest()
if (TQFile::exists(integrationTestS)) urls << KURL::fromPathOrURL(integrationTestS);
if (TQFile::exists(unitTestS)) urls << KURL::fromPathOrURL(unitTestS);
- KDevQuickOpen *qo = extension<KDevQuickOpen>("KDevelop/QuickOpen");
+ KDevQuickOpen *qo = extension<KDevQuickOpen>("TDevelop/QuickOpen");
if (qo && !urls.isEmpty())
qo->quickOpenFile(urls);
}
@@ -867,7 +867,7 @@ void RubySupportPart::slotSwitchToView()
if ( !(viewName.endsWith("~") || viewName == "." || viewName == "..") )
urls << KURL::fromPathOrURL(viewsDir.absPath() + "/" + viewName);
}
- KDevQuickOpen *qo = extension<KDevQuickOpen>("KDevelop/QuickOpen");
+ KDevQuickOpen *qo = extension<KDevQuickOpen>("TDevelop/QuickOpen");
if (qo)
qo->quickOpenFile(urls);
}