summaryrefslogtreecommitdiffstats
path: root/src/mainwindowshare.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /src/mainwindowshare.cpp
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'src/mainwindowshare.cpp')
-rw-r--r--src/mainwindowshare.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mainwindowshare.cpp b/src/mainwindowshare.cpp
index 8e44d7b7..a06dba14 100644
--- a/src/mainwindowshare.cpp
+++ b/src/mainwindowshare.cpp
@@ -55,11 +55,11 @@
#include "projectmanager.h"
#include "core.h"
#include "api.h"
-#include "tdevmakefrontend.h"
+#include "kdevmakefrontend.h"
#include "toplevel.h"
#include "plugincontroller.h"
-#include "tdevplugininfo.h"
+#include "kdevplugininfo.h"
#include "mainwindowshare.h"
@@ -120,8 +120,8 @@ void MainWindowShare::createActions()
connect(m_stopProcesses->popupMenu(), TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotStopPopupActivated(int)));
- connect( Core::getInstance(), TQT_SIGNAL(activeProcessChanged(TDevPlugin*, bool)),
- this, TQT_SLOT(slotActiveProcessChanged(TDevPlugin*, bool)) );
+ connect( Core::getInstance(), TQT_SIGNAL(activeProcessChanged(KDevPlugin*, bool)),
+ this, TQT_SLOT(slotActiveProcessChanged(KDevPlugin*, bool)) );
action = KStdAction::showMenubar(
this, TQT_SLOT(slotShowMenuBar()),
@@ -180,7 +180,7 @@ void MainWindowShare::createActions()
m_configureEditorAction->setWhatsThis(i18n("<b>Configure editor</b><p>Opens editor configuration dialog."));
m_configureEditorAction->setEnabled( false );
- TDevPartController * partController = API::getInstance()->partController();
+ KDevPartController * partController = API::getInstance()->partController();
connect( partController, TQT_SIGNAL(activePartChanged(KParts::Part*)), this, TQT_SLOT(slotActivePartChanged(KParts::Part* )) );
}
@@ -236,7 +236,7 @@ void MainWindowShare::slotStopButtonPressed()
Core::getInstance()->doEmitStopButtonPressed();
}
-void MainWindowShare::slotActiveProcessChanged( TDevPlugin* plugin, bool active )
+void MainWindowShare::slotActiveProcessChanged( KDevPlugin* plugin, bool active )
{
if ( !plugin )
return;
@@ -251,7 +251,7 @@ void MainWindowShare::slotActiveProcessChanged( TDevPlugin* plugin, bool active
void MainWindowShare::slotStopPopupActivated( int id )
{
- TDevPlugin* plugin = activeProcesses.at( id );
+ KDevPlugin* plugin = activeProcesses.at( id );
if ( plugin && plugin->info()->genericName() == m_stopProcesses->popupMenu()->text( id ) ) {
Core::getInstance()->doEmitStopButtonPressed( plugin );
return;
@@ -273,7 +273,7 @@ void MainWindowShare::slotStopMenuAboutToShow()
popup->clear();
int i = 0;
- for ( TDevPlugin* plugin = activeProcesses.first(); plugin; plugin = activeProcesses.next() ) {
+ for ( KDevPlugin* plugin = activeProcesses.first(); plugin; plugin = activeProcesses.next() ) {
popup->insertItem( plugin->info()->genericName(), i++ );
}
}
@@ -325,7 +325,7 @@ void MainWindowShare::slotConfigureEditors()
{
kdDebug(9000) << " *** MainWindowShare::slotConfigureEditors()" << endl;
- TDevPartController * partController = API::getInstance()->partController();
+ KDevPartController * partController = API::getInstance()->partController();
KParts::Part * part = partController->activePart();
KTextEditor::ConfigInterface * conf = dynamic_cast<KTextEditor::ConfigInterface*>( part );