diff options
Diffstat (limited to 'src')
64 files changed, 288 insertions, 288 deletions
| diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 558caeb4..b58b6df5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -52,8 +52,8 @@ install( FILES  ##### other data ################################  install( FILES tdevelopui.rc eventsrc DESTINATION ${DATA_INSTALL_DIR}/tdevelop ) -install( FILES tdeveloprc kdevassistantrc DESTINATION ${CONFIG_INSTALL_DIR} ) -install( FILES kdevassistantui.rc DESTINATION ${DATA_INSTALL_DIR}/kdevassistant ) +install( FILES tdeveloprc tdevassistantrc DESTINATION ${CONFIG_INSTALL_DIR} ) +install( FILES tdevassistantui.rc DESTINATION ${DATA_INSTALL_DIR}/tdevassistant )  install( FILES projectprofiles DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles ) @@ -61,25 +61,25 @@ install( FILES projectprofiles DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles  tde_add_executable( tdevelop    SOURCES -    main.cpp kdevideextension.cpp settingswidget.ui -  LINK kdevshell-shared +    main.cpp tdevideextension.cpp settingswidget.ui +  LINK tdevshell-shared    DESTINATION ${BIN_INSTALL_DIR}  ) -##### kdevassistant (executable) ################ +##### tdevassistant (executable) ################ -tde_add_executable( kdevassistant +tde_add_executable( tdevassistant    SOURCES -    main_assistant.cpp kdevassistantextension.cpp -  LINK kdevshell-shared +    main_assistant.cpp tdevassistantextension.cpp +  LINK tdevshell-shared    DESTINATION ${BIN_INSTALL_DIR}  ) -##### kdevshell (shared) ######################## +##### tdevshell (shared) ######################## -tde_add_library( kdevshell SHARED AUTOMOC +tde_add_library( tdevshell SHARED AUTOMOC    SOURCES      api.cpp core.cpp documentationpart.cpp editorproxy.cpp      generalinfowidget.cpp generalinfowidgetbase.ui @@ -92,7 +92,7 @@ tde_add_library( kdevshell SHARED AUTOMOC      toplevel.cpp    VERSION 0.0.0    LINK -    kdevutil-static d-shared kinterfacedesigner-shared -    profileengine-shared tdevelop-shared kdevwidgets-shared +    tdevutil-static d-shared kinterfacedesigner-shared +    profileengine-shared tdevelop-shared tdevwidgets-shared    DESTINATION ${LIB_INSTALL_DIR}  ) diff --git a/src/Mainpage.dox b/src/Mainpage.dox index 2f055d1b..7f2255d2 100644 --- a/src/Mainpage.dox +++ b/src/Mainpage.dox @@ -3,7 +3,7 @@  This library contains the Shell - a profile-based implementation of TDevelop plugin architecture. -<b>Link with</b>: -lkdevshell +<b>Link with</b>: -ltdevshell  <b>Include path</b>: -I\$(kde_includes)/tdevelop/shell @@ -109,7 +109,7 @@ Example:          }      protected: -        KDevAssistantExtension(); +        TDevAssistantExtension();      };      @endcode diff --git a/src/Makefile.am b/src/Makefile.am index 047e89a4..b0b8a04c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,41 +6,41 @@ INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/lib/interfaces \  KDE_OPTIONS=nofinal -lib_LTLIBRARIES = libkdevshell.la -libkdevshell_la_LDFLAGS = $(all_libraries) -ltdevelop -L../lib/.libs -L../lib/interfaces/external/.libs -lkinterfacedesigner -libkdevshell_la_LIBADD = \ +lib_LTLIBRARIES = libtdevshell.la +libtdevshell_la_LDFLAGS = $(all_libraries) -ltdevelop -L../lib/.libs -L../lib/interfaces/external/.libs -lkinterfacedesigner +libtdevshell_la_LIBADD = \  	$(top_builddir)/src/profileengine/lib/libprofileengine.la $(top_builddir)/lib/libtdevelop.la \ -	$(top_builddir)/lib/widgets/libkdevwidgets.la $(top_builddir)/lib/interfaces/extras/libkdevextras.la \ +	$(top_builddir)/lib/widgets/libtdevwidgets.la $(top_builddir)/lib/interfaces/extras/libtdevextras.la \  	$(top_builddir)/src/newui/libd.la $(LIB_TDEHTML) -ltdetexteditor -L../lib/interfaces/external/.libs -lkinterfacedesigner -libkdevshell_la_SOURCES = api.cpp core.cpp documentationpart.cpp \ +libtdevshell_la_SOURCES = api.cpp core.cpp documentationpart.cpp \  	editorproxy.cpp generalinfowidget.cpp generalinfowidgetbase.ui languageselectwidget.cpp \  	mainwindowshare.cpp mimewarningdialog.ui multibuffer.cpp partcontroller.cpp \  	plugincontroller.cpp pluginselectdialog.cpp pluginselectdialog.h pluginselectdialogbase.ui \  	projectmanager.cpp projectsession.cpp shellextension.cpp simplemainwindow.cpp \  	splashscreen.cpp statusbar.cpp toplevel.cpp -bin_PROGRAMS = tdevelop kdevassistant +bin_PROGRAMS = tdevelop tdevassistant -tdevelop_SOURCES = main.cpp kdevideextension.cpp settingswidget.ui +tdevelop_SOURCES = main.cpp tdevideextension.cpp settingswidget.ui  tdevelop_METASOURCES = AUTO  tdevelop_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -ltdevelop -L../lib/.libs -L../lib/interfaces/external/.libs -lkinterfacedesigner -tdevelop_LDADD = libkdevshell.la -L../lib/interfaces/external/.libs -lkinterfacedesigner +tdevelop_LDADD = libtdevshell.la -L../lib/interfaces/external/.libs -lkinterfacedesigner  rcdir = $(kde_datadir)/tdevelop  rc_DATA = tdevelopui.rc eventsrc -# default KDevelop configuration +# default TDevelop configuration  tdevelopdatadir = $(kde_confdir) -tdevelopdata_DATA = tdeveloprc kdevassistantrc +tdevelopdata_DATA = tdeveloprc tdevassistantrc  SUBDIRS = profiles profileengine newui tdeconf_update -kdevassistant_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -ltdevelop -L../lib/.libs -L../lib/interfaces/external/.libs -lkinterfacedesigner -kdevassistant_SOURCES = main_assistant.cpp kdevassistantextension.cpp -kdevassistant_LDADD = libkdevshell.la -L../lib/interfaces/external/.libs -lkinterfacedesigner +tdevassistant_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -ltdevelop -L../lib/.libs -L../lib/interfaces/external/.libs -lkinterfacedesigner +tdevassistant_SOURCES = main_assistant.cpp tdevassistantextension.cpp +tdevassistant_LDADD = libtdevshell.la -L../lib/interfaces/external/.libs -lkinterfacedesigner -rc_assistantdir = $(kde_datadir)/kdevassistant -rc_assistant_DATA =  kdevassistantui.rc +rc_assistantdir = $(kde_datadir)/tdevassistant +rc_assistant_DATA =  tdevassistantui.rc  shellincludedir = $(includedir)/tdevelop/shell  shellinclude_HEADERS = api.h core.h documentationpart.h editorproxy.h \  	generalinfowidget.h languageselectwidget.h mainwindowshare.h partcontroller.h \ @@ -48,9 +48,9 @@ shellinclude_HEADERS = api.h core.h documentationpart.h editorproxy.h \  	statusbar.h toplevel.h generalinfowidgetbase.h mimewarningdialog.h settingswidget.h \  	simplemainwindow.h multibuffer.h -DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevutil kdevinterfaces kdevextensions -DOXYGEN_PROJECTNAME = KDevelop Generic Shell -DOXYGEN_DOCDIRPREFIX = kdevshell +DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevutil tdevinterfaces tdevextensions +DOXYGEN_PROJECTNAME = TDevelop Generic Shell +DOXYGEN_DOCDIRPREFIX = tdevshell  include ../Doxyfile.am  profilesdatadir = $(kde_datadir)/tdevelop/profiles  profilesdata_DATA = projectprofiles diff --git a/src/api.cpp b/src/api.cpp index 8e56da3d..4053f871 100644 --- a/src/api.cpp +++ b/src/api.cpp @@ -9,18 +9,18 @@  API *API::s_instance = 0; -KDevMainWindow *API::mainWindow() const +TDevMainWindow *API::mainWindow() const  {    return TopLevel::getInstance();  } -KDevPartController *API::partController() const +TDevPartController *API::partController() const  {    return PartController::getInstance();  } -KDevCore *API::core() const +TDevCore *API::core() const  {    return Core::getInstance();  } @@ -41,7 +41,7 @@ API *API::getInstance()  API::API() -  : KDevApi() +  : TDevApi()  {    m_classStore = new CodeModel();  } @@ -53,7 +53,7 @@ API::~API()    m_classStore = 0;  } -KDevPluginController * API::pluginController() const +TDevPluginController * API::pluginController() const  {      return PluginController::getInstance();  } @@ -2,7 +2,7 @@  #define _API_H_ -#include "kdevapi.h" +#include "tdevapi.h"  class CodeModel; @@ -10,14 +10,14 @@ class CodeModel;  /**  API implementation.  */ -class API : public KDevApi +class API : public TDevApi  {  public: -  virtual KDevMainWindow *mainWindow() const; -  virtual KDevPartController *partController() const; -  virtual KDevPluginController *pluginController() const; -  virtual KDevCore *core() const; +  virtual TDevMainWindow *mainWindow() const; +  virtual TDevPartController *partController() const; +  virtual TDevPluginController *pluginController() const; +  virtual TDevCore *core() const;    virtual CodeModel *codeModel() const;    static API *getInstance(); diff --git a/src/core.cpp b/src/core.cpp index ccdd0ace..64c3d0b9 100644 --- a/src/core.cpp +++ b/src/core.cpp @@ -59,7 +59,7 @@ void Core::setupShourtcutTips(KXMLGUIClient * client)  }  Core::Core() -  : KDevCore() +  : TDevCore()  {  } @@ -88,7 +88,7 @@ bool Core::queryClose()  } -void Core::running(KDevPlugin * which, bool runs) +void Core::running(TDevPlugin * which, bool runs)  {    emit activeProcessChanged( which, runs );  } @@ -7,7 +7,7 @@  #include <tdeparts/partmanager.h> -#include "kdevcore.h" +#include "tdevcore.h"  namespace MainWindowUtils{ @@ -17,7 +17,7 @@ TQString beautifyToolTip(const TQString& text);  /**  Core implementation.  */ -class Core : public KDevCore +class Core : public TDevCore  {    Q_OBJECT @@ -41,7 +41,7 @@ public:    ~Core(); -  virtual void running(KDevPlugin *which, bool runs); +  virtual void running(TDevPlugin *which, bool runs);    virtual void fillContextMenu(TQPopupMenu *popup, const Context *context);    virtual void openProject(const TQString& projectFileName); @@ -51,13 +51,13 @@ public:    void doEmitCoreInitialized() { emit coreInitialized(); }    void doEmitProjectConfigWidget(KDialogBase *base) { emit projectConfigWidget(base); }    void doEmitConfigWidget(KDialogBase *base) { emit configWidget(base); } -  void doEmitStopButtonPressed(KDevPlugin* which = 0) { emit stopButtonClicked( which ); } +  void doEmitStopButtonPressed(TDevPlugin* which = 0) { emit stopButtonClicked( which ); }    bool queryClose();  signals: -  void activeProcessChanged(KDevPlugin* which, bool runs); +  void activeProcessChanged(TDevPlugin* which, bool runs);  protected: diff --git a/src/documentationpart.cpp b/src/documentationpart.cpp index b9ad78d0..43c9db67 100644 --- a/src/documentationpart.cpp +++ b/src/documentationpart.cpp @@ -3,7 +3,7 @@  #include "documentationpart.h"  HTMLDocumentationPart::HTMLDocumentationPart() -  : KDevHTMLPart() +  : TDevHTMLPart()  {      setOptions(CanDuplicate | CanOpenInNewWindow);  } diff --git a/src/documentationpart.h b/src/documentationpart.h index dd86ce8a..84f17023 100644 --- a/src/documentationpart.h +++ b/src/documentationpart.h @@ -1,14 +1,14 @@  #ifndef __DOCUMENTATIONPART_H__  #define __DOCUMENTATIONPART_H__ -#include <kdevhtmlpart.h> +#include <tdevhtmlpart.h>  /**  HTML documentation part. -Implements shell-dependent "duplicate" and "open in new window" actions of KDevHTMLPart. +Implements shell-dependent "duplicate" and "open in new window" actions of TDevHTMLPart.  */ -class HTMLDocumentationPart : public KDevHTMLPart +class HTMLDocumentationPart : public TDevHTMLPart  {    Q_OBJECT diff --git a/src/editorproxy.cpp b/src/editorproxy.cpp index 73ff852b..fca4bfdf 100644 --- a/src/editorproxy.cpp +++ b/src/editorproxy.cpp @@ -27,7 +27,7 @@  #include "partcontroller.h"  #include "core.h"  #include "multibuffer.h" -#include "kdeveditorutil.h" +#include "tdeveditorutil.h"  #include "editorproxy.h" @@ -178,20 +178,20 @@ void EditorProxy::popupAboutToShow()  	unsigned int line;  	unsigned int col; -	if ( !KDevEditorUtil::currentPositionReal( &line, &col, doc ) ) return; +	if ( !TDevEditorUtil::currentPositionReal( &line, &col, doc ) ) return;  	TQString wordstr; -	TQString selection = KDevEditorUtil::currentSelection( doc ); +	TQString selection = TDevEditorUtil::currentSelection( doc );  	if ( !selection.isEmpty() && selection.contains('\n') != 0 )  	{  		wordstr = selection;  	}  	else  	{ -		wordstr = KDevEditorUtil::currentWord( doc ); +		wordstr = TDevEditorUtil::currentWord( doc );  	} -	TQString linestr = KDevEditorUtil::currentLine( doc ); +	TQString linestr = TDevEditorUtil::currentLine( doc );  	EditorContext context( doc->url(), line, col, linestr, wordstr );  	Core::getInstance()->fillContextMenu( popup, &context ); diff --git a/src/eventsrc b/src/eventsrc index baa16c20..4032da95 100644 --- a/src/eventsrc +++ b/src/eventsrc @@ -1,6 +1,6 @@  [!Global!]  IconName=tdevelop -Comment=KDevelop +Comment=TDevelop  Comment[hi]=के-डेवलप  [ProcessSuccess] diff --git a/src/languageselectwidget.cpp b/src/languageselectwidget.cpp index 7a8695ff..67723b65 100644 --- a/src/languageselectwidget.cpp +++ b/src/languageselectwidget.cpp @@ -26,7 +26,7 @@  #include <kservice.h>  #include <ktrader.h>  #include <tdeapplication.h> -#include <kdevplugin.h> +#include <tdevplugin.h>  #include "domutil.h"  #include "languageselectwidget.h" diff --git a/src/main.cpp b/src/main.cpp index 6f27e415..2df35f7e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,7 +18,7 @@  #include "core.h"  #include "projectmanager.h" -#include "kdevideextension.h" +#include "tdevideextension.h"  static TDECmdLineOptions options[] =  { @@ -86,15 +86,15 @@ int main(int argc, char *argv[])    TDEApplication app; -  KDevIDEExtension::init(); +  TDevIDEExtension::init(); -  KDevSplashScreen *splash = 0; +  TDevSplashScreen *splash = 0;    TQString splashFile = locate("appdata", "pics/tdevelop-splash.png");    if (!splashFile.isEmpty())    {      TQPixmap pm;      pm.load(splashFile); -    splash = new KDevSplashScreen( pm ); +    splash = new TDevSplashScreen( pm );    }    app.processEvents(); diff --git a/src/main_assistant.cpp b/src/main_assistant.cpp index ba2c1886..7cd9a98d 100644 --- a/src/main_assistant.cpp +++ b/src/main_assistant.cpp @@ -18,7 +18,7 @@  #include "core.h"  #include "projectmanager.h" -#include "kdevassistantextension.h" +#include "tdevassistantextension.h"  static TDECmdLineOptions options[] =  { @@ -30,7 +30,7 @@ static TDECmdLineOptions options[] =  int main(int argc, char *argv[])  {    static const char description[] = I18N_NOOP("The TDevelop Integrated Development Environment:\nassistant and documentation viewer"); -  TDEAboutData aboutData("kdevassistant", I18N_NOOP("TDevelop Assistant"), +  TDEAboutData aboutData("tdevassistant", I18N_NOOP("TDevelop Assistant"),                         VERSION, description, TDEAboutData::License_GPL,                         I18N_NOOP("(c) 1999-2007, The KDevelop developers"), "", "http://www.kdevelop.org");    aboutData.addAuthor("Alexander Dymo", I18N_NOOP("Release coordinator, Overall improvements, Pascal support, C++ support, New File and Documentation parts"), "adymo@kdevelop.org"); @@ -80,15 +80,15 @@ int main(int argc, char *argv[])    TDEApplication app; -  KDevAssistantExtension::init(); +  TDevAssistantExtension::init(); -  KDevSplashScreen *splash = 0; -  TQString splashFile = locate("data", "tdevelop/pics/kdevassistant-splash.png"); +  TDevSplashScreen *splash = 0; +  TQString splashFile = locate("data", "tdevelop/pics/tdevassistant-splash.png");    if (!splashFile.isEmpty())    {      TQPixmap pm;      pm.load(splashFile); -    splash = new KDevSplashScreen( pm ); +    splash = new TDevSplashScreen( pm );    }    if (splash) splash->show(); @@ -109,7 +109,7 @@ int main(int argc, char *argv[])    if (splash) delete splash; -  kapp->dcopClient()->registerAs("kdevassistant"); +  kapp->dcopClient()->registerAs("tdevassistant");    return app.exec();  } diff --git a/src/mainwindowshare.cpp b/src/mainwindowshare.cpp index a06dba14..8e44d7b7 100644 --- a/src/mainwindowshare.cpp +++ b/src/mainwindowshare.cpp @@ -55,11 +55,11 @@  #include "projectmanager.h"  #include "core.h"  #include "api.h" -#include "kdevmakefrontend.h" +#include "tdevmakefrontend.h"  #include "toplevel.h"  #include "plugincontroller.h" -#include "kdevplugininfo.h" +#include "tdevplugininfo.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(KDevPlugin*, bool)), -           this, TQT_SLOT(slotActiveProcessChanged(KDevPlugin*, bool)) ); +  connect( Core::getInstance(), TQT_SIGNAL(activeProcessChanged(TDevPlugin*, bool)), +           this, TQT_SLOT(slotActiveProcessChanged(TDevPlugin*, 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 ); -  KDevPartController * partController = API::getInstance()->partController(); +  TDevPartController * 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( KDevPlugin* plugin, bool active ) +void MainWindowShare::slotActiveProcessChanged( TDevPlugin* plugin, bool active )  {    if ( !plugin )      return; @@ -251,7 +251,7 @@ void MainWindowShare::slotActiveProcessChanged( KDevPlugin* plugin, bool active  void MainWindowShare::slotStopPopupActivated( int id )  { -  KDevPlugin* plugin = activeProcesses.at( id ); +  TDevPlugin* 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 ( KDevPlugin* plugin = activeProcesses.first(); plugin; plugin = activeProcesses.next() ) { +  for ( TDevPlugin* 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; -    KDevPartController * partController = API::getInstance()->partController(); +    TDevPartController * partController = API::getInstance()->partController();      KParts::Part * part = partController->activePart();      KTextEditor::ConfigInterface * conf = dynamic_cast<KTextEditor::ConfigInterface*>( part ); diff --git a/src/mainwindowshare.h b/src/mainwindowshare.h index a9ec620a..7ac08bdb 100644 --- a/src/mainwindowshare.h +++ b/src/mainwindowshare.h @@ -54,7 +54,7 @@ private slots:    void slotConfigureNotifications();    void slotConfigureEditors();    void slotSettings(); -  void slotActiveProcessChanged( KDevPlugin*, bool ); +  void slotActiveProcessChanged( TDevPlugin*, bool );    void slotActivePartChanged( KParts::Part* part );    void slotStopPopupActivated(int);    void slotStopMenuAboutToShow(); @@ -83,7 +83,7 @@ private:    TDEToolBarPopupAction*  m_stopProcesses;                 //!< Stops all running processes    KParts::MainWindow*   m_pMainWnd; -  TQPtrList<KDevPlugin>  activeProcesses; +  TQPtrList<TDevPlugin>  activeProcesses;  };  #endif // __MAINWINDOWSHARE_H__ diff --git a/src/multibuffer.cpp b/src/multibuffer.cpp index 05a4d26f..757eeab7 100644 --- a/src/multibuffer.cpp +++ b/src/multibuffer.cpp @@ -32,7 +32,7 @@  #include "toplevel.h"  #include "editorproxy.h"  #include "partcontroller.h" -#include "kdevlanguagesupport.h" +#include "tdevlanguagesupport.h"  #include <kdebug.h>  #include <kmimetype.h> @@ -53,7 +53,7 @@ MultiBuffer::MultiBuffer( TQWidget *parent )          m_activeBuffer( 0 )  {      EditorProxy::getInstance() ->registerEditor( this ); -    if ( KDevLanguageSupport *lang = +    if ( TDevLanguageSupport *lang =           API::getInstance() ->languageSupport() )      {          setOrientation( lang->splitOrientation() ); diff --git a/src/partcontroller.cpp b/src/partcontroller.cpp index 21b78a8c..16bffcca 100644 --- a/src/partcontroller.cpp +++ b/src/partcontroller.cpp @@ -54,14 +54,14 @@  #include "documentationpart.h"  #include "ksavealldialog.h" -#include "kdevproject.h" +#include "tdevproject.h"  #include "urlutil.h"  #include "mimewarningdialog.h"  #include "domutil.h" -#include "kdevjobtimer.h" +#include "tdevjobtimer.h"  #include "designer.h" -#include "kdevlanguagesupport.h" +#include "tdevlanguagesupport.h"  #include "multibuffer.h"  #include "partcontroller.h" @@ -90,7 +90,7 @@ struct ModificationData  PartController::PartController(TQWidget *parent) -  : KDevPartController(parent), _editorFactory(0L), m_currentActivePart(0), m_removingActivePart(false) +  : TDevPartController(parent), _editorFactory(0L), m_currentActivePart(0), m_removingActivePart(false)  {    connect(this, TQT_SIGNAL(partRemoved(KParts::Part*)), this, TQT_SLOT(slotPartRemoved(KParts::Part* )) );    connect(this, TQT_SIGNAL(partAdded(KParts::Part*)), this, TQT_SLOT(slotPartAdded(KParts::Part* )) ); @@ -348,7 +348,7 @@ void PartController::editDocumentInternal( const KURL & inputUrl, int lineNum,      if ( !addToCurrentBuffer )      { -        if ( KDevLanguageSupport *lang = +        if ( TDevLanguageSupport *lang =               API::getInstance()->languageSupport() )          {              // Let the language part override the addToCurrentBuffer flag @@ -406,11 +406,11 @@ void PartController::editDocumentInternal( const KURL & inputUrl, int lineNum,  			DesignerSetting = DomUtil::readEntry(*dom, "/kdevcppsupport/qt/designerintegration", DesignerSetting  );  			designerExec = DomUtil::readEntry(*dom, "/kdevcppsupport/qt/designer", designerExec );  		} -		if ( DesignerSetting == "ExternalKDevDesigner" ) +		if ( DesignerSetting == "ExternalTDevDesigner" )  		{ -			designerExec = "kdevdesigner"; +			designerExec = "tdevdesigner";  		} -		else if ( DesignerSetting == "EmbeddedKDevDesigner" ) +		else if ( DesignerSetting == "EmbeddedTDevDesigner" )  		{  			if ( KParts::ReadOnlyPart *designerPart = qtDesignerPart() )  			{ @@ -419,12 +419,12 @@ void PartController::editDocumentInternal( const KURL & inputUrl, int lineNum,  				designerPart->openURL(url);  				return;  			} -			else if ( KParts::Factory * KDevDesignerFactory = static_cast<KParts::Factory*>( KLibLoader::self()->factory( TQFile::encodeName( "libkdevdesignerpart" ) ) ) ) +			else if ( KParts::Factory * TDevDesignerFactory = static_cast<KParts::Factory*>( KLibLoader::self()->factory( TQFile::encodeName( "libtdevdesignerpart" ) ) ) )  			{ -				KParts::ReadWritePart * kdevpart = static_cast<KParts::ReadWritePart*>( KDevDesignerFactory->createPart( TopLevel::getInstance()->main(), 0, 0, 0, "KParts::ReadWritePart"  ) ); -				kdevpart->openURL( url ); +				KParts::ReadWritePart * tdevpart = static_cast<KParts::ReadWritePart*>( TDevDesignerFactory->createPart( TopLevel::getInstance()->main(), 0, 0, 0, "KParts::ReadWritePart"  ) ); +				tdevpart->openURL( url );  				addHistoryEntry(); -				integratePart( kdevpart, url ); +				integratePart( tdevpart, url );  				m_openRecentAction->addURL( url );  				m_openRecentAction->saveEntries( kapp->config(), "RecentFiles" );  				return; @@ -1386,7 +1386,7 @@ void PartController::slotDocumentDirty( Kate::Document * d, bool isModified, uns  		p->doc = doc;  		p->isModified = isModified;  		p->reason = reason; -		KDevJobTimer::singleShot( 0, this, TQT_SLOT(slotDocumentDirtyStepTwo(void*)), p ); +		TDevJobTimer::singleShot( 0, this, TQT_SLOT(slotDocumentDirtyStepTwo(void*)), p );  	}  } diff --git a/src/partcontroller.h b/src/partcontroller.h index 2e621c38..064c6ef6 100644 --- a/src/partcontroller.h +++ b/src/partcontroller.h @@ -1,7 +1,7 @@  #ifndef __PARTCONTROLLER_H__  #define __PARTCONTROLLER_H__ -#include "kdevpartcontroller.h" +#include "tdevpartcontroller.h"  #include <tqwidget.h>  #include <tqdatetime.h> @@ -40,7 +40,7 @@ class KDirWatch;  /**  Part controler implementation.  */ -class PartController : public KDevPartController +class PartController : public TDevPartController  {    Q_OBJECT @@ -51,7 +51,7 @@ public:    static void createInstance(TQWidget *parent);    static PartController *getInstance(); -  ///// KDevPartController interface +  ///// TDevPartController interface    void setEncoding(const TQString &encoding);    void editDocument(const KURL &inputUrl, int lineNum=-1, int col=-1); diff --git a/src/plugincontroller.cpp b/src/plugincontroller.cpp index 30aa9171..7b6410b7 100644 --- a/src/plugincontroller.cpp +++ b/src/plugincontroller.cpp @@ -19,14 +19,14 @@  #include <kstatusbar.h>  #include <kiconloader.h> -#include <kdevapi.h> -#include <kdevplugin.h> -#include <kdevmakefrontend.h> -#include <kdevappfrontend.h> -#include <kdevdifffrontend.h> -#include <kdevsourceformatter.h> -#include <kdevcreatefile.h> -#include <kdevplugininfo.h> +#include <tdevapi.h> +#include <tdevplugin.h> +#include <tdevmakefrontend.h> +#include <tdevappfrontend.h> +#include <tdevdifffrontend.h> +#include <tdevsourceformatter.h> +#include <tdevcreatefile.h> +#include <tdevplugininfo.h>  #include <tdeaction.h>  #include <profileengine.h> @@ -77,7 +77,7 @@ PluginController *PluginController::getInstance()  PluginController::PluginController() -  : KDevPluginController() +  : TDevPluginController()  {  /*  m_defaultProfile = TQString::fromLatin1( "FullIDE" );    m_defaultProfilePath = kapp->dirs()->localtdedir() + "/" + @@ -149,7 +149,7 @@ void PluginController::loadPlugins( TDETrader::OfferList offers, const TQStringL      emit loadingPlugin(i18n("Loading: %1").arg((*it)->genericName())); -    KDevPlugin *plugin = loadPlugin( *it ); +    TDevPlugin *plugin = loadPlugin( *it );      if ( plugin )      {          m_parts.insert( name, plugin ); @@ -160,9 +160,9 @@ void PluginController::loadPlugins( TDETrader::OfferList offers, const TQStringL  void PluginController::unloadPlugins()  { -  for( TQDictIterator<KDevPlugin> it( m_parts ); !it.isEmpty(); ) +  for( TQDictIterator<TDevPlugin> it( m_parts ); !it.isEmpty(); )    { -    KDevPlugin* part = it.current(); +    TDevPlugin* part = it.current();      removePart( part );      m_parts.remove( it.currentKey() );      delete part; @@ -180,7 +180,7 @@ void PluginController::unloadProjectPlugins( )  	{  		TQString name = (*it)->desktopEntryName(); -		if ( KDevPlugin * plugin = m_parts[ name ] ) +		if ( TDevPlugin * plugin = m_parts[ name ] )  		{  			kdDebug(9000) << " *** Removing: " << name << endl;  			removeAndForgetPart( name, plugin ); @@ -194,7 +194,7 @@ void PluginController::unloadPlugins( TQStringList const & unloadParts )  	TQStringList::ConstIterator it = unloadParts.begin();  	while ( it != unloadParts.end() )  	{ -		KDevPlugin* part = m_parts[ *it ]; +		TDevPlugin* part = m_parts[ *it ];  		if( part )  		{  			kdDebug(9000) << " *** Removing: " << *it << endl; @@ -206,11 +206,11 @@ void PluginController::unloadPlugins( TQStringList const & unloadParts )  	}  } -KDevPlugin *PluginController::loadPlugin( const KService::Ptr &service ) +TDevPlugin *PluginController::loadPlugin( const KService::Ptr &service )  {      int err = 0; -    KDevPlugin * pl = KParts::ComponentFactory -        ::createInstanceFromService<KDevPlugin>( service, API::getInstance(), 0, +    TDevPlugin * pl = KParts::ComponentFactory +        ::createInstanceFromService<TDevPlugin>( service, API::getInstance(), 0,                                                   argumentsFromService( service ), &err );      if (!pl)      { @@ -248,7 +248,7 @@ void PluginController::integratePart(KXMLGUIClient *part)          TopLevel::getInstance()->main()->actionCollection(), TQT_SIGNAL( actionStatusText( const TQString & ) ) );  } -void PluginController::integrateAndRememberPart(const TQString &name, KDevPlugin *part) +void PluginController::integrateAndRememberPart(const TQString &name, TDevPlugin *part)  {      m_parts.insert(name, part);      integratePart(part); @@ -260,17 +260,17 @@ void PluginController::removePart(KXMLGUIClient *part)    TopLevel::getInstance()->main()->guiFactory()->removeClient(part);  } -void PluginController::removeAndForgetPart(const TQString &name, KDevPlugin *part) +void PluginController::removeAndForgetPart(const TQString &name, TDevPlugin *part)  {      kdDebug() << "removing: " << name << endl;      m_parts.remove(name);      removePart(part);  } -const TQValueList<KDevPlugin*> PluginController::loadedPlugins() +const TQValueList<TDevPlugin*> PluginController::loadedPlugins()  { -	TQValueList<KDevPlugin*> plugins; -	TQDictIterator<KDevPlugin> itt(m_parts); +	TQValueList<TDevPlugin*> plugins; +	TQDictIterator<TDevPlugin> itt(m_parts);  	while( itt.current() )  	{  		plugins.append( itt.current() ); @@ -279,26 +279,26 @@ const TQValueList<KDevPlugin*> PluginController::loadedPlugins()  	return plugins;  } -KDevPlugin * PluginController::extension( const TQString & serviceType, const TQString & constraint ) +TDevPlugin * PluginController::extension( const TQString & serviceType, const TQString & constraint )  { -    TDETrader::OfferList offers = KDevPluginController::query(serviceType, constraint); +    TDETrader::OfferList offers = TDevPluginController::query(serviceType, constraint);      for (TDETrader::OfferList::const_iterator it = offers.constBegin(); it != offers.end(); ++it)      { -        KDevPlugin *ext = m_parts[(*it)->desktopEntryName()]; +        TDevPlugin *ext = m_parts[(*it)->desktopEntryName()];          if (ext) return ext;      }      return 0;  } -KDevPlugin * PluginController::loadPlugin( const TQString & serviceType, const TQString & constraint ) +TDevPlugin * PluginController::loadPlugin( const TQString & serviceType, const TQString & constraint )  { -	TDETrader::OfferList offers = KDevPluginController::query( serviceType, constraint ); +	TDETrader::OfferList offers = TDevPluginController::query( serviceType, constraint );  	if ( !offers.size() == 1 ) return 0;  	TDETrader::OfferList::const_iterator it = offers.constBegin();  	TQString name = (*it)->desktopEntryName(); -	KDevPlugin * plugin = 0; +	TDevPlugin * plugin = 0;  	if ( plugin = m_parts[ name ] )  	{  		return plugin; @@ -372,12 +372,12 @@ void PluginController::selectPlugins( )  }  /* -KDevPlugin * PluginController::getPlugin( const KService::Ptr & service ) +TDevPlugin * PluginController::getPlugin( const KService::Ptr & service )  { -	KDevPlugin * plugin = m_parts[ (*it)->name() ]; +	TDevPlugin * plugin = m_parts[ (*it)->name() ];  	if ( !plugin )  	{ -		KDevPlugin * plugin = loadPlugin( *it ); +		TDevPlugin * plugin = loadPlugin( *it );  		if ( plugin )  		{  			integratePart( plugin ); diff --git a/src/plugincontroller.h b/src/plugincontroller.h index d5c3f423..eb635bb6 100644 --- a/src/plugincontroller.h +++ b/src/plugincontroller.h @@ -6,13 +6,13 @@  #include <kservice.h> -#include <kdevplugincontroller.h> +#include <tdevplugincontroller.h>  #include <profileengine.h>  class KXMLGUIClient;  class KService; -class KDevPlugin; +class TDevPlugin;  class KDialogBase;  class ProjectInfo; @@ -20,7 +20,7 @@ class ProjectInfo;  Plugin controller implementation.  Loads and unloads plugins.  */ -class PluginController : public KDevPluginController +class PluginController : public TDevPluginController  {    Q_OBJECT @@ -33,7 +33,7 @@ public:    static TQStringList argumentsFromService( const KService::Ptr &service ); -  virtual KDevPlugin * loadPlugin( const TQString & serviceType, const TQString & constraint ); +  virtual TDevPlugin * loadPlugin( const TQString & serviceType, const TQString & constraint );    virtual void unloadPlugin( const TQString & plugin );    TQString currentProfile() const { return m_profile; } @@ -45,18 +45,18 @@ public:    void loadGlobalPlugins( const TQStringList & ignorePlugins = TQStringList() ); -  //  KDevPlugin * getPlugin( const KService::Ptr &service ); +  //  TDevPlugin * getPlugin( const KService::Ptr &service ); -  virtual KDevPlugin *extension(const TQString &serviceType, const TQString &constraint = ""); +  virtual TDevPlugin *extension(const TQString &serviceType, const TQString &constraint = "");    void unloadPlugins( TQStringList const & );    void integratePart(KXMLGUIClient *part); -  void integrateAndRememberPart(const TQString &name, KDevPlugin *part); +  void integrateAndRememberPart(const TQString &name, TDevPlugin *part);    void removePart(KXMLGUIClient* part); -  void removeAndForgetPart(const TQString &name, KDevPlugin* part); +  void removeAndForgetPart(const TQString &name, TDevPlugin* part); -  const TQValueList<KDevPlugin*> loadedPlugins(); +  const TQValueList<TDevPlugin*> loadedPlugins();    ProfileEngine &engine() { return m_engine; } @@ -82,10 +82,10 @@ private slots:    void unloadPlugins();  private: -	static KDevPlugin *loadPlugin( const KService::Ptr &service ); +	static TDevPlugin *loadPlugin( const KService::Ptr &service ); -  TQDict<KDevPlugin> m_parts; +  TQDict<TDevPlugin> m_parts;    TQString m_profile;    static PluginController *s_instance; diff --git a/src/pluginselectdialog.cpp b/src/pluginselectdialog.cpp index 2f896b51..4f32a37d 100644 --- a/src/pluginselectdialog.cpp +++ b/src/pluginselectdialog.cpp @@ -18,7 +18,7 @@  #include <tdeapplication.h>  #include <kurllabel.h> -#include "kdevplugin.h" +#include "tdevplugin.h"  #include "projectmanager.h"  #include "plugincontroller.h"  #include "pluginselectdialog.h" @@ -109,9 +109,9 @@ void PluginSelectDialog::itemSelected( TQListViewItem * item )  void PluginSelectDialog::init( )  { -	const TQValueList<KDevPlugin*> loadedPlugins = PluginController::getInstance()->loadedPlugins(); +	const TQValueList<TDevPlugin*> loadedPlugins = PluginController::getInstance()->loadedPlugins();  	TQStringList loadedPluginDesktopNames; -	TQValueList<KDevPlugin*>::ConstIterator it = loadedPlugins.begin(); +	TQValueList<TDevPlugin*>::ConstIterator it = loadedPlugins.begin();  	while( it != loadedPlugins.end() )  	{  		loadedPluginDesktopNames << (*it)->instance()->instanceName(); diff --git a/src/profileengine/editor/CMakeLists.txt b/src/profileengine/editor/CMakeLists.txt index cfd7c59c..443da696 100644 --- a/src/profileengine/editor/CMakeLists.txt +++ b/src/profileengine/editor/CMakeLists.txt @@ -21,9 +21,9 @@ link_directories(  ) -##### kdevprofileeditor (executable) ############ +##### tdevprofileeditor (executable) ############ -tde_add_executable( kdevprofileeditor +tde_add_executable( tdevprofileeditor    SOURCES main.cpp    LINK profileeditor-static profileengine-shared tdeio-shared    DESTINATION ${BIN_INSTALL_DIR} diff --git a/src/profileengine/editor/Makefile.am b/src/profileengine/editor/Makefile.am index 26f69be6..fae89b48 100644 --- a/src/profileengine/editor/Makefile.am +++ b/src/profileengine/editor/Makefile.am @@ -12,11 +12,11 @@ libprofileeditor_la_SOURCES = profileeditorbase.ui profileeditor.cpp \  noinst_HEADERS = profileeditor.h -bin_PROGRAMS = kdevprofileeditor -kdevprofileeditor_LDFLAGS = $(all_libraries) -kdevprofileeditor_LDADD = \ +bin_PROGRAMS = tdevprofileeditor +tdevprofileeditor_LDFLAGS = $(all_libraries) +tdevprofileeditor_LDADD = \  	$(top_builddir)/src/profileengine/lib/libprofileengine.la libprofileeditor.la \  	$(LIB_TDEUI) $(LIB_TDEIO) -kdevprofileeditor_SOURCES = main.cpp +tdevprofileeditor_SOURCES = main.cpp diff --git a/src/profileengine/editor/main.cpp b/src/profileengine/editor/main.cpp index 46d128f3..68e942d7 100644 --- a/src/profileengine/editor/main.cpp +++ b/src/profileengine/editor/main.cpp @@ -30,7 +30,7 @@ static TDECmdLineOptions options[] =  int main(int argc, char **argv)  { -    TDEAboutData about("kdevprofileeditor", I18N_NOOP("TDevelop Profile Editor"), "1", "", +    TDEAboutData about("tdevprofileeditor", I18N_NOOP("TDevelop Profile Editor"), "1", "",                       TDEAboutData::License_GPL, I18N_NOOP("(c) 2004, The KDevelop Developers"), 0, 0, "");      about.addAuthor("Alexander Dymo", 0, "adymo@kdevelop.org");      TDECmdLineArgs::init(argc, argv, &about); diff --git a/src/profileengine/lib/Makefile.am b/src/profileengine/lib/Makefile.am index 08b6e7ad..66b1f159 100644 --- a/src/profileengine/lib/Makefile.am +++ b/src/profileengine/lib/Makefile.am @@ -10,7 +10,7 @@ libprofileengine_la_SOURCES = profileengine.cpp profile.cpp  profileincludedir = $(includedir)/tdevelop/shell/profileengine  profileinclude_HEADERS = profileengine.h profile.h -DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevutil kdevinterfaces -DOXYGEN_PROJECTNAME = KDevelop Shell Profiles Library -DOXYGEN_DOCDIRPREFIX = kdevprofiles +DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevutil tdevinterfaces +DOXYGEN_PROJECTNAME = TDevelop Shell Profiles Library +DOXYGEN_DOCDIRPREFIX = tdevprofiles  include ../../../Doxyfile.am diff --git a/src/profileengine/lib/profileengine.cpp b/src/profileengine/lib/profileengine.cpp index fd4d06fa..8678732e 100644 --- a/src/profileengine/lib/profileengine.cpp +++ b/src/profileengine/lib/profileengine.cpp @@ -25,7 +25,7 @@  #include <tdeglobal.h>  #include <kstandarddirs.h> -#include <kdevplugin.h> +#include <tdevplugin.h>  ProfileEngine::ProfileEngine()  { diff --git a/src/profileengine/lib/profileengine.h b/src/profileengine/lib/profileengine.h index 36d85697..d630f576 100644 --- a/src/profileengine/lib/profileengine.h +++ b/src/profileengine/lib/profileengine.h @@ -61,27 +61,27 @@ public:  /**  Profile engine. -- Uses KDevelop profiles to form lists of plugin offers; +- Uses TDevelop profiles to form lists of plugin offers;  - Provides means of managing profiles;  - Provides means to access the resources provided by a profile. -KDevelop profiles form a tree with a root profile named "KDevelop". +TDevelop profiles form a tree with a root profile named "TDevelop".  For example, such profiles tree can look as:  @code -KDevelop +TDevelop  - IDE    - CompiledLanguageIDE      - AdaIDE      - CandCppIDE        - CIDE        - CppIDE -        - KDECppIDE +        - TDECppIDE      - FortranIDE      ...    - DatabaseIDE    - ScriptingLanguageIDE    .. -- KDevAssistant +- TDevAssistant  @endcode  To manage a tree of profiles, use @ref ProfileEngine::walkProfiles methods.  */ @@ -92,7 +92,7 @@ public:      /**Type of the plugin offer. Engine will usually find profiles and return offers      of selected type. -    @sa KDevPlugin class documentation for more information of plugin types.*/ +    @sa TDevPlugin class documentation for more information of plugin types.*/      enum OfferType {           Global    /**<Global plugins.*/,          Project   /**<Project plugins.*/, @@ -137,8 +137,8 @@ public:      void diffProfiles(OfferType offerType, const TQString &profile1, const TQString &profile2,           TQStringList &unload, TDETrader::OfferList &load); -    /**@return The root profile. Root profile is always named "KDevelop" and it -    defines an empty list of plugins. Applications built on KDevelop platform +    /**@return The root profile. Root profile is always named "TDevelop" and it +    defines an empty list of plugins. Applications built on TDevelop platform      will define nested profiles.*/      Profile *rootProfile() const { return m_rootProfile; }      /**Finds a profile with given name. diff --git a/src/profiles/CMakeLists.txt b/src/profiles/CMakeLists.txt index 5d886c88..396262a3 100644 --- a/src/profiles/CMakeLists.txt +++ b/src/profiles/CMakeLists.txt @@ -10,6 +10,6 @@  #################################################  add_subdirectory( IDE ) -add_subdirectory( KDevAssistant ) +add_subdirectory( TDevAssistant )  install( FILES profile.config DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt index 20e256e4..5023cfd9 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/CMakeLists.txt @@ -9,7 +9,7 @@  #  ################################################# -add_subdirectory( KDECppIDE ) +add_subdirectory( TDECppIDE )  install( FILES      profile.config diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/Makefile.am b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/Makefile.am index 79978385..fc781b15 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/Makefile.am +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/Makefile.am @@ -1,3 +1,3 @@  profilesdir = $(kde_datadir)/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE  profiles_DATA = profile.config -SUBDIRS = KDECppIDE +SUBDIRS = TDECppIDE diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/TDECppIDE/CMakeLists.txt index c87e4747..a364b7a9 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/CMakeLists.txt +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/TDECppIDE/CMakeLists.txt @@ -11,4 +11,4 @@  install( FILES      profile.config -  DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE ) +  DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/TDECppIDE ) diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/Makefile.am b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/TDECppIDE/Makefile.am index 5e5e943e..9368caac 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/Makefile.am +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/TDECppIDE/Makefile.am @@ -1,3 +1,3 @@ -profilesdir = $(kde_datadir)/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE +profilesdir = $(kde_datadir)/tdevelop/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/TDECppIDE  profiles_DATA = profile.config diff --git a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/profile.config b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/TDECppIDE/profile.config index b5b45c4c..b5b45c4c 100644 --- a/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/KDECppIDE/profile.config +++ b/src/profiles/IDE/CompiledLanguageIDE/CandCppIDE/CppIDE/TDECppIDE/profile.config diff --git a/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/profile.config b/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/profile.config index 5e58c161..99a52802 100644 --- a/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/profile.config +++ b/src/profiles/IDE/ScriptingLanguageIDE/RubyIDE/profile.config @@ -1,5 +1,5 @@  [Disable] -List=kdevfilelist,kdevsnippet,kdevvalgrind,kdevastyle,kdevctags2,kdevsecurity,kdevregexptest +List=tdevfilelist,kdevsnippet,kdevvalgrind,kdevastyle,kdevctags2,kdevsecurity,kdevregexptest  [Enable]  List= diff --git a/src/profiles/KDevAssistant/Makefile.am b/src/profiles/KDevAssistant/Makefile.am deleted file mode 100644 index dda1dd47..00000000 --- a/src/profiles/KDevAssistant/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -profilesdir = $(kde_datadir)/tdevelop/profiles/KDevAssistant -profiles_DATA = profile.config - diff --git a/src/profiles/Makefile.am b/src/profiles/Makefile.am index 3e0a706a..34789723 100644 --- a/src/profiles/Makefile.am +++ b/src/profiles/Makefile.am @@ -1,3 +1,3 @@  profilesdir = $(kde_datadir)/tdevelop/profiles  profiles_DATA = profile.config -SUBDIRS = IDE KDevAssistant +SUBDIRS = IDE TDevAssistant diff --git a/src/profiles/KDevAssistant/CMakeLists.txt b/src/profiles/TDevAssistant/CMakeLists.txt index 1f22e2e7..c6f5900f 100644 --- a/src/profiles/KDevAssistant/CMakeLists.txt +++ b/src/profiles/TDevAssistant/CMakeLists.txt @@ -11,4 +11,4 @@  install( FILES      profile.config -  DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/KDevAssistant ) +  DESTINATION ${DATA_INSTALL_DIR}/tdevelop/profiles/TDevAssistant ) diff --git a/src/profiles/TDevAssistant/Makefile.am b/src/profiles/TDevAssistant/Makefile.am new file mode 100644 index 00000000..39590a36 --- /dev/null +++ b/src/profiles/TDevAssistant/Makefile.am @@ -0,0 +1,3 @@ +profilesdir = $(kde_datadir)/tdevelop/profiles/TDevAssistant +profiles_DATA = profile.config + diff --git a/src/profiles/KDevAssistant/profile.config b/src/profiles/TDevAssistant/profile.config index 46edc970..46edc970 100644 --- a/src/profiles/KDevAssistant/profile.config +++ b/src/profiles/TDevAssistant/profile.config diff --git a/src/projectmanager.cpp b/src/projectmanager.cpp index c0380ffb..3ced0d63 100644 --- a/src/projectmanager.cpp +++ b/src/projectmanager.cpp @@ -30,11 +30,11 @@ class TQDomDocument;  #include <kstatusbar.h>  #include <kiconloader.h> -#include "kdevproject.h" -#include "kdevlanguagesupport.h" -#include "kdevplugin.h" -#include "kdevcreatefile.h" -#include "kdevversioncontrol.h" +#include "tdevproject.h" +#include "tdevlanguagesupport.h" +#include "tdevplugin.h" +#include "tdevcreatefile.h" +#include "tdevversioncontrol.h"  #include "toplevel.h" @@ -97,7 +97,7 @@ void ProjectManager::createActions( TDEActionCollection* ac )                         this, TQT_SLOT(slotOpenProject()),                         ac, "project_open");    action->setToolTip( i18n("Open project")); -  action->setWhatsThis(i18n("<b>Open project</b><p>Opens a KDevelop3 or KDevelop2 project.")); +  action->setWhatsThis(i18n("<b>Open project</b><p>Opens a KDevelop3 or TDevelop2 project."));    m_openRecentProjectAction =      new TDERecentFilesAction(i18n("Open &Recent Project"), 0, @@ -137,8 +137,8 @@ void ProjectManager::slotOpenProject()    if( url.isEmpty() )        return; -  if (url.path().endsWith("kdevprj")) -      loadKDevelop2Project( url ); +  if (url.path().endsWith("tdevprj")) +      loadTDevelop2Project( url );    else        loadProject( url );  } @@ -490,8 +490,8 @@ bool ProjectManager::loadProjectPart()      return false;    } -  KDevProject *projectPart = KParts::ComponentFactory -    ::createInstanceFromService< KDevProject >( projectService, API::getInstance(), 0, +  TDevProject *projectPart = KParts::ComponentFactory +    ::createInstanceFromService< TDevProject >( projectService, API::getInstance(), 0,                                                    PluginController::argumentsFromService( projectService ) );    if ( !projectPart ) {      KMessageBox::sorry(TopLevel::getInstance()->main(), @@ -517,7 +517,7 @@ bool ProjectManager::loadProjectPart()  void ProjectManager::unloadProjectPart()  { -  KDevProject *projectPart = API::getInstance()->project(); +  TDevProject *projectPart = API::getInstance()->project();    if( !projectPart ) return;    PluginController::getInstance()->removePart( projectPart );    projectPart->closeProject(); @@ -547,8 +547,8 @@ bool ProjectManager::loadLanguageSupport(const TQString& lang)    }    KService::Ptr languageSupportService = *languageSupportOffers.begin(); -  KDevLanguageSupport *langSupport = KParts::ComponentFactory -      ::createInstanceFromService<KDevLanguageSupport>( languageSupportService, +  TDevLanguageSupport *langSupport = KParts::ComponentFactory +      ::createInstanceFromService<TDevLanguageSupport>( languageSupportService,                                                          API::getInstance(),                                                          0,                                                          PluginController::argumentsFromService(  languageSupportService ) ); @@ -569,7 +569,7 @@ bool ProjectManager::loadLanguageSupport(const TQString& lang)  void ProjectManager::unloadLanguageSupport()  { -  KDevLanguageSupport *langSupport = API::getInstance()->languageSupport(); +  TDevLanguageSupport *langSupport = API::getInstance()->languageSupport();    if( !langSupport ) return;    kdDebug(9000) << "Language support for " << langSupport->name() << " unloading..." << endl;    PluginController::getInstance()->removePart( langSupport ); @@ -611,14 +611,14 @@ ProjectSession* ProjectManager::projectSession() const    return m_pProjectSession;  } -bool ProjectManager::loadKDevelop2Project( const KURL & url ) +bool ProjectManager::loadTDevelop2Project( const KURL & url )  {      if( !url.isValid() || !url.isLocalFile() ){          KMessageBox::sorry(0, i18n("Invalid URL."));          return false;      } -    TQString cmd = TDEGlobal::dirs()->findExe( "kdevprj2tdevelop" ); +    TQString cmd = TDEGlobal::dirs()->findExe( "tdevprj2tdevelop" );      if (cmd.isEmpty()) {          KMessageBox::sorry(0, i18n("You do not have 'kdevprj2tdevelop' installed."));          return false; diff --git a/src/projectmanager.h b/src/projectmanager.h index 3a92409e..3c1b3599 100644 --- a/src/projectmanager.h +++ b/src/projectmanager.h @@ -17,7 +17,7 @@ class KService;  class ProjectInfo;  class ProjectSession;  class TDERecentFilesAction; -class KDevPlugin; +class TDevPlugin;  class ProjectInfo @@ -65,7 +65,7 @@ public:  public slots:    bool loadProject( const KURL& url); -  bool loadKDevelop2Project( const KURL& url); +  bool loadTDevelop2Project( const KURL& url);    bool closeProject( bool exiting = false );  private slots: @@ -102,7 +102,7 @@ private:    ProjectSession* m_pProjectSession; -  KDevPlugin *m_vcsPlugin; +  TDevPlugin *m_vcsPlugin;    TQString m_vcsName;    TQString m_oldProfileName; diff --git a/src/projectprofiles b/src/projectprofiles index d2224272..b86f9b25 100644 --- a/src/projectprofiles +++ b/src/projectprofiles @@ -8,8 +8,8 @@ Profiles=ShellIDE  Profiles=CIDE  [C++] -Keywords=Empty,KDE -Profiles=CppIDE,KDECppIDE +Keywords=Empty,TDE +Profiles=CppIDE,TDECppIDE  [Fortran77]  Profiles=FortranIDE diff --git a/src/projectsession.cpp b/src/projectsession.cpp index afdaf0b5..1b8173fc 100644 --- a/src/projectsession.cpp +++ b/src/projectsession.cpp @@ -34,7 +34,7 @@  #include "domutil.h"  #include "documentationpart.h"  #include "toplevel.h" -#include "kdevplugin.h" +#include "tdevplugin.h"  #include "projectsession.h"  #include "projectsession.moc" @@ -68,7 +68,7 @@ void ProjectSession::initXMLTree()  }  //--------------------------------------------------------------------------- -bool ProjectSession::restoreFromFile( const TQString & sessionFileName, const TQValueList< KDevPlugin * > plugins ) +bool ProjectSession::restoreFromFile( const TQString & sessionFileName, const TQValueList< TDevPlugin * > plugins )  {    bool bFileOpenOK = true; @@ -105,10 +105,10 @@ bool ProjectSession::restoreFromFile( const TQString & sessionFileName, const TQ  	// now also let the plugins load their session stuff  	TQDomElement pluginListEl = session.namedItem("pluginList").toElement(); -	TQValueList<KDevPlugin*>::ConstIterator it = plugins.begin(); +	TQValueList<TDevPlugin*>::ConstIterator it = plugins.begin();  	while( it != plugins.end() )  	{ -		KDevPlugin* pPlugin = (*it); +		TDevPlugin* pPlugin = (*it);  		TQString pluginName = pPlugin->instance()->instanceName();  		TQDomElement pluginEl = pluginListEl.namedItem(pluginName).toElement();  		if (!pluginEl.isNull()) { @@ -230,7 +230,7 @@ void ProjectSession::recreateViews(KURL& url, TQDomElement docEl, bool activate)  }  //--------------------------------------------------------------------------- -bool ProjectSession::saveToFile( const TQString & sessionFileName, const TQValueList< KDevPlugin * > plugins ) +bool ProjectSession::saveToFile( const TQString & sessionFileName, const TQValueList< TDevPlugin * > plugins )  {    TQString section, keyword;    TQDomElement session = domdoc.documentElement(); @@ -390,10 +390,10 @@ bool ProjectSession::saveToFile( const TQString & sessionFileName, const TQValue      }    } -	TQValueList<KDevPlugin*>::ConstIterator itt = plugins.begin(); +	TQValueList<TDevPlugin*>::ConstIterator itt = plugins.begin();  	while( itt != plugins.end() )  	{ -		KDevPlugin* pPlugin = (*itt); +		TDevPlugin* pPlugin = (*itt);  		TQString pluginName = pPlugin->instance()->instanceName();  		TQDomElement pluginEl = domdoc.createElement(pluginName); diff --git a/src/projectsession.h b/src/projectsession.h index e386bdbc..64101496 100644 --- a/src/projectsession.h +++ b/src/projectsession.h @@ -24,7 +24,7 @@  class TQWidget;  class KURL; -class KDevPlugin; +class TDevPlugin;  /**   * This class stores and restores the last situation before the certain project @@ -42,10 +42,10 @@ public:    virtual ~ProjectSession();    /** Opens the .kdevses file and saves the project session in XML format to it. */ -  bool saveToFile(const TQString& fileName, const TQValueList<KDevPlugin*> plugins ); +  bool saveToFile(const TQString& fileName, const TQValueList<TDevPlugin*> plugins );    /** Opens the .kdevses file and loads the project session from it. */ -  bool restoreFromFile(const TQString& fileName, const TQValueList<KDevPlugin*> plugins ); +  bool restoreFromFile(const TQString& fileName, const TQValueList<TDevPlugin*> plugins );  signals:    void sig_restoreMainWindowProperties(const TQDomElement* el); diff --git a/src/simplemainwindow.cpp b/src/simplemainwindow.cpp index 3c9db000..f82f4882 100644 --- a/src/simplemainwindow.cpp +++ b/src/simplemainwindow.cpp @@ -41,7 +41,7 @@  #include <profile.h>  #include <profileengine.h>  #include <designer.h> -#include <kdevproject.h> +#include <tdevproject.h>  #include <urlutil.h>  #include "api.h" @@ -81,7 +81,7 @@ void SimpleMainWindow::init()      createFramework();      createActions(); -    new KDevStatusBar(this); +    new TDevStatusBar(this);      setAcceptDrops(true); @@ -466,7 +466,7 @@ void SimpleMainWindow::createActions()  void SimpleMainWindow::raiseEditor()  {      kdDebug() << "SimpleMainWindow::raiseEditor" << endl; -    KDevPartController *partcontroller = API::getInstance()->partController(); +    TDevPartController *partcontroller = API::getInstance()->partController();      if (partcontroller->activePart() && partcontroller->activePart()->widget())          partcontroller->activePart()->widget()->setFocus();  } @@ -983,7 +983,7 @@ void SimpleMainWindow::setCaption(const TQString &caption)          modified = ( state == Modified || state == DirtyAndModified );      } -    KDevProject *project = API::getInstance()->project(); +    TDevProject *project = API::getInstance()->project();      if (project)      {          TQString projectname = project->projectName(); diff --git a/src/simplemainwindow.h b/src/simplemainwindow.h index 7dbf5695..1f80119f 100644 --- a/src/simplemainwindow.h +++ b/src/simplemainwindow.h @@ -21,9 +21,9 @@  #define SIMPLEMAINWINDOW_H  #include <dmainwindow.h> -#include <kdevplugin.h> -#include <kdevmainwindow.h> -#include <kdevpartcontroller.h> +#include <tdevplugin.h> +#include <tdevmainwindow.h> +#include <tdevpartcontroller.h>  class TDEAction;  class TQPopupMenu; @@ -34,7 +34,7 @@ namespace KParts {      class ReadOnlyPart;  } -class SimpleMainWindow: public DMainWindow, public KDevMainWindow { +class SimpleMainWindow: public DMainWindow, public TDevMainWindow {      Q_OBJECT  public: diff --git a/src/splashscreen.cpp b/src/splashscreen.cpp index 205656bd..446705b8 100644 --- a/src/splashscreen.cpp +++ b/src/splashscreen.cpp @@ -10,7 +10,7 @@  #include <tdelocale.h>  #include <tdeglobalsettings.h> -KDevSplashScreen::KDevSplashScreen(const TQPixmap& pixmap, WFlags f) : TQSplashScreen(pixmap, f) +TDevSplashScreen::TDevSplashScreen(const TQPixmap& pixmap, WFlags f) : TQSplashScreen(pixmap, f)  {  	TQTimer *timer = new TQTimer( this );  	TQObject::connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(animate())); @@ -21,19 +21,19 @@ KDevSplashScreen::KDevSplashScreen(const TQPixmap& pixmap, WFlags f) : TQSplashS  } -KDevSplashScreen::~KDevSplashScreen() +TDevSplashScreen::~TDevSplashScreen()  {  } -void KDevSplashScreen::animate() +void TDevSplashScreen::animate()  {  	state = ((state + 1) % (2*progress_bar_size-1));  	repaint();  } -void KDevSplashScreen::message( const TQString &str, int flags, const TQColor &color) +void TDevSplashScreen::message( const TQString &str, int flags, const TQColor &color)  {  	TQSplashScreen::message(str,flags,color);  	animate(); @@ -41,7 +41,7 @@ void KDevSplashScreen::message( const TQString &str, int flags, const TQColor &c  } -void KDevSplashScreen::drawContents (TQPainter* painter) +void TDevSplashScreen::drawContents (TQPainter* painter)  {  	int position;  	TQColor base_color (201,229,165); // Base green color diff --git a/src/splashscreen.h b/src/splashscreen.h index b8d5563c..11a329bc 100644 --- a/src/splashscreen.h +++ b/src/splashscreen.h @@ -11,14 +11,14 @@ class TQPixmap;  /**  Splash screen.  */ -class KDevSplashScreen : public TQSplashScreen +class TDevSplashScreen : public TQSplashScreen  {  Q_OBJECT  public: -	KDevSplashScreen(const TQPixmap& pixmap, WFlags f = 0); -	virtual ~KDevSplashScreen(); +	TDevSplashScreen(const TQPixmap& pixmap, WFlags f = 0); +	virtual ~TDevSplashScreen();  protected:  	void drawContents (TQPainter * painter); diff --git a/src/statusbar.cpp b/src/statusbar.cpp index b4e11769..e1f8f3b5 100644 --- a/src/statusbar.cpp +++ b/src/statusbar.cpp @@ -27,7 +27,7 @@  #include "statusbar.h"  #include "partcontroller.h" -KDevStatusBar::KDevStatusBar(TQWidget *parent, const char *name) +TDevStatusBar::TDevStatusBar(TQWidget *parent, const char *name)      : KStatusBar(parent, name), _cursorIface(0), _activePart(0)  {  	TQWidget * w = new TQWidget( this ); @@ -44,10 +44,10 @@ KDevStatusBar::KDevStatusBar(TQWidget *parent, const char *name)  } -KDevStatusBar::~KDevStatusBar() +TDevStatusBar::~TDevStatusBar()  {} -void KDevStatusBar::activePartChanged(KParts::Part *part) +void TDevStatusBar::activePartChanged(KParts::Part *part)  {  	if ( _activePart && _activePart->widget() )  		disconnect( _activePart->widget(), 0, this, 0 ); @@ -80,7 +80,7 @@ void KDevStatusBar::activePartChanged(KParts::Part *part)  	}  } -void KDevStatusBar::cursorPositionChanged() +void TDevStatusBar::cursorPositionChanged()  {    if (_cursorIface)    { @@ -90,18 +90,18 @@ void KDevStatusBar::cursorPositionChanged()    }  } -void KDevStatusBar::setStatus(const TQString &str) +void TDevStatusBar::setStatus(const TQString &str)  {  	_status->setText(str);  } -void KDevStatusBar::setCursorPosition(int line, int col) +void TDevStatusBar::setCursorPosition(int line, int col)  {  	_status->setText(i18n(" Line: %1 Col: %2 ").arg(line+1).arg(col));  } -void KDevStatusBar::addWidget ( TQWidget *widget, int stretch, bool permanent) +void TDevStatusBar::addWidget ( TQWidget *widget, int stretch, bool permanent)  {  	KStatusBar::addWidget(widget,stretch,permanent); diff --git a/src/statusbar.h b/src/statusbar.h index 2f5370ef..09f1af97 100644 --- a/src/statusbar.h +++ b/src/statusbar.h @@ -24,14 +24,14 @@ namespace KParts { class Part; }  /**  Status bar.  */ -class KDevStatusBar : public KStatusBar +class TDevStatusBar : public KStatusBar  {      Q_OBJECT  public: -    KDevStatusBar( TQWidget *parent=0, const char *name=0 ); -    ~KDevStatusBar(); +    TDevStatusBar( TQWidget *parent=0, const char *name=0 ); +    ~TDevStatusBar();      void addWidget ( TQWidget *widget, int stretch = 0, bool permanent = FALSE );  private slots: diff --git a/src/tdeconf_update/CMakeLists.txt b/src/tdeconf_update/CMakeLists.txt index 4b605615..8eb5c732 100644 --- a/src/tdeconf_update/CMakeLists.txt +++ b/src/tdeconf_update/CMakeLists.txt @@ -20,13 +20,13 @@ link_directories(  ##### other data ################################ -install( FILES kdev-gen-settings.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) +install( FILES tdev-gen-settings.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) -##### kdev-gen-settings-tdeconf_update (executable) +##### tdev-gen-settings-tdeconf_update (executable) -tde_add_executable( kdev-gen-settings-tdeconf_update -  SOURCES kdev-gen-settings-tdeconf_update.cpp +tde_add_executable( tdev-gen-settings-tdeconf_update +  SOURCES tdev-gen-settings-tdeconf_update.cpp    LINK ${TQT_LIBRARIES}    DESTINATION ${LIB_INSTALL_DIR}/tdeconf_update_bin  ) diff --git a/src/tdeconf_update/Makefile.am b/src/tdeconf_update/Makefile.am index f806baa2..4cf2dab5 100644 --- a/src/tdeconf_update/Makefile.am +++ b/src/tdeconf_update/Makefile.am @@ -1,18 +1,18 @@  AM_CPPFLAGS = -DKDE_NO_COMPAT -DQT_NO_COMPAT $(all_includes) -update_DATA = kdev-gen-settings.upd  +update_DATA = tdev-gen-settings.upd  updatedir = $(kde_datadir)/tdeconf_update  # The Qt app cannot go into kde_datadir, that is not portable.  # install to kde_bindir/tdeconf_update_bin instead.  # KDE 3.2 will allow tdeconf_update scripts to run directly from there,  # but for us that's too late. Use the .sh script as a workaround. -tdeconf_PROGRAMS = kdev-gen-settings-tdeconf_update +tdeconf_PROGRAMS = tdev-gen-settings-tdeconf_update  tdeconfdir = $(libdir)/tdeconf_update_bin -kdev_gen_settings_tdeconf_update_SOURCES = kdev-gen-settings-tdeconf_update.cpp -kdev_gen_settings_tdeconf_update_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -kdev_gen_settings_tdeconf_update_LDADD   = $(LIB_QT) +tdev_gen_settings_tdeconf_update_SOURCES = tdev-gen-settings-tdeconf_update.cpp +tdev_gen_settings_tdeconf_update_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor +tdev_gen_settings_tdeconf_update_LDADD   = $(LIB_QT)  # vim: set noet: diff --git a/src/tdeconf_update/kdev-gen-settings-tdeconf_update.cpp b/src/tdeconf_update/tdev-gen-settings-tdeconf_update.cpp index 63e4a834..ae20ae57 100644 --- a/src/tdeconf_update/kdev-gen-settings-tdeconf_update.cpp +++ b/src/tdeconf_update/tdev-gen-settings-tdeconf_update.cpp @@ -33,7 +33,7 @@ void parseKey( const TQString &group, const TQString &key,  {      //qcerr << "*** group='" << group << "'" << endl; -    if ( group == "General Options" && key == "Embed KDevDesigner") +    if ( group == "General Options" && key == "Embed TDevDesigner")      {          newKeyValue = "Designer App";          if ( value.lower() == "true" ) diff --git a/src/tdeconf_update/kdev-gen-settings.upd b/src/tdeconf_update/tdev-gen-settings.upd index 1fd3803f..1fd3803f 100644 --- a/src/tdeconf_update/kdev-gen-settings.upd +++ b/src/tdeconf_update/tdev-gen-settings.upd diff --git a/src/kdevassistantextension.cpp b/src/tdevassistantextension.cpp index ddbfb6bf..f53d2bc3 100644 --- a/src/kdevassistantextension.cpp +++ b/src/tdevassistantextension.cpp @@ -17,24 +17,24 @@   *   Free Software Foundation, Inc.,                                       *   *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.             *   ***************************************************************************/ -#include "kdevassistantextension.h" +#include "tdevassistantextension.h" -KDevAssistantExtension::KDevAssistantExtension() +TDevAssistantExtension::TDevAssistantExtension()   : ShellExtension()  {  } -void KDevAssistantExtension::init() +void TDevAssistantExtension::init()  { -    s_instance = new KDevAssistantExtension(); +    s_instance = new TDevAssistantExtension();  } -TQString KDevAssistantExtension::xmlFile() +TQString TDevAssistantExtension::xmlFile()  { -    return "kdevassistantui.rc"; +    return "tdevassistantui.rc";  } -TQString KDevAssistantExtension::defaultProfile() +TQString TDevAssistantExtension::defaultProfile()  { -    return "KDevAssistant"; +    return "TDevAssistant";  } diff --git a/src/kdevassistantextension.h b/src/tdevassistantextension.h index 874cafbd..a53d9dbd 100644 --- a/src/kdevassistantextension.h +++ b/src/tdevassistantextension.h @@ -17,12 +17,12 @@   *   Free Software Foundation, Inc.,                                       *   *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.             *   ***************************************************************************/ -#ifndef KDEVASSISTANTEXTENSION_H -#define KDEVASSISTANTEXTENSION_H +#ifndef TDEVASSISTANTEXTENSION_H +#define TDEVASSISTANTEXTENSION_H  #include "shellextension.h" -class KDevAssistantExtension : public ShellExtension { +class TDevAssistantExtension : public ShellExtension {  public:      static void init(); @@ -34,7 +34,7 @@ public:      virtual TQString defaultProfile();  protected: -    KDevAssistantExtension(); +    TDevAssistantExtension();  }; diff --git a/src/kdevassistantrc b/src/tdevassistantrc index eaab6fc6..eaab6fc6 100644 --- a/src/kdevassistantrc +++ b/src/tdevassistantrc diff --git a/src/kdevassistantui.rc b/src/tdevassistantui.rc index a5b202ce..39171359 100644 --- a/src/kdevassistantui.rc +++ b/src/tdevassistantui.rc @@ -1,5 +1,5 @@  <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> -<kpartgui version="9" name="kdevassistant" > +<kpartgui version="9" name="tdevassistant" >  <MenuBar>    <Menu name="file" noMerge="1"><text>&File</text>      <DefineGroup name="new_merge"/> diff --git a/src/kdevideextension.cpp b/src/tdevideextension.cpp index 7bfbf29f..a6b62e12 100644 --- a/src/kdevideextension.cpp +++ b/src/tdevideextension.cpp @@ -17,7 +17,7 @@   *   Free Software Foundation, Inc.,                                       *   *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.             *   ***************************************************************************/ -#include "kdevideextension.h" +#include "tdevideextension.h"  #include <tqvbox.h>  #include <tqcheckbox.h> @@ -34,24 +34,24 @@  #include <tdeapplication.h>  #include <tdefontrequester.h> -#include <kdevplugin.h> -#include <kdevmakefrontend.h> -#include <kdevplugincontroller.h> +#include <tdevplugin.h> +#include <tdevmakefrontend.h> +#include <tdevplugincontroller.h>  #include "api.h"  #include "settingswidget.h" -KDevIDEExtension::KDevIDEExtension() +TDevIDEExtension::TDevIDEExtension()   : ShellExtension()  {  } -void KDevIDEExtension::init() +void TDevIDEExtension::init()  { -    s_instance = new KDevIDEExtension(); +    s_instance = new TDevIDEExtension();  } -void KDevIDEExtension::createGlobalSettingsPage(KDialogBase *dlg) +void TDevIDEExtension::createGlobalSettingsPage(KDialogBase *dlg)  {      TDEConfig* config = kapp->config();      TQVBox *vbox = dlg->addVBoxPage(i18n("General"), i18n("General"), BarIcon("tdevelop", TDEIcon::SizeMedium) ); @@ -75,8 +75,8 @@ void KDevIDEExtension::createGlobalSettingsPage(KDialogBase *dlg)      TQString DesignerSetting = config->readEntry( "DesignerSetting", "ExternalDesigner" );      gsw->qtDesignerRadioButton->setChecked( DesignerSetting == "ExternalDesigner" ); -    gsw->seperateAppRadioButton->setChecked( DesignerSetting == "ExternalKDevDesigner" ); -    gsw->embeddedDesignerRadioButton->setChecked( DesignerSetting == "EmbeddedKDevDesigner" ); +    gsw->seperateAppRadioButton->setChecked( DesignerSetting == "ExternalTDevDesigner" ); +    gsw->embeddedDesignerRadioButton->setChecked( DesignerSetting == "EmbeddedTDevDesigner" );      config->setGroup("TerminalEmulator");      gsw->terminalEdit->setText( config->readEntry( "TerminalApplication", TQString::fromLatin1("konsole") ) ); @@ -85,7 +85,7 @@ void KDevIDEExtension::createGlobalSettingsPage(KDialogBase *dlg)      gsw->useOtherTerminal->setChecked( !useKDESetting );  } -void KDevIDEExtension::acceptGlobalSettingsPage(KDialogBase *dlg) +void TDevIDEExtension::acceptGlobalSettingsPage(KDialogBase *dlg)  {      TDEConfig* config = kapp->config(); @@ -97,8 +97,8 @@ void KDevIDEExtension::acceptGlobalSettingsPage(KDialogBase *dlg)      TQString DesignerSetting;      if ( gsw->qtDesignerRadioButton->isChecked() ) DesignerSetting = "ExternalDesigner"; -    if ( gsw->seperateAppRadioButton->isChecked() ) DesignerSetting = "ExternalKDevDesigner"; -    if ( gsw->embeddedDesignerRadioButton->isChecked() ) DesignerSetting = "EmbeddedKDevDesigner"; +    if ( gsw->seperateAppRadioButton->isChecked() ) DesignerSetting = "ExternalTDevDesigner"; +    if ( gsw->embeddedDesignerRadioButton->isChecked() ) DesignerSetting = "EmbeddedTDevDesigner";      config->writeEntry( "DesignerSetting", DesignerSetting );      config->setGroup("MakeOutputView"); @@ -108,9 +108,9 @@ void KDevIDEExtension::acceptGlobalSettingsPage(KDialogBase *dlg)      //current item id must be in sync with the enum!      config->writeEntry("CompilerOutputLevel",gsw->compileOutputCombo->currentItem());      config->sync(); -    if( KDevPlugin *makeExt = API::getInstance()->pluginController()->extension("TDevelop/MakeFrontend")) +    if( TDevPlugin *makeExt = API::getInstance()->pluginController()->extension("TDevelop/MakeFrontend"))      { -        static_cast<KDevMakeFrontend*>(makeExt)->updateSettingsFromConfig(); +        static_cast<TDevMakeFrontend*>(makeExt)->updateSettingsFromConfig();      }      config->setGroup("TerminalEmulator"); @@ -118,12 +118,12 @@ void KDevIDEExtension::acceptGlobalSettingsPage(KDialogBase *dlg)      config->writeEntry("TerminalApplication", gsw->terminalEdit->text().stripWhiteSpace() );  } -TQString KDevIDEExtension::xmlFile() +TQString TDevIDEExtension::xmlFile()  {      return "tdevelopui.rc";  } -TQString KDevIDEExtension::defaultProfile() +TQString TDevIDEExtension::defaultProfile()  {      return "IDE";  } diff --git a/src/kdevideextension.h b/src/tdevideextension.h index 1e25da7e..64c1a8ca 100644 --- a/src/kdevideextension.h +++ b/src/tdevideextension.h @@ -17,14 +17,14 @@   *   Free Software Foundation, Inc.,                                       *   *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.             *   ***************************************************************************/ -#ifndef KDEVIDEEXTENSION_H -#define KDEVIDEEXTENSION_H +#ifndef TDEVIDEEXTENSION_H +#define TDEVIDEEXTENSION_H  #include <shellextension.h>  class SettingsWidget; -class KDevIDEExtension : public ShellExtension { +class TDevIDEExtension : public ShellExtension {  public:      static void init(); @@ -36,7 +36,7 @@ public:      virtual TQString defaultProfile();  protected: -    KDevIDEExtension(); +    TDevIDEExtension();  private:      SettingsWidget *gsw; diff --git a/src/kdevpluginprofilerc b/src/tdevpluginprofilerc index 1c2abb92..b93ba2c1 100644 --- a/src/kdevpluginprofilerc +++ b/src/tdevpluginprofilerc @@ -12,7 +12,7 @@ C++=Profile_CPP  C++/Embedded=Profile_CPP  C++/KDE=Profile_CPP  C++/wxWidgets= -C++/KDevelop +C++/TDevelop  C++/Generic  C++/GTK+  C++/QMake= @@ -30,7 +30,7 @@ Haskell=  Pascal/Free Pascal=  [Profile_BASE] -plugins=KDevFileView,KDevClassView,KDevBookmarks,KDevQuickOpen +plugins=TDevFileView,KDevClassView,KDevBookmarks,KDevQuickOpen  [Profile_COMPILED]  inherits=Profile_BASE @@ -38,7 +38,7 @@ plugins=  [Profile_CPP]  inherits=Profile_COMPILED -plugins=KDevDebugger +plugins=TDevDebugger  [Profile_SCRIPT]  inherits=Profile_BASE diff --git a/src/toplevel.cpp b/src/toplevel.cpp index 129d869c..63416175 100644 --- a/src/toplevel.cpp +++ b/src/toplevel.cpp @@ -8,14 +8,14 @@  #include "simplemainwindow.h" -KDevMainWindow *TopLevel::s_instance = 0; +TDevMainWindow *TopLevel::s_instance = 0;  bool TopLevel::mainWindowValid()  {    return s_instance != 0;  } -KDevMainWindow *TopLevel::getInstance() +TDevMainWindow *TopLevel::getInstance()  {    if (!s_instance)    { @@ -28,7 +28,7 @@ KDevMainWindow *TopLevel::getInstance()    return s_instance;  } -void TopLevel::invalidateInstance(KDevMainWindow *instance) +void TopLevel::invalidateInstance(TDevMainWindow *instance)  {    if ( s_instance == instance )      s_instance = 0; diff --git a/src/toplevel.h b/src/toplevel.h index 8eb0243a..081ddcae 100644 --- a/src/toplevel.h +++ b/src/toplevel.h @@ -2,10 +2,10 @@  #define __TOPLEVEL_H__ -#include "kdevmainwindow.h" +#include "tdevmainwindow.h" -/**\brief This class handles the single object of type KDevMainWindow. +/**\brief This class handles the single object of type TDevMainWindow.  It is completely static (all methods and attributes).  */ @@ -14,13 +14,13 @@ class TopLevel  {  public: -  static KDevMainWindow *getInstance();                                 //!< Get a pointer to the single KDevTopLevel object +  static TDevMainWindow *getInstance();                                 //!< Get a pointer to the single KDevTopLevel object    static bool mainWindowValid(); -  static void invalidateInstance(KDevMainWindow *instance);             //!< Signal that the object has been (or is about to be) destroyed +  static void invalidateInstance(TDevMainWindow *instance);             //!< Signal that the object has been (or is about to be) destroyed  private: -  static KDevMainWindow *s_instance;                                    //!< Pointer to the single KDevTopLevel object or 0L +  static TDevMainWindow *s_instance;                                    //!< Pointer to the single KDevTopLevel object or 0L  }; | 
