summaryrefslogtreecommitdiffstats
path: root/src/mainwindowshare.cpp
diff options
context:
space:
mode:
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 );