Revert "Finish renaming tdevelop components"

This reverts commit 722ce1efba.
pull/1/head
Michele Calgaro 11 years ago
parent aba2788b42
commit 6392f5a9df

@ -45,7 +45,7 @@ SplashScreens:
Marion Klein <MarionKlein@wanadoo.fr> Marion Klein <MarionKlein@wanadoo.fr>
Ram<61> Lamana Villar <ramon@alumnos.upm.es> Ram<61> Lamana Villar <ramon@alumnos.upm.es>
TDevTabBar, bug fixes, Gideon Release: KDevTabBar, bug fixes, Gideon Release:
Caleb Tennis <caleb@aei-tech.com> Caleb Tennis <caleb@aei-tech.com>
PartExplorer, (bugs for) CvsPart: PartExplorer, (bugs for) CvsPart:

@ -82,7 +82,7 @@ option( WITH_VCS_SUBVERSION "Enable subversion support" ${WITH_VCS_ALL} )
##### components ################################ ##### components ################################
option( BUILD_ALL "Build all components" OFF ) option( BUILD_ALL "Build all components" OFF )
option( BUILD_TDEVDESIGNER "Build tdevdesigner" ${BUILD_ALL} ) option( BUILD_KDEVDESIGNER "Build kdevdesigner" ${BUILD_ALL} )
option( BUILD_VISUALBOYADVANCE "Build embedded/visualboyadvance" ${BUILD_ALL} ) option( BUILD_VISUALBOYADVANCE "Build embedded/visualboyadvance" ${BUILD_ALL} )
option( BUILD_DOC "Build doc" ${BUILD_ALL} ) option( BUILD_DOC "Build doc" ${BUILD_ALL} )
@ -150,13 +150,11 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
##### install data ############################## ##### install data ##############################
install( FILES install( FILES
tdevelop.desktop tdevassistant.desktop tdevelop_ruby.desktop tdevelop.desktop kdevassistant.desktop tdevelop_ruby.desktop
tdevelop_c_cpp.desktop tdevelop_tde_cpp.desktop tdevelop_c_cpp.desktop tdevelop_kde_cpp.desktop
tdevelop_scripting.desktop tdevelop_scripting.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR} ) DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES tde_app_devel.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
install( FILES install( FILES
tde-development-tdevelop.directory tde-development-tdevelop.directory
DESTINATION ${XDG_DIRECTORY_INSTALL_DIR} ) DESTINATION ${XDG_DIRECTORY_INSTALL_DIR} )
@ -166,7 +164,7 @@ install( FILES
DESTINATION ${MIME_INSTALL_DIR}/application ) DESTINATION ${MIME_INSTALL_DIR}/application )
install( PROGRAMS install( PROGRAMS
tdevprj2tdevelop kdevprj2tdevelop
DESTINATION ${BIN_INSTALL_DIR} ) DESTINATION ${BIN_INSTALL_DIR} )
@ -182,7 +180,7 @@ add_subdirectory( mimetypes )
add_subdirectory( pics ) add_subdirectory( pics )
add_subdirectory( vcs ) add_subdirectory( vcs )
add_subdirectory( embedded ) add_subdirectory( embedded )
tde_conditional_add_subdirectory( BUILD_TDEVDESIGNER tdevdesigner ) tde_conditional_add_subdirectory( BUILD_KDEVDESIGNER kdevdesigner )
tde_conditional_add_subdirectory( BUILD_DOC doc ) tde_conditional_add_subdirectory( BUILD_DOC doc )

@ -124,7 +124,7 @@ EXCLUDE_PATTERNS = *.moc.* \
*face_skel.cpp \ *face_skel.cpp \
*.ui.h *.ui.h
EXAMPLE_PATH = languages/cpp/app_templates/khello \ EXAMPLE_PATH = languages/cpp/app_templates/khello \
languages/cpp/app_templates/tdevpart languages/cpp/app_templates/kdevpart
EXAMPLE_PATTERNS = EXAMPLE_PATTERNS =
EXAMPLE_RECURSIVE = NO EXAMPLE_RECURSIVE = NO
IMAGE_PATH = ./doc/api IMAGE_PATH = ./doc/api

@ -2,19 +2,16 @@ COMPILE_FIRST = lib src parts
EXTRA_DIST = AUTHORS COPYING COPYING.LIB NEWS ChangeLog INSTALL README TODO HACKING HACKING.language admin configure.in.bot EXTRA_DIST = AUTHORS COPYING COPYING.LIB NEWS ChangeLog INSTALL README TODO HACKING HACKING.language admin configure.in.bot
xdg_apps_DATA = tdevelop.desktop tdevassistant.desktop tdevelop_ruby.desktop \ xdg_apps_DATA = tdevelop.desktop kdevassistant.desktop tdevelop_ruby.desktop \
tdevelop_c_cpp.desktop tdevelop_tde_cpp.desktop tdevelop_scripting.desktop tdevelop_c_cpp.desktop tdevelop_kde_cpp.desktop tdevelop_scripting.desktop
#appsdir = $(kde_appsdir)/Development #appsdir = $(kde_appsdir)/Development
app_DATA = tde_app_devel.desktop
appdir = $(kde_appsdir)/.hidden
xdg_directory_DATA = tde-development-tdevelop.directory xdg_directory_DATA = tde-development-tdevelop.directory
mime_DATA = x-tdevelop.desktop mime_DATA = x-tdevelop.desktop
mimedir = $(kde_mimedir)/application mimedir = $(kde_mimedir)/application
kde_bin_SCRIPTS = tdevprj2tdevelop kde_bin_SCRIPTS = kdevprj2tdevelop
$(top_srcdir)/acinclude.m4: $(top_srcdir)/tdevelop.m4.in $(top_srcdir)/acinclude.m4: $(top_srcdir)/tdevelop.m4.in
@ -51,7 +48,7 @@ include admin/deps.am
DOXYGEN_SEARCHENGINE = YES DOXYGEN_SEARCHENGINE = YES
DOXYGEN_EMPTY = YES DOXYGEN_EMPTY = YES
DOXYGEN_PROJECTNAME = TDevelop Platform API DOXYGEN_PROJECTNAME = KDevelop Platform API
include Doxyfile.am include Doxyfile.am
SUBDIRS=$(TOPSUBDIRS) SUBDIRS=$(TOPSUBDIRS)
#tdevelop: lib src parts buildtools doc editors embedded tdevdesigner languages mimetypes pics vcs #tdevelop: lib src parts buildtools doc editors embedded kdevdesigner languages mimetypes pics vcs

@ -28,17 +28,17 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES tdevadaproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) install( FILES kdevadaproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevadaproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevadaproject ) install( FILES kdevadaproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevadaproject )
##### libtdevadaproject (module) ################ ##### libkdevadaproject (module) ################
tde_add_kpart( libtdevadaproject AUTOMOC tde_add_kpart( libkdevadaproject AUTOMOC
SOURCES SOURCES
adaproject_part.cpp adaproject_widget.cpp adaproject_part.cpp adaproject_widget.cpp
adaproject_optionsdlgbase.ui adaprojectoptionsdlg.cpp adaproject_optionsdlgbase.ui adaprojectoptionsdlg.cpp
adaglobaloptionsdlg.cpp service.cpp adaglobaloptionsdlg.cpp service.cpp
LINK tdevbuildbase-shared LINK kdevbuildbase-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -2,17 +2,17 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib/base -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/interfaces/external \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/interfaces/external \
-I$(top_srcdir)/lib/interfaces/extras -I$(top_srcdir)/lib/util $(all_includes) -I$(top_srcdir)/lib/interfaces/extras -I$(top_srcdir)/lib/util $(all_includes)
kde_module_LTLIBRARIES = libtdevadaproject.la kde_module_LTLIBRARIES = libkdevadaproject.la
libtdevadaproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) libkdevadaproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevadaproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ libkdevadaproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/buildtools/lib/base/libtdevbuildbase.la $(top_builddir)/lib/interfaces/extras/libtdevextras.la $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la $(top_builddir)/lib/interfaces/extras/libkdevextras.la
libtdevadaproject_la_SOURCES = adaproject_part.cpp adaproject_widget.cpp adaproject_optionsdlgbase.ui adaprojectoptionsdlg.cpp adaglobaloptionsdlg.cpp service.cpp libkdevadaproject_la_SOURCES = adaproject_part.cpp adaproject_widget.cpp adaproject_optionsdlgbase.ui adaprojectoptionsdlg.cpp adaglobaloptionsdlg.cpp service.cpp
METASOURCES = AUTO METASOURCES = AUTO
servicedir = $(kde_servicesdir) servicedir = $(kde_servicesdir)
service_DATA = tdevadaproject.desktop service_DATA = kdevadaproject.desktop
rcdir = $(kde_datadir)/tdevadaproject rcdir = $(kde_datadir)/kdevadaproject
rc_DATA = tdevadaproject.rc rc_DATA = kdevadaproject.rc

@ -15,7 +15,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <tdeconfig.h> #include <tdeconfig.h>
#include "tdevcompileroptions.h" #include "kdevcompileroptions.h"
#include "service.h" #include "service.h"
#include "adaproject_part.h" #include "adaproject_part.h"
@ -61,7 +61,7 @@ AdaGlobalOptionsDlg::~AdaGlobalOptionsDlg()
void AdaGlobalOptionsDlg::optionsButtonClicked() void AdaGlobalOptionsDlg::optionsButtonClicked()
{ {
TQString name = ServiceComboBox::currentText(compiler_box, service_names); TQString name = ServiceComboBox::currentText(compiler_box, service_names);
TDevCompilerOptions *plugin = m_part->createCompilerOptions(name); KDevCompilerOptions *plugin = m_part->createCompilerOptions(name);
if (plugin) { if (plugin) {
TQString flags = plugin->exec(this, options_edit->text()); TQString flags = plugin->exec(this, options_edit->text());

@ -28,29 +28,29 @@
#include <tdeconfig.h> #include <tdeconfig.h>
#include "domutil.h" #include "domutil.h"
#include "tdevcore.h" #include "kdevcore.h"
#include "tdevmainwindow.h" #include "kdevmainwindow.h"
#include "tdevmakefrontend.h" #include "kdevmakefrontend.h"
#include "tdevappfrontend.h" #include "kdevappfrontend.h"
#include "tdevpartcontroller.h" #include "kdevpartcontroller.h"
#include "tdevlanguagesupport.h" #include "kdevlanguagesupport.h"
#include "tdevcompileroptions.h" #include "kdevcompileroptions.h"
#include "tdevgenericfactory.h" #include "kdevgenericfactory.h"
#include <tdevplugininfo.h> #include <kdevplugininfo.h>
#include "adaproject_widget.h" #include "adaproject_widget.h"
#include "adaprojectoptionsdlg.h" #include "adaprojectoptionsdlg.h"
#include "adaglobaloptionsdlg.h" #include "adaglobaloptionsdlg.h"
typedef TDevGenericFactory<AdaProjectPart> AdaProjectFactory; typedef KDevGenericFactory<AdaProjectPart> AdaProjectFactory;
static const TDevPluginInfo data("tdevadaproject"); static const KDevPluginInfo data("kdevadaproject");
K_EXPORT_COMPONENT_FACTORY( libtdevadaproject, AdaProjectFactory( data ) ) K_EXPORT_COMPONENT_FACTORY( libkdevadaproject, AdaProjectFactory( data ) )
AdaProjectPart::AdaProjectPart(TQObject *parent, const char *name, const TQStringList& ) AdaProjectPart::AdaProjectPart(TQObject *parent, const char *name, const TQStringList& )
:TDevBuildTool(&data, parent, name ? name : "AdaProjectPart" ) :KDevBuildTool(&data, parent, name ? name : "AdaProjectPart" )
{ {
setInstance(AdaProjectFactory::instance()); setInstance(AdaProjectFactory::instance());
setXMLFile("tdevadaproject.rc"); setXMLFile("kdevadaproject.rc");
TDEAction *action; TDEAction *action;
action = new TDEAction( i18n("&Build Project"), "make_tdevelop", Key_F8, action = new TDEAction( i18n("&Build Project"), "make_tdevelop", Key_F8,
@ -70,7 +70,7 @@ AdaProjectPart::AdaProjectPart(TQObject *parent, const char *name, const TQStrin
// TQWhatsThis::add(m_widget, i18n("WHAT DOES THIS PART DO?")); // TQWhatsThis::add(m_widget, i18n("WHAT DOES THIS PART DO?"));
// now you decide what should happen to the widget. Take a look at tdevcore.h // now you decide what should happen to the widget. Take a look at kdevcore.h
// or at other plugins how to embed it. // or at other plugins how to embed it.
// if you want to embed your widget as an outputview, simply uncomment // if you want to embed your widget as an outputview, simply uncomment
@ -109,8 +109,8 @@ void AdaProjectPart::openProject(const TQString &dirName, const TQString &projec
TQDomDocument &dom = *projectDom(); TQDomDocument &dom = *projectDom();
// Set the default directory radio to "executable" // Set the default directory radio to "executable"
if (DomUtil::readEntry(dom, "/tdevadaproject/run/directoryradio") == "" ) { if (DomUtil::readEntry(dom, "/kdevadaproject/run/directoryradio") == "" ) {
DomUtil::writeEntry(dom, "/tdevadaproject/run/directoryradio", "executable"); DomUtil::writeEntry(dom, "/kdevadaproject/run/directoryradio", "executable");
} }
loadProjectConfig(); loadProjectConfig();
@ -165,7 +165,7 @@ void AdaProjectPart::openProject(const TQString &dirName, const TQString &projec
} }
} while (!s.isEmpty()); } while (!s.isEmpty());
TDevProject::openProject( dirName, projectName ); KDevProject::openProject( dirName, projectName );
} }
void AdaProjectPart::closeProject() void AdaProjectPart::closeProject()
@ -175,7 +175,7 @@ void AdaProjectPart::closeProject()
/** Retuns a PairList with the run environment variables */ /** Retuns a PairList with the run environment variables */
DomUtil::PairList AdaProjectPart::runEnvironmentVars() const DomUtil::PairList AdaProjectPart::runEnvironmentVars() const
{ {
return DomUtil::readPairListEntry(*projectDom(), "/tdevadaproject/run/envvars", "envvar", "name", "value"); return DomUtil::readPairListEntry(*projectDom(), "/kdevadaproject/run/envvars", "envvar", "name", "value");
} }
@ -190,7 +190,7 @@ DomUtil::PairList AdaProjectPart::runEnvironmentVars() const
*/ */
TQString AdaProjectPart::runDirectory() const TQString AdaProjectPart::runDirectory() const
{ {
TQString cwd = defaultRunDirectory("tdevadaproject"); TQString cwd = defaultRunDirectory("kdevadaproject");
if (cwd.isEmpty()) if (cwd.isEmpty())
cwd = buildDirectory(); cwd = buildDirectory();
return cwd; return cwd;
@ -212,7 +212,7 @@ TQString AdaProjectPart::mainProgram() const
if ( !dom ) return TQString(); if ( !dom ) return TQString();
TQString DomMainProgram = DomUtil::readEntry( *dom, "/tdevadaproject/run/mainprogram"); TQString DomMainProgram = DomUtil::readEntry( *dom, "/kdevadaproject/run/mainprogram");
if ( DomMainProgram.isEmpty() ) return TQString(); if ( DomMainProgram.isEmpty() ) return TQString();
@ -231,14 +231,14 @@ TQString AdaProjectPart::mainProgram() const
/** Retuns a TQString with the run command line arguments */ /** Retuns a TQString with the run command line arguments */
TQString AdaProjectPart::debugArguments() const TQString AdaProjectPart::debugArguments() const
{ {
return DomUtil::readEntry(*projectDom(), "/tdevadaproject/run/globaldebugarguments"); return DomUtil::readEntry(*projectDom(), "/kdevadaproject/run/globaldebugarguments");
} }
/** Retuns a TQString with the run command line arguments */ /** Retuns a TQString with the run command line arguments */
TQString AdaProjectPart::runArguments() const TQString AdaProjectPart::runArguments() const
{ {
return DomUtil::readEntry(*projectDom(), "/tdevadaproject/run/programargs"); return DomUtil::readEntry(*projectDom(), "/kdevadaproject/run/programargs");
} }
TQString AdaProjectPart::mainSource() const TQString AdaProjectPart::mainSource() const
@ -361,12 +361,12 @@ void AdaProjectPart::slotExecute()
void AdaProjectPart::changedFiles( const TQStringList & fileList ) void AdaProjectPart::changedFiles( const TQStringList & fileList )
{ {
TDevProject::changedFiles(fileList); KDevProject::changedFiles(fileList);
} }
void AdaProjectPart::changedFile( const TQString & fileName ) void AdaProjectPart::changedFile( const TQString & fileName )
{ {
TDevProject::changedFile(fileName); KDevProject::changedFile(fileName);
} }
void AdaProjectPart::projectConfigWidget( KDialogBase * dlg ) void AdaProjectPart::projectConfigWidget( KDialogBase * dlg )
@ -382,10 +382,10 @@ void AdaProjectPart::loadProjectConfig( )
{ {
TQDomDocument &dom = *(projectDom()); TQDomDocument &dom = *(projectDom());
TQString config = DomUtil::readEntry(dom, "/tdevadaproject/general/useconfiguration", "default"); TQString config = DomUtil::readEntry(dom, "/kdevadaproject/general/useconfiguration", "default");
m_mainSource = DomUtil::readEntry(dom, TQString("/tdevadaproject/configurations/") + config + TQString("/mainsource") ); m_mainSource = DomUtil::readEntry(dom, TQString("/kdevadaproject/configurations/") + config + TQString("/mainsource") );
m_compilerOpts = DomUtil::readEntry(dom, TQString("/tdevadaproject/configurations/") + config + TQString("/compileroptions")); m_compilerOpts = DomUtil::readEntry(dom, TQString("/kdevadaproject/configurations/") + config + TQString("/compileroptions"));
m_compilerExec = DomUtil::readEntry(dom, TQString("/tdevadaproject/configurations/") + config + TQString("/compilerexec")); m_compilerExec = DomUtil::readEntry(dom, TQString("/kdevadaproject/configurations/") + config + TQString("/compilerexec"));
if (m_compilerExec.isEmpty()) if (m_compilerExec.isEmpty())
{ {
@ -408,7 +408,7 @@ void AdaProjectPart::configWidget( KDialogBase * dlg )
connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) ); connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
} }
TDevCompilerOptions *AdaProjectPart::createCompilerOptions(const TQString &name) KDevCompilerOptions *AdaProjectPart::createCompilerOptions(const TQString &name)
{ {
KService::Ptr service = KService::serviceByDesktopName(name); KService::Ptr service = KService::serviceByDesktopName(name);
if (!service) { if (!service) {
@ -430,13 +430,13 @@ TDevCompilerOptions *AdaProjectPart::createCompilerOptions(const TQString &name)
args = TQStringList::split(" ", prop.toString()); args = TQStringList::split(" ", prop.toString());
TQObject *obj = factory->create(this, service->name().latin1(), TQObject *obj = factory->create(this, service->name().latin1(),
"TDevCompilerOptions", args); "KDevCompilerOptions", args);
if (!obj->inherits("TDevCompilerOptions")) { if (!obj->inherits("KDevCompilerOptions")) {
kdDebug() << "AdaProjectPart::createCompilerOptions: component does not inherit TDevCompilerOptions" << endl; kdDebug() << "AdaProjectPart::createCompilerOptions: component does not inherit KDevCompilerOptions" << endl;
return 0; return 0;
} }
TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj; KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj;
return dlg; return dlg;
} }

@ -6,18 +6,18 @@
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
*/ */
#ifndef __TDEVPART_ADAPROJECT_H__ #ifndef __KDEVPART_ADAPROJECT_H__
#define __TDEVPART_ADAPROJECT_H__ #define __KDEVPART_ADAPROJECT_H__
#include <tqguardedptr.h> #include <tqguardedptr.h>
#include "tdevbuildtool.h" #include "kdevbuildtool.h"
class AdaProjectWidget; class AdaProjectWidget;
class KDialogBase; class KDialogBase;
class TDevCompilerOptions; class KDevCompilerOptions;
class AdaProjectPart : public TDevBuildTool class AdaProjectPart : public KDevBuildTool
{ {
Q_OBJECT Q_OBJECT
@ -59,7 +59,7 @@ public:
virtual void changedFiles( const TQStringList & fileList ); virtual void changedFiles( const TQStringList & fileList );
virtual void changedFile( const TQString & fileName ); virtual void changedFile( const TQString & fileName );
TDevCompilerOptions *createCompilerOptions(const TQString &name); KDevCompilerOptions *createCompilerOptions(const TQString &name);
virtual TQString defaultOptions(const TQString compiler); virtual TQString defaultOptions(const TQString compiler);
TQStringList distFiles() const; TQStringList distFiles() const;

@ -3,7 +3,7 @@
#include <kurl.h> #include <kurl.h>
#include <kdebug.h> #include <kdebug.h>
#include <tdevcore.h> #include <kdevcore.h>
#include "adaproject_part.h" #include "adaproject_part.h"
#include "adaproject_widget.h" #include "adaproject_widget.h"

@ -4,7 +4,7 @@
#include <tqwidget.h> #include <tqwidget.h>
#include <tqstring.h> #include <tqstring.h>
class TDevProject; class KDevProject;
class AdaProjectPart; class AdaProjectPart;
class AdaProjectWidget : public TQWidget class AdaProjectWidget : public TQWidget

@ -18,7 +18,7 @@
#include <tqvalidator.h> #include <tqvalidator.h>
#include "domutil.h" #include "domutil.h"
#include "tdevcompileroptions.h" #include "kdevcompileroptions.h"
#include "service.h" #include "service.h"
#include "adaproject_part.h" #include "adaproject_part.h"
@ -43,7 +43,7 @@ AdaProjectOptionsDlg::AdaProjectOptionsDlg(AdaProjectPart *part, TQWidget* paren
TQDomDocument &dom = *(m_part->projectDom()); TQDomDocument &dom = *(m_part->projectDom());
currentConfig = TQString(); currentConfig = TQString();
configChanged(DomUtil::readEntry(dom, "/tdevadaproject/general/useconfiguration", "default")); configChanged(DomUtil::readEntry(dom, "/kdevadaproject/general/useconfiguration", "default"));
} }
AdaProjectOptionsDlg::~AdaProjectOptionsDlg() AdaProjectOptionsDlg::~AdaProjectOptionsDlg()
@ -57,7 +57,7 @@ TQStringList AdaProjectOptionsDlg::allBuildConfigs()
TQStringList allConfigs; TQStringList allConfigs;
allConfigs.append("default"); allConfigs.append("default");
TQDomNode node = dom.documentElement().namedItem("tdevadaproject").namedItem("configurations"); TQDomNode node = dom.documentElement().namedItem("kdevadaproject").namedItem("configurations");
TQDomElement childEl = node.firstChild().toElement(); TQDomElement childEl = node.firstChild().toElement();
while (!childEl.isNull()) { while (!childEl.isNull()) {
TQString config = childEl.tagName(); TQString config = childEl.tagName();
@ -72,7 +72,7 @@ TQStringList AdaProjectOptionsDlg::allBuildConfigs()
void AdaProjectOptionsDlg::accept() void AdaProjectOptionsDlg::accept()
{ {
DomUtil::writeEntry(*m_part->projectDom(), "/tdevadaproject/general/useconfiguration", currentConfig); DomUtil::writeEntry(*m_part->projectDom(), "/kdevadaproject/general/useconfiguration", currentConfig);
if (dirty) if (dirty)
{ {
saveConfig(currentConfig); saveConfig(currentConfig);
@ -88,7 +88,7 @@ void AdaProjectOptionsDlg::compiler_box_activated( const TQString& /*s*/ )
void AdaProjectOptionsDlg::saveConfig( TQString config ) void AdaProjectOptionsDlg::saveConfig( TQString config )
{ {
TQDomDocument dom = *m_part->projectDom(); TQDomDocument dom = *m_part->projectDom();
TQString prefix = "/tdevadaproject/configurations/" + config + "/"; TQString prefix = "/kdevadaproject/configurations/" + config + "/";
DomUtil::writeEntry(dom, prefix + "compiler", DomUtil::writeEntry(dom, prefix + "compiler",
ServiceComboBox::currentText(compiler_box, service_names)); ServiceComboBox::currentText(compiler_box, service_names));
@ -100,7 +100,7 @@ void AdaProjectOptionsDlg::saveConfig( TQString config )
void AdaProjectOptionsDlg::readConfig( TQString config ) void AdaProjectOptionsDlg::readConfig( TQString config )
{ {
TQDomDocument dom = *m_part->projectDom(); TQDomDocument dom = *m_part->projectDom();
TQString prefix = "/tdevadaproject/configurations/" + config + "/"; TQString prefix = "/kdevadaproject/configurations/" + config + "/";
TQString compiler = DomUtil::readEntry(dom, prefix + "compiler", ""); TQString compiler = DomUtil::readEntry(dom, prefix + "compiler", "");
@ -171,7 +171,7 @@ void AdaProjectOptionsDlg::configRemoved()
TQString config = config_combo->currentText(); TQString config = config_combo->currentText();
TQDomDocument dom = *m_part->projectDom(); TQDomDocument dom = *m_part->projectDom();
TQDomNode node = dom.documentElement().namedItem("tdevadaproject").namedItem("configurations"); TQDomNode node = dom.documentElement().namedItem("kdevadaproject").namedItem("configurations");
node.removeChild(node.namedItem(config)); node.removeChild(node.namedItem(config));
allConfigs.remove(config); allConfigs.remove(config);
@ -185,7 +185,7 @@ void AdaProjectOptionsDlg::configRemoved()
void AdaProjectOptionsDlg::optionsButtonClicked( ) void AdaProjectOptionsDlg::optionsButtonClicked( )
{ {
TQString name = ServiceComboBox::currentText(compiler_box, service_names); TQString name = ServiceComboBox::currentText(compiler_box, service_names);
TDevCompilerOptions *plugin = m_part->createCompilerOptions(name); KDevCompilerOptions *plugin = m_part->createCompilerOptions(name);
if (plugin) { if (plugin) {
TQString flags = plugin->exec(this, options_edit->text()); TQString flags = plugin->exec(this, options_edit->text());

@ -14,7 +14,7 @@
#include "adaproject_optionsdlgbase.h" #include "adaproject_optionsdlgbase.h"
class AdaProjectPart; class AdaProjectPart;
class TDevCompilerOptions; class KDevCompilerOptions;
class AdaProjectOptionsDlg : public AdaProjectOptionsDlgBase class AdaProjectOptionsDlg : public AdaProjectOptionsDlgBase
{ {

@ -95,6 +95,6 @@ GenericName[uz@cyrillic]=Ada лойиҳаси
GenericName[zh_CN]=Ada 工程 GenericName[zh_CN]=Ada 工程
GenericName[zh_TW]=Ada 專案 GenericName[zh_TW]=Ada 專案
ServiceTypes=TDevelop/Project ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevadaproject X-TDE-Library=libkdevadaproject
X-TDevelop-Version=5 X-TDevelop-Version=5
X-TDevelop-Language=Ada X-TDevelop-Language=Ada

@ -26,15 +26,15 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES tdevantproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) install( FILES kdevantproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevantproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevantproject ) install( FILES kdevantproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevantproject )
##### libtdevantproject (module) ################ ##### libkdevantproject (module) ################
tde_add_kpart( libtdevantproject AUTOMOC tde_add_kpart( libkdevantproject AUTOMOC
SOURCES SOURCES
antprojectpart.cpp antoptionswidget.ui classpathwidget.ui antprojectpart.cpp antoptionswidget.ui classpathwidget.ui
LINK tdevbuildbase-shared LINK kdevbuildbase-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -5,17 +5,17 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib/base \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_builddir)/buildtools/lib/widgets \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_builddir)/buildtools/lib/widgets \
$(all_includes) $(all_includes)
kde_module_LTLIBRARIES = libtdevantproject.la kde_module_LTLIBRARIES = libkdevantproject.la
libtdevantproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) libkdevantproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevantproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ libkdevantproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la
libtdevantproject_la_SOURCES = antprojectpart.cpp antoptionswidget.ui classpathwidget.ui libkdevantproject_la_SOURCES = antprojectpart.cpp antoptionswidget.ui classpathwidget.ui
METASOURCES = AUTO METASOURCES = AUTO
servicedir = $(kde_servicesdir) servicedir = $(kde_servicesdir)
service_DATA = tdevantproject.desktop service_DATA = kdevantproject.desktop
rcdir = $(kde_datadir)/tdevantproject rcdir = $(kde_datadir)/kdevantproject
rc_DATA = tdevantproject.rc rc_DATA = kdevantproject.rc

@ -11,7 +11,7 @@
#include <tqdir.h> #include <tqdir.h>
#include <tdevgenericfactory.h> #include <kdevgenericfactory.h>
#include <kdebug.h> #include <kdebug.h>
#include <tdeaction.h> #include <tdeaction.h>
#include <tdepopupmenu.h> #include <tdepopupmenu.h>
@ -21,10 +21,10 @@
#include <keditlistbox.h> #include <keditlistbox.h>
#include <kurlrequester.h> #include <kurlrequester.h>
#include <tdevplugininfo.h> #include <kdevplugininfo.h>
#include <tdevcore.h> #include <kdevcore.h>
#include <tdevmakefrontend.h> #include <kdevmakefrontend.h>
#include <urlutil.h> #include <urlutil.h>
@ -34,9 +34,9 @@
typedef TDevGenericFactory<AntProjectPart> AntProjectFactory; typedef KDevGenericFactory<AntProjectPart> AntProjectFactory;
static const TDevPluginInfo data("tdevantproject"); static const KDevPluginInfo data("kdevantproject");
K_EXPORT_COMPONENT_FACTORY(libtdevantproject, AntProjectFactory( data )) K_EXPORT_COMPONENT_FACTORY(libkdevantproject, AntProjectFactory( data ))
AntOptions::AntOptions() AntOptions::AntOptions()
@ -46,11 +46,11 @@ AntOptions::AntOptions()
AntProjectPart::AntProjectPart(TQObject *parent, const char *name, const TQStringList &) AntProjectPart::AntProjectPart(TQObject *parent, const char *name, const TQStringList &)
: TDevBuildTool(&data, parent, name ? name : "AntProjectPart") : KDevBuildTool(&data, parent, name ? name : "AntProjectPart")
{ {
setInstance(AntProjectFactory::instance()); setInstance(AntProjectFactory::instance());
setXMLFile("tdevantproject.rc"); setXMLFile("kdevantproject.rc");
m_buildProjectAction = new TDEAction(i18n("&Build Project"), "make_tdevelop", Key_F8, m_buildProjectAction = new TDEAction(i18n("&Build Project"), "make_tdevelop", Key_F8,
this, TQT_SLOT(slotBuild()), this, TQT_SLOT(slotBuild()),
@ -111,7 +111,7 @@ void AntProjectPart::openProject(const TQString &dirName, const TQString &projec
else else
populateProject(); populateProject();
TDevProject::openProject( dirName, projectName ); KDevProject::openProject( dirName, projectName );
} }

@ -16,7 +16,7 @@ class Context;
class ClassPathWidget; class ClassPathWidget;
#include "tdevbuildtool.h" #include "kdevbuildtool.h"
class AntOptionsWidget; class AntOptionsWidget;
@ -40,7 +40,7 @@ public:
}; };
class AntProjectPart : public TDevBuildTool class AntProjectPart : public KDevBuildTool
{ {
Q_OBJECT Q_OBJECT

@ -91,6 +91,6 @@ GenericName[uz@cyrillic]=Ant лойиҳаси
GenericName[zh_CN]=Ant 工程 GenericName[zh_CN]=Ant 工程
GenericName[zh_TW]=Ant 專案 GenericName[zh_TW]=Ant 專案
ServiceTypes=TDevelop/Project ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevantproject X-TDE-Library=libkdevantproject
X-TDevelop-Version=5 X-TDevelop-Version=5
X-TDevelop-Args= X-TDevelop-Args=

@ -32,13 +32,13 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES tdevautoproject.desktop tdevtdeautoproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) install( FILES kdevautoproject.desktop kdevtdeautoproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevautoproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevautoproject ) install( FILES kdevautoproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevautoproject )
##### libtdevautoproject (module) ############### ##### libkdevautoproject (module) ###############
tde_add_kpart( libtdevautoproject AUTOMOC tde_add_kpart( libkdevautoproject AUTOMOC
SOURCES SOURCES
autoprojectpart.cpp autoprojectwidget.cpp autoprojectpart.cpp autoprojectwidget.cpp
configureoptionswidget.cpp configureoptionswidgetbase.ui configureoptionswidget.cpp configureoptionswidgetbase.ui
@ -60,6 +60,6 @@ tde_add_kpart( libtdevautoproject AUTOMOC
autolistviewitems.cpp managecustomcommandsbase.ui autolistviewitems.cpp managecustomcommandsbase.ui
managecustomcommand.cpp autoprojectviewbase.ui managecustomcommand.cpp autoprojectviewbase.ui
autotoolsaction.cpp makefilehandler.cpp autotoolsaction.cpp makefilehandler.cpp
LINK tdevautotoolsparser-static tdevbuildbase-shared tdevbuildtoolswidgets-shared LINK kdevautotoolsparser-static kdevbuildbase-shared kdevbuildtoolswidgets-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -7,14 +7,14 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib -I$(top_srcdir)/buildtools/lib/base \
-I$(top_builddir)/buildtools/lib/widgets -I$(top_builddir)/buildtools/lib/widgets
kde_module_LTLIBRARIES = libtdevautoproject.la kde_module_LTLIBRARIES = libkdevautoproject.la
libtdevautoproject_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEPARTS) $(KDE_PLUGIN) libkdevautoproject_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEPARTS) $(KDE_PLUGIN)
libtdevautoproject_la_LIBADD = \ libkdevautoproject_la_LIBADD = \
$(top_builddir)/buildtools/lib/base/libtdevbuildbase.la \ $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la \
$(top_builddir)/buildtools/lib/parsers/autotools/libtdevautotoolsparser.la $(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la \ $(top_builddir)/buildtools/lib/parsers/autotools/libkdevautotoolsparser.la $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.la \
$(top_builddir)/lib/interfaces/extras/libtdevextras.la $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/interfaces/extras/libkdevextras.la $(top_builddir)/lib/libtdevelop.la
libtdevautoproject_la_SOURCES = autoprojectpart.cpp autoprojectwidget.cpp \ libkdevautoproject_la_SOURCES = autoprojectpart.cpp autoprojectwidget.cpp \
configureoptionswidget.cpp configureoptionswidgetbase.ui subprojectoptionsdlg.cpp \ configureoptionswidget.cpp configureoptionswidgetbase.ui subprojectoptionsdlg.cpp \
subprojectoptionsdlgbase.ui targetoptionsdlg.cpp targetoptionsdlgbase.ui addservicedlg.cpp \ subprojectoptionsdlgbase.ui targetoptionsdlg.cpp targetoptionsdlgbase.ui addservicedlg.cpp \
addservicedlgbase.ui addapplicationdlg.cpp addapplicationdlgbase.ui addtargetdlg.cpp \ addservicedlgbase.ui addapplicationdlg.cpp addapplicationdlgbase.ui addtargetdlg.cpp \
@ -30,9 +30,9 @@ libtdevautoproject_la_SOURCES = autoprojectpart.cpp autoprojectwidget.cpp \
METASOURCES = AUTO METASOURCES = AUTO
servicedir = $(kde_servicesdir) servicedir = $(kde_servicesdir)
service_DATA = tdevautoproject.desktop tdevtdeautoproject.desktop service_DATA = kdevautoproject.desktop kdevtdeautoproject.desktop
rcdir = $(kde_datadir)/tdevautoproject rcdir = $(kde_datadir)/kdevautoproject
rc_DATA = tdevautoproject.rc rc_DATA = kdevautoproject.rc
noinst_HEADERS = managecustomcommand.h autotoolsaction.h makefilehandler.h noinst_HEADERS = managecustomcommand.h autotoolsaction.h makefilehandler.h

@ -36,7 +36,7 @@
#include "autoprojectpart.h" #include "autoprojectpart.h"
#include "autoprojectwidget.h" #include "autoprojectwidget.h"
#include "tdevpartcontroller.h" #include "kdevpartcontroller.h"
AddFileDialog::AddFileDialog(AutoProjectPart *part, AutoProjectWidget *widget, AddFileDialog::AddFileDialog(AutoProjectPart *part, AutoProjectWidget *widget,
SubprojectItem *spitem, TargetItem *item, SubprojectItem *spitem, TargetItem *item,

@ -25,7 +25,7 @@
#include "autolistviewitems.h" #include "autolistviewitems.h"
#include "tdevmakefrontend.h" #include "kdevmakefrontend.h"
#include "misc.h" #include "misc.h"
#include "autoprojectpart.h" #include "autoprojectpart.h"
#include "autosubprojectview.h" #include "autosubprojectview.h"

@ -32,13 +32,13 @@
#include <tdepopupmenu.h> #include <tdepopupmenu.h>
/** KDevelop */ /** KDevelop */
#include "tdevappfrontend.h" #include "kdevappfrontend.h"
#include "tdevcore.h" #include "kdevcore.h"
#include "tdevmainwindow.h" #include "kdevmainwindow.h"
#include "tdevpartcontroller.h" #include "kdevpartcontroller.h"
#include "tdevcreatefile.h" #include "kdevcreatefile.h"
#include "tdevlanguagesupport.h" #include "kdevlanguagesupport.h"
#include "tdevmakefrontend.h" #include "kdevmakefrontend.h"
#include "urlutil.h" #include "urlutil.h"
#include "domutil.h" #include "domutil.h"
@ -294,13 +294,13 @@ void AutoDetailsView::slotAddNewFile()
if ( !titem ) if ( !titem )
return; return;
TDevCreateFile * createFileSupport = m_part->extension<TDevCreateFile>("TDevelop/CreateFile"); KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>("TDevelop/CreateFile");
if (createFileSupport) if (createFileSupport)
{ {
TDevCreateFile::CreatedFile crFile = KDevCreateFile::CreatedFile crFile =
createFileSupport->createNewFile(TQString(), createFileSupport->createNewFile(TQString(),
m_widget->selectedSubproject()->path); m_widget->selectedSubproject()->path);
/* if (crFile.status == TDevCreateFile::CreatedFile::STATUS_OK) /* if (crFile.status == KDevCreateFile::CreatedFile::STATUS_OK)
{ {
FileItem *fitem = m_widget->createFileItem(crFile.filename, m_widget->selectedSubproject()); FileItem *fitem = m_widget->createFileItem(crFile.filename, m_widget->selectedSubproject());
titem->sources.append(fitem); titem->sources.append(fitem);

@ -45,34 +45,34 @@
#include <kprocess.h> #include <kprocess.h>
#include <domutil.h> #include <domutil.h>
#include <tdevcore.h> #include <kdevcore.h>
#include <tdevmakefrontend.h> #include <kdevmakefrontend.h>
#include <tdevappfrontend.h> #include <kdevappfrontend.h>
#include <tdevmainwindow.h> #include <kdevmainwindow.h>
#include <tdevpartcontroller.h> #include <kdevpartcontroller.h>
#include <makeoptionswidget.h> #include <makeoptionswidget.h>
#include <runoptionswidget.h> #include <runoptionswidget.h>
#include <envvartools.h> #include <envvartools.h>
#include <configwidgetproxy.h> #include <configwidgetproxy.h>
#include <tdevplugininfo.h> #include <kdevplugininfo.h>
#include <urlutil.h> #include <urlutil.h>
#define CONFIGURE_OPTIONS 1 #define CONFIGURE_OPTIONS 1
#define RUN_OPTIONS 2 #define RUN_OPTIONS 2
#define MAKE_OPTIONS 3 #define MAKE_OPTIONS 3
static const TDevPluginInfo data("tdevautoproject"); static const KDevPluginInfo data("kdevautoproject");
K_EXPORT_COMPONENT_FACTORY( libtdevautoproject, AutoProjectFactory( data ) ) K_EXPORT_COMPONENT_FACTORY( libkdevautoproject, AutoProjectFactory( data ) )
AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStringList &args) AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStringList &args)
: TDevBuildTool(&data, parent, name ? name : "AutoProjectPart") : KDevBuildTool(&data, parent, name ? name : "AutoProjectPart")
, m_lastCompilationFailed(false) , m_lastCompilationFailed(false)
{ {
setInstance(AutoProjectFactory::instance()); setInstance(AutoProjectFactory::instance());
setXMLFile("tdevautoproject.rc"); setXMLFile("kdevautoproject.rc");
m_executeAfterBuild = false; m_executeAfterBuild = false;
m_isKDE = (args[0] == "kde"); m_isKDE = (args[0] == "kde");
@ -310,7 +310,7 @@ void AutoProjectPart::openProject(const TQString &dirName, const TQString &proje
"Project -> Project Options -> Run Options"), i18n("No active target specified"), "tdevelop_open_project_no_active_target"); "Project -> Project Options -> Run Options"), i18n("No active target specified"), "tdevelop_open_project_no_active_target");
} }
TDevProject::openProject( dirName, projectName ); KDevProject::openProject( dirName, projectName );
} }
@ -358,7 +358,7 @@ TQString AutoProjectPart::runDirectory() const
TQString cwd; TQString cwd;
if( DomUtil::readBoolEntry(dom, "/kdevautoproject/run/useglobalprogram", false) || !m_widget->activeTarget() ) if( DomUtil::readBoolEntry(dom, "/kdevautoproject/run/useglobalprogram", false) || !m_widget->activeTarget() )
{ {
cwd = defaultRunDirectory("tdevautoproject"); cwd = defaultRunDirectory("kdevautoproject");
}else }else
{ {
cwd = DomUtil::readEntry( dom, "/kdevautoproject/run/cwd/"+m_widget->activeTarget()->name ); cwd = DomUtil::readEntry( dom, "/kdevautoproject/run/cwd/"+m_widget->activeTarget()->name );
@ -585,7 +585,7 @@ TQStringList AutoProjectPart::allBuildConfigs() const
TQStringList allConfigs; TQStringList allConfigs;
allConfigs.append("default"); allConfigs.append("default");
TQDomNode node = dom.documentElement().namedItem("tdevautoproject").namedItem("configurations"); TQDomNode node = dom.documentElement().namedItem("kdevautoproject").namedItem("configurations");
TQDomElement childEl = node.firstChild().toElement(); TQDomElement childEl = node.firstChild().toElement();
while (!childEl.isNull()) while (!childEl.isNull())
{ {
@ -1075,7 +1075,7 @@ TQString AutoProjectPart::updateAdminDirectoryCommand() const
// Find the admin tarball // Find the admin tarball
TDEStandardDirs dirs; TDEStandardDirs dirs;
dirs.addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "tdevappwizard/template-common/"); dirs.addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "kdevappwizard/template-common/");
source = dirs.findResource("apptemplates", "admin.tar.gz"); source = dirs.findResource("apptemplates", "admin.tar.gz");
if (source != "") { if (source != "") {
TQString cmdline = "rm -rf admin && tar -xzvf "; TQString cmdline = "rm -rf admin && tar -xzvf ";
@ -1453,7 +1453,7 @@ bool AutoProjectPart::isKDE() const
return m_isKDE; return m_isKDE;
} }
TDevProject::Options AutoProjectPart::options() const KDevProject::Options AutoProjectPart::options() const
{ {
return UsesAutotoolsBuildSystem; return UsesAutotoolsBuildSystem;
} }

@ -20,8 +20,8 @@
#include <tqmap.h> #include <tqmap.h>
#include <tqdatetime.h> #include <tqdatetime.h>
#include <tqdir.h> #include <tqdir.h>
#include <tdevgenericfactory.h> #include <kdevgenericfactory.h>
#include "tdevbuildtool.h" #include "kdevbuildtool.h"
class TQDomElement; class TQDomElement;
class TQStringList; class TQStringList;
@ -31,7 +31,7 @@ class TDESelectAction;
class TargetItem; class TargetItem;
class ConfigWidgetProxy; class ConfigWidgetProxy;
class AutoProjectPart : public TDevBuildTool class AutoProjectPart : public KDevBuildTool
{ {
Q_OBJECT Q_OBJECT
@ -41,7 +41,7 @@ public:
virtual ~AutoProjectPart(); virtual ~AutoProjectPart();
/** /**
* Implementation of the TDevProject interface. * Implementation of the KDevProject interface.
*/ */
virtual TQString projectDirectory() const; virtual TQString projectDirectory() const;
virtual TQString projectName() const; virtual TQString projectName() const;
@ -61,7 +61,7 @@ public:
virtual Options options() const; virtual Options options() const;
/** /**
* Implementation of the TDevPlugin interface. * Implementation of the KDevPlugin interface.
*/ */
virtual void restorePartialProjectSession ( const TQDomElement* el ); virtual void restorePartialProjectSession ( const TQDomElement* el );
virtual void savePartialProjectSession ( TQDomElement* el ); virtual void savePartialProjectSession ( TQDomElement* el );
@ -85,7 +85,7 @@ public:
protected: protected:
/** /**
* Reimplemented from TDevProject. These methods are only * Reimplemented from KDevProject. These methods are only
* for use by the application core. * for use by the application core.
*/ */
virtual void openProject( const TQString &dirName, const TQString &projectName ); virtual void openProject( const TQString &dirName, const TQString &projectName );
@ -151,7 +151,7 @@ private:
bool queueInternalLibDependenciesBuild( TargetItem* titem, TQStringList& list ); bool queueInternalLibDependenciesBuild( TargetItem* titem, TQStringList& list );
}; };
typedef TDevGenericFactory<AutoProjectPart> AutoProjectFactory; typedef KDevGenericFactory<AutoProjectPart> AutoProjectFactory;
#endif #endif
// kate: indent-mode csands; tab-width 4; // kate: indent-mode csands; tab-width 4;

@ -42,7 +42,7 @@
#include <kxmlguiclient.h> #include <kxmlguiclient.h>
#include <tdeaction.h> #include <tdeaction.h>
#include "tdevcore.h" #include "kdevcore.h"
#include "domutil.h" #include "domutil.h"
#include "misc.h" #include "misc.h"
#include "choosetargetdialog.h" #include "choosetargetdialog.h"

@ -34,10 +34,10 @@
#include <tdelistview.h> #include <tdelistview.h>
/** KDevelop */ /** KDevelop */
#include <tdevmainwindow.h> #include <kdevmainwindow.h>
#include <tdevmakefrontend.h> #include <kdevmakefrontend.h>
#include <tdevappfrontend.h> #include <kdevappfrontend.h>
#include <tdevcore.h> #include <kdevcore.h>
#include <urlutil.h> #include <urlutil.h>
/** AutoProject */ /** AutoProject */

@ -43,7 +43,7 @@
#include "autoprojectwidget.h" #include "autoprojectwidget.h"
#include "autoprojectpart.h" #include "autoprojectpart.h"
#include "tdevpartcontroller.h" #include "kdevpartcontroller.h"
class ChooseTargetDialog::Private class ChooseTargetDialog::Private
{ {

@ -29,7 +29,7 @@
#include <kservice.h> #include <kservice.h>
#include <ktrader.h> #include <ktrader.h>
#include "tdevcompileroptions.h" #include "kdevcompileroptions.h"
#include "autoprojectpart.h" #include "autoprojectpart.h"
#include "environmentvariableswidget.h" #include "environmentvariableswidget.h"
@ -310,7 +310,7 @@ void ConfigureOptionsWidget::configRemoved()
TQString config = config_combo->currentText(); TQString config = config_combo->currentText();
TQDomDocument dom = *m_part->projectDom(); TQDomDocument dom = *m_part->projectDom();
TQDomNode node = dom.documentElement().namedItem("tdevautoproject").namedItem("configurations"); TQDomNode node = dom.documentElement().namedItem("kdevautoproject").namedItem("configurations");
node.removeChild(node.namedItem(config)); node.removeChild(node.namedItem(config));
allConfigs.remove(config); allConfigs.remove(config);
@ -348,7 +348,7 @@ void ConfigureOptionsWidget::f77serviceChanged()
void ConfigureOptionsWidget::cflagsClicked() void ConfigureOptionsWidget::cflagsClicked()
{ {
TQString name = ServiceComboBox::currentText(cservice_combo, cservice_names); TQString name = ServiceComboBox::currentText(cservice_combo, cservice_names);
TDevCompilerOptions *plugin = createCompilerOptions(name); KDevCompilerOptions *plugin = createCompilerOptions(name);
if (plugin) { if (plugin) {
TQString flags = plugin->exec(this, cflags_edit->text()); TQString flags = plugin->exec(this, cflags_edit->text());
@ -361,7 +361,7 @@ void ConfigureOptionsWidget::cflagsClicked()
void ConfigureOptionsWidget::cxxflagsClicked() void ConfigureOptionsWidget::cxxflagsClicked()
{ {
TQString name = ServiceComboBox::currentText(cxxservice_combo, cxxservice_names); TQString name = ServiceComboBox::currentText(cxxservice_combo, cxxservice_names);
TDevCompilerOptions *plugin = createCompilerOptions(name); KDevCompilerOptions *plugin = createCompilerOptions(name);
if (plugin) { if (plugin) {
TQString flags = plugin->exec(this, cxxflags_edit->text()); TQString flags = plugin->exec(this, cxxflags_edit->text());
@ -374,7 +374,7 @@ void ConfigureOptionsWidget::cxxflagsClicked()
void ConfigureOptionsWidget::f77flagsClicked() void ConfigureOptionsWidget::f77flagsClicked()
{ {
TQString name = ServiceComboBox::currentText(f77service_combo, f77service_names); TQString name = ServiceComboBox::currentText(f77service_combo, f77service_names);
TDevCompilerOptions *plugin = createCompilerOptions(name); KDevCompilerOptions *plugin = createCompilerOptions(name);
if (plugin) { if (plugin) {
TQString flags = plugin->exec(this, f77flags_edit->text()); TQString flags = plugin->exec(this, f77flags_edit->text());
@ -384,7 +384,7 @@ void ConfigureOptionsWidget::f77flagsClicked()
} }
TDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQString &name) KDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQString &name)
{ {
KService::Ptr service = KService::serviceByDesktopName(name); KService::Ptr service = KService::serviceByDesktopName(name);
if (!service) { if (!service) {
@ -406,13 +406,13 @@ TDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQStrin
args = TQStringList::split(" ", prop.toString()); args = TQStringList::split(" ", prop.toString());
TQObject *obj = factory->create(TQT_TQOBJECT(this), service->name().latin1(), TQObject *obj = factory->create(TQT_TQOBJECT(this), service->name().latin1(),
"TDevCompilerOptions", args); "KDevCompilerOptions", args);
if (!obj->inherits("TDevCompilerOptions")) { if (!obj->inherits("KDevCompilerOptions")) {
kdDebug(9020) << "Component does not inherit TDevCompilerOptions" << endl; kdDebug(9020) << "Component does not inherit KDevCompilerOptions" << endl;
return 0; return 0;
} }
TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj; KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj;
return dlg; return dlg;
} }

@ -18,7 +18,7 @@
#include "domutil.h" #include "domutil.h"
class TDevCompilerOptions; class KDevCompilerOptions;
class AutoProjectPart; class AutoProjectPart;
class EnvironmentVariablesWidget; class EnvironmentVariablesWidget;
@ -53,7 +53,7 @@ private:
void readSettings( const TQString &config ); void readSettings( const TQString &config );
void saveSettings( const TQString &config ); void saveSettings( const TQString &config );
TDevCompilerOptions *createCompilerOptions( const TQString &lang ); KDevCompilerOptions *createCompilerOptions( const TQString &lang );
TDETrader::OfferList coffers, cxxoffers, f77offers; TDETrader::OfferList coffers, cxxoffers, f77offers;
TQStringList cservice_names, cservice_execs; TQStringList cservice_names, cservice_execs;
TQStringList cxxservice_names, cxxservice_execs; TQStringList cxxservice_names, cxxservice_execs;

@ -43,7 +43,7 @@
#include "autoprojectwidget.h" #include "autoprojectwidget.h"
#include "autoprojectpart.h" #include "autoprojectpart.h"
#include "tdevlanguagesupport.h" #include "kdevlanguagesupport.h"
#include "tdefilednddetailview.h" #include "tdefilednddetailview.h"
#include "tdefiledndiconview.h" #include "tdefiledndiconview.h"
@ -140,7 +140,7 @@ FileSelectorWidget::FileSelectorWidget(AutoProjectPart* part, KFile::Mode mode,
/* read the file patterns from the project DOM */ /* read the file patterns from the project DOM */
TQDomElement docEl = m_part->projectDom()->documentElement(); TQDomElement docEl = m_part->projectDom()->documentElement();
TQDomElement fileviewEl = docEl.namedItem("tdevfileview").toElement(); TQDomElement fileviewEl = docEl.namedItem("kdevfileview").toElement();
TQDomElement groupsEl = fileviewEl.namedItem("groups").toElement(); TQDomElement groupsEl = fileviewEl.namedItem("groups").toElement();
TQDomElement groupEl = groupsEl.firstChild().toElement(); TQDomElement groupEl = groupsEl.firstChild().toElement();

@ -92,6 +92,6 @@ GenericName[zh_CN]=Automake 工程
GenericName[zh_TW]=Automake 專案 GenericName[zh_TW]=Automake 專案
ServiceTypes=TDevelop/Project ServiceTypes=TDevelop/Project
Icon=make Icon=make
X-TDE-Library=libtdevautoproject X-TDE-Library=libkdevautoproject
X-TDevelop-Version=5 X-TDevelop-Version=5
X-TDevelop-Args= X-TDevelop-Args=

@ -87,6 +87,6 @@ GenericName[zh_CN]=TDE Automake 工程
GenericName[zh_TW]=TDE Automake 專案 GenericName[zh_TW]=TDE Automake 專案
ServiceTypes=TDevelop/Project ServiceTypes=TDevelop/Project
Icon=make Icon=make
X-TDE-Library=libtdevautoproject X-TDE-Library=libkdevautoproject
X-TDevelop-Version=5 X-TDevelop-Version=5
X-TDevelop-Args=kde X-TDevelop-Args=kde

@ -21,10 +21,10 @@
#include "misc.h" #include "misc.h"
#include "tdevcompileroptions.h" #include "kdevcompileroptions.h"
static TDevCompilerOptions *createCompilerOptions( const TQString &name, TQObject *parent ) static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObject *parent )
{ {
KService::Ptr service = KService::serviceByDesktopName( name ); KService::Ptr service = KService::serviceByDesktopName( name );
if ( !service ) if ( !service )
@ -48,13 +48,13 @@ static TDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec
args = TQStringList::split(" ", prop.toString()); args = TQStringList::split(" ", prop.toString());
TQObject *obj = factory->create(parent, service->name().latin1(), TQObject *obj = factory->create(parent, service->name().latin1(),
"TDevCompilerOptions", args); "KDevCompilerOptions", args);
if (!obj->inherits("TDevCompilerOptions")) { if (!obj->inherits("KDevCompilerOptions")) {
kdDebug(9020) << "Component does not inherit TDevCompilerOptions" << endl; kdDebug(9020) << "Component does not inherit KDevCompilerOptions" << endl;
return 0; return 0;
} }
TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj; KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj;
return dlg; return dlg;
@ -65,14 +65,14 @@ static TDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec
args = TQStringList::split( " ", prop.toString() ); args = TQStringList::split( " ", prop.toString() );
return KParts::ComponentFactory return KParts::ComponentFactory
::createInstanceFromService<TDevCompilerOptions>( service, parent, ::createInstanceFromService<KDevCompilerOptions>( service, parent,
service->name().latin1(), args );*/ service->name().latin1(), args );*/
} }
TQString AutoProjectTool::execFlagsDialog( const TQString &compiler, const TQString &flags, TQWidget *parent ) TQString AutoProjectTool::execFlagsDialog( const TQString &compiler, const TQString &flags, TQWidget *parent )
{ {
TDevCompilerOptions * plugin = createCompilerOptions( compiler, TQT_TQOBJECT(parent) ); KDevCompilerOptions * plugin = createCompilerOptions( compiler, TQT_TQOBJECT(parent) );
if ( plugin ) if ( plugin )
{ {

@ -155,7 +155,7 @@ void RemoveFileDialog::accept()
TQDomDocument &dom = *(m_part->projectDom()); TQDomDocument &dom = *(m_part->projectDom());
TQDomElement el = dom.documentElement(); TQDomElement el = dom.documentElement();
TQDomNode el2 = el.namedItem("tdevautoproject"); TQDomNode el2 = el.namedItem("kdevautoproject");
TQDomNode el3 = el2.namedItem("subclassing"); TQDomNode el3 = el2.namedItem("subclassing");
TQDomNode n = el3.firstChild(); TQDomNode n = el3.firstChild();

@ -30,15 +30,15 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES tdevcustomproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) install( FILES kdevcustomproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevcustomproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevcustomproject ) install( FILES kdevcustomproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevcustomproject )
##### libtdevcustomproject (module) ############# ##### libkdevcustomproject (module) #############
tde_add_kpart( libtdevcustomproject AUTOMOC tde_add_kpart( libkdevcustomproject AUTOMOC
SOURCES SOURCES
selectnewfilesdialog.cpp selectnewfilesdialog.cpp
selectnewfilesdialogbase.ui custombuildoptionswidget.cpp selectnewfilesdialogbase.ui custombuildoptionswidget.cpp
@ -46,6 +46,6 @@ tde_add_kpart( libtdevcustomproject AUTOMOC
custommakeconfigwidgetbase.ui custommanagerwidget.cpp custommakeconfigwidgetbase.ui custommanagerwidget.cpp
custommanagerwidgetbase.ui customotherconfigwidget.cpp custommanagerwidgetbase.ui customotherconfigwidget.cpp
customotherconfigwidgetbase.ui customprojectpart.cpp customotherconfigwidgetbase.ui customprojectpart.cpp
LINK tdevbuildbase-shared tdevbuildtoolswidgets-shared LINK kdevbuildbase-shared kdevbuildtoolswidgets-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -5,12 +5,12 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib/base \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes) \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes) \
-I$(top_builddir)/buildtools/lib/widgets -I$(top_builddir)/buildtools/lib/widgets
kde_module_LTLIBRARIES = libtdevcustomproject.la kde_module_LTLIBRARIES = libkdevcustomproject.la
libtdevcustomproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) libkdevcustomproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevcustomproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ libkdevcustomproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la
libtdevcustomproject_la_SOURCES = selectnewfilesdialog.cpp selectnewfilesdialogbase.ui \ libkdevcustomproject_la_SOURCES = selectnewfilesdialog.cpp selectnewfilesdialogbase.ui \
custombuildoptionswidget.cpp custombuildoptionswidgetbase.ui custommakeconfigwidget.cpp \ custombuildoptionswidget.cpp custombuildoptionswidgetbase.ui custommakeconfigwidget.cpp \
custommakeconfigwidgetbase.ui custommanagerwidget.cpp custommanagerwidgetbase.ui \ custommakeconfigwidgetbase.ui custommanagerwidget.cpp custommanagerwidgetbase.ui \
customotherconfigwidget.cpp customotherconfigwidgetbase.ui customprojectpart.cpp customotherconfigwidget.cpp customotherconfigwidgetbase.ui customprojectpart.cpp
@ -18,9 +18,9 @@ libtdevcustomproject_la_SOURCES = selectnewfilesdialog.cpp selectnewfilesdialogb
METASOURCES = AUTO METASOURCES = AUTO
servicedir = $(kde_servicesdir) servicedir = $(kde_servicesdir)
service_DATA = tdevcustomproject.desktop service_DATA = kdevcustomproject.desktop
rcdir = $(kde_datadir)/tdevcustomproject rcdir = $(kde_datadir)/kdevcustomproject
rc_DATA = tdevcustomproject.rc rc_DATA = kdevcustomproject.rc
noinst_HEADERS = selectnewfilesdialog.h custommanagerwidget.h \ noinst_HEADERS = selectnewfilesdialog.h custommanagerwidget.h \
customotherconfigwidget.h customotherconfigwidget.h

@ -31,7 +31,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <kdialogbase.h> #include <kdialogbase.h>
#include <keditlistbox.h> #include <keditlistbox.h>
#include <tdevgenericfactory.h> #include <kdevgenericfactory.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelocale.h> #include <tdelocale.h>
#include <tdemainwindow.h> #include <tdemainwindow.h>
@ -42,11 +42,11 @@
#include <kprocess.h> #include <kprocess.h>
#include "domutil.h" #include "domutil.h"
#include "tdevcore.h" #include "kdevcore.h"
#include "tdevmainwindow.h" #include "kdevmainwindow.h"
#include "tdevmakefrontend.h" #include "kdevmakefrontend.h"
#include "tdevappfrontend.h" #include "kdevappfrontend.h"
#include "tdevpartcontroller.h" #include "kdevpartcontroller.h"
#include "runoptionswidget.h" #include "runoptionswidget.h"
#include "makeoptionswidget.h" #include "makeoptionswidget.h"
#include "custombuildoptionswidget.h" #include "custombuildoptionswidget.h"
@ -59,18 +59,18 @@
#include "selectnewfilesdialog.h" #include "selectnewfilesdialog.h"
#include <tdevplugininfo.h> #include <kdevplugininfo.h>
typedef TDevGenericFactory<CustomProjectPart> CustomProjectFactory; typedef KDevGenericFactory<CustomProjectPart> CustomProjectFactory;
static const TDevPluginInfo data( "tdevcustomproject" ); static const KDevPluginInfo data( "kdevcustomproject" );
K_EXPORT_COMPONENT_FACTORY( libtdevcustomproject, CustomProjectFactory( data ) ) K_EXPORT_COMPONENT_FACTORY( libkdevcustomproject, CustomProjectFactory( data ) )
CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const TQStringList & ) CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const TQStringList & )
: TDevBuildTool( &data, parent, name ? name : "CustomProjectPart" ) : KDevBuildTool( &data, parent, name ? name : "CustomProjectPart" )
, m_lastCompilationFailed( false ), m_recursive( false ), m_first_recursive( false ) , m_lastCompilationFailed( false ), m_recursive( false ), m_first_recursive( false )
{ {
setInstance( CustomProjectFactory::instance() ); setInstance( CustomProjectFactory::instance() );
setXMLFile( "tdevcustomproject.rc" ); setXMLFile( "kdevcustomproject.rc" );
m_executeAfterBuild = false; m_executeAfterBuild = false;
@ -477,7 +477,7 @@ void CustomProjectPart::openProject( const TQString &dirName, const TQString &pr
el.setTagName( "default" ); el.setTagName( "default" );
envs.appendChild( el ); envs.appendChild( el );
} }
TDevProject::openProject( dirName, projectName ); KDevProject::openProject( dirName, projectName );
} }
@ -632,7 +632,7 @@ DomUtil::PairList CustomProjectPart::runEnvironmentVars() const
*/ */
TQString CustomProjectPart::runDirectory() const TQString CustomProjectPart::runDirectory() const
{ {
TQString cwd = defaultRunDirectory( "tdevcustomproject" ); TQString cwd = defaultRunDirectory( "kdevcustomproject" );
if ( cwd.isEmpty() ) if ( cwd.isEmpty() )
cwd = buildDirectory(); cwd = buildDirectory();
return cwd; return cwd;

@ -20,7 +20,7 @@
#include <tqdatetime.h> #include <tqdatetime.h>
#include <tqvaluestack.h> #include <tqvaluestack.h>
#include <tdevbuildtool.h> #include <kdevbuildtool.h>
class TQListViewItem; class TQListViewItem;
class TQPopupMenu; class TQPopupMenu;
@ -30,7 +30,7 @@ class CustomProjectWidget;
class Context; class Context;
class TDESelectAction; class TDESelectAction;
class CustomProjectPart : public TDevBuildTool class CustomProjectPart : public KDevBuildTool
{ {
Q_OBJECT Q_OBJECT

@ -38,7 +38,7 @@ Comment[tg]=Лоиҳаи оддӣ
Comment[tr]=Özel Proje Comment[tr]=Özel Proje
Comment[zh_CN]=自定义工程 Comment[zh_CN]=自定义工程
Comment[zh_TW]=自訂專案 Comment[zh_TW]=自訂專案
Name=TDevCustomProject Name=KDevCustomProject
Name[da]=TDevelop brugerdefineret projekt Name[da]=TDevelop brugerdefineret projekt
Name[de]=Benutzerdefiniertes Projekt (TDevelop) Name[de]=Benutzerdefiniertes Projekt (TDevelop)
Name[hi]=के-डेव-कस्टम-परियोजना Name[hi]=के-डेव-कस्टम-परियोजना
@ -86,6 +86,6 @@ GenericName[tr]=Özel Proje
GenericName[zh_CN]=自定义工程 GenericName[zh_CN]=自定义工程
GenericName[zh_TW]=自訂專案 GenericName[zh_TW]=自訂專案
ServiceTypes=TDevelop/Project ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevcustomproject X-TDE-Library=libkdevcustomproject
X-TDevelop-Version=5 X-TDevelop-Version=5
X-TDevelop-Args= X-TDevelop-Args=

@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="TDevCustomProject" version="7"> <kpartgui name="KDevCustomProject" version="7">
<MenuBar> <MenuBar>
<Menu name="project" > <Menu name="project" >
<Action name="repopulate_project" /> <Action name="repopulate_project" />

@ -26,14 +26,14 @@ link_directories(
##### headers ################################### ##### headers ###################################
install( FILES install( FILES
tdevbuildtool.h kdevbuildtool.h
DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/buildtools/base ) DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/buildtools/base )
##### tdevbuildbase (shared) #################### ##### kdevbuildbase (shared) ####################
tde_add_library( tdevbuildbase SHARED AUTOMOC tde_add_library( kdevbuildbase SHARED AUTOMOC
SOURCES tdevbuildtool.cpp SOURCES kdevbuildtool.cpp
VERSION 0.0.0 VERSION 0.0.0
LINK tdevelop-shared LINK tdevelop-shared
DESTINATION ${LIB_INSTALL_DIR} DESTINATION ${LIB_INSTALL_DIR}

@ -8,8 +8,8 @@ This library contains base classes for KDevelop builtool support plugins.
<b>Include path</b>: -I\$(kde_includes)/tdevelop/buildtools/base <b>Include path</b>: -I\$(kde_includes)/tdevelop/buildtools/base
\section btbaseoverview Overview \section btbaseoverview Overview
This library is created to provide TDevBuildTool compat class which can be used This library is created to provide KDevBuildTool compat class which can be used
as drop-in replacement of TDevProject class for buildtool support plugins as drop-in replacement of KDevProject class for buildtool support plugins
written for old KDevelop architecture (before version 3.2). written for old KDevelop architecture (before version 3.2).
Nevertheless, it can be useful for new buildtool plugins as well because it provides Nevertheless, it can be useful for new buildtool plugins as well because it provides

@ -2,14 +2,14 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets/propeditor \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets/propeditor \
$(all_includes) $(all_includes)
METASOURCES = AUTO METASOURCES = AUTO
lib_LTLIBRARIES = libtdevbuildbase.la lib_LTLIBRARIES = libkdevbuildbase.la
libtdevbuildbase_la_LDFLAGS = $(all_libraries) libkdevbuildbase_la_LDFLAGS = $(all_libraries)
libtdevbuildbase_la_LIBADD = $(top_builddir)/lib/interfaces/libtdevinterfaces.la $(LIB_QT) $(LIB_TDEUI) libkdevbuildbase_la_LIBADD = $(top_builddir)/lib/interfaces/libkdevinterfaces.la $(LIB_QT) $(LIB_TDEUI)
libtdevbuildbase_la_SOURCES = tdevbuildtool.cpp libkdevbuildbase_la_SOURCES = kdevbuildtool.cpp
tdevelopbuildtoolsincludedir = $(includedir)/tdevelop/buildtools/base tdevelopbuildtoolsincludedir = $(includedir)/tdevelop/buildtools/base
tdevelopbuildtoolsinclude_HEADERS = tdevbuildtool.h tdevelopbuildtoolsinclude_HEADERS = kdevbuildtool.h
DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevutil tdevinterfaces tdevextensions DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevutil kdevinterfaces kdevextensions
DOXYGEN_PROJECTNAME = TDevelop Buildtool Base Library DOXYGEN_PROJECTNAME = KDevelop Buildtool Base Library
DOXYGEN_DOCDIRPREFIX = tdevbt DOXYGEN_DOCDIRPREFIX = kdevbt
include ../../../Doxyfile.am include ../../../Doxyfile.am

@ -16,23 +16,23 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#include "tdevbuildtool.h" #include "kdevbuildtool.h"
#include <tdevmakefrontend.h> #include <kdevmakefrontend.h>
#include <tdevappfrontend.h> #include <kdevappfrontend.h>
TDevBuildTool::TDevBuildTool(const TDevPluginInfo* info, TQObject* parent, const char* name) KDevBuildTool::KDevBuildTool(const KDevPluginInfo* info, TQObject* parent, const char* name)
:TDevProject(info, parent, name) :KDevProject(info, parent, name)
{ {
} }
TDevMakeFrontend * TDevBuildTool::makeFrontend() KDevMakeFrontend * KDevBuildTool::makeFrontend()
{ {
return extension<TDevMakeFrontend>("TDevelop/MakeFrontend"); return extension<KDevMakeFrontend>("TDevelop/MakeFrontend");
} }
TDevAppFrontend * TDevBuildTool::appFrontend() KDevAppFrontend * KDevBuildTool::appFrontend()
{ {
return extension<TDevAppFrontend>("TDevelop/AppFrontend"); return extension<KDevAppFrontend>("TDevelop/AppFrontend");
} }

@ -17,24 +17,24 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#ifndef TDEVBUILDTOOL_H #ifndef KDEVBUILDTOOL_H
#define TDEVBUILDTOOL_H #define KDEVBUILDTOOL_H
#include <tdevproject.h> #include <kdevproject.h>
class TDevMakeFrontend; class KDevMakeFrontend;
class TDevAppFrontend; class KDevAppFrontend;
/**Base class for KDevelop build tool support plugins.*/ /**Base class for KDevelop build tool support plugins.*/
class TDevBuildTool: public TDevProject class KDevBuildTool: public KDevProject
{ {
public: public:
TDevBuildTool(const TDevPluginInfo* info, TQObject* parent, const char* name); KDevBuildTool(const KDevPluginInfo* info, TQObject* parent, const char* name);
/**@return The make frontend.*/ /**@return The make frontend.*/
TDevMakeFrontend *makeFrontend(); KDevMakeFrontend *makeFrontend();
/**@return The application frontend.*/ /**@return The application frontend.*/
TDevAppFrontend *appFrontend(); KDevAppFrontend *appFrontend();
}; };

@ -16,9 +16,9 @@ include_directories(
) )
##### tdevautotoolsparser (static) ############## ##### kdevautotoolsparser (static) ##############
tde_add_library( tdevautotoolsparser STATIC_PIC tde_add_library( kdevautotoolsparser STATIC_PIC
SOURCES SOURCES
autotoolsast.cpp autotoolsdriver.cpp autotools_yacc.cpp autotoolsast.cpp autotoolsdriver.cpp autotools_yacc.cpp
) )

@ -6,9 +6,9 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets/propeditor \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets/propeditor \
$(all_includes) $(all_includes)
METASOURCES = AUTO METASOURCES = AUTO
noinst_LTLIBRARIES = libtdevautotoolsparser.la noinst_LTLIBRARIES = libkdevautotoolsparser.la
libtdevautotoolsparser_la_LDFLAGS = $(all_libraries) $(LIB_TDEIO) libkdevautotoolsparser_la_LDFLAGS = $(all_libraries) $(LIB_TDEIO)
libtdevautotoolsparser_la_SOURCES = autotoolsast.cpp autotoolsdriver.cpp autotools_yacc.cpp libkdevautotoolsparser_la_SOURCES = autotoolsast.cpp autotoolsdriver.cpp autotools_yacc.cpp
parser: parser:
cd $(srcdir) ; \ cd $(srcdir) ; \
@ -19,6 +19,6 @@ parser:
EXTRA_DIST = autotools.yy autotools.ll EXTRA_DIST = autotools.yy autotools.ll
DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils
DOXYGEN_PROJECTNAME = TDevelop AutoTools Parser DOXYGEN_PROJECTNAME = KDevelop AutoTools Parser
DOXYGEN_DOCDIRPREFIX = tdevparser DOXYGEN_DOCDIRPREFIX = kdevparser
include ../../../../Doxyfile.am include ../../../../Doxyfile.am

@ -13,9 +13,9 @@ METASOURCES = AUTO
check_PROGRAMS = runner viewer check_PROGRAMS = runner viewer
runner_LDFLAGS = $(all_libraries) $(LIB_TDECORE) $(KDE_RPATH) runner_LDFLAGS = $(all_libraries) $(LIB_TDECORE) $(KDE_RPATH)
runner_LDADD = $(top_builddir)/buildtools/lib/parsers/autotools/libtdevautotoolsparser.la runner_LDADD = $(top_builddir)/buildtools/lib/parsers/autotools/libkdevautotoolsparser.la
runner_SOURCES = runner.cpp runner_SOURCES = runner.cpp
viewer_LDFLAGS = $(all_libraries) $(LIB_TDECORE) $(KDE_RPATH) viewer_LDFLAGS = $(all_libraries) $(LIB_TDECORE) $(KDE_RPATH)
viewer_LDADD = $(top_builddir)/buildtools/lib/parsers/autotools/libtdevautotoolsparser.la viewer_LDADD = $(top_builddir)/buildtools/lib/parsers/autotools/libkdevautotoolsparser.la
viewer_SOURCES = viewer.cpp viewer_main.cpp viewerbase.ui viewer_SOURCES = viewer.cpp viewer_main.cpp viewerbase.ui

@ -27,9 +27,9 @@ install( FILES
DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/buildtools/parsers/qmake ) DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/buildtools/parsers/qmake )
##### tdevqmakeparser (shared) ################## ##### kdevqmakeparser (shared) ##################
tde_add_library( tdevqmakeparser SHARED tde_add_library( kdevqmakeparser SHARED
SOURCES SOURCES
qmake_lex.cpp qmake_yacc.cpp qmakeast.cpp qmake_lex.cpp qmake_yacc.cpp qmakeast.cpp
qmakeastvisitor.cpp qmakedriver.cpp qmakeastvisitor.cpp qmakedriver.cpp

@ -8,9 +8,9 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets/propeditor \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets/propeditor \
$(all_includes) $(all_includes)
METASOURCES = AUTO METASOURCES = AUTO
lib_LTLIBRARIES = libtdevqmakeparser.la lib_LTLIBRARIES = libkdevqmakeparser.la
libtdevqmakeparser_la_LDFLAGS = -no-undefined $(all_libraries) $(LIB_TDEIO) libkdevqmakeparser_la_LDFLAGS = -no-undefined $(all_libraries) $(LIB_TDEIO)
libtdevqmakeparser_la_SOURCES = qmake_lex.cpp qmake_yacc.cpp qmakeast.cpp \ libkdevqmakeparser_la_SOURCES = qmake_lex.cpp qmake_yacc.cpp qmakeast.cpp \
qmakeastvisitor.cpp qmakedriver.cpp qmakeastvisitor.cpp qmakedriver.cpp
tdevelopbuildtoolsincludedir = $(includedir)/tdevelop/buildtools/parsers/qmake tdevelopbuildtoolsincludedir = $(includedir)/tdevelop/buildtools/parsers/qmake
@ -24,8 +24,8 @@ parser:
EXTRA_DIST = qmake.yy qmake.ll EXTRA_DIST = qmake.yy qmake.ll
DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils
DOXYGEN_PROJECTNAME = TDevelop QMake parser DOXYGEN_PROJECTNAME = KDevelop QMake parser
DOXYGEN_DOCDIRPREFIX = tdevparser DOXYGEN_DOCDIRPREFIX = kdevparser
include ../../../../Doxyfile.am include ../../../../Doxyfile.am
noinst_HEADERS = qmake.ll qmake.yy qmake_lex.h noinst_HEADERS = qmake.ll qmake.yy qmake_lex.h

@ -13,9 +13,9 @@ METASOURCES = AUTO
noinst_PROGRAMS = runner viewer noinst_PROGRAMS = runner viewer
runner_LDFLAGS = $(all_libraries) $(LIB_TDECORE) $(KDE_RPATH) runner_LDFLAGS = $(all_libraries) $(LIB_TDECORE) $(KDE_RPATH)
runner_LDADD = $(top_builddir)/buildtools/lib/parsers/qmake/libtdevqmakeparser.la runner_LDADD = $(top_builddir)/buildtools/lib/parsers/qmake/libkdevqmakeparser.la
runner_SOURCES = runner.cpp runner_SOURCES = runner.cpp
viewer_LDFLAGS = --no-undefined $(all_libraries) $(LIB_TDECORE) $(KDE_RPATH) viewer_LDFLAGS = --no-undefined $(all_libraries) $(LIB_TDECORE) $(KDE_RPATH)
viewer_LDADD = $(top_builddir)/buildtools/lib/parsers/qmake/libtdevqmakeparser.la viewer_LDADD = $(top_builddir)/buildtools/lib/parsers/qmake/libkdevqmakeparser.la
viewer_SOURCES = viewer.cpp viewer_main.cpp viewerbase.ui viewer_SOURCES = viewer.cpp viewer_main.cpp viewerbase.ui

@ -36,9 +36,9 @@ install( FILES
DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/buildtools/widgets ) DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/buildtools/widgets )
##### tdevbuildtoolswidgets (shared) ############ ##### kdevbuildtoolswidgets (shared) ############
tde_add_library( tdevbuildtoolswidgets SHARED AUTOMOC tde_add_library( kdevbuildtoolswidgets SHARED AUTOMOC
SOURCES SOURCES
addenvvardlg.cpp addfilesdialog.cpp addenvvardlg.cpp addfilesdialog.cpp
environmentdisplaydialog.cpp environmentdisplaydialog.cpp

@ -5,11 +5,11 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \ INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \
-I$(top_srcdir)/lib/widgets/propeditor $(all_includes) -I$(top_srcdir)/lib/widgets/propeditor $(all_includes)
lib_LTLIBRARIES = libtdevbuildtoolswidgets.la lib_LTLIBRARIES = libkdevbuildtoolswidgets.la
libtdevbuildtoolswidgets_la_LDFLAGS = $(all_libraries) libkdevbuildtoolswidgets_la_LDFLAGS = $(all_libraries)
libtdevbuildtoolswidgets_la_LIBADD = $(top_builddir)/lib/interfaces/libtdevinterfaces.la \ libkdevbuildtoolswidgets_la_LIBADD = $(top_builddir)/lib/interfaces/libkdevinterfaces.la \
$(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO) -ltdetexteditor $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO) -ltdetexteditor
libtdevbuildtoolswidgets_la_SOURCES = addenvvardlg.cpp addfilesdialog.cpp \ libkdevbuildtoolswidgets_la_SOURCES = addenvvardlg.cpp addfilesdialog.cpp \
environmentdisplaydialog.cpp environmentdisplaydialogbase.ui environmentvariableswidget.cpp \ environmentdisplaydialog.cpp environmentdisplaydialogbase.ui environmentvariableswidget.cpp \
environmentvariableswidgetbase.ui envvartools.cpp makeoptionswidget.cpp makeoptionswidgetbase.ui \ environmentvariableswidgetbase.ui envvartools.cpp makeoptionswidget.cpp makeoptionswidgetbase.ui \
removesubprojectdialog.cpp removesubprojectdlgbase.ui runoptionswidget.cpp runoptionswidgetbase.ui \ removesubprojectdialog.cpp removesubprojectdlgbase.ui runoptionswidget.cpp runoptionswidgetbase.ui \
@ -23,8 +23,8 @@ tdevelopbuildtoolsinclude_HEADERS = addenvvardlg.h addfilesdialog.h \
makeoptionswidgetbase.h removesubprojectdialog.h removesubprojectdlgbase.h runoptionswidget.h \ makeoptionswidgetbase.h removesubprojectdialog.h removesubprojectdlgbase.h runoptionswidget.h \
runoptionswidgetbase.h subclassesdlg.h subclassesdlgbase.h runoptionswidgetbase.h subclassesdlg.h subclassesdlgbase.h
DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevutil tdevinterfaces tdevutil DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevutil kdevinterfaces kdevutil
DOXYGEN_PROJECTNAME = TDevelop Buildtool Widgets Library DOXYGEN_PROJECTNAME = KDevelop Buildtool Widgets Library
DOXYGEN_DOCDIRPREFIX = tdevbt DOXYGEN_DOCDIRPREFIX = kdevbt
include ../../../Doxyfile.am include ../../../Doxyfile.am
noinst_HEADERS = environmentdisplaydialog.h noinst_HEADERS = environmentdisplaydialog.h

@ -30,17 +30,17 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES tdevpascalproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) install( FILES kdevpascalproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevpascalproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevpascalproject ) install( FILES kdevpascalproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpascalproject )
##### libtdevpascalproject (module) ############# ##### libkdevpascalproject (module) #############
tde_add_kpart( libtdevpascalproject AUTOMOC tde_add_kpart( libkdevpascalproject AUTOMOC
SOURCES SOURCES
pascalproject_part.cpp pascalproject_widget.cpp pascalproject_part.cpp pascalproject_widget.cpp
pascalproject_optionsdlgbase.ui pascalprojectoptionsdlg.cpp pascalproject_optionsdlgbase.ui pascalprojectoptionsdlg.cpp
pascalglobaloptionsdlg.cpp service.cpp pascalglobaloptionsdlg.cpp service.cpp
LINK tdevbuildbase-shared tdevbuildtoolswidgets-shared LINK kdevbuildbase-shared kdevbuildtoolswidgets-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -4,20 +4,20 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib/base \
-I$(top_srcdir)/lib/interfaces/extras -I$(top_srcdir)/lib/util -I$(top_builddir)/buildtools/lib/widgets \ -I$(top_srcdir)/lib/interfaces/extras -I$(top_srcdir)/lib/util -I$(top_builddir)/buildtools/lib/widgets \
$(all_includes) $(all_includes)
kde_module_LTLIBRARIES = libtdevpascalproject.la kde_module_LTLIBRARIES = libkdevpascalproject.la
libtdevpascalproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) libkdevpascalproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevpascalproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ libkdevpascalproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la
libtdevpascalproject_la_SOURCES = pascalproject_part.cpp pascalproject_widget.cpp pascalproject_optionsdlgbase.ui pascalprojectoptionsdlg.cpp pascalglobaloptionsdlg.cpp service.cpp libkdevpascalproject_la_SOURCES = pascalproject_part.cpp pascalproject_widget.cpp pascalproject_optionsdlgbase.ui pascalprojectoptionsdlg.cpp pascalglobaloptionsdlg.cpp service.cpp
METASOURCES = AUTO METASOURCES = AUTO
servicedir = $(kde_servicesdir) servicedir = $(kde_servicesdir)
service_DATA = tdevpascalproject.desktop service_DATA = kdevpascalproject.desktop
rcdir = $(kde_datadir)/tdevpascalproject rcdir = $(kde_datadir)/kdevpascalproject
rc_DATA = tdevpascalproject.rc rc_DATA = kdevpascalproject.rc

@ -89,5 +89,5 @@ GenericName[uz@cyrillic]=Pascal лойиҳаси
GenericName[zh_CN]=Pascal 工程 GenericName[zh_CN]=Pascal 工程
GenericName[zh_TW]=Pascal 專案 GenericName[zh_TW]=Pascal 專案
ServiceTypes=TDevelop/Project ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevpascalproject X-TDE-Library=libkdevpascalproject
X-TDevelop-Version=5 X-TDevelop-Version=5

@ -17,7 +17,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <tdeconfig.h> #include <tdeconfig.h>
#include "tdevcompileroptions.h" #include "kdevcompileroptions.h"
#include "service.h" #include "service.h"
#include "pascalproject_part.h" #include "pascalproject_part.h"
@ -64,7 +64,7 @@ PascalGlobalOptionsDlg::~PascalGlobalOptionsDlg()
void PascalGlobalOptionsDlg::optionsButtonClicked() void PascalGlobalOptionsDlg::optionsButtonClicked()
{ {
TQString name = ServiceComboBox::currentText(compiler_box, service_names); TQString name = ServiceComboBox::currentText(compiler_box, service_names);
TDevCompilerOptions *plugin = m_part->createCompilerOptions(name); KDevCompilerOptions *plugin = m_part->createCompilerOptions(name);
if (plugin) { if (plugin) {
TQString flags = plugin->exec(this, options_edit->text()); TQString flags = plugin->exec(this, options_edit->text());

@ -21,7 +21,7 @@
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelocale.h> #include <tdelocale.h>
#include <tdeaction.h> #include <tdeaction.h>
#include <tdevgenericfactory.h> #include <kdevgenericfactory.h>
#include <kdebug.h> #include <kdebug.h>
#include <kdialogbase.h> #include <kdialogbase.h>
#include <tdemessagebox.h> #include <tdemessagebox.h>
@ -32,13 +32,13 @@
#include <kprocess.h> #include <kprocess.h>
#include "domutil.h" #include "domutil.h"
#include "tdevcore.h" #include "kdevcore.h"
#include "tdevmainwindow.h" #include "kdevmainwindow.h"
#include "tdevmakefrontend.h" #include "kdevmakefrontend.h"
#include "tdevappfrontend.h" #include "kdevappfrontend.h"
#include "tdevpartcontroller.h" #include "kdevpartcontroller.h"
#include "tdevlanguagesupport.h" #include "kdevlanguagesupport.h"
#include "tdevcompileroptions.h" #include "kdevcompileroptions.h"
#include "runoptionswidget.h" #include "runoptionswidget.h"
#include "envvartools.h" #include "envvartools.h"
@ -46,17 +46,17 @@
#include "pascalprojectoptionsdlg.h" #include "pascalprojectoptionsdlg.h"
#include "pascalglobaloptionsdlg.h" #include "pascalglobaloptionsdlg.h"
#include <tdevplugininfo.h> #include <kdevplugininfo.h>
typedef TDevGenericFactory<PascalProjectPart> PascalProjectFactory; typedef KDevGenericFactory<PascalProjectPart> PascalProjectFactory;
static const TDevPluginInfo data("tdevpascalproject"); static const KDevPluginInfo data("kdevpascalproject");
K_EXPORT_COMPONENT_FACTORY( libtdevpascalproject, PascalProjectFactory( data ) ) K_EXPORT_COMPONENT_FACTORY( libkdevpascalproject, PascalProjectFactory( data ) )
PascalProjectPart::PascalProjectPart(TQObject *parent, const char *name, const TQStringList& ) PascalProjectPart::PascalProjectPart(TQObject *parent, const char *name, const TQStringList& )
:TDevBuildTool(&data, parent, name ? name : "PascalProjectPart" ) :KDevBuildTool(&data, parent, name ? name : "PascalProjectPart" )
{ {
setInstance(PascalProjectFactory::instance()); setInstance(PascalProjectFactory::instance());
setXMLFile("tdevpascalproject.rc"); setXMLFile("kdevpascalproject.rc");
TDEAction *action; TDEAction *action;
action = new TDEAction( i18n("&Build Project"), "make_tdevelop", Key_F8, action = new TDEAction( i18n("&Build Project"), "make_tdevelop", Key_F8,
@ -82,7 +82,7 @@ PascalProjectPart::PascalProjectPart(TQObject *parent, const char *name, const T
// TQWhatsThis::add(m_widget, i18n("WHAT DOES THIS PART DO?")); // TQWhatsThis::add(m_widget, i18n("WHAT DOES THIS PART DO?"));
// now you decide what should happen to the widget. Take a look at tdevcore.h // now you decide what should happen to the widget. Take a look at kdevcore.h
// or at other plugins how to embed it. // or at other plugins how to embed it.
// if you want to embed your widget as an outputview, simply uncomment // if you want to embed your widget as an outputview, simply uncomment
@ -172,7 +172,7 @@ void PascalProjectPart::openProject(const TQString &dirName, const TQString &pro
} }
} while (!s.isEmpty()); } while (!s.isEmpty());
TDevProject::openProject( dirName, projectName ); KDevProject::openProject( dirName, projectName );
} }
void PascalProjectPart::closeProject() void PascalProjectPart::closeProject()
@ -197,7 +197,7 @@ DomUtil::PairList PascalProjectPart::runEnvironmentVars() const
*/ */
TQString PascalProjectPart::runDirectory() const TQString PascalProjectPart::runDirectory() const
{ {
TQString cwd = defaultRunDirectory("tdevpascalproject"); TQString cwd = defaultRunDirectory("kdevpascalproject");
if (cwd.isEmpty()) if (cwd.isEmpty())
cwd = buildDirectory(); cwd = buildDirectory();
return cwd; return cwd;
@ -384,12 +384,12 @@ void PascalProjectPart::slotExecute()
void PascalProjectPart::changedFiles( const TQStringList & fileList ) void PascalProjectPart::changedFiles( const TQStringList & fileList )
{ {
TDevProject::changedFiles(fileList); KDevProject::changedFiles(fileList);
} }
void PascalProjectPart::changedFile( const TQString & fileName ) void PascalProjectPart::changedFile( const TQString & fileName )
{ {
TDevProject::changedFile(fileName); KDevProject::changedFile(fileName);
} }
void PascalProjectPart::projectConfigWidget( KDialogBase * dlg ) void PascalProjectPart::projectConfigWidget( KDialogBase * dlg )
@ -436,7 +436,7 @@ void PascalProjectPart::configWidget( KDialogBase * dlg )
connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) ); connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
} }
TDevCompilerOptions *PascalProjectPart::createCompilerOptions(const TQString &name) KDevCompilerOptions *PascalProjectPart::createCompilerOptions(const TQString &name)
{ {
KService::Ptr service = KService::serviceByDesktopName(name); KService::Ptr service = KService::serviceByDesktopName(name);
if (!service) { if (!service) {
@ -458,13 +458,13 @@ TDevCompilerOptions *PascalProjectPart::createCompilerOptions(const TQString &na
args = TQStringList::split(" ", prop.toString()); args = TQStringList::split(" ", prop.toString());
TQObject *obj = factory->create(this, service->name().latin1(), TQObject *obj = factory->create(this, service->name().latin1(),
"TDevCompilerOptions", args); "KDevCompilerOptions", args);
if (!obj->inherits("TDevCompilerOptions")) { if (!obj->inherits("KDevCompilerOptions")) {
kdDebug() << "Component does not inherit TDevCompilerOptions" << endl; kdDebug() << "Component does not inherit KDevCompilerOptions" << endl;
return 0; return 0;
} }
TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj; KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj;
return dlg; return dlg;
} }

@ -8,18 +8,18 @@
* (at your option) any later version. * * (at your option) any later version. *
* * * *
***************************************************************************/ ***************************************************************************/
#ifndef __TDEVPART_PASCALPROJECT_H__ #ifndef __KDEVPART_PASCALPROJECT_H__
#define __TDEVPART_PASCALPROJECT_H__ #define __KDEVPART_PASCALPROJECT_H__
#include <tqguardedptr.h> #include <tqguardedptr.h>
#include "tdevbuildtool.h" #include "kdevbuildtool.h"
class PascalProjectWidget; class PascalProjectWidget;
class KDialogBase; class KDialogBase;
class TDevCompilerOptions; class KDevCompilerOptions;
class PascalProjectPart : public TDevBuildTool class PascalProjectPart : public KDevBuildTool
{ {
Q_OBJECT Q_OBJECT
@ -61,7 +61,7 @@ public:
virtual void changedFiles( const TQStringList & fileList ); virtual void changedFiles( const TQStringList & fileList );
virtual void changedFile( const TQString & fileName ); virtual void changedFile( const TQString & fileName );
TDevCompilerOptions *createCompilerOptions(const TQString &name); KDevCompilerOptions *createCompilerOptions(const TQString &name);
virtual TQString defaultOptions(const TQString compiler) const; virtual TQString defaultOptions(const TQString compiler) const;
TQStringList distFiles() const; TQStringList distFiles() const;

@ -4,7 +4,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <tdevcore.h> #include <kdevcore.h>
#include "pascalproject_part.h" #include "pascalproject_part.h"

@ -6,7 +6,7 @@
#include <tqstring.h> #include <tqstring.h>
class TDevProject; class KDevProject;
class PascalProjectPart; class PascalProjectPart;

@ -20,7 +20,7 @@
#include <tqvalidator.h> #include <tqvalidator.h>
#include "domutil.h" #include "domutil.h"
#include "tdevcompileroptions.h" #include "kdevcompileroptions.h"
#include "service.h" #include "service.h"
#include "pascalproject_part.h" #include "pascalproject_part.h"
@ -59,7 +59,7 @@ TQStringList PascalProjectOptionsDlg::allBuildConfigs()
TQStringList allConfigs; TQStringList allConfigs;
allConfigs.append("default"); allConfigs.append("default");
TQDomNode node = dom.documentElement().namedItem("tdevpascalproject").namedItem("configurations"); TQDomNode node = dom.documentElement().namedItem("kdevpascalproject").namedItem("configurations");
TQDomElement childEl = node.firstChild().toElement(); TQDomElement childEl = node.firstChild().toElement();
while (!childEl.isNull()) { while (!childEl.isNull()) {
TQString config = childEl.tagName(); TQString config = childEl.tagName();
@ -173,7 +173,7 @@ void PascalProjectOptionsDlg::configRemoved()
TQString config = config_combo->currentText(); TQString config = config_combo->currentText();
TQDomDocument dom = *m_part->projectDom(); TQDomDocument dom = *m_part->projectDom();
TQDomNode node = dom.documentElement().namedItem("tdevpascalproject").namedItem("configurations"); TQDomNode node = dom.documentElement().namedItem("kdevpascalproject").namedItem("configurations");
node.removeChild(node.namedItem(config)); node.removeChild(node.namedItem(config));
allConfigs.remove(config); allConfigs.remove(config);
@ -187,7 +187,7 @@ void PascalProjectOptionsDlg::configRemoved()
void PascalProjectOptionsDlg::optionsButtonClicked( ) void PascalProjectOptionsDlg::optionsButtonClicked( )
{ {
TQString name = ServiceComboBox::currentText(compiler_box, service_names); TQString name = ServiceComboBox::currentText(compiler_box, service_names);
TDevCompilerOptions *plugin = m_part->createCompilerOptions(name); KDevCompilerOptions *plugin = m_part->createCompilerOptions(name);
if (plugin) { if (plugin) {
TQString flags = plugin->exec(this, options_edit->text()); TQString flags = plugin->exec(this, options_edit->text());

@ -16,7 +16,7 @@
#include "pascalproject_optionsdlgbase.h" #include "pascalproject_optionsdlgbase.h"
class PascalProjectPart; class PascalProjectPart;
class TDevCompilerOptions; class KDevCompilerOptions;
class PascalProjectOptionsDlg : public PascalProjectOptionsDlgBase class PascalProjectOptionsDlg : public PascalProjectOptionsDlgBase
{ {

@ -31,13 +31,13 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES tdevtrollproject.desktop tdevtmakeproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) install( FILES kdevtrollproject.desktop kdevtmakeproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevtrollproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevtrollproject ) install( FILES kdevtrollproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevtrollproject )
##### libtdevtrollproject (module) ############## ##### libkdevtrollproject (module) ##############
tde_add_kpart( libtdevtrollproject AUTOMOC tde_add_kpart( libkdevtrollproject AUTOMOC
SOURCES SOURCES
choosesubprojectdlg.cpp choosesubprojectdlgbase.ui choosesubprojectdlg.cpp choosesubprojectdlgbase.ui
createscopedlg.cpp createscopedlgbase.ui createscopedlg.cpp createscopedlgbase.ui
@ -48,6 +48,6 @@ tde_add_kpart( libtdevtrollproject AUTOMOC
qmakeoptionswidgetbase.ui qmakescopeitem.cpp qmakeoptionswidgetbase.ui qmakescopeitem.cpp
scope.cpp trolllistview.cpp trollprojectpart.cpp scope.cpp trolllistview.cpp trollprojectpart.cpp
trollprojectwidget.cpp trollprojectwidget.cpp
LINK tdevqmakeparser-shared tdevbuildbase-shared tdevbuildtoolswidgets-shared LINK kdevqmakeparser-shared kdevbuildbase-shared kdevbuildtoolswidgets-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -8,14 +8,14 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib/base \
-I$(top_builddir)/buildtools/lib/widgets $(all_includes) -I$(top_builddir)/buildtools/lib/widgets $(all_includes)
kde_module_LTLIBRARIES = libtdevtrollproject.la kde_module_LTLIBRARIES = libkdevtrollproject.la
libtdevtrollproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) libkdevtrollproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevtrollproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ libkdevtrollproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/lib/util/libtdevutil.la $(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la \ $(top_builddir)/lib/util/libkdevutil.la $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.la \
$(top_builddir)/buildtools/lib/base/libtdevbuildbase.la \ $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la \
$(top_builddir)/buildtools/lib/parsers/qmake/libtdevqmakeparser.la $(top_builddir)/buildtools/lib/parsers/qmake/libkdevqmakeparser.la
libtdevtrollproject_la_SOURCES = choosesubprojectdlg.cpp \ libkdevtrollproject_la_SOURCES = choosesubprojectdlg.cpp \
choosesubprojectdlgbase.ui createscopedlg.cpp createscopedlgbase.ui disablesubprojectdlg.cpp \ choosesubprojectdlgbase.ui createscopedlg.cpp createscopedlgbase.ui disablesubprojectdlg.cpp \
disablesubprojectdlgbase.ui newwidgetdlg.cpp newwidgetdlgbase.ui \ disablesubprojectdlgbase.ui newwidgetdlg.cpp newwidgetdlgbase.ui \
projectconfigurationdlg.cpp projectconfigurationdlgbase.ui qmakedefaultopts.cpp \ projectconfigurationdlg.cpp projectconfigurationdlgbase.ui qmakedefaultopts.cpp \
@ -26,9 +26,9 @@ libtdevtrollproject_la_SOURCES = choosesubprojectdlg.cpp \
METASOURCES = AUTO METASOURCES = AUTO
servicedir = $(kde_servicesdir) servicedir = $(kde_servicesdir)
service_DATA = tdevtrollproject.desktop tdevtmakeproject.desktop service_DATA = kdevtrollproject.desktop kdevtmakeproject.desktop
rcdir = $(kde_datadir)/tdevtrollproject rcdir = $(kde_datadir)/kdevtrollproject
rc_DATA = tdevtrollproject.rc rc_DATA = kdevtrollproject.rc
noinst_HEADERS = createscopedlg.h disablesubprojectdlg.h qmakedefaultopts.h \ noinst_HEADERS = createscopedlg.h disablesubprojectdlg.h qmakedefaultopts.h \
qmakeoptionswidget.h qmakescopeitem.h trolllistview.h qmakeoptionswidget.h qmakescopeitem.h trolllistview.h

@ -85,7 +85,7 @@ GenericName[tr]=TMake Projesi
GenericName[zh_CN]=TMake 工程 GenericName[zh_CN]=TMake 工程
GenericName[zh_TW]=TMake 專案 GenericName[zh_TW]=TMake 專案
ServiceTypes=TDevelop/Project ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevtrollproject X-TDE-Library=libkdevtrollproject
X-TDevelop-Version=5 X-TDevelop-Version=5
X-TDevelop-Args=TMake X-TDevelop-Args=TMake

@ -90,6 +90,6 @@ GenericName[uz@cyrillic]=QMake лойиҳаси
GenericName[zh_CN]=QMake 工程 GenericName[zh_CN]=QMake 工程
GenericName[zh_TW]=QMake 專案 GenericName[zh_TW]=QMake 專案
ServiceTypes=TDevelop/Project ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevtrollproject X-TDE-Library=libkdevtrollproject
X-TDevelop-Version=5 X-TDevelop-Version=5
X-TDevelop-Args= X-TDevelop-Args=

@ -27,7 +27,7 @@
#include <kdirwatch.h> #include <kdirwatch.h>
#include <kstatusbar.h> #include <kstatusbar.h>
#include <tqmessagebox.h> #include <tqmessagebox.h>
#include <tdevgenericfactory.h> #include <kdevgenericfactory.h>
#include <tdeaction.h> #include <tdeaction.h>
#include <tdeparts/part.h> #include <tdeparts/part.h>
#include <kprocess.h> #include <kprocess.h>
@ -41,11 +41,11 @@
#include "domutil.h" #include "domutil.h"
#include "tdevcore.h" #include "kdevcore.h"
#include "tdevmainwindow.h" #include "kdevmainwindow.h"
#include "tdevmakefrontend.h" #include "kdevmakefrontend.h"
#include "tdevappfrontend.h" #include "kdevappfrontend.h"
#include "tdevpartcontroller.h" #include "kdevpartcontroller.h"
#include "trollprojectwidget.h" #include "trollprojectwidget.h"
#include "runoptionswidget.h" #include "runoptionswidget.h"
#include "config.h" #include "config.h"
@ -53,15 +53,15 @@
#include "qmakeoptionswidget.h" #include "qmakeoptionswidget.h"
#include "scope.h" #include "scope.h"
#include <tdevplugininfo.h> #include <kdevplugininfo.h>
#include <urlutil.h> #include <urlutil.h>
typedef TDevGenericFactory<TrollProjectPart> TrollProjectFactory; typedef KDevGenericFactory<TrollProjectPart> TrollProjectFactory;
static const TDevPluginInfo data("tdevtrollproject"); static const KDevPluginInfo data("kdevtrollproject");
K_EXPORT_COMPONENT_FACTORY( libtdevtrollproject, TrollProjectFactory( data ) ) K_EXPORT_COMPONENT_FACTORY( libkdevtrollproject, TrollProjectFactory( data ) )
TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQStringList& args ) TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQStringList& args )
: TDevBuildTool(&data, parent, name ? name : "TrollProjectPart") : KDevBuildTool(&data, parent, name ? name : "TrollProjectPart")
{ {
setInstance(TrollProjectFactory::instance()); setInstance(TrollProjectFactory::instance());
@ -70,7 +70,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
else else
m_tmakeProject = false; m_tmakeProject = false;
setXMLFile("tdevtrollproject.rc"); setXMLFile("kdevtrollproject.rc");
m_executeProjectAfterBuild = false; m_executeProjectAfterBuild = false;
m_executeTargetAfterBuild = false; m_executeTargetAfterBuild = false;
@ -405,7 +405,7 @@ void TrollProjectPart::openProject(const TQString &dirName, const TQString &proj
DomUtil::writeEntry(dom, "/kdevtrollproject/run/directoryradio", "executable"); DomUtil::writeEntry(dom, "/kdevtrollproject/run/directoryradio", "executable");
} }
TDevProject::openProject( dirName, projectName ); KDevProject::openProject( dirName, projectName );
} }
@ -475,7 +475,7 @@ TQString TrollProjectPart::runDirectory() const
TQString cwd; TQString cwd;
if( DomUtil::readBoolEntry(dom, "/kdevtrollproject/run/useglobalprogram", true) ) if( DomUtil::readBoolEntry(dom, "/kdevtrollproject/run/useglobalprogram", true) )
{ {
cwd = defaultRunDirectory("tdevtrollproject"); cwd = defaultRunDirectory("kdevtrollproject");
}else }else
{ {
TQString name = m_widget->getCurrentOutputFilename(); TQString name = m_widget->getCurrentOutputFilename();
@ -788,7 +788,7 @@ bool TrollProjectPart::isDirty()
return false; return false;
} }
TDevProject::Options TrollProjectPart::options( ) const KDevProject::Options TrollProjectPart::options( ) const
{ {
return UsesTQMakeBuildSystem; return UsesTQMakeBuildSystem;
} }

@ -21,14 +21,14 @@
#include <tqmap.h> #include <tqmap.h>
#include <tqdatetime.h> #include <tqdatetime.h>
#include "tdevbuildtool.h" #include "kdevbuildtool.h"
class KDialogBase; class KDialogBase;
class TrollProjectWidget; class TrollProjectWidget;
class KDirWatch; class KDirWatch;
class TQMakeDefaultOpts; class TQMakeDefaultOpts;
class TrollProjectPart : public TDevBuildTool class TrollProjectPart : public KDevBuildTool
{ {
Q_OBJECT Q_OBJECT

@ -60,14 +60,14 @@
#include <tdeio/netaccess.h> #include <tdeio/netaccess.h>
#include <kurlcompletion.h> #include <kurlcompletion.h>
#include "tdevcore.h" #include "kdevcore.h"
#include "tdevpartcontroller.h" #include "kdevpartcontroller.h"
#include "tdevmainwindow.h" #include "kdevmainwindow.h"
#include "trollprojectpart.h" #include "trollprojectpart.h"
#include "tdevappfrontend.h" #include "kdevappfrontend.h"
#include "tdevmakefrontend.h" #include "kdevmakefrontend.h"
#include "tdevlanguagesupport.h" #include "kdevlanguagesupport.h"
#include "tdevcreatefile.h" #include "kdevcreatefile.h"
#include "subclassesdlg.h" #include "subclassesdlg.h"
#include "addfilesdialog.h" #include "addfilesdialog.h"
#include "urlutil.h" #include "urlutil.h"
@ -1403,7 +1403,7 @@ void TrollProjectWidget::slotNewFile()
return ; return ;
} }
} }
TDevCreateFile * createFileSupport = m_part->extension<TDevCreateFile>( "TDevelop/CreateFile" ); KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>( "TDevelop/CreateFile" );
TQString fcext; TQString fcext;
if( gitem ) if( gitem )
{ {
@ -1437,7 +1437,7 @@ void TrollProjectWidget::slotNewFile()
fcext = TQString(); fcext = TQString();
} }
} }
TDevCreateFile::CreatedFile crFile = KDevCreateFile::CreatedFile crFile =
createFileSupport->createNewFile( fcext, projectDirectory() + TQString(TQChar(TQDir::separator()))+ m_shownSubproject->relativePath() ); createFileSupport->createNewFile( fcext, projectDirectory() + TQString(TQChar(TQDir::separator()))+ m_shownSubproject->relativePath() );
} }
@ -1683,7 +1683,7 @@ void TrollProjectWidget::slotDetailsContextMenu( TDEListView *, TQListViewItem *
} }
else if ( r == idInsNewFile ) else if ( r == idInsNewFile )
{ {
TDevCreateFile * createFileSupport = m_part->extension<TDevCreateFile>( "TDevelop/CreateFile" ); KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>( "TDevelop/CreateFile" );
TQString fcext; TQString fcext;
switch ( titem->groupType ) switch ( titem->groupType )
{ {
@ -1714,7 +1714,7 @@ void TrollProjectWidget::slotDetailsContextMenu( TDEListView *, TQListViewItem *
default: default:
fcext = TQString(); fcext = TQString();
} }
TDevCreateFile::CreatedFile crFile = KDevCreateFile::CreatedFile crFile =
createFileSupport->createNewFile( fcext, cleanSubprojectPath ); createFileSupport->createNewFile( fcext, cleanSubprojectPath );
} }

@ -27,16 +27,16 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES tdevscriptproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) install( FILES kdevscriptproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevscriptproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevscriptproject ) install( FILES kdevscriptproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevscriptproject )
##### libtdevscriptproject (module) ############# ##### libkdevscriptproject (module) #############
tde_add_kpart( libtdevscriptproject AUTOMOC tde_add_kpart( libkdevscriptproject AUTOMOC
SOURCES SOURCES
scriptprojectpart.cpp scriptoptionswidget.cpp scriptprojectpart.cpp scriptoptionswidget.cpp
scriptoptionswidgetbase.ui scriptnewfiledlg.cpp scriptoptionswidgetbase.ui scriptnewfiledlg.cpp
LINK tdevbuildbase-shared LINK kdevbuildbase-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -10,17 +10,17 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib/base \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/interfaces/external -I$(top_srcdir)/lib/util \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/interfaces/external -I$(top_srcdir)/lib/util \
-I$(top_srcdir)/lib/external_interfaces $(all_includes) -I$(top_srcdir)/lib/external_interfaces $(all_includes)
kde_module_LTLIBRARIES = libtdevscriptproject.la kde_module_LTLIBRARIES = libkdevscriptproject.la
libtdevscriptproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) libkdevscriptproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevscriptproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ libkdevscriptproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la
libtdevscriptproject_la_SOURCES = scriptprojectpart.cpp scriptoptionswidget.cpp scriptoptionswidgetbase.ui scriptnewfiledlg.cpp libkdevscriptproject_la_SOURCES = scriptprojectpart.cpp scriptoptionswidget.cpp scriptoptionswidgetbase.ui scriptnewfiledlg.cpp
METASOURCES = AUTO METASOURCES = AUTO
servicedir = $(kde_servicesdir) servicedir = $(kde_servicesdir)
service_DATA = tdevscriptproject.desktop service_DATA = kdevscriptproject.desktop
rcdir = $(kde_datadir)/tdevscriptproject rcdir = $(kde_datadir)/kdevscriptproject
rc_DATA = tdevscriptproject.rc rc_DATA = kdevscriptproject.rc

@ -83,5 +83,5 @@ GenericName[zh_CN]=脚本语言工程
GenericName[zh_TW]=文稿語言專案 GenericName[zh_TW]=文稿語言專案
ServiceTypes=TDevelop/Project ServiceTypes=TDevelop/Project
Icon=tdevelop Icon=tdevelop
X-TDE-Library=libtdevscriptproject X-TDE-Library=libkdevscriptproject
X-TDevelop-Version=5 X-TDevelop-Version=5

@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="TDevCustomProject" version="2"> <kpartgui name="KDevCustomProject" version="2">
<MenuBar> <MenuBar>
<Menu name="file" > <Menu name="file" >
<Action name="file_newfile" /> <Action name="file_newfile" />

@ -81,7 +81,7 @@ void ScriptNewFileDialog::accept()
return; return;
} }
TDevProject *project = m_part->project(); KDevProject *project = m_part->project();
if (!project->activeDirectory().isEmpty()) if (!project->activeDirectory().isEmpty())
fileName.prepend(project->activeDirectory() + "/"); fileName.prepend(project->activeDirectory() + "/");
TQString destpath = project->projectDirectory() + "/" + fileName; TQString destpath = project->projectDirectory() + "/" + fileName;

@ -16,10 +16,10 @@
#include <tqradiobutton.h> #include <tqradiobutton.h>
#include <tqtabwidget.h> #include <tqtabwidget.h>
#include "domutil.h" #include "domutil.h"
#include "tdevlanguagesupport.h" #include "kdevlanguagesupport.h"
ScriptOptionsWidget::ScriptOptionsWidget(TDevPlugin *part, ScriptOptionsWidget::ScriptOptionsWidget(KDevPlugin *part,
TQWidget *parent, const char *name) TQWidget *parent, const char *name)
: ScriptOptionsWidgetBase(parent, name) : ScriptOptionsWidgetBase(parent, name)
{ {

@ -14,7 +14,7 @@
#include "scriptoptionswidgetbase.h" #include "scriptoptionswidgetbase.h"
class TDevPlugin; class KDevPlugin;
class ScriptOptionsWidget : public ScriptOptionsWidgetBase class ScriptOptionsWidget : public ScriptOptionsWidgetBase
@ -23,14 +23,14 @@ class ScriptOptionsWidget : public ScriptOptionsWidgetBase
public: public:
ScriptOptionsWidget( TDevPlugin *part, TQWidget *parent=0, const char *name=0 ); ScriptOptionsWidget( KDevPlugin *part, TQWidget *parent=0, const char *name=0 );
~ScriptOptionsWidget(); ~ScriptOptionsWidget();
public slots: public slots:
void accept(); void accept();
private: private:
TDevPlugin *m_part; KDevPlugin *m_part;
}; };
#endif #endif

@ -23,32 +23,32 @@
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelocale.h> #include <tdelocale.h>
#include <tdemessagebox.h> #include <tdemessagebox.h>
#include <tdevgenericfactory.h> #include <kdevgenericfactory.h>
#include <tdevcreatefile.h> #include <kdevcreatefile.h>
#include <kdirwatch.h> #include <kdirwatch.h>
#include "domutil.h" #include "domutil.h"
#include "tdevcore.h" #include "kdevcore.h"
#include "tdevmainwindow.h" #include "kdevmainwindow.h"
#include "tdevpartcontroller.h" #include "kdevpartcontroller.h"
#include "tdevlanguagesupport.h" #include "kdevlanguagesupport.h"
#include "scriptoptionswidget.h" #include "scriptoptionswidget.h"
#include "scriptnewfiledlg.h" #include "scriptnewfiledlg.h"
#include "tdevplugininfo.h" #include "kdevplugininfo.h"
typedef TDevGenericFactory<ScriptProjectPart> ScriptProjectFactory; typedef KDevGenericFactory<ScriptProjectPart> ScriptProjectFactory;
static const TDevPluginInfo data("tdevscriptproject"); static const KDevPluginInfo data("kdevscriptproject");
K_EXPORT_COMPONENT_FACTORY( libtdevscriptproject, ScriptProjectFactory( data ) ) K_EXPORT_COMPONENT_FACTORY( libkdevscriptproject, ScriptProjectFactory( data ) )
ScriptProjectPart::ScriptProjectPart(TQObject *parent, const char *name, const TQStringList &) ScriptProjectPart::ScriptProjectPart(TQObject *parent, const char *name, const TQStringList &)
: TDevBuildTool(&data, parent, name ? name : "ScriptProjectPart") : KDevBuildTool(&data, parent, name ? name : "ScriptProjectPart")
{ {
setInstance(ScriptProjectFactory::instance()); setInstance(ScriptProjectFactory::instance());
setXMLFile("tdevscriptproject.rc"); setXMLFile("kdevscriptproject.rc");
// only create new file action if file creation part not available // only create new file action if file creation part not available
if (!extension<TDevCreateFile>("TDevelop/CreateFile")) { if (!extension<KDevCreateFile>("TDevelop/CreateFile")) {
TDEAction *action; TDEAction *action;
action = new TDEAction( i18n("New File..."), 0, action = new TDEAction( i18n("New File..."), 0,
this, TQT_SLOT(slotNewFile()), this, TQT_SLOT(slotNewFile()),
@ -148,7 +148,7 @@ void ScriptProjectPart::openProject(const TQString &dirName, const TQString &pro
} }
} while (!s.isEmpty()); } while (!s.isEmpty());
TDevProject::openProject( dirName, projectName ); KDevProject::openProject( dirName, projectName );
} }
@ -192,7 +192,7 @@ DomUtil::PairList ScriptProjectPart::runEnvironmentVars() const
*/ */
TQString ScriptProjectPart::runDirectory() const TQString ScriptProjectPart::runDirectory() const
{ {
TQString cwd = defaultRunDirectory("tdevscriptproject"); TQString cwd = defaultRunDirectory("kdevscriptproject");
if (cwd.isEmpty()) if (cwd.isEmpty())
cwd = buildDirectory(); cwd = buildDirectory();
return cwd; return cwd;

@ -15,14 +15,14 @@
#include <tqdict.h> #include <tqdict.h>
#include <tqguardedptr.h> #include <tqguardedptr.h>
#include "tdevbuildtool.h" #include "kdevbuildtool.h"
class TQListViewItem; class TQListViewItem;
class TQStringList; class TQStringList;
class KDialogBase; class KDialogBase;
class ScriptProjectWidget; class ScriptProjectWidget;
class ScriptProjectPart : public TDevBuildTool class ScriptProjectPart : public KDevBuildTool
{ {
Q_OBJECT Q_OBJECT

@ -1,7 +1,7 @@
if test "$DOT_FOUND" = "no"; then if test "$DOT_FOUND" = "no"; then
echo "" echo ""
echo "You're missing the dot program." echo "You're missing the dot program."
echo "It is still possible to run and use TDevelop without it, but you will " echo "It is still possible to run and use KDevelop without it, but you will "
echo "not be able to use the new graphical classbrowser. In order to get " echo "not be able to use the new graphical classbrowser. In order to get "
echo "a dot copy, go to www.graphviz.org and download the graphviz package." echo "a dot copy, go to www.graphviz.org and download the graphviz package."
fi fi
@ -18,7 +18,7 @@ fi
if test -n "$VCSCOMPAT" -a -z "$SVN_SUBDIR"; then if test -n "$VCSCOMPAT" -a -z "$SVN_SUBDIR"; then
echo "" echo ""
echo "You're missing Subversion libraries (1.x)" echo "You're missing Subversion libraries (1.x)"
echo "TDevelop subversion support will not work without it," echo "KDevelop subversion support will not work without it,"
echo "consider installing it." echo "consider installing it."
echo "" echo ""
fi fi

@ -124,4 +124,4 @@ esac
dnl AC_CHECK_FILE([$qt_includes/qassistantclient.h], [],[AC_MSG_ERROR([The qassistantclient.h header from Qt3 is needed to build tdevelop, on some systems this header is in a separate package called qt3-apps-dev])]) dnl AC_CHECK_FILE([$qt_includes/qassistantclient.h], [],[AC_MSG_ERROR([The qassistantclient.h header from Qt3 is needed to build tdevelop, on some systems this header is in a separate package called qt3-apps-dev])])
KDE_INIT_DOXYGEN([TDevelop], [Version $VERSION]) KDE_INIT_DOXYGEN([KDevelop], [Version $VERSION])

@ -1,2 +1,2 @@
SUBDIRS = tdevelop std extras tde_app_devel tdevdesigner SUBDIRS = tdevelop std extras kde_app_devel kdevdesigner

@ -40,7 +40,7 @@ parts to distinguish, mainly:
- src = The core part of KDevelop - src = The core part of KDevelop
- lib/interfaces = Plugin handler interface classes - lib/interfaces = Plugin handler interface classes
- parts = The various parts using the KParts framework ( TDevPlugin children ) - parts = The various parts using the KParts framework ( KDevPlugin children )
- languages = \ref language-parts - languages = \ref language-parts
- buildtools = \ref buildtool-parts - buildtools = \ref buildtool-parts
- vcs = \ref vcs-parts - vcs = \ref vcs-parts
@ -67,12 +67,12 @@ There are two types of possible main window objects:
pre-arranged access tabs around user areas. pre-arranged access tabs around user areas.
. .
Both main window classes inherit from the TDevMainWindow class which provides Both main window classes inherit from the KDevMainWindow class which provides
access to common window features. access to common window features.
\subsubsection toplevel The TopLevel Object \subsubsection toplevel The TopLevel Object
There is only one toplevel object of class TDevMainWindow in KDevelop. It can There is only one toplevel object of class KDevMainWindow in KDevelop. It can
be accessed through the static function TopLevel::getInstance() (see the be accessed through the static function TopLevel::getInstance() (see the
TopLevel class). TopLevel class).
@ -83,7 +83,7 @@ be viewed according to their functionalities as follows.
\subsubsection language-parts Programming Language Support Parts \subsubsection language-parts Programming Language Support Parts
These parts implement a TDevLanguageSupport Class interface. These parts implement a KDevLanguageSupport Class interface.
To add support for a new programming language check the \ref howToAddProgrammingLanguages page (doc/api/HowToAddProgrammingLanguages.dox file). To add support for a new programming language check the \ref howToAddProgrammingLanguages page (doc/api/HowToAddProgrammingLanguages.dox file).
Take a look at \ref LangSupportStatus (doc/api/LangSupportStatus.dox file) to see the current status/features of the programming languages currently supported by KDevelop. Take a look at \ref LangSupportStatus (doc/api/LangSupportStatus.dox file) to see the current status/features of the programming languages currently supported by KDevelop.
@ -135,7 +135,7 @@ Take a look at \ref LangSupportStatus (doc/api/LangSupportStatus.dox file) to se
\subsubsection buildtool-parts Build tools Parts \subsubsection buildtool-parts Build tools Parts
These parts implement a TDevProject Class interface. These parts implement a KDevProject Class interface.
- buildtools/ada = Ada build tool - buildtools/ada = Ada build tool
- (see AdaProjectPart) - (see AdaProjectPart)
@ -166,7 +166,7 @@ These parts implement a TDevProject Class interface.
\subsubsection vcs-parts VCS (Version Control System) Parts \subsubsection vcs-parts VCS (Version Control System) Parts
These parts implement a TDevVersionControl Class interface. These parts implement a KDevVersionControl Class interface.
- vcs/cervisia = Cervisia Support - vcs/cervisia = Cervisia Support
- (see CervisiaPlugin) - (see CervisiaPlugin)
@ -211,7 +211,7 @@ Take a look at \ref EditorsSupportStatus (doc/api/EditorsSupportStatus.dox file)
Some of the parts are considered global - that is, they effect the entire Some of the parts are considered global - that is, they effect the entire
operation of KDevelop. operation of KDevelop.
These parts implement a TDevPlugin Class interface. These parts implement a KDevPlugin Class interface.
- parts/appwizard = New Project Wizard - parts/appwizard = New Project Wizard
- see AppWizardPart - see AppWizardPart
@ -264,7 +264,7 @@ These parts implement a TDevPlugin Class interface.
\subsubsection project-specific-parts Project Specific Parts \subsubsection project-specific-parts Project Specific Parts
These parts implement a TDevPlugin Class interface. These parts implement a KDevPlugin Class interface.
- parts/astyle = Source code formatter - parts/astyle = Source code formatter
- (see AStylePart) - (see AStylePart)

@ -129,7 +129,7 @@
the same border as other items (impossible) the same border as other items (impossible)
- Browser tool bar should truncate long menu entries so it doesn't - Browser tool bar should truncate long menu entries so it doesn't
take so much space (already implemented?) take so much space (already implemented?)
- Extend TDevPlugin-API in order to have a preferred border for at - Extend KDevPlugin-API in order to have a preferred border for at
least the selection parts (Automake Manager, Class Browser, File least the selection parts (Automake Manager, Class Browser, File
Groups, etc...) Groups, etc...)

@ -12,7 +12,7 @@
This way the .tdevelop file can be shared in teams of developers. This way the .tdevelop file can be shared in teams of developers.
\section TDevelop2compat KDevelop 2 compatibility \section KDevelop2compat KDevelop 2 compatibility
(These are things that must be accomplished before we can say that KDevelop 3 (These are things that must be accomplished before we can say that KDevelop 3
&gt;= tdevelop 2.x UI-wise and functionality-wise!) &gt;= tdevelop 2.x UI-wise and functionality-wise!)

@ -27,7 +27,7 @@ applications like kedit as well as plugins for example for tdevelop or noatun.\n
\section templates_1 I. Example: How To Create a Simple KDE Application Template "KHello" \section templates_1 I. Example: How To Create a Simple KDE Application Template "KHello"
You can find this template in <code>$TDEDIR/share/apps/tdevappwizard/template-khello</code>. You can find this template in <code>$TDEDIR/share/apps/kdevappwizard/template-khello</code>.
\subsection templates_1_1 I.1. Step 1: Basic Skeleton \subsection templates_1_1 I.1. Step 1: Basic Skeleton
@ -64,7 +64,7 @@ wizard will replace:
- \%{YEAR} ........ by the year - \%{YEAR} ........ by the year
. .
</pre></code> </pre></code>
All this can be found in <code>$TDEDIR/share/apps/tdevappwizard/template-common/tdevelop.pm</code>. All this can be found in <code>$TDEDIR/share/apps/kdevappwizard/template-common/tdevelop.pm</code>.
\subsubsection templates_1_2a I.2.1. The Source Files \subsubsection templates_1_2a I.2.1. The Source Files
The files <code>template-khello/app.cpp, template-khello/app.h</code> and The files <code>template-khello/app.cpp, template-khello/app.h</code> and
@ -135,22 +135,22 @@ if [ `id -u` = 0 ]; then
# we are root so install the template into the global kde directory # we are root so install the template into the global kde directory
kde_dir=`tde-config --prefix` kde_dir=`tde-config --prefix`
else else
# we are a user so install it into $HOME/.trinity/share/apps/tdevappwizard directory # we are a user so install it into $HOME/.trinity/share/apps/kdevappwizard directory
kde_dir=`tde-config --localprefix` kde_dir=`tde-config --localprefix`
echo "Note: It would be better to install as root. Press CTRL+C to abort" echo "Note: It would be better to install as root. Press CTRL+C to abort"
fi fi
# use usual path or another one? # use usual path or another one?
echo "Install dir [${kde_dir}/share/apps/tdevappwizard]:" echo "Install dir [${kde_dir}/share/apps/kdevappwizard]:"
read newdir read newdir
if [ "$newdir"a = a ]; then newdir="${kde_dir}/share/apps/tdevappwizard/"; fi if [ "$newdir"a = a ]; then newdir="${kde_dir}/share/apps/kdevappwizard/"; fi
# make sure the directories exist # make sure the directories exist
if [ ! -e "${newdir}/template-khello" ]; then mkdir -p "${newdir}/template-khello" ; fi; if [ ! -e "${newdir}/template-khello" ]; then mkdir -p "${newdir}/template-khello" ; fi;
if [ ! -e "${newdir}/templates" ]; then mkdir -p "${newdir}/templates" ; fi; if [ ! -e "${newdir}/templates" ]; then mkdir -p "${newdir}/templates" ; fi;
if [ ! -e "${newdir}" ]; then mkdir -p "$newdir" ; fi; if [ ! -e "${newdir}" ]; then mkdir -p "$newdir" ; fi;
if [ ! -e "${newdir}/template-common" ]; then ln -s "${kde_prefix}/share/apps/tdevappwizard/template-common" "${newdir}/template-common" ; fi; if [ ! -e "${newdir}/template-common" ]; then ln -s "${kde_prefix}/share/apps/kdevappwizard/template-common" "${newdir}/template-common" ; fi;
# install now # install now
cp -R --target-directory "$newdir" template-khello cp -R --target-directory "$newdir" template-khello

@ -6,7 +6,7 @@
This part offers build tool facilities using project files in xml format (dtd is located in buildtools/generic/kdevxmlproject.dtd). This part offers build tool facilities using project files in xml format (dtd is located in buildtools/generic/kdevxmlproject.dtd).
Those xml files can be converted into makefiles, ant xml files or simply shell scripts using build system plugins. Those xml files can be converted into makefiles, ant xml files or simply shell scripts using build system plugins.
Build system plugin is an object that implements TDevBuildSystem interface. Build system plugin is an object that implements KDevBuildSystem interface.
Build system plugins are located in buildtools/generic/buildsystem. Build system plugins are located in buildtools/generic/buildsystem.
\section sectionStep1 Step 1: Make your plugin loadable \section sectionStep1 Step 1: Make your plugin loadable

@ -8,7 +8,7 @@
For a plugin <code>foo</code>, create a file <code>foo.desktop</code> which contains KDevelop/Part in its list of ServiceTypes. For a plugin <code>foo</code>, create a file <code>foo.desktop</code> which contains KDevelop/Part in its list of ServiceTypes.
- See <code>parts/doctreeview/tdevdoctreeview.desktop</code> for an example. - See <code>parts/doctreeview/kdevdoctreeview.desktop</code> for an example.
. .
If you install this file into <code>\$(kde_servicesdir)</code>, your plugin will automatically be loaded. If you install this file into <code>\$(kde_servicesdir)</code>, your plugin will automatically be loaded.
@ -80,9 +80,9 @@ See <code>parts/doctreeview/doctreeviewfactory.cpp</code> for an example.
\section implementPart Step 3: Implement your part. \section implementPart Step 3: Implement your part.
Your part must be derived from <code>TDevPlugin</code>. Your part must be derived from <code>KDevPlugin</code>.
- TDevPlugin takes two arguments: - KDevPlugin takes two arguments:
- 1) A <i>parent</i> argument. This also comes from - 1) A <i>parent</i> argument. This also comes from
<code>createPartObject()</code>. <code>createPartObject()</code>.
- 2) A <i>name</i>, which in turn is given to the <code>QObject</code> - 2) A <i>name</i>, which in turn is given to the <code>QObject</code>
@ -93,7 +93,7 @@ Your part must be derived from <code>TDevPlugin</code>.
\subsection accessIDE How to access other IDE components \subsection accessIDE How to access other IDE components
A part can access other components of the IDE via some accessors A part can access other components of the IDE via some accessors
of <code>TDevPlugin</code>: of <code>KDevPlugin</code>:
- The <i>application core</i> via <code>core()</code>, - The <i>application core</i> via <code>core()</code>,
- the <i>build tools</i> via <code>project()</code>, - the <i>build tools</i> via <code>project()</code>,
@ -155,7 +155,7 @@ to write it back.
\subsection sessionAccess Project session file (*.kdevses) \subsection sessionAccess Project session file (*.kdevses)
The base class of all TDevelop plugins is TDevPlugin. It provides two virtual methods The base class of all TDevelop plugins is KDevPlugin. It provides two virtual methods
restorePartialProjectSession(..) and savePartialProjectSession(..) restorePartialProjectSession(..) and savePartialProjectSession(..)
that you should reimplement in your special plugin to attach to session loading and saving. that you should reimplement in your special plugin to attach to session loading and saving.

@ -6,7 +6,7 @@
\section LSupport List of things to have "complete" support of a given language in KDevelop \section LSupport List of things to have "complete" support of a given language in KDevelop
- Implement interface TDevLanguageSupport - Implement interface KDevLanguageSupport
- \ref sectionClassWizard - \ref sectionClassWizard
- \ref sectionAttributeMethodWizard - \ref sectionAttributeMethodWizard
- \ref sectionQtUiSubclassing - (if the language has Qt bindings) - \ref sectionQtUiSubclassing - (if the language has Qt bindings)
@ -43,7 +43,7 @@ Take a look at \ref LangSupportStatus (doc/api/LangSupportStatus.dox file) to se
\section sectionLanguageSupport Language Support \section sectionLanguageSupport Language Support
Any language support should be written as a tdevelop part and implement Any language support should be written as a tdevelop part and implement
TDevLanguageSupport interface (<code>lib/interfaces/tdevlanguagesupport.h</code>). KDevLanguageSupport interface (<code>lib/interfaces/kdevlanguagesupport.h</code>).
Implementing methods: Implementing methods:
- <code>virtual Features features();</code> - <code>virtual Features features();</code>
@ -54,7 +54,7 @@ Should be enough for a language support to start working.
KDevelop ships with KDevLang project template. It is a simple language support prototype that can be used when developing language support plugins with KDevelop. KDevelop ships with KDevLang project template. It is a simple language support prototype that can be used when developing language support plugins with KDevelop.
To use it, start a New Project and select: <code>C++->KDevelop->KDevelop Language Support Plugin</code> in the application wizard. To use it, start a New Project and select: <code>C++->KDevelop->KDevelop Language Support Plugin</code> in the application wizard.
The template is located in <code>languages/cpp/app_templates/tdevlang</code>, you can change it there if you need. The template is located in <code>languages/cpp/app_templates/kdevlang</code>, you can change it there if you need.
You should look at <code>languages/ruby</code> for a simple language support You should look at <code>languages/ruby</code> for a simple language support
@ -177,7 +177,7 @@ write a <b>Debugger </b>. KDevelop already provides GDB support
\subsection sectionCompilerPlugins Compiler plugins \subsection sectionCompilerPlugins Compiler plugins
There is an ability to create compiler plugin for KDevelop. Compiler plugin provides the compiler configuration dialog which implements command line compiler options. There is an ability to create compiler plugin for KDevelop. Compiler plugin provides the compiler configuration dialog which implements command line compiler options.
Compiler plugins must implement TDevCompilerOptions interface. Compiler plugins must implement KDevCompilerOptions interface.
\section MiscInf Other Info \section MiscInf Other Info
@ -226,7 +226,7 @@ currently provides several build tools. They are:
- see GenericProjectPart at <code>buildtools/generic</code> - see GenericProjectPart at <code>buildtools/generic</code>
- Offers build tool facilities using project files in xml format (dtd is located in <code>buildtools/generic/kdevxmlproject.dtd</code>). - Offers build tool facilities using project files in xml format (dtd is located in <code>buildtools/generic/kdevxmlproject.dtd</code>).
Those xml files can be converted into makefiles, ant xml files or simply shell scripts using build system plugins. Those xml files can be converted into makefiles, ant xml files or simply shell scripts using build system plugins.
Build system plugin is an object that implements TDevBuildSystem interface. Build system plugins are located in <code>buildtools/generic/buildsystem</code>. Build system plugin is an object that implements KDevBuildSystem interface. Build system plugins are located in <code>buildtools/generic/buildsystem</code>.
. .
- QMake build tool - QMake build tool
- see TrollProjectPart at <code>buildtools/qmake</code> - see TrollProjectPart at <code>buildtools/qmake</code>

@ -3,7 +3,7 @@
*/ */
/** \page howToDocument How to document KDevelop parts /** \page howToDocument How to document KDevelop parts
You should add a README and a README.dox file to your part (TDevPlugin). You should add a README and a README.dox file to your part (KDevPlugin).
On the README file put this text: On the README file put this text:
\verbatim \verbatim
@ -31,7 +31,7 @@ implements your part.
On the area marked with <code>...</code> you can add optional informations. Here is an example of that: On the area marked with <code>...</code> you can add optional informations. Here is an example of that:
\verbinclude languages/cpp/app_templates/tdevpart/README.dox \verbinclude languages/cpp/app_templates/kdevpart/README.dox
All these infos are optional and you should only add the link to the bugzilla database if YOUR_COMPONENT_NAME All these infos are optional and you should only add the link to the bugzilla database if YOUR_COMPONENT_NAME
has been defined in that database. has been defined in that database.

@ -14,5 +14,5 @@ add_subdirectory( w3c )
install( install(
FILES FILES
sdl.toc opengl.toc sdl.toc opengl.toc
DESTINATION ${DATA_INSTALL_DIR}/tdevdocumentation/tocs DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs
) )

@ -1,6 +1,6 @@
SUBDIRS=w3c SUBDIRS=w3c
tocdir = ${kde_datadir}/tdevdocumentation/tocs tocdir = ${kde_datadir}/kdevdocumentation/tocs
toc_DATA = sdl.toc opengl.toc toc_DATA = sdl.toc opengl.toc
#indexdir = ${kde_datadir}/devdoctreeview/indices #indexdir = ${kde_datadir}/devdoctreeview/indices

@ -12,5 +12,5 @@
install( install(
FILES FILES
w3c-dom-level2-html.toc w3c-svg.toc w3c-uaag10.toc w3c-dom-level2-html.toc w3c-svg.toc w3c-uaag10.toc
DESTINATION ${DATA_INSTALL_DIR}/tdevdocumentation/tocs DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs
) )

@ -1,3 +1,3 @@
tocdir = ${kde_datadir}/tdevdocumentation/tocs tocdir = ${kde_datadir}/kdevdocumentation/tocs
toc_DATA = w3c-dom-level2-html.toc w3c-svg.toc w3c-uaag10.toc toc_DATA = w3c-dom-level2-html.toc w3c-svg.toc w3c-uaag10.toc

@ -9,4 +9,4 @@
# #
################################################# #################################################
tde_create_handbook( DESTINATION tde_app_devel ) tde_create_handbook( DESTINATION kde_app_devel )

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

@ -1,6 +1,6 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY tdevelop "<application>TDevelop</application>"> <!ENTITY tdevelop "<application>KDevelop</application>">
<!ENTITY kappname "&tdevelop;"> <!ENTITY kappname "&tdevelop;">
<!ENTITY % addindex "INCLUDE"> <!ENTITY % addindex "INCLUDE">
<!ENTITY % English "INCLUDE" > <!-- change language only here --> <!ENTITY % English "INCLUDE" > <!-- change language only here -->
@ -47,7 +47,7 @@ the &tdevelop; IDE</para>
<keywordset> <keywordset>
<keyword>KDE</keyword> <keyword>KDE</keyword>
<keyword>TDevelop</keyword> <keyword>KDevelop</keyword>
<keyword>IDE</keyword> <keyword>IDE</keyword>
<keyword>development</keyword> <keyword>development</keyword>
<keyword>programming</keyword> <keyword>programming</keyword>
@ -85,7 +85,7 @@ review of the functionality provided by the IDE.
<title>About this Handbook</title> <title>About this Handbook</title>
<para> <para>
This handbook has been written to give developers an introduction into KDE application development by This handbook has been written to give developers an introduction into KDE application development by
using the TDevelop Integrated Development Environment. using the KDevelop Integrated Development Environment.
</para> </para>
<para> <para>
The following chapters therefore give an introduction on how to create projects, explains the sourcecode The following chapters therefore give an introduction on how to create projects, explains the sourcecode
@ -135,7 +135,7 @@ You will learn how to:
Additional information about Qt/KDE programming is available by various sources: Additional information about Qt/KDE programming is available by various sources:
<itemizedlist> <itemizedlist>
<listitem><para>Programming with Qt by Matthias Kalle Dalheimer</para></listitem> <listitem><para>Programming with Qt by Matthias Kalle Dalheimer</para></listitem>
<listitem><para><ulink url="www.kdevelop.org">The User Manual to TDevelop, provided with the TDevelop IDE</ulink></para></listitem> <listitem><para><ulink url="www.kdevelop.org">The User Manual to KDevelop, provided with the TDevelop IDE</ulink></para></listitem>
<listitem><para><ulink url="doc.trolltech.com">The Online Reference to the Qt library</ulink></para></listitem> <listitem><para><ulink url="doc.trolltech.com">The Online Reference to the Qt library</ulink></para></listitem>
<listitem><para><ulink url="developer.kde.org">The KDE Developer web site</ulink></para></listitem> <listitem><para><ulink url="developer.kde.org">The KDE Developer web site</ulink></para></listitem>
</itemizedlist> </itemizedlist>
@ -147,7 +147,7 @@ Unix Systems as well as about the C and C++ programming language.
</para> </para>
<para> <para>
For obtaining help about the TDevelop IDE, you should send requests to our mailinglist at For obtaining help about the TDevelop IDE, you should send requests to our mailinglist at
<email>kdevelop@kdevelop.org</email>. Mind that the TDevelop team is dedicated to provide the means to enable you to <email>kdevelop@kdevelop.org</email>. Mind that the KDevelop team is dedicated to provide the means to enable you to
program applications and therefore is not intended as a technical support team in cases where the program applications and therefore is not intended as a technical support team in cases where the
applications you're developing don't work due to implementation errors or misconfigurations of your applications you're developing don't work due to implementation errors or misconfigurations of your
operating system. By this, we ask all users to take advantage of the mailinglist in any case you're running operating system. By this, we ask all users to take advantage of the mailinglist in any case you're running
@ -697,7 +697,7 @@ what in later steps.
</para> </para>
<para> <para>
This chapter makes the assumption that you understand the basic navigation of &tdevelop;. Consult the This chapter makes the assumption that you understand the basic navigation of &tdevelop;. Consult the
TDevelop User Manual for information if you need it. KDevelop User Manual for information if you need it.
</para> </para>
<para> <para>
The Automake manager shows the project files as follows: The Automake manager shows the project files as follows:

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 267 B

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 441 B

Before

Width:  |  Height:  |  Size: 185 B

After

Width:  |  Height:  |  Size: 185 B

@ -1965,7 +1965,7 @@ EXTRA_DIST = $(kde_servicesdir_DATA)
<para> <para>
The content of the following example file The content of the following example file
<filename>tdevdoxygen.desktop</filename> defines the <filename>kdevdoxygen.desktop</filename> defines the
<literal>KDevDoxygen</literal> plugin with the service type <literal>KDevDoxygen</literal> plugin with the service type
<literal>TDevelop/Part</literal>: <literal>TDevelop/Part</literal>:
</para> </para>
@ -1976,7 +1976,7 @@ Type=Service
Comment=Doxygen Comment=Doxygen
Name=KDevDoxygen Name=KDevDoxygen
ServiceTypes=TDevelop/Part ServiceTypes=TDevelop/Part
X-TDE-Library=libtdevdoxygen X-TDE-Library=libkdevdoxygen
X-TDevelop-ProgrammingLanguages=C,C++,Java X-TDevelop-ProgrammingLanguages=C,C++,Java
X-TDevelop-Scope=Project X-TDevelop-Scope=Project
</programlisting> </programlisting>
@ -1992,7 +1992,7 @@ the library must contain the following function:
<programlisting> <programlisting>
extern "C" { extern "C" {
void *init_libtdevdoxygen() void *init_libkdevdoxygen()
{ {
return new DoxygenFactory; return new DoxygenFactory;
} }

Before

Width:  |  Height:  |  Size: 529 B

After

Width:  |  Height:  |  Size: 529 B

Before

Width:  |  Height:  |  Size: 569 B

After

Width:  |  Height:  |  Size: 569 B

Before

Width:  |  Height:  |  Size: 597 B

After

Width:  |  Height:  |  Size: 597 B

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

@ -6,4 +6,4 @@
# #
################################################# #################################################
tde_create_handbook( DESTINATION tdevdesigner ) tde_create_handbook( DESTINATION kdevdesigner )

@ -1,7 +1,7 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ <!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY tdevdesigner "<application>TDevDesigner</application>"> <!ENTITY kdevdesigner "<application>KDevDesigner</application>">
<!ENTITY kappname "&tdevdesigner;"> <!ENTITY kappname "&kdevdesigner;">
<!ENTITY % addindex "IGNORE"> <!ENTITY % addindex "IGNORE">
<!ENTITY % English "INCLUDE"> <!ENTITY % English "INCLUDE">
]> ]>
@ -11,10 +11,10 @@
<!-- remains really short. --> <!-- remains really short. -->
<article lang="&language;"> <article lang="&language;">
<title>The &tdevdesigner; Handbook</title> <title>The &kdevdesigner; Handbook</title>
<articleinfo> <articleinfo>
<title>The &tdevdesigner; Handbook</title> <title>The &kdevdesigner; Handbook</title>
<authorgroup> <authorgroup>
<author>&tde-authors;</author> <author>&tde-authors;</author>
@ -33,7 +33,7 @@
<abstract> <abstract>
<para> <para>
&tdevdesigner; is a GUI designer environment for &tde;. &kdevdesigner; is a GUI designer environment for &tde;.
</para> </para>
</abstract> </abstract>
@ -45,7 +45,7 @@
<sect1 id="apologies"> <sect1 id="apologies">
<title>We Apologize</title> <title>We Apologize</title>
<para>No documentation has yet been written for &tdevdesigner;.</para> <para>No documentation has yet been written for &kdevdesigner;.</para>
<para>If you need help, please check <ulink url="http://www.trinitydesktop.org">The &tde; <para>If you need help, please check <ulink url="http://www.trinitydesktop.org">The &tde;
web site</ulink>, submit questions to the <ulink url="http://www.trinitydesktop.org/mailinglist.php"> web site</ulink>, submit questions to the <ulink url="http://www.trinitydesktop.org/mailinglist.php">

@ -81,11 +81,11 @@ KDevelop Technotes</a>.
\section langapi Programming Language Support API \section langapi Programming Language Support API
- <a href="tdevlanginterfaces/html/index.html"><b>Language Support Interfaces Library</b></a> - <a href="kdevlanginterfaces/html/index.html"><b>Language Support Interfaces Library</b></a>
(<a href="tdevlanginterfaces/html/classes.html">classes</a>)\n (<a href="kdevlanginterfaces/html/classes.html">classes</a>)\n
<i>Interfaces for KDevelop language support facilities.</i> <i>Interfaces for KDevelop language support facilities.</i>
- <a href="tdevlangdebugger/html/index.html"><b>Debugger Support Library</b></a> - <a href="kdevlangdebugger/html/index.html"><b>Debugger Support Library</b></a>
(<a href="tdevlangdebugger/html/classes.html">classes</a>)\n (<a href="kdevlangdebugger/html/classes.html">classes</a>)\n
<i>Classes to implement debugger support for a programming language.</i> <i>Classes to implement debugger support for a programming language.</i>
. .
@ -110,8 +110,8 @@ KDevelop Technotes</a>.
\section shellapi Shell API \section shellapi Shell API
- <a href="tdevshellsrc/html/index.html"><b>Generic Shell</b></a> - <a href="kdevshellsrc/html/index.html"><b>Generic Shell</b></a>
(<a href="tdevshellsrc/html/classes.html">classes</a>)\n (<a href="kdevshellsrc/html/classes.html">classes</a>)\n
<i>The Shell - a profile-based implementation of TDevelop plugin architecture.</i> <i>The Shell - a profile-based implementation of TDevelop plugin architecture.</i>
- <a href="kdevprofileslib/html/index.html"><b>Shell Profiles Library</b></a> - <a href="kdevprofileslib/html/index.html"><b>Shell Profiles Library</b></a>
(<a href="kdevprofileslib/html/classes.html">classes</a>)\n (<a href="kdevprofileslib/html/classes.html">classes</a>)\n

@ -11,6 +11,6 @@
install( install(
FILES FILES
tdev3api.toc kdev3api.toc
DESTINATION ${DATA_INSTALL_DIR}/tdevdocumentation/tocs DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs
) )

@ -1,5 +1,5 @@
tocdir = ${kde_datadir}/tdevdocumentation/tocs tocdir = ${kde_datadir}/kdevdocumentation/tocs
toc_DATA = tdev3api.toc toc_DATA = kdev3api.toc
#indexdir = ${kde_datadir}/devdoctreeview/indices #indexdir = ${kde_datadir}/devdoctreeview/indices
#index_DATA = #index_DATA =

@ -1,2 +0,0 @@
KDE_LANG = en
KDE_DOCS = AUTO

@ -1,9 +0,0 @@
#################################################
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
tde_create_handbook( DESTINATION tdevassistant )

@ -1,65 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY tdevassistant "<application>TDevAssistant</application>">
<!ENTITY kappname "&tdevassistant;">
<!ENTITY % addindex "IGNORE">
<!ENTITY % English "INCLUDE">
]>
<!-- Note: When updating this empty handbook, remember that usually most handbooks -->
<!-- use the book model rather than article. Feel free to use article if the new handbook -->
<!-- remains really short. -->
<article lang="&language;">
<title>The &tdevassistant; Handbook</title>
<articleinfo>
<title>The &tdevassistant; Handbook</title>
<authorgroup>
<author>&tde-authors;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<releaseinfo>&tde-release-version;</releaseinfo>
<date>Reviewed: &tde-release-date;</date>
<copyright>
<year>&tde-copyright-date;</year>
<holder>&tde-team;</holder>
</copyright>
<!-- <legalnotice>&FDLNotice;</legalnotice> -->
<abstract>
<para>
&tdevassistant; is a development documentation viewer for &tde;.
</para>
</abstract>
<keywordset>
<keyword>TDE</keyword>
</keywordset>
</articleinfo>
<sect1 id="apologies">
<title>We Apologize</title>
<para>No documentation has yet been written for &tdevassistant;.</para>
<para>If you need help, please check <ulink url="http://www.trinitydesktop.org">The &tde;
web site</ulink>, submit questions to the <ulink url="http://www.trinitydesktop.org/mailinglist.php">
&tde; mail lists</ulink>, or file a bug report at the <ulink url="http://bugs.trinitydesktop.org/">
&tde; bug tracker</ulink>.</para>
<para>If you are interested in helping, please consider writing the help file.
Submitting a basic text file is acceptable as the &tde-team; will convert the text.</para>
<para>Thank you for helping and thank you for your patience.</para>
&underFDL;
</sect1>
&documentation.index;
</article>

@ -56,7 +56,7 @@ Most &tdevelop; features are provided by KParts. These are basically application
</para> </para>
<para> <para>
There are quite a lot of default configuration subdirectories in <filename class="directory">$<envar>TDEDIR</envar>/share/apps/</filename> whose names all start with a <filename>tdev</filename> sequence. Most of them are for &tdevelop; internal use only. They might be deliberately grouped for readability as: There are quite a lot of default configuration subdirectories in <filename class="directory">$<envar>TDEDIR</envar>/share/apps/</filename> whose names all start with a <filename>kdev</filename> sequence. Most of them are for &tdevelop; internal use only. They might be deliberately grouped for readability as:
<simplelist> <simplelist>
<member><link linkend="app-files-default-apps-stdalone">Stand-alone Applications</link></member> <member><link linkend="app-files-default-apps-stdalone">Stand-alone Applications</link></member>
<member><link linkend="app-files-default-apps-task">Task Specific Parts</link></member> <member><link linkend="app-files-default-apps-task">Task Specific Parts</link></member>
@ -76,25 +76,25 @@ There are quite a lot of default configuration subdirectories in <filename class
<listitem><para><filename class="directory">profiles/</filename> &mdash; contains default plugin profile settings. (Currently there is only a <filename>tiny</filename> profile provided which defines a minimum set of active &tdevelop; plugins.)</para></listitem> <listitem><para><filename class="directory">profiles/</filename> &mdash; contains default plugin profile settings. (Currently there is only a <filename>tiny</filename> profile provided which defines a minimum set of active &tdevelop; plugins.)</para></listitem>
<listitem><para><filename>eventsrc</filename> &mdash; holds a lot of <quote>Process successful</quote> localization strings.</para></listitem> <listitem><para><filename>eventsrc</filename> &mdash; holds a lot of <quote>Process successful</quote> localization strings.</para></listitem>
<listitem><para><filename>tdevelopui.rc</filename> &mdash; provides the basic menu and tool bar entries &tdevelop; uses.</para></listitem> <listitem><para><filename>tdevelopui.rc</filename> &mdash; provides the basic menu and tool bar entries &tdevelop; uses.</para></listitem>
<listitem><para><filename>tdevhtml_partui.rc</filename> &mdash; provides a <guimenuitem>Print...</guimenuitem> entry in the <guimenu>File</guimenu> menu, a <guimenuitem>Copy</guimenuitem> entry in the <guimenu>Edit</guimenu> menu, and <guilabel>Back</guilabel> and <guilabel>Forward</guilabel> arrows in the <guilabel>Browser Toolbar</guilabel> in case a &HTML; file is browsed from the <guilabel>Documentation</guilabel> plugin.</para></listitem> <listitem><para><filename>kdevhtml_partui.rc</filename> &mdash; provides a <guimenuitem>Print...</guimenuitem> entry in the <guimenu>File</guimenu> menu, a <guimenuitem>Copy</guimenuitem> entry in the <guimenu>Edit</guimenu> menu, and <guilabel>Back</guilabel> and <guilabel>Forward</guilabel> arrows in the <guilabel>Browser Toolbar</guilabel> in case a &HTML; file is browsed from the <guilabel>Documentation</guilabel> plugin.</para></listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem><para><filename class="directory">tdevassistant/</filename> &mdash; provides the menu and tool bars of the stand-alone &tdevelop; Assistant documentation browser.</para></listitem> <listitem><para><filename class="directory">kdevassistant/</filename> &mdash; provides the menu and tool bars of the stand-alone &tdevelop; Assistant documentation browser.</para></listitem>
<listitem><para><filename class="directory">tdevdesigner/</filename> and <filename class="directory">tdevdesignerpart/</filename> &mdash; provide menu bar and tool bars of the stand-alone &tdevelop; user interface designer.</para></listitem> <listitem><para><filename class="directory">kdevdesigner/</filename> and <filename class="directory">kdevdesignerpart/</filename> &mdash; provide menu bar and tool bars of the stand-alone &tdevelop; user interface designer.</para></listitem>
</itemizedlist></listitem> </itemizedlist></listitem>
<listitem><itemizedlist id="app-files-default-apps-task"> <listitem><itemizedlist id="app-files-default-apps-task">
<title>Task Specific Parts</title> <title>Task Specific Parts</title>
<listitem id="app-files-default-abbrev"> <listitem id="app-files-default-abbrev">
<para><filename class="directory">tdevabbrev/</filename> &mdash; contains files used by the <guilabel>Abbreviation Expansion</guilabel> plugin:</para> <para><filename class="directory">kdevabbrev/</filename> &mdash; contains files used by the <guilabel>Abbreviation Expansion</guilabel> plugin:</para>
<itemizedlist> <itemizedlist>
<listitem><para><filename class="directory">sources/</filename> &mdash; contains keyword definition files used by the <guilabel>Expand Text</guilabel> command.</para></listitem> <listitem><para><filename class="directory">sources/</filename> &mdash; contains keyword definition files used by the <guilabel>Expand Text</guilabel> command.</para></listitem>
<listitem><para><filename class="directory">templates/</filename> &mdash; contains template definition files used by the <guilabel>Expand Abbreviation</guilabel> command.</para></listitem> <listitem><para><filename class="directory">templates/</filename> &mdash; contains template definition files used by the <guilabel>Expand Abbreviation</guilabel> command.</para></listitem>
<listitem><para><filename>tdevabbrev.rc</filename> &mdash; provides the <guimenuitem>Expand Text</guimenuitem> and <guimenuitem>Expand Abbreviation</guimenuitem> entries in the <guimenu>Edit</guimenu> menu.</para></listitem> <listitem><para><filename>kdevabbrev.rc</filename> &mdash; provides the <guimenuitem>Expand Text</guimenuitem> and <guimenuitem>Expand Abbreviation</guimenuitem> entries in the <guimenu>Edit</guimenu> menu.</para></listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem id="app-files-default-appwizard"> <listitem id="app-files-default-appwizard">
<para><filename class="directory">tdevappwizard/</filename> &mdash; contains files used by the &appwizard; part:</para> <para><filename class="directory">kdevappwizard/</filename> &mdash; contains files used by the &appwizard; part:</para>
<itemizedlist> <itemizedlist>
<listitem><para><filename class="directory">importfiles/</filename> &mdash; contains <filename>.tdevelop</filename> project files which control the initialization of a new project.</para></listitem> <listitem><para><filename class="directory">importfiles/</filename> &mdash; contains <filename>.tdevelop</filename> project files which control the initialization of a new project.</para></listitem>
<listitem><para><filename class="directory">imports/</filename> &mdash; contains templates to set up project specific <filename>.desktop</filename> files.</para></listitem> <listitem><para><filename class="directory">imports/</filename> &mdash; contains templates to set up project specific <filename>.desktop</filename> files.</para></listitem>
@ -104,89 +104,89 @@ There are quite a lot of default configuration subdirectories in <filename class
<listitem><para><filename>*.tar.gz</filename> &mdash; tarballs containing the source files to be included in a new generated project directory.</para></listitem> <listitem><para><filename>*.tar.gz</filename> &mdash; tarballs containing the source files to be included in a new generated project directory.</para></listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem><para><filename class="directory">tdevastyle/</filename> &mdash; provides the <guimenuitem>Reformat Source</guimenuitem> entry in the <guimenu>Edit</guimenu> menu.</para></listitem> <listitem><para><filename class="directory">kdevastyle/</filename> &mdash; provides the <guimenuitem>Reformat Source</guimenuitem> entry in the <guimenu>Edit</guimenu> menu.</para></listitem>
<listitem><para><filename class="directory">tdevautoproject/</filename> &mdash; provides most of the entries in the <guimenu>Build</guimenu> menu and the <guilabel>Build Toolbar (&tdevelop;)</guilabel> toolbar.</para></listitem> <listitem><para><filename class="directory">kdevautoproject/</filename> &mdash; provides most of the entries in the <guimenu>Build</guimenu> menu and the <guilabel>Build Toolbar (&tdevelop;)</guilabel> toolbar.</para></listitem>
<listitem> <listitem>
<para><filename class="directory">tdevclassview/</filename> &mdash; contains files used by the <guilabel>Class View</guilabel> project plugin:</para> <para><filename class="directory">kdevclassview/</filename> &mdash; contains files used by the <guilabel>Class View</guilabel> project plugin:</para>
<itemizedlist> <itemizedlist>
<listitem><para><filename class="directory">pics/</filename> &mdash; contains the icons used in the <guilabel>Classes</guilabel> classview tree.</para></listitem> <listitem><para><filename class="directory">pics/</filename> &mdash; contains the icons used in the <guilabel>Classes</guilabel> classview tree.</para></listitem>
<listitem><para><filename>tdevclassview.tc</filename> &mdash; provides the <guimenuitem>Class Inheritance Diagram</guimenuitem> entry in the <guimenu>Projects</guimenu> menu as well as the classes navigation combo box in the <guilabel>Browser Toolbar</guilabel>.</para></listitem> <listitem><para><filename>kdevclassview.tc</filename> &mdash; provides the <guimenuitem>Class Inheritance Diagram</guimenuitem> entry in the <guimenu>Projects</guimenu> menu as well as the classes navigation combo box in the <guilabel>Browser Toolbar</guilabel>.</para></listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem><para><filename class="directory">tdevcloser/</filename> &mdash; provides the <guimenu>Windows</guimenu> menu close entries.</para></listitem> <listitem><para><filename class="directory">kdevcloser/</filename> &mdash; provides the <guimenu>Windows</guimenu> menu close entries.</para></listitem>
<listitem><para><filename class="directory">tdevctags/</filename> &mdash; provides the <guimenuitem>CTags</guimenuitem> entry in the <guimenu>Tools</guimenu> menu for the <guilabel>CTags Frontend</guilabel> project plugin.</para></listitem> <listitem><para><filename class="directory">kdevctags/</filename> &mdash; provides the <guimenuitem>CTags</guimenuitem> entry in the <guimenu>Tools</guimenu> menu for the <guilabel>CTags Frontend</guilabel> project plugin.</para></listitem>
<listitem><para><filename class="directory">tdevcvsservice/</filename> &mdash; provides the icon used by the <guilabel>CvsService</guilabel> tab and a short shell script used to add a new entry to the &cvs; repository, both used by the <guilabel>CVS Integration</guilabel> project plugin.</para></listitem> <listitem><para><filename class="directory">kdevcvsservice/</filename> &mdash; provides the icon used by the <guilabel>CvsService</guilabel> tab and a short shell script used to add a new entry to the &cvs; repository, both used by the <guilabel>CVS Integration</guilabel> project plugin.</para></listitem>
<listitem><para><filename class="directory">tdevdebugger/</filename> &mdash; provides the <guimenu>Debug</guimenu> menu entries for the <guilabel>Debugger Frontend</guilabel> project plugin.</para></listitem> <listitem><para><filename class="directory">kdevdebugger/</filename> &mdash; provides the <guimenu>Debug</guimenu> menu entries for the <guilabel>Debugger Frontend</guilabel> project plugin.</para></listitem>
<listitem><para><filename class="directory">tdevdiff/</filename> &mdash; provides the <guimenuitem>Difference Viewer</guimenuitem> entry in the <guimenu>Tools</guimenu> menu.</para></listitem> <listitem><para><filename class="directory">kdevdiff/</filename> &mdash; provides the <guimenuitem>Difference Viewer</guimenuitem> entry in the <guimenu>Tools</guimenu> menu.</para></listitem>
<listitem><para><filename class="directory">tdevdistpart/</filename> &mdash; provides the <guimenuitem>Distribution &amp; Publishing</guimenuitem> entry in the <guimenu>Project</guimenu> menu for the <guilabel>Final Packaging Support</guilabel> project plugin.</para></listitem> <listitem><para><filename class="directory">kdevdistpart/</filename> &mdash; provides the <guimenuitem>Distribution &amp; Publishing</guimenuitem> entry in the <guimenu>Project</guimenu> menu for the <guilabel>Final Packaging Support</guilabel> project plugin.</para></listitem>
<listitem id="app-files-default-kdevdoc"> <listitem id="app-files-default-kdevdoc">
<para><filename class="directory">tdevdocumentation/</filename> &mdash; contains files used by the <guilabel>Documentation</guilabel> plugin:</para> <para><filename class="directory">kdevdocumentation/</filename> &mdash; contains files used by the <guilabel>Documentation</guilabel> plugin:</para>
<itemizedlist> <itemizedlist>
<listitem><para><filename class="directory">en/</filename> and <filename class="directory">pics/</filename> &mdash; contain files used by the <application>htdig</application> search tool.</para></listitem> <listitem><para><filename class="directory">en/</filename> and <filename class="directory">pics/</filename> &mdash; contain files used by the <application>htdig</application> search tool.</para></listitem>
<listitem><para><filename class="directory">tocs/</filename> &mdash; contain the default &tdevelop; documentation content description files (see the description in <link linkend="toc-file-structure">Basic Structure of &tdevelop; TOC Files</link>).</para></listitem> <listitem><para><filename class="directory">tocs/</filename> &mdash; contain the default &tdevelop; documentation content description files (see the description in <link linkend="toc-file-structure">Basic Structure of &tdevelop; TOC Files</link>).</para></listitem>
<listitem><para><filename>tdevpart_documentation.rc</filename> &mdash; provides the search related entries in the <guimenu>Help</guimenu> menu.</para></listitem> <listitem><para><filename>kdevpart_documentation.rc</filename> &mdash; provides the search related entries in the <guimenu>Help</guimenu> menu.</para></listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem><para><filename class="directory">tdevdoxygen/</filename> &mdash; provides the menu entries for the <guilabel>Doxygen Support</guilabel> project plugin.</para></listitem> <listitem><para><filename class="directory">kdevdoxygen/</filename> &mdash; provides the menu entries for the <guilabel>Doxygen Support</guilabel> project plugin.</para></listitem>
<listitem id="app-files-default-filecreate"> <listitem id="app-files-default-filecreate">
<para><filename class="directory">tdevfilecreate/</filename> &mdash; contains files used by the <guilabel>New File Wizard:</guilabel> <para><filename class="directory">kdevfilecreate/</filename> &mdash; contains files used by the <guilabel>New File Wizard:</guilabel>
<itemizedlist> <itemizedlist>
<listitem><para><filename class="directory">file-templates/</filename> &mdash; provides the initial text contents to be put into the new source file of a given type.</para></listitem> <listitem><para><filename class="directory">file-templates/</filename> &mdash; provides the initial text contents to be put into the new source file of a given type.</para></listitem>
<listitem><para><filename>tdevpart_filecreate.rc</filename> &mdash; provides the <guimenuitem>New</guimenuitem> entry in the <guimenu>File</guimenu> menu.</para></listitem> <listitem><para><filename>kdevpart_filecreate.rc</filename> &mdash; provides the <guimenuitem>New</guimenuitem> entry in the <guimenu>File</guimenu> menu.</para></listitem>
<listitem><para><filename>template-info.xml</filename> &mdash; contains descriptions of the available file types to be displayed in the <guilabel>New File</guilabel> tool view.</para></listitem> <listitem><para><filename>template-info.xml</filename> &mdash; contains descriptions of the available file types to be displayed in the <guilabel>New File</guilabel> tool view.</para></listitem>
</itemizedlist> </itemizedlist>
</para></listitem> </para></listitem>
<listitem><para><filename class="directory">tdevfilter/</filename> &mdash; provides the <guimenuitem>Execute Command...</guimenuitem> and <guimenuitem>Filter Selection Through Command...</guimenuitem> entries in the <guimenu>Tools</guimenu> menu used by the <guilabel>Shell Filtering and Insertion</guilabel> plugin.</para></listitem> <listitem><para><filename class="directory">kdevfilter/</filename> &mdash; provides the <guimenuitem>Execute Command...</guimenuitem> and <guimenuitem>Filter Selection Through Command...</guimenuitem> entries in the <guimenu>Tools</guimenu> menu used by the <guilabel>Shell Filtering and Insertion</guilabel> plugin.</para></listitem>
<listitem><para><filename class="directory">tdevfullscreen/</filename> &mdash; provides the <guimenuitem>Full Screen Mode</guimenuitem> entry in the <guimenu>View</guimenu> menu and the according tool bar icon.</para></listitem> <listitem><para><filename class="directory">kdevfullscreen/</filename> &mdash; provides the <guimenuitem>Full Screen Mode</guimenuitem> entry in the <guimenu>View</guimenu> menu and the according tool bar icon.</para></listitem>
<listitem><para><filename class="directory">tdevgrepview/</filename> &mdash; provides the <guimenuitem>Find in Files...</guimenuitem>entry in the <guimenu>Edit</guimenu> menu used by the <guilabel>Grep Frontend</guilabel> plugin.</para></listitem> <listitem><para><filename class="directory">kdevgrepview/</filename> &mdash; provides the <guimenuitem>Find in Files...</guimenuitem>entry in the <guimenu>Edit</guimenu> menu used by the <guilabel>Grep Frontend</guilabel> plugin.</para></listitem>
<listitem><para><filename class="directory">tdevhistory/</filename> &mdash; provides the <guimenuitem>Back</guimenuitem> and <guimenuitem>Forward</guimenuitem> entries in the <guimenu>View</guimenu> menu.</para></listitem> <listitem><para><filename class="directory">kdevhistory/</filename> &mdash; provides the <guimenuitem>Back</guimenuitem> and <guimenuitem>Forward</guimenuitem> entries in the <guimenu>View</guimenu> menu.</para></listitem>
<listitem><para><filename class="directory">tdevjavadebugger/</filename> &mdash; provides a <guimenu>Java Debug</guimenu> menu in order to debug a &Java; application.</para></listitem> <listitem><para><filename class="directory">kdevjavadebugger/</filename> &mdash; provides a <guimenu>Java Debug</guimenu> menu in order to debug a &Java; application.</para></listitem>
<listitem><para><filename class="directory">tdevoutputviews/</filename> &mdash; provides the <guimenuitem>Next Error</guimenuitem> and <guimenuitem>Previous Error</guimenuitem> entries in the <guimenu>View</guimenu> menu.</para></listitem> <listitem><para><filename class="directory">kdevoutputviews/</filename> &mdash; provides the <guimenuitem>Next Error</guimenuitem> and <guimenuitem>Previous Error</guimenuitem> entries in the <guimenu>View</guimenu> menu.</para></listitem>
<listitem><para><filename class="directory">tdevpartexplorer/</filename> &mdash; provides the <guimenuitem>Part Explorer</guimenuitem> entry in the <guimenu>Tools</guimenu> menu used by the <guilabel>Part Explorer Tool</guilabel> plugin.</para></listitem> <listitem><para><filename class="directory">kdevpartexplorer/</filename> &mdash; provides the <guimenuitem>Part Explorer</guimenuitem> entry in the <guimenu>Tools</guimenu> menu used by the <guilabel>Part Explorer Tool</guilabel> plugin.</para></listitem>
<listitem><para><filename class="directory">tdevquickopen/</filename> &mdash; provides the <guimenuitem>Quick Open File..</guimenuitem> entry in the <guimenu>File</guimenu> menu and the <guimenuitem>Quick Open Class...</guimenuitem> and <guimenuitem>Quick Open Method</guimenuitem> entries in the <guimenu>Tools</guimenu> menu used by the <guilabel>Quick Open</guilabel> project plugin.</para></listitem> <listitem><para><filename class="directory">kdevquickopen/</filename> &mdash; provides the <guimenuitem>Quick Open File..</guimenuitem> entry in the <guimenu>File</guimenu> menu and the <guimenuitem>Quick Open Class...</guimenuitem> and <guimenuitem>Quick Open Method</guimenuitem> entries in the <guimenu>Tools</guimenu> menu used by the <guilabel>Quick Open</guilabel> project plugin.</para></listitem>
<listitem><para><filename class="directory">tdevregexptest/</filename> &mdash; provides the <guimenuitem>Debug Regular Expression...</guimenuitem> entry in the <guimenu>Tools</guimenu> menu used by the <guilabel>Regular Expression Tester</guilabel> plugin.</para></listitem> <listitem><para><filename class="directory">kdevregexptest/</filename> &mdash; provides the <guimenuitem>Debug Regular Expression...</guimenuitem> entry in the <guimenu>Tools</guimenu> menu used by the <guilabel>Regular Expression Tester</guilabel> plugin.</para></listitem>
<listitem><para><filename class="directory">tdevreplace/</filename> &mdash; provides the <guimenuitem>Find-Select-Replace...</guimenuitem> entry in the <guimenu>Edit</guimenu> menu used by the <guilabel>Replace Part</guilabel> plugin.</para></listitem> <listitem><para><filename class="directory">kdevreplace/</filename> &mdash; provides the <guimenuitem>Find-Select-Replace...</guimenuitem> entry in the <guimenu>Edit</guimenu> menu used by the <guilabel>Replace Part</guilabel> plugin.</para></listitem>
<listitem id="app-files-default-tips"><para><filename class="directory">tdevtipofday/</filename> &mdash; provides the <guimenuitem>Tip of the Day</guimenuitem> entry in the <guimenu>Help</guimenu> menu as well as a HTML-File containing the available tips.</para></listitem> <listitem id="app-files-default-tips"><para><filename class="directory">kdevtipofday/</filename> &mdash; provides the <guimenuitem>Tip of the Day</guimenuitem> entry in the <guimenu>Help</guimenu> menu as well as a HTML-File containing the available tips.</para></listitem>
<listitem><para><filename class="directory">tdevtools/</filename> &mdash; controls various menu entries ceated by <guimenu>Tools Menu</guimenu> and <guilabel>External Tools Menu</guilabel> settings provided by the <guilabel>Tools Menu Addition</guilabel> plugin.</para></listitem> <listitem><para><filename class="directory">kdevtools/</filename> &mdash; controls various menu entries ceated by <guimenu>Tools Menu</guimenu> and <guilabel>External Tools Menu</guilabel> settings provided by the <guilabel>Tools Menu Addition</guilabel> plugin.</para></listitem>
<listitem><para><filename class="directory">tdevvalgrind/</filename> &mdash; provides the <guimenuitem>Valgrind Memory Leak Check</guimenuitem> and <guimenuitem>Profile with KCachegrind</guimenuitem> entries in the <guimenu>Debug</guimenu> menu used by the <guilabel>Valgrind Frontend</guilabel> plugin.</para></listitem> <listitem><para><filename class="directory">kdevvalgrind/</filename> &mdash; provides the <guimenuitem>Valgrind Memory Leak Check</guimenuitem> and <guimenuitem>Profile with KCachegrind</guimenuitem> entries in the <guimenu>Debug</guimenu> menu used by the <guilabel>Valgrind Frontend</guilabel> plugin.</para></listitem>
</itemizedlist></listitem> </itemizedlist></listitem>
<listitem><itemizedlist id="app-files-default-apps-project"> <listitem><itemizedlist id="app-files-default-apps-project">
<title>Project Generation Parts</title> <title>Project Generation Parts</title>
<listitem><para><filename class="directory">tdevadaproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons to build an Ada application.</para></listitem> <listitem><para><filename class="directory">kdevadaproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons to build an Ada application.</para></listitem>
<listitem><para><filename class="directory">tdevantproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu when the Ant project generator is used.</para></listitem> <listitem><para><filename class="directory">kdevantproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu when the Ant project generator is used.</para></listitem>
<listitem><para><filename class="directory">tdevautoproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons when working with the &GNU; Tools based &automake; project generator. Additionally provides the <guimenuitem>Add Translation</guimenuitem> and <guimenuitem>Build Configuration</guimenuitem> entries to the <guimenu>Project</guimenu> menu.</para></listitem> <listitem><para><filename class="directory">kdevautoproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons when working with the &GNU; Tools based &automake; project generator. Additionally provides the <guimenuitem>Add Translation</guimenuitem> and <guimenuitem>Build Configuration</guimenuitem> entries to the <guimenu>Project</guimenu> menu.</para></listitem>
<listitem><para><filename class="directory">tdevcustomproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons when the project is based on custom Makefils.</para></listitem> <listitem><para><filename class="directory">kdevcustomproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons when the project is based on custom Makefils.</para></listitem>
<listitem><para><filename class="directory">tdevgenericproject/</filename> &mdash; contains menu definitions for an experimental generic project generator. Currently (version 3.1.0) unused.</para></listitem> <listitem><para><filename class="directory">kdevgenericproject/</filename> &mdash; contains menu definitions for an experimental generic project generator. Currently (version 3.1.0) unused.</para></listitem>
<listitem><para><filename class="directory">tdevhaskellproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons to build a Haskell application.</para></listitem> <listitem><para><filename class="directory">kdevhaskellproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons to build a Haskell application.</para></listitem>
<listitem><para><filename class="directory">tdevpascalproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons to build a Pascal application.</para></listitem> <listitem><para><filename class="directory">kdevpascalproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons to build a Pascal application.</para></listitem>
<listitem><para><filename class="directory">tdevtrollproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons to build an application using the &Qt; QMake project manager.</para></listitem> <listitem><para><filename class="directory">kdevtrollproject/</filename> &mdash; provides entries for the <guimenu>Build</guimenu> menu and according tool bar icons to build an application using the &Qt; QMake project manager.</para></listitem>
</itemizedlist></listitem> </itemizedlist></listitem>
<listitem><itemizedlist id="app-files-default-apps-lang"> <listitem><itemizedlist id="app-files-default-apps-lang">
<title>Language Specific Parts</title> <title>Language Specific Parts</title>
<listitem><para><filename class="directory">tdevadasupport/</filename> &mdash; provides entries in the <guimenu>Tools</guimenu> menu and according tool bar icons needed to develop Ada applications.</para></listitem> <listitem><para><filename class="directory">kdevadasupport/</filename> &mdash; provides entries in the <guimenu>Tools</guimenu> menu and according tool bar icons needed to develop Ada applications.</para></listitem>
<listitem><para><filename class="directory">tdevbashsupport/</filename> &mdash; provides entries in the <guimenu>Build</guimenu> menu and according tool bar icons needed to develop Bash scripts.</para></listitem> <listitem><para><filename class="directory">kdevbashsupport/</filename> &mdash; provides entries in the <guimenu>Build</guimenu> menu and according tool bar icons needed to develop Bash scripts.</para></listitem>
<listitem id="app-files-default-apps-lang-cpp"> <listitem id="app-files-default-apps-lang-cpp">
<para><filename class="directory">tdevcppsupport/</filename> &mdash; contains files used by the &appwizard; to build C++ applications:</para> <para><filename class="directory">kdevcppsupport/</filename> &mdash; contains files used by the &appwizard; to build C++ applications:</para>
<itemizedlist> <itemizedlist>
<listitem><para><filename class="directory">newclass/</filename> &mdash; contains header and source templates from which the &appwizard; builds the according source files.</para></listitem> <listitem><para><filename class="directory">newclass/</filename> &mdash; contains header and source templates from which the &appwizard; builds the according source files.</para></listitem>
<listitem><para><filename class="directory">subclassing/</filename> &mdash; contains templates which the &appwizard; uses to set up initial class declarations/definitions in the source files.</para></listitem> <listitem><para><filename class="directory">subclassing/</filename> &mdash; contains templates which the &appwizard; uses to set up initial class declarations/definitions in the source files.</para></listitem>
<listitem><para><filename class="directory">templates</filename> &mdash; contains templates from which the &appwizard; sets up the default header and source template files to be used by the &nfwizard;. </para></listitem> <listitem><para><filename class="directory">templates</filename> &mdash; contains templates from which the &appwizard; sets up the default header and source template files to be used by the &nfwizard;. </para></listitem>
<listitem><para><filename>configuration</filename> &mdash; dummy template to add macros.</para></listitem> <listitem><para><filename>configuration</filename> &mdash; dummy template to add macros.</para></listitem>
<listitem><para><filename>tdevcppsupport.rc</filename> &mdash; provides the <guimenuitem>Complete Text</guimenuitem> and <guimenuitem>Make Member</guimenuitem> entries fo the <guimenu>Edit</guimenu> menu, the <guimenuitem>Switch Header/Implementation</guimenuitem> entry for the <guimenu>View</guimenu> menu, and the <guimenuitem>New Class</guimenuitem> entry for the <guimenu>Project</guimenu> menu as well as a <guiicon>New Class</guiicon> icon for the <guilabel>Browser Toolbar</guilabel>.</para></listitem> <listitem><para><filename>kdevcppsupport.rc</filename> &mdash; provides the <guimenuitem>Complete Text</guimenuitem> and <guimenuitem>Make Member</guimenuitem> entries fo the <guimenu>Edit</guimenu> menu, the <guimenuitem>Switch Header/Implementation</guimenuitem> entry for the <guimenu>View</guimenu> menu, and the <guimenuitem>New Class</guimenuitem> entry for the <guimenu>Project</guimenu> menu as well as a <guiicon>New Class</guiicon> icon for the <guilabel>Browser Toolbar</guilabel>.</para></listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem><para><filename class="directory">tdevfortransupport/</filename> &mdash; provides entries in the <guimenu>Build</guimenu> menu needed to develop Fortran applications.</para></listitem> <listitem><para><filename class="directory">kdevfortransupport/</filename> &mdash; provides entries in the <guimenu>Build</guimenu> menu needed to develop Fortran applications.</para></listitem>
<listitem><para><filename class="directory">tdevhaskellsupport/</filename> &mdash; provides entries in the <guimenu>Build</guimenu> menu and according tool bar icons needed to develop Haskell applications.</para></listitem> <listitem><para><filename class="directory">kdevhaskellsupport/</filename> &mdash; provides entries in the <guimenu>Build</guimenu> menu and according tool bar icons needed to develop Haskell applications.</para></listitem>
<listitem><para><filename class="directory">tdevjavasupport/</filename> &mdash; contains the UI definition needed to develop &Java; applications.</para></listitem> <listitem><para><filename class="directory">kdevjavasupport/</filename> &mdash; contains the UI definition needed to develop &Java; applications.</para></listitem>
<listitem><para><filename class="directory">tdevpascalsupport/</filename> &mdash; contains the UI definition needed to develop Pascal applications.</para></listitem> <listitem><para><filename class="directory">kdevpascalsupport/</filename> &mdash; contains the UI definition needed to develop Pascal applications.</para></listitem>
<listitem><para><filename class="directory">tdevperlsupport/</filename> &mdash; provides <guimenu>Project</guimenu> and <guimenu>Help</guimenu> menu entries needed to develop Perl scripts.</para></listitem> <listitem><para><filename class="directory">kdevperlsupport/</filename> &mdash; provides <guimenu>Project</guimenu> and <guimenu>Help</guimenu> menu entries needed to develop Perl scripts.</para></listitem>
<listitem><para><filename class="directory">tdevphpsupport/</filename> &mdash; contains UI and PHP function definition files needed to develop PHP scripts.</para></listitem> <listitem><para><filename class="directory">kdevphpsupport/</filename> &mdash; contains UI and PHP function definition files needed to develop PHP scripts.</para></listitem>
<listitem><para><filename class="directory">tdevpythonsupport/</filename> &mdash; provides <guimenu>Build</guimenu> and <guimenu>Help</guimenu> menu entries and according tool bar icons needed to develop Python scripts.</para></listitem> <listitem><para><filename class="directory">kdevpythonsupport/</filename> &mdash; provides <guimenu>Build</guimenu> and <guimenu>Help</guimenu> menu entries and according tool bar icons needed to develop Python scripts.</para></listitem>
<listitem><para><filename class="directory">tdevrubysupport/</filename> &mdash; provides <guimenu>Build</guimenu> menu entries and according tool bar icons needed to develop Ruby scripts.</para></listitem> <listitem><para><filename class="directory">kdevrubysupport/</filename> &mdash; provides <guimenu>Build</guimenu> menu entries and according tool bar icons needed to develop Ruby scripts.</para></listitem>
<listitem><para><filename class="directory">tdevscriptproject/</filename> &mdash; provides th UI definitions needed to develop custom projects. Currently (version 3.1.0) unused.</para></listitem> <listitem><para><filename class="directory">kdevscriptproject/</filename> &mdash; provides th UI definitions needed to develop custom projects. Currently (version 3.1.0) unused.</para></listitem>
<listitem><para><filename class="directory">tdevsqlsupport/</filename> &mdash; provides th UI definitions needed to develop SQL projects. Currently (version 3.1.0) unused.</para></listitem> <listitem><para><filename class="directory">kdevsqlsupport/</filename> &mdash; provides th UI definitions needed to develop SQL projects. Currently (version 3.1.0) unused.</para></listitem>
</itemizedlist></listitem> </itemizedlist></listitem>
</itemizedlist> </itemizedlist>
@ -212,7 +212,7 @@ All information about user defined settings is kept in two subdirectories of <fi
<title>Application Specific Configuration</title> <title>Application Specific Configuration</title>
<para> <para>
Any user changes to the <link linkend="app-files-default">&tdevelop; Default Configuration</link> settings as well as user specific settings which are not kept in any of the <link linkend="app-files-user-config">Resource Configuration Files</link> are found in <filename>tdev...</filename> subdirectories of the <filename class="directory">$<envar>TDEHOME</envar>/share/apps/</filename> directory. Any user changes to the <link linkend="app-files-default">&tdevelop; Default Configuration</link> settings as well as user specific settings which are not kept in any of the <link linkend="app-files-user-config">Resource Configuration Files</link> are found in <filename>kdev...</filename> subdirectories of the <filename class="directory">$<envar>TDEHOME</envar>/share/apps/</filename> directory.
</para> </para>
<para> <para>
Most of these configuration files are however used by various &tdevelop; plugins in order to provide some specific menu and/or toolbar entries. Thus they are of interest only in case something went really wrong with the user interface. Most of these configuration files are however used by various &tdevelop; plugins in order to provide some specific menu and/or toolbar entries. Thus they are of interest only in case something went really wrong with the user interface.
@ -223,30 +223,30 @@ In case the contents of these directories mirror those of the Default Configurat
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para><filename class="directory">tdevabbrev/</filename> &mdash; contains files used by the <guilabel>Abbreviation Expansion</guilabel> plugin:</para> <para><filename class="directory">kdevabbrev/</filename> &mdash; contains files used by the <guilabel>Abbreviation Expansion</guilabel> plugin:</para>
<itemizedlist> <itemizedlist>
<listitem><para><filename class="directory">sources/</filename> &mdash; currently empty; &tdevelop; uses the <link linkend="app-files-default-abbrev">default keyword definition</link> files for <guilabel>Expand Text</guilabel> commands.</para></listitem> <listitem><para><filename class="directory">sources/</filename> &mdash; currently empty; &tdevelop; uses the <link linkend="app-files-default-abbrev">default keyword definition</link> files for <guilabel>Expand Text</guilabel> commands.</para></listitem>
<listitem><para><filename class="directory">templates/</filename> &mdash; contains the user modified template definition files used by the <guilabel>Expand Abbreviation</guilabel> command.</para></listitem> <listitem><para><filename class="directory">templates/</filename> &mdash; contains the user modified template definition files used by the <guilabel>Expand Abbreviation</guilabel> command.</para></listitem>
<listitem><para><filename>tdevabbrev.rc</filename> &mdash; provides the <guimenuitem>Expand Text</guimenuitem> and <guimenuitem>Expand Abbreviation</guimenuitem> entries in the <guimenu>Edit</guimenu> menu.</para></listitem> <listitem><para><filename>kdevabbrev.rc</filename> &mdash; provides the <guimenuitem>Expand Text</guimenuitem> and <guimenuitem>Expand Abbreviation</guimenuitem> entries in the <guimenu>Edit</guimenu> menu.</para></listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevappwizard/</filename> &mdash; only provides the <guimenuitem>New Project...</guimenuitem> and <guimenuitem>Import Existing Project...</guimenuitem> entries in the <guimenu>Projects</guimenu> menu. The &appwizard; will use the <link linkend="app-files-default-appwizard">default configuration settings</link> for its actual works.</para> <para><filename class="directory">kdevappwizard/</filename> &mdash; only provides the <guimenuitem>New Project...</guimenuitem> and <guimenuitem>Import Existing Project...</guimenuitem> entries in the <guimenu>Projects</guimenu> menu. The &appwizard; will use the <link linkend="app-files-default-appwizard">default configuration settings</link> for its actual works.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevastyle/</filename> &mdash; provides the actual <guimenuitem>Reformat Source</guimenuitem> entry in the <guimenu>Edit</guimenu> menu.</para> <para><filename class="directory">kdevastyle/</filename> &mdash; provides the actual <guimenuitem>Reformat Source</guimenuitem> entry in the <guimenu>Edit</guimenu> menu.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevautoproject/</filename> &mdash; provides the actual entries in the <guimenu>Build</guimenu> menu and the <guilabel>Build Toolbar (TDevelop)</guilabel> toolbar.</para> <para><filename class="directory">kdevautoproject/</filename> &mdash; provides the actual entries in the <guimenu>Build</guimenu> menu and the <guilabel>Build Toolbar (KDevelop)</guilabel> toolbar.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevclassview/</filename> &mdash; provides the <guimenuitem>Class Inheritance Diagram</guimenuitem> entry in the <guimenu>Project</guimenu> menu and the class browser combo box in the <guilabel>Browser Toolbar</guilabel> by the <guilabel>Class View</guilabel> project plugin.</para> <para><filename class="directory">kdevclassview/</filename> &mdash; provides the <guimenuitem>Class Inheritance Diagram</guimenuitem> entry in the <guimenu>Project</guimenu> menu and the class browser combo box in the <guilabel>Browser Toolbar</guilabel> by the <guilabel>Class View</guilabel> project plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevcloser/</filename> &mdash; provides the <guimenuitem>Close Selected Windows...</guimenuitem> entry in the <guimenu>Windows</guimenu> menu.</para> <para><filename class="directory">kdevcloser/</filename> &mdash; provides the <guimenuitem>Close Selected Windows...</guimenuitem> entry in the <guimenu>Windows</guimenu> menu.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevcppsupport/</filename> &mdash; holds the acual configuration used by the &appwizard; to build C++ applications. The &appwizard; however uses its main bulk of configuration information directly from the <link linkend="app-files-default-apps-lang-cpp">default configuration directory</link>. See there for more detail.</para> <para><filename class="directory">kdevcppsupport/</filename> &mdash; holds the acual configuration used by the &appwizard; to build C++ applications. The &appwizard; however uses its main bulk of configuration information directly from the <link linkend="app-files-default-apps-lang-cpp">default configuration directory</link>. See there for more detail.</para>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para><filename class="directory">newclass/</filename> &mdash; contains the actual header and source templates from which the &appwizard; builds the according source files.</para> <para><filename class="directory">newclass/</filename> &mdash; contains the actual header and source templates from which the &appwizard; builds the according source files.</para>
@ -255,22 +255,22 @@ In case the contents of these directories mirror those of the Default Configurat
<para><filename class="directory">pcs/</filename> &mdash; contains database files &tdevelop; uses build the actual Persistent Code Store (<filename>.pcs</filename>) file of a &kde; C++ project.</para> <para><filename class="directory">pcs/</filename> &mdash; contains database files &tdevelop; uses build the actual Persistent Code Store (<filename>.pcs</filename>) file of a &kde; C++ project.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename>tdevcppsupport.rc</filename> &mdash; provides the <guimenuitem>Complete Text</guimenuitem> and <guimenuitem>Make Member</guimenuitem> entries fo the <guimenu>Edit</guimenu> menu, the <guimenuitem>Switch Header/Implementation</guimenuitem> entry for the <guimenu>View</guimenu> menu, and the <guimenuitem>New Class</guimenuitem> entry for the <guimenu>Project</guimenu> menu as well as a <guiicon>New Class</guiicon> icon for the <guilabel>Browser Toolbar</guilabel>.</para> <para><filename>kdevcppsupport.rc</filename> &mdash; provides the <guimenuitem>Complete Text</guimenuitem> and <guimenuitem>Make Member</guimenuitem> entries fo the <guimenu>Edit</guimenu> menu, the <guimenuitem>Switch Header/Implementation</guimenuitem> entry for the <guimenu>View</guimenu> menu, and the <guimenuitem>New Class</guimenuitem> entry for the <guimenu>Project</guimenu> menu as well as a <guiicon>New Class</guiicon> icon for the <guilabel>Browser Toolbar</guilabel>.</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevctags/</filename> &mdash; provides the <guimenuitem>CTags</guimenuitem> entry in the <guimenu>Tools</guimenu> menu for the <guilabel>CTags Frontend</guilabel> project plugin.</para> <para><filename class="directory">kdevctags/</filename> &mdash; provides the <guimenuitem>CTags</guimenuitem> entry in the <guimenu>Tools</guimenu> menu for the <guilabel>CTags Frontend</guilabel> project plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevdebugger/</filename> &mdash; provides the <guimenu>Debug</guimenu> menu entries for the <guilabel>Debugger Frontend</guilabel> project plugin.</para> <para><filename class="directory">kdevdebugger/</filename> &mdash; provides the <guimenu>Debug</guimenu> menu entries for the <guilabel>Debugger Frontend</guilabel> project plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevdiff/</filename> &mdash; provides the <guimenuitem>Difference Viewer</guimenuitem> entry in the <guimenu>Tools</guimenu> menu.</para> <para><filename class="directory">kdevdiff/</filename> &mdash; provides the <guimenuitem>Difference Viewer</guimenuitem> entry in the <guimenu>Tools</guimenu> menu.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevdocumentation/</filename> &mdash; contains the actual files used by the <guilabel>Documentation</guilabel> plugin in addition to the <link linkend="app-files-default-kdevdoc"> default configuration files</link>. See there for more detail.</para> <para><filename class="directory">kdevdocumentation/</filename> &mdash; contains the actual files used by the <guilabel>Documentation</guilabel> plugin in addition to the <link linkend="app-files-default-kdevdoc"> default configuration files</link>. See there for more detail.</para>
<para>The directories in <filename class="directory">tdevdocumentation/</filename> mainly hold actual bookkeeping information. The actually set up documentation files are kept in <link linkend="app-files-user-config-doc"> <quote><filename>doc...pluginrc</filename></quote> files</link> in the <filename class="directory">$<envar>TDEHOME</envar>/share/config/</filename> directory.</para> <para>The directories in <filename class="directory">kdevdocumentation/</filename> mainly hold actual bookkeeping information. The actually set up documentation files are kept in <link linkend="app-files-user-config-doc"> <quote><filename>doc...pluginrc</filename></quote> files</link> in the <filename class="directory">$<envar>TDEHOME</envar>/share/config/</filename> directory.</para>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para><filename class="directory">bookmarks/</filename> &mdash; maintains the entries in the <guilabel>Bookmarks</guilabel> tab of the &tdevelop; <guilabel>Documentation</guilabel> plugin.</para> <para><filename class="directory">bookmarks/</filename> &mdash; maintains the entries in the <guilabel>Bookmarks</guilabel> tab of the &tdevelop; <guilabel>Documentation</guilabel> plugin.</para>
@ -282,12 +282,12 @@ In case the contents of these directories mirror those of the Default Configurat
<para><filename class="directory">search/</filename> &mdash; contains files used by the <application>htdig</application> search tool which serves search calls from the <guilabel>Search</guilabel> tab of the <guilabel>Documentation</guilabel> plugin.</para> <para><filename class="directory">search/</filename> &mdash; contains files used by the <application>htdig</application> search tool which serves search calls from the <guilabel>Search</guilabel> tab of the <guilabel>Documentation</guilabel> plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename>tdevpart_documentation.rc</filename> &mdash; provides the search related entries in the <guimenu>Help</guimenu> menu.</para> <para><filename>kdevpart_documentation.rc</filename> &mdash; provides the search related entries in the <guimenu>Help</guimenu> menu.</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevdoxygen/</filename> &mdash; provides the menu entries for the <guilabel>Doxygen Support</guilabel> project plugin.</para> <para><filename class="directory">kdevdoxygen/</filename> &mdash; provides the menu entries for the <guilabel>Doxygen Support</guilabel> project plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevelop/</filename> &mdash; contains some actual settings &tdevelop; uses for its basic setup:</para> <para><filename class="directory">tdevelop/</filename> &mdash; contains some actual settings &tdevelop; uses for its basic setup:</para>
@ -297,45 +297,45 @@ In case the contents of these directories mirror those of the Default Configurat
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevfilecreate/</filename> &mdash; contains files used by the <guilabel>New File Wizard:</guilabel></para> <para><filename class="directory">kdevfilecreate/</filename> &mdash; contains files used by the <guilabel>New File Wizard:</guilabel></para>
<itemizedlist> <itemizedlist>
<listitem><para><filename class="directory">file-templates/</filename> &mdash; provides the actually used text contents to be put into the new source file of a given type. More file templates are found in the <link linkend="app-files-default-filecreate">default configuration files</link> directory.</para></listitem> <listitem><para><filename class="directory">file-templates/</filename> &mdash; provides the actually used text contents to be put into the new source file of a given type. More file templates are found in the <link linkend="app-files-default-filecreate">default configuration files</link> directory.</para></listitem>
<listitem><para><filename>tdevpart_filecreate.rc</filename> &mdash; provides the <guimenuitem>New</guimenuitem> entry in the <guimenu>File</guimenu> menu.</para></listitem> <listitem><para><filename>kdevpart_filecreate.rc</filename> &mdash; provides the <guimenuitem>New</guimenuitem> entry in the <guimenu>File</guimenu> menu.</para></listitem>
<listitem><para><filename>template-info.xml</filename> &mdash; contains descriptions of the available file types to be displayed in the <guilabel>New File</guilabel> tool view.</para></listitem> <listitem><para><filename>template-info.xml</filename> &mdash; contains descriptions of the available file types to be displayed in the <guilabel>New File</guilabel> tool view.</para></listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevfilter/</filename> &mdash; provides the <guimenuitem>Execute Command...</guimenuitem> and <guimenuitem>Filter Selection Through Command...</guimenuitem> entries in the <guimenu>Tools</guimenu> menu used by the <guilabel>Shell Filtering and Insertion</guilabel> plugin.</para> <para><filename class="directory">kdevfilter/</filename> &mdash; provides the <guimenuitem>Execute Command...</guimenuitem> and <guimenuitem>Filter Selection Through Command...</guimenuitem> entries in the <guimenu>Tools</guimenu> menu used by the <guilabel>Shell Filtering and Insertion</guilabel> plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevfullscreen/</filename> &mdash; provides the <guimenuitem>Full Screen Mode</guimenuitem> entry in the <guimenu>View</guimenu> menu and the according tool bar icon.</para> <para><filename class="directory">kdevfullscreen/</filename> &mdash; provides the <guimenuitem>Full Screen Mode</guimenuitem> entry in the <guimenu>View</guimenu> menu and the according tool bar icon.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevgrepview/</filename> &mdash; provides the <guimenuitem>Find in Files...</guimenuitem>entry in the <guimenu>Edit</guimenu> menu used by the <guilabel>Grep Frontend</guilabel> plugin.</para> <para><filename class="directory">kdevgrepview/</filename> &mdash; provides the <guimenuitem>Find in Files...</guimenuitem>entry in the <guimenu>Edit</guimenu> menu used by the <guilabel>Grep Frontend</guilabel> plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevoutputviews/</filename> &mdash; provides the <guimenuitem>Next Error</guimenuitem> and <guimenuitem>Previous Error</guimenuitem> entries in the <guimenu>View</guimenu> menu.</para> <para><filename class="directory">kdevoutputviews/</filename> &mdash; provides the <guimenuitem>Next Error</guimenuitem> and <guimenuitem>Previous Error</guimenuitem> entries in the <guimenu>View</guimenu> menu.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevpartexplorer/</filename> &mdash; provides the <guimenuitem>Part Explorer</guimenuitem> entry in the <guimenu>Tools</guimenu> menu used by the <guilabel>Part Explorer Tool</guilabel> plugin.</para> <para><filename class="directory">kdevpartexplorer/</filename> &mdash; provides the <guimenuitem>Part Explorer</guimenuitem> entry in the <guimenu>Tools</guimenu> menu used by the <guilabel>Part Explorer Tool</guilabel> plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevquickopen/</filename> &mdash; provides the <guimenuitem>Quick Open File..</guimenuitem> entry in the <guimenu>File</guimenu> menu and the <guimenuitem>Quick Open Class...</guimenuitem> and <guimenuitem>Quick Open Method</guimenuitem> entries in the <guimenu>Tools</guimenu> menu used by the <guilabel>Quick Open</guilabel> project plugin.</para> <para><filename class="directory">kdevquickopen/</filename> &mdash; provides the <guimenuitem>Quick Open File..</guimenuitem> entry in the <guimenu>File</guimenu> menu and the <guimenuitem>Quick Open Class...</guimenuitem> and <guimenuitem>Quick Open Method</guimenuitem> entries in the <guimenu>Tools</guimenu> menu used by the <guilabel>Quick Open</guilabel> project plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevregexptest/</filename> &mdash; provides the <guimenuitem>Debug Regular Expression...</guimenuitem> entry in the <guimenu>Tools</guimenu> menu used by the <guilabel>Regular Expression Tester</guilabel> plugin.</para> <para><filename class="directory">kdevregexptest/</filename> &mdash; provides the <guimenuitem>Debug Regular Expression...</guimenuitem> entry in the <guimenu>Tools</guimenu> menu used by the <guilabel>Regular Expression Tester</guilabel> plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevreplace/</filename> &mdash; provides the <guimenuitem>Find-Select-Replace...</guimenuitem> entry in the <guimenu>Edit</guimenu> menu used by the <guilabel>Replace Part</guilabel> plugin.</para> <para><filename class="directory">kdevreplace/</filename> &mdash; provides the <guimenuitem>Find-Select-Replace...</guimenuitem> entry in the <guimenu>Edit</guimenu> menu used by the <guilabel>Replace Part</guilabel> plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevtipofday/</filename> &mdash;provides the <guimenuitem>Tip of the Day</guimenuitem> entry in the <guimenu>Help</guimenu> menu. The HTML-File containing the available tips is provided as a <link linkend="app-files-default-tips">default configuration file</link> only.</para> <para><filename class="directory">kdevtipofday/</filename> &mdash;provides the <guimenuitem>Tip of the Day</guimenuitem> entry in the <guimenu>Help</guimenu> menu. The HTML-File containing the available tips is provided as a <link linkend="app-files-default-tips">default configuration file</link> only.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevtools/</filename> &mdash; controls various menu entries ceated by <guimenu>Tools Menu</guimenu> and <guilabel>External Tools Menu</guilabel> settings provided by the <guilabel>Tools Menu Addition</guilabel> plugin.</para> <para><filename class="directory">kdevtools/</filename> &mdash; controls various menu entries ceated by <guimenu>Tools Menu</guimenu> and <guilabel>External Tools Menu</guilabel> settings provided by the <guilabel>Tools Menu Addition</guilabel> plugin.</para>
</listitem> </listitem>
<listitem> <listitem>
<para><filename class="directory">tdevvalgrind/</filename> &mdash; provides the <guimenuitem>Valgrind Memory Leak Check</guimenuitem> and <guimenuitem>Profile with KCachegrind</guimenuitem> entries in the <guimenu>Debug</guimenu> menu used by the <guilabel>Valgrind Frontend</guilabel> plugin.</para> <para><filename class="directory">kdevvalgrind/</filename> &mdash; provides the <guimenuitem>Valgrind Memory Leak Check</guimenuitem> and <guimenuitem>Profile with KCachegrind</guimenuitem> entries in the <guimenu>Debug</guimenu> menu used by the <guilabel>Valgrind Frontend</guilabel> plugin.</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
@ -348,35 +348,35 @@ In case the contents of these directories mirror those of the Default Configurat
There are two groups of &tdevelop; configuration files in the <filename class="directory">$<envar>TDEHOME</envar>/share/config/</filename> directory, distiguished by their surrounding character sequences: There are two groups of &tdevelop; configuration files in the <filename class="directory">$<envar>TDEHOME</envar>/share/config/</filename> directory, distiguished by their surrounding character sequences:
<simplelist> <simplelist>
<member><quote><filename>doc...pluginrc</filename></quote> denotes <link linkend="app-files-user-config-doc">files used by the documentation plugin.</link></member> <member><quote><filename>doc...pluginrc</filename></quote> denotes <link linkend="app-files-user-config-doc">files used by the documentation plugin.</link></member>
<member><quote><filename>tdev...rc</filename></quote> denotes configuration <link linkend="app-files-user-config-kdev">files used by &tdevelop;</link> itself and its available plugins.</member> <member><quote><filename>kdev...rc</filename></quote> denotes configuration <link linkend="app-files-user-config-kdev">files used by &tdevelop;</link> itself and its available plugins.</member>
</simplelist> </simplelist>
</para> </para>
<itemizedlist id="app-files-user-config-kdev"> <itemizedlist id="app-files-user-config-kdev">
<title>Configuration Files Used by &tdevelop;</title> <title>Configuration Files Used by &tdevelop;</title>
<listitem> <listitem>
<para><filename>tdevabbrevrc</filename> &mdash; holds the current state of the <guilabel>Abbreviations</guilabel> configuration provided by the <guilabel>Abbreviation Expansion</guilabel> plugin.</para> <para><filename>kdevabbrevrc</filename> &mdash; holds the current state of the <guilabel>Abbreviations</guilabel> configuration provided by the <guilabel>Abbreviation Expansion</guilabel> plugin.</para>
<note><para>This only records whether the abbreviations will be used or not. The actual definitions of new abbreviations will go into the <filename>$<envar>TDEHOME</envar>/share/apps/kdevabbrev/templates/templates</filename> file.</para></note> <note><para>This only records whether the abbreviations will be used or not. The actual definitions of new abbreviations will go into the <filename>$<envar>TDEHOME</envar>/share/apps/kdevabbrev/templates/templates</filename> file.</para></note>
</listitem> </listitem>
<listitem> <listitem>
<para><filename>tdevassistantrc</filename> &mdash; holds some configuration states specific of the stand-alone &tdevelop; Assistant documentation browser.</para> <para><filename>kdevassistantrc</filename> &mdash; holds some configuration states specific of the stand-alone &tdevelop; Assistant documentation browser.</para>
<note><para>Most common configuration settings are shared with the &tdevelop; IDE <filename>tdeveloprc</filename> file.</para></note> <note><para>Most common configuration settings are shared with the &tdevelop; IDE <filename>tdeveloprc</filename> file.</para></note>
</listitem> </listitem>
<listitem><para><filename>tdevassistantuimode4rc</filename> &mdash; holds the current MDI configuration states (dock positions &etc;) of the stand-alone &tdevelop; Assistant documentation browser.</para></listitem> <listitem><para><filename>kdevassistantuimode4rc</filename> &mdash; holds the current MDI configuration states (dock positions &etc;) of the stand-alone &tdevelop; Assistant documentation browser.</para></listitem>
<listitem> <listitem>
<para><filename>tdevclassviewrc</filename> &mdash; holds the <guilabel>View Mode</guilabel> setting of the <guilabel>Classes</guilabel> class browser tab provided by the <guilabel>Class View</guilabel> project plugin.</para> <para><filename>kdevclassviewrc</filename> &mdash; holds the <guilabel>View Mode</guilabel> setting of the <guilabel>Classes</guilabel> class browser tab provided by the <guilabel>Class View</guilabel> project plugin.</para>
<note><para>This is a global setting, although the <guilabel>Class View</guilabel> plugin may be disabled on a per project basis. Any change in this setting will be globally updated whenever the current project is closed and thus affect all subsequently loaded projects.</para></note> <note><para>This is a global setting, although the <guilabel>Class View</guilabel> plugin may be disabled on a per project basis. Any change in this setting will be globally updated whenever the current project is closed and thus affect all subsequently loaded projects.</para></note>
</listitem> </listitem>
<listitem><para><filename>tdevcppsupportrc</filename> &mdash; holds some settings used to set up CPP source files. In particular you will find the settings made on the <guilabel>C++ Class Generator</guilabel> configuration dialog in here.</para></listitem> <listitem><para><filename>kdevcppsupportrc</filename> &mdash; holds some settings used to set up CPP source files. In particular you will find the settings made on the <guilabel>C++ Class Generator</guilabel> configuration dialog in here.</para></listitem>
<listitem><para><filename>tdevdocumentationrc</filename> &mdash; holds actual settings the <guilabel>Documentation</guilabel> plugin uses.</para></listitem> <listitem><para><filename>kdevdocumentationrc</filename> &mdash; holds actual settings the <guilabel>Documentation</guilabel> plugin uses.</para></listitem>
<listitem><para><filename>tdeveloprc</filename> &mdash; holds the global settings the &tdevelop; IDE and the &tdevelop; Assistant stand-alone documentation browser will use.</para></listitem> <listitem><para><filename>tdeveloprc</filename> &mdash; holds the global settings the &tdevelop; IDE and the &tdevelop; Assistant stand-alone documentation browser will use.</para></listitem>
<listitem><para><filename>tdevelopuimode4rc</filename> &mdash; holds the current MDI configuration states (dock positions &etc;) of the &tdevelop; IDE.</para></listitem> <listitem><para><filename>tdevelopuimode4rc</filename> &mdash; holds the current MDI configuration states (dock positions &etc;) of the &tdevelop; IDE.</para></listitem>
<listitem><para><filename>tdevfileselectorrc</filename> &mdash; holds actual settings the <guilabel>File Selector</guilabel> plugin uses.</para></listitem> <listitem><para><filename>kdevfileselectorrc</filename> &mdash; holds actual settings the <guilabel>File Selector</guilabel> plugin uses.</para></listitem>
<listitem><para><filename>tdevfileviewrc</filename> &mdash; holds the actual filename color settings the <guilabel>CVS Integration (Cervisia)</guilabel> project plugin uses for display.</para></listitem> <listitem><para><filename>kdevfileviewrc</filename> &mdash; holds the actual filename color settings the <guilabel>CVS Integration (Cervisia)</guilabel> project plugin uses for display.</para></listitem>
<listitem><para><filename>tdevfilterrc</filename> &mdash; holds actual settings the <guilabel>Shell Filtering and Insertion</guilabel> plugin uses.</para></listitem> <listitem><para><filename>kdevfilterrc</filename> &mdash; holds actual settings the <guilabel>Shell Filtering and Insertion</guilabel> plugin uses.</para></listitem>
<listitem><para><filename>tdevgrepviewrc</filename> &mdash; holds actual settings the <guilabel>Grep Frontend</guilabel> plugin uses.</para></listitem> <listitem><para><filename>kdevgrepviewrc</filename> &mdash; holds actual settings the <guilabel>Grep Frontend</guilabel> plugin uses.</para></listitem>
<listitem><para><filename>tdevsnippetrc</filename> &mdash; holds actual settings the <guilabel>Code Snippets</guilabel> plugin uses.</para></listitem> <listitem><para><filename>kdevsnippetrc</filename> &mdash; holds actual settings the <guilabel>Code Snippets</guilabel> plugin uses.</para></listitem>
<listitem><para><filename>tdevtoolsrc</filename> &mdash; holds actual settings the <guilabel>Tools Menu Addition</guilabel> plugin uses.</para></listitem> <listitem><para><filename>kdevtoolsrc</filename> &mdash; holds actual settings the <guilabel>Tools Menu Addition</guilabel> plugin uses.</para></listitem>
</itemizedlist> </itemizedlist>
<itemizedlist id="app-files-user-config-doc"> <itemizedlist id="app-files-user-config-doc">
@ -385,7 +385,7 @@ There are two groups of &tdevelop; configuration files in the <filename class="d
<listitem><para><filename>doccustompluginrc</filename> &mdash; holds information about any custom documentation file defined on the <guilabel>Custom Documentation Collection</guilabel> configuration page.</para></listitem> <listitem><para><filename>doccustompluginrc</filename> &mdash; holds information about any custom documentation file defined on the <guilabel>Custom Documentation Collection</guilabel> configuration page.</para></listitem>
<listitem><para><filename>docdevhelppluginrc</filename> &mdash; holds information about the actual GNOME 2 DevHelp documentation files as defined on the <guilabel>Devhelp Documentation Collection</guilabel> configuration page.</para></listitem> <listitem><para><filename>docdevhelppluginrc</filename> &mdash; holds information about the actual GNOME 2 DevHelp documentation files as defined on the <guilabel>Devhelp Documentation Collection</guilabel> configuration page.</para></listitem>
<listitem><para><filename>docdoxygenpluginrc</filename> &mdash; holds information about the actual Doxygen generated API documentations as defined on the <guilabel>Doxygen Documentation Collection</guilabel> configuration page.</para></listitem> <listitem><para><filename>docdoxygenpluginrc</filename> &mdash; holds information about the actual Doxygen generated API documentations as defined on the <guilabel>Doxygen Documentation Collection</guilabel> configuration page.</para></listitem>
<listitem><para><filename>doctdevtocpluginrc</filename> &mdash; holds information about the actual TDevelopTOC structured documentation files as defined on the <guilabel>TDevelopTOC Documentation Collection</guilabel> configuration page.</para></listitem> <listitem><para><filename>dockdevtocpluginrc</filename> &mdash; holds information about the actual KDevelopTOC structured documentation files as defined on the <guilabel>KDevelopTOC Documentation Collection</guilabel> configuration page.</para></listitem>
<listitem><para><filename>docqtpluginrc</filename> &mdash; holds information about the QT documentation files actually included on the <guilabel> Documentation Collection</guilabel>Qt configuration page.</para></listitem> <listitem><para><filename>docqtpluginrc</filename> &mdash; holds information about the QT documentation files actually included on the <guilabel> Documentation Collection</guilabel>Qt configuration page.</para></listitem>
</itemizedlist> </itemizedlist>

@ -78,7 +78,7 @@ box.</para></listitem>
<guimenuitem>Open Recent</guimenuitem> <guimenuitem>Open Recent</guimenuitem>
</menuchoice></term> </menuchoice></term>
<listitem><para>Displays a submenu showing the files recently opened. <listitem><para>Displays a submenu showing the files recently opened.
Selecting one of these will make TDevelop open that file. Selecting one of these will make KDevelop open that file.
</para></listitem> </para></listitem>
</varlistentry> </varlistentry>
@ -229,7 +229,7 @@ and re-open the current one.
<guimenu>File</guimenu> <guimenu>File</guimenu>
<guimenuitem>Quit</guimenuitem> <guimenuitem>Quit</guimenuitem>
</menuchoice></term> </menuchoice></term>
<listitem><para>Close TDevelop.</para></listitem> <listitem><para>Close KDevelop.</para></listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
@ -1666,7 +1666,7 @@ Execute Command...
</menuchoice></term> </menuchoice></term>
<listitem><para> <listitem><para>
Filters selection through external command using Filters selection through external command using
<link linkend="TDevFilter">the Filter plugin</link>. <link linkend="KDevFilter">the Filter plugin</link>.
</para></listitem> </para></listitem>
</varlistentry> </varlistentry>
@ -1840,10 +1840,10 @@ Configure Editor...
<varlistentry> <varlistentry>
<term><menuchoice> <term><menuchoice>
<guimenu>Settings</guimenu> <guimenu>Settings</guimenu>
<guimenuitem>Configure TDevelop...</guimenuitem> <guimenuitem>Configure KDevelop...</guimenuitem>
</menuchoice></term> </menuchoice></term>
<listitem><para> <listitem><para>
Configure TDevelop... Configure KDevelop...
</para></listitem> </para></listitem>
</varlistentry> </varlistentry>
@ -1866,7 +1866,7 @@ Configure TDevelop...
<varlistentry> <varlistentry>
<term><menuchoice> <term><menuchoice>
<guimenu>Help</guimenu> <guimenu>Help</guimenu>
<guimenuitem>TDevelop Handbook</guimenuitem> <guimenuitem>KDevelop Handbook</guimenuitem>
</menuchoice></term> </menuchoice></term>
<listitem><para>View this document.</para></listitem> <listitem><para>View this document.</para></listitem>
</varlistentry> </varlistentry>
@ -1960,10 +1960,10 @@ Info Page...
<varlistentry> <varlistentry>
<term><menuchoice> <term><menuchoice>
<guimenu>Help</guimenu> <guimenu>Help</guimenu>
<guimenuitem>About TDevelop...</guimenuitem> <guimenuitem>About KDevelop...</guimenuitem>
</menuchoice></term> </menuchoice></term>
<listitem><para>Display some brief information about <listitem><para>Display some brief information about
TDevelop's version number, authors and license agreement.</para></listitem> KDevelop's version number, authors and license agreement.</para></listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>

@ -77,7 +77,7 @@ already did switch to another user interface mode some items may not be there as
described or will behave slightly different. If in doubt which user interface described or will behave slightly different. If in doubt which user interface
mode your &tdevelop; currently uses, check with the mode your &tdevelop; currently uses, check with the
<menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure <menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure
TDevelop...</guimenuitem> <guimenuitem>User Interface</guimenuitem></menuchoice> KDevelop...</guimenuitem> <guimenuitem>User Interface</guimenuitem></menuchoice>
dialog.</para> dialog.</para>
</note> </note>
@ -416,7 +416,7 @@ and plugged-in tools to extend the basic &IDE; capabilities. The
<para>The upper set of <guimenu>Tools</guimenu> menu entries will be provided by <para>The upper set of <guimenu>Tools</guimenu> menu entries will be provided by
the editor plugin which is in use. You may select your favorite editor via the editor plugin which is in use. You may select your favorite editor via
<menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure <menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure
TDevelop...</guimenuitem> <guilabel>Editor</guilabel></menuchoice>. Once an KDevelop...</guimenuitem> <guilabel>Editor</guilabel></menuchoice>. Once an
editable document file is selected, the upper part of the editable document file is selected, the upper part of the
<guimenu>Tools</guimenu> menu will provide advanced editing commands specific to <guimenu>Tools</guimenu> menu will provide advanced editing commands specific to
the editor part in use.</para> the editor part in use.</para>
@ -452,10 +452,10 @@ Also, you can configure shortcuts, toolbars, notifications, the editor and
<varlistentry> <varlistentry>
<term><guimenu>Help</guimenu></term> <term><guimenu>Help</guimenu></term>
<listitem> <listitem>
<para>Here you can open this TDevelop manual, look up terms in various <para>Here you can open this KDevelop manual, look up terms in various
documentation files, open man pages (the traditional UNIX manual format) and documentation files, open man pages (the traditional UNIX manual format) and
info pages (the GNU manual format). Furthermore you can report bugs here or get info pages (the GNU manual format). Furthermore you can report bugs here or get
some info about your current TDevelop version and its authors.</para> some info about your current KDevelop version and its authors.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
@ -497,7 +497,7 @@ different main purpose.</para>
actual work. More tools to work on that project will be available then. The actual work. More tools to work on that project will be available then. The
actual number of tool views depends on the <link linkend="plugin-tools">Plugin actual number of tool views depends on the <link linkend="plugin-tools">Plugin
Tools</link> being currently available to &tdevelop;. You will find more on this Tools</link> being currently available to &tdevelop;. You will find more on this
topic in the <link linkend="setup">Configuring TDevelop</link> chapter.</para> topic in the <link linkend="setup">Configuring KDevelop</link> chapter.</para>
<para>Currently, with no project open and the default number of plugin tools <para>Currently, with no project open and the default number of plugin tools
loaded, you will find the following tool views. Clicking on a tab will open loaded, you will find the following tool views. Clicking on a tab will open
@ -627,7 +627,7 @@ adjusted.</para>
<note> <note>
<para>If you want to know more about &tdevelop; configuration, have a look at <para>If you want to know more about &tdevelop; configuration, have a look at
the <link linkend="setup">Configuring TDevelop</link> chapter.</para> the <link linkend="setup">Configuring KDevelop</link> chapter.</para>
</note> </note>
<sect2 id="gettingstarted-configure-general"> <sect2 id="gettingstarted-configure-general">
@ -635,8 +635,8 @@ the <link linkend="setup">Configuring TDevelop</link> chapter.</para>
<para>To configure &tdevelop;, click the <para>To configure &tdevelop;, click the
<menuchoice><guimenu>Settings</guimenu></menuchoice> menu and select <menuchoice><guimenu>Settings</guimenu></menuchoice> menu and select
<menuchoice><guimenuitem>Configure TDevelop...</guimenuitem></menuchoice>. The <menuchoice><guimenuitem>Configure KDevelop...</guimenuitem></menuchoice>. The
<guilabel>Configure TDevelop</guilabel> dialog will pop up, showing the <guilabel>Configure KDevelop</guilabel> dialog will pop up, showing the
following <guilabel>General</guilabel> settings page to the right.</para> following <guilabel>General</guilabel> settings page to the right.</para>
<screenshot> <screenshot>
@ -770,7 +770,7 @@ mandatory that the <emphasis>KDELibs Apidocs</emphasis> were present when
perform the <link linkend="gettingstarted-edit-defs">identifier lookup perform the <link linkend="gettingstarted-edit-defs">identifier lookup
examples</link> later in this chapter, make sure that this documentation exists examples</link> later in this chapter, make sure that this documentation exists
and is accessible to &tdevelop;. See <link linkend="tdevelop-install">Installing and is accessible to &tdevelop;. See <link linkend="tdevelop-install">Installing
TDevelop</link> fore more detail.</para> KDevelop</link> fore more detail.</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
</note> </note>
@ -1127,7 +1127,7 @@ and <filename>hello.kdevses</filename>.</para>
<para>Of particular importance in each project is the <para>Of particular importance in each project is the
<filename>xxx.tdevelop</filename> (where <quote>xxx</quote> denotes the project <filename>xxx.tdevelop</filename> (where <quote>xxx</quote> denotes the project
name) file. It is the main <emphasis>TDevelop 3 Project File</emphasis> and name) file. It is the main <emphasis>KDevelop 3 Project File</emphasis> and
needed if you later want load this project into the &IDE;.</para> needed if you later want load this project into the &IDE;.</para>
<warning> <warning>
@ -1789,7 +1789,7 @@ this behavior.</para>
<procedure> <procedure>
<step> <step>
<para>Select <menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure <para>Select <menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure
TDevelop...</guimenuitem></menuchoice></para> KDevelop...</guimenuitem></menuchoice></para>
</step> </step>
<step> <step>
<para>In the left hand icon bar on the dialog popup click the <guilabel>User <para>In the left hand icon bar on the dialog popup click the <guilabel>User

@ -76,7 +76,7 @@ Entries which require special treatment are marked with comments starting with '
<book lang="&language;"> <book lang="&language;">
<bookinfo> <bookinfo>
<title>&tdevelop; Handbook</title> <title>&tdevelop; User Manual</title>
<date>2006-06-19</date> <date>2006-06-19</date>
<releaseinfo>&kdevrelease;</releaseinfo> <releaseinfo>&kdevrelease;</releaseinfo>

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

@ -37,7 +37,7 @@ smaller tool view tabs in IDEAl Mode</link></term>
<para>By default &tdevelop; starts with large text-based tool tip tabs <para>By default &tdevelop; starts with large text-based tool tip tabs
around the work area. You may change this look to &eg; save space in the around the work area. You may change this look to &eg; save space in the
&tdevelop; configuration dialog (<menuchoice><guimenu>Settings</guimenu> &tdevelop; configuration dialog (<menuchoice><guimenu>Settings</guimenu>
<guimenuitem>Configure TDevelop...</guimenuitem> <guimenuitem>User <guimenuitem>Configure KDevelop...</guimenuitem> <guimenuitem>User
Interface</guimenuitem></menuchoice>).</para> Interface</guimenuitem></menuchoice>).</para>
<para>If you use an older &tdevelop; 3 version, this configuration dialog <para>If you use an older &tdevelop; 3 version, this configuration dialog
may not be available. To change the toolview tabs display manually, place a may not be available. To change the toolview tabs display manually, place a

@ -14,11 +14,11 @@ For example, in the file menu there is a Quick Open feature, but only if
it's enabled in the Project - Project Options dialog. it's enabled in the Project - Project Options dialog.
</para> </para>
<para>Technically, plugins are based on the TDevPlugin class defined in <para>Technically, plugins are based on the KDevPlugin class defined in
lib/interfaces/kdevplugin.h. The following is taken from a comment from there.</para> lib/interfaces/kdevplugin.h. The following is taken from a comment from there.</para>
<para> <para>
TDevPlugin is the base class for all TDevelop plugins. KDevPlugin is the base class for all TDevelop plugins.
A plugin is a component which is loaded into TDevelop shell at startup or by request. A plugin is a component which is loaded into TDevelop shell at startup or by request.
A plugin has a scope that can be either: A plugin has a scope that can be either:
<itemizedlist> <itemizedlist>
@ -32,7 +32,7 @@ A plugin has a scope that can be either:
are not selectable by user in plugin configuration pages.</para> are not selectable by user in plugin configuration pages.</para>
<para>Global plugins are plugins which require only shell to be loaded and do not operate on <para>Global plugins are plugins which require only shell to be loaded and do not operate on
TDevProject interface and/or do not use project wide information. KDevProject interface and/or do not use project wide information.
For example, the uimode plugin allows a developer to select which user interface they wish to use. For example, the uimode plugin allows a developer to select which user interface they wish to use.
</para> </para>
@ -43,13 +43,13 @@ The Automake Manager, for example, only needs to be active when an Automake base
<para>As stated above, core plugins cannot be disabled. Global plugins can be <para>As stated above, core plugins cannot be disabled. Global plugins can be
enabled/disabled in <menuchoice><guimenu>Settings</guimenu> enabled/disabled in <menuchoice><guimenu>Settings</guimenu>
<guimenuitem>Configure TDevelop...</guimenuitem></menuchoice> <guimenuitem>Configure KDevelop...</guimenuitem></menuchoice>
under <guibutton>Plugins</guibutton>. under <guibutton>Plugins</guibutton>.
Project plugins can be Project plugins can be
enabled/disabled in <menuchoice><guimenu>Project</guimenu> enabled/disabled in <menuchoice><guimenu>Project</guimenu>
<guimenuitem>Project Options...</guimenuitem></menuchoice> <guimenuitem>Project Options...</guimenuitem></menuchoice>
under <guibutton>Plugins</guibutton>. under <guibutton>Plugins</guibutton>.
Active plugins can have many effects on TDevelop. Active plugins can have many effects on KDevelop.
Depending on their function, they may add extra menus, extra menu items, extra tool buttons, etc. Depending on their function, they may add extra menus, extra menu items, extra tool buttons, etc.
</para> </para>
@ -67,13 +67,13 @@ it is because the plugin authors made them this way.</para>
<para>Scope: Core</para> <para>Scope: Core</para>
<itemizedlist> <itemizedlist>
<listitem><formalpara id="TDevAppWizard"> <listitem><formalpara id="KDevAppWizard">
<title>Application Wizard</title> <title>Application Wizard</title>
<para>Application Wizard</para></formalpara></listitem> <para>Application Wizard</para></formalpara></listitem>
<listitem><formalpara id="TDevDiff"> <listitem><formalpara id="KDevDiff">
<title>Difference Viewer</title> <title>Difference Viewer</title>
<para>Difference Viewer</para></formalpara></listitem> <para>Difference Viewer</para></formalpara></listitem>
<listitem><formalpara id="TDevFileCreate"> <listitem><formalpara id="KDevFileCreate">
<title>FileCreate</title> <title>FileCreate</title>
<para>FileCreate</para></formalpara></listitem> <para>FileCreate</para></formalpara></listitem>
<listitem><formalpara id="KDevFullScreen"> <listitem><formalpara id="KDevFullScreen">
@ -85,7 +85,7 @@ it is because the plugin authors made them this way.</para>
<listitem><formalpara id="KDevUIChooser"> <listitem><formalpara id="KDevUIChooser">
<title>User-Interface Selection</title> <title>User-Interface Selection</title>
<para>Provides a dialog for UI-mode selection.</para></formalpara></listitem> <para>Provides a dialog for UI-mode selection.</para></formalpara></listitem>
<listitem><formalpara id="TDevVCSManager"> <listitem><formalpara id="KDevVCSManager">
<title>VCSManager</title> <title>VCSManager</title>
<para>Version Control System Manager </para></formalpara></listitem> <para>Version Control System Manager </para></formalpara></listitem>
</itemizedlist> </itemizedlist>
@ -95,13 +95,13 @@ it is because the plugin authors made them this way.</para>
<listitem><formalpara id="KDevAbbrev"> <listitem><formalpara id="KDevAbbrev">
<title>Abbreviation Expansion</title> <title>Abbreviation Expansion</title>
<para>Provides support for customizable abbreviations - short words which expand into commonly needed code structures.</para></formalpara></listitem> <para>Provides support for customizable abbreviations - short words which expand into commonly needed code structures.</para></formalpara></listitem>
<listitem><formalpara id="TDevDocumentation"> <listitem><formalpara id="KDevDocumentation">
<title>Documentation</title> <title>Documentation</title>
<para>The Documentation plugin offers browsing and searching in local and online documentation with support for multiple documentation systems.</para></formalpara></listitem> <para>The Documentation plugin offers browsing and searching in local and online documentation with support for multiple documentation systems.</para></formalpara></listitem>
<listitem><formalpara id="KDevfilelist"> <listitem><formalpara id="KDevfilelist">
<title>FileList</title> <title>FileList</title>
<para>Provides a list of all currently open files. (Handy when the tab bar is not quite wide enough.)</para></formalpara></listitem> <para>Provides a list of all currently open files. (Handy when the tab bar is not quite wide enough.)</para></formalpara></listitem>
<listitem><formalpara id="TDevFileSelector"> <listitem><formalpara id="KDevFileSelector">
<title>File Selector</title> <title>File Selector</title>
<para>Powerful network transparent file browser utility.</para></formalpara></listitem> <para>Powerful network transparent file browser utility.</para></formalpara></listitem>
<listitem><formalpara> <listitem><formalpara>
@ -109,14 +109,14 @@ it is because the plugin authors made them this way.</para>
<para>Provides a way of manipulating editor text using commandline tools. Appears in the Tools menu.</para></formalpara></listitem> <para>Provides a way of manipulating editor text using commandline tools. Appears in the Tools menu.</para></formalpara></listitem>
<listitem><formalpara id="KDevGrepView"> <listitem><formalpara id="KDevGrepView">
<title>Grep Frontend</title> <title>Grep Frontend</title>
<para>Integrates "find|grep" in TDevelop - allows fast searching of multiple files using patterns or regular expressions.</para></formalpara></listitem> <para>Integrates "find|grep" in KDevelop - allows fast searching of multiple files using patterns or regular expressions.</para></formalpara></listitem>
<listitem><formalpara id="KDevKonsoleView"> <listitem><formalpara id="KDevKonsoleView">
<title>Embedded Konsole</title> <title>Embedded Konsole</title>
<para>This plugin gives TDevelop an embedded konsole for quick and easy command line access.</para></formalpara></listitem> <para>This plugin gives KDevelop an embedded konsole for quick and easy command line access.</para></formalpara></listitem>
<listitem><formalpara id="KDevOpenWith"> <listitem><formalpara id="KDevOpenWith">
<title>"Open with" Menu Addon</title> <title>"Open with" Menu Addon</title>
<para>This plugin provides additional "open" alternatives for various context menus in TDevelop.</para></formalpara></listitem> <para>This plugin provides additional "open" alternatives for various context menus in KDevelop.</para></formalpara></listitem>
<listitem><formalpara id="TDevPartExplorer"> <listitem><formalpara id="KDevPartExplorer">
<title>Part Explorer Tool</title> <title>Part Explorer Tool</title>
<para>A Graphical tool for performing TDETrader-like queries about registered services</para></formalpara></listitem> <para>A Graphical tool for performing TDETrader-like queries about registered services</para></formalpara></listitem>
<listitem><formalpara id="KDevRegexpTest"> <listitem><formalpara id="KDevRegexpTest">
@ -127,7 +127,7 @@ it is because the plugin authors made them this way.</para>
<para>This plugin is an interactive projectwide "Search and Replace" tool. Search using string or regexp matching, and select the replacements to be made from a preview before the action is finalized. When loaded it appears in the Edit menu.</para></formalpara></listitem> <para>This plugin is an interactive projectwide "Search and Replace" tool. Search using string or regexp matching, and select the replacements to be made from a preview before the action is finalized. When loaded it appears in the Edit menu.</para></formalpara></listitem>
<listitem><formalpara id="KDevscripting"> <listitem><formalpara id="KDevscripting">
<title>Scripting</title> <title>Scripting</title>
<para>The Scripting plugin offers KScript based scripting of the TDevelop application</para></formalpara></listitem> <para>The Scripting plugin offers KScript based scripting of the KDevelop application</para></formalpara></listitem>
<listitem><formalpara id="Code_Snippets"> <listitem><formalpara id="Code_Snippets">
<title>Code Snippets</title> <title>Code Snippets</title>
<para>This plugin allows you to store code snippets and add them to your code</para></formalpara></listitem> <para>This plugin allows you to store code snippets and add them to your code</para></formalpara></listitem>
@ -242,13 +242,13 @@ templates than for &Java;.
<para> <para>
The set of code templates is configurable. If the plugin is enabled, you can see The set of code templates is configurable. If the plugin is enabled, you can see
which ones are available in the <menuchoice><guimenu>Settings</guimenu> which ones are available in the <menuchoice><guimenu>Settings</guimenu>
<guimenuitem>Configure TDevelop...</guimenuitem></menuchoice> <guimenuitem>Configure KDevelop...</guimenuitem></menuchoice>
dialog under <guibutton>Abbreviations</guibutton>. dialog under <guibutton>Abbreviations</guibutton>.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<formalpara id="TDevFilter"> <formalpara id="KDevFilter">
<title>The <command>filter</command> Plugin</title> <title>The <command>filter</command> Plugin</title>
<indexterm zone="plugin-tools"><primary><command>filter</command></primary></indexterm> <indexterm zone="plugin-tools"><primary><command>filter</command></primary></indexterm>

@ -42,10 +42,10 @@
</sect2> <!-- loading-project --> </sect2> <!-- loading-project -->
<sect2 id="converting-projects"> <sect2 id="converting-projects">
<title>Converting Old TDevelop Project Files</title> <title>Converting Old KDevelop Project Files</title>
<para> <para>
&tdevelop; allows you to open old TDevelop 2.x project files and convert them to &tdevelop; files. To do so go to <guimenuitem>Open Project...</guimenuitem> and select <guilabel>TDevelop 2 project files</guilabel> in the <guilabel>Filter:</guilabel>. Then select project file you want to open. The project gets converted to &tdevelop; and saved as a <guilabel>&tdevelop; project file</guilabel>. &tdevelop; allows you to open old KDevelop 2.x project files and convert them to &tdevelop; files. To do so go to <guimenuitem>Open Project...</guimenuitem> and select <guilabel>KDevelop 2 project files</guilabel> in the <guilabel>Filter:</guilabel>. Then select project file you want to open. The project gets converted to &tdevelop; and saved as a <guilabel>&tdevelop; project file</guilabel>.
</para> </para>
</sect2> <!-- converting-projects --> </sect2> <!-- converting-projects -->

@ -271,14 +271,14 @@ This let you choose the way you want <filename>.ui</filename> files to be displa
</para><para>This uses &tdevelop; own designer embedded within &tdevelop;</para></listitem> </para><para>This uses &tdevelop; own designer embedded within &tdevelop;</para></listitem>
<listitem><para> <listitem><para>
Run &tdevelop;'s designer as a separate application Run &tdevelop;'s designer as a separate application
</para><para>The TDevDesigner application will be run separately in its own window.</para> </para><para>The KDevDesigner application will be run separately in its own window.</para>
<screenshot> <screenshot>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="tdevdesigner.png" format="PNG"/> <imagedata fileref="kdevdesigner.png" format="PNG"/>
</imageobject> </imageobject>
<caption><para> <caption><para>
TDevDesigner in its own window KDevDesigner in its own window
</para></caption> </para></caption>
</mediaobject> </mediaobject>
</screenshot> </screenshot>
@ -294,7 +294,7 @@ Run Qt Designer
<term id="terminal-emulation"><guilabel>Terminal Emulation</guilabel></term> <term id="terminal-emulation"><guilabel>Terminal Emulation</guilabel></term>
<listitem> <listitem>
<para> <para>
You choose here which terminal you want to be integrated within TDevelop. You choose here which terminal you want to be integrated within KDevelop.
</para> </para>
<itemizedlist> <itemizedlist>
<listitem><para> <listitem><para>
@ -349,7 +349,7 @@ A typical example of this user interface mode is Borland Delphi 6.0.</para></lis
</itemizedlist> </itemizedlist>
<para> <para>
To switch the user interface mode select <menuchoice> <guimenu>Settings</guimenu> <guimenuitem>Configure &tdevelop;...</guimenuitem> </menuchoice> from the menus. The <guilabel>Customize TDevelop</guilabel> dialog will pop up, where you have to select <guilabel>User Interface</guilabel> in the left hand tree. This will display the following settings dialog to the right.</para> To switch the user interface mode select <menuchoice> <guimenu>Settings</guimenu> <guimenuitem>Configure &tdevelop;...</guimenuitem> </menuchoice> from the menus. The <guilabel>Customize KDevelop</guilabel> dialog will pop up, where you have to select <guilabel>User Interface</guilabel> in the left hand tree. This will display the following settings dialog to the right.</para>
<screenshot> <screenshot>
<mediaobject> <mediaobject>
@ -524,7 +524,7 @@ The active toolview window must be shown fixed (non-overlap mode), sharing the w
<sect2 id="setup-editor"> <sect2 id="setup-editor">
<title>Selecting an Editor</title> <title>Selecting an Editor</title>
<para>&tdevelop; allows you to select your favorite text editor tool. Mark the <guilabel>Editor</guilabel> entry in the left hand side selections tree of the <guilabel>Configure TDevelop</guilabel> window. The following dialog will be displayed to the right. <para>&tdevelop; allows you to select your favorite text editor tool. Mark the <guilabel>Editor</guilabel> entry in the left hand side selections tree of the <guilabel>Configure KDevelop</guilabel> window. The following dialog will be displayed to the right.
</para> </para>
<screenshot> <screenshot>
@ -568,7 +568,7 @@ Changing the editor will not effect already open files. There are two possibilit
</para></note> </para></note>
<important id="setup-editor-tdeparts"><para> <important id="setup-editor-tdeparts"><para>
TDevelop lets you use editor interfaces which have registered with &kde; and that provide a KatePart interface. If you miss one one of the selections shown above check your &kde; installation if the corresponding KPart was correctly installed. KDevelop lets you use editor interfaces which have registered with &kde; and that provide a KatePart interface. If you miss one one of the selections shown above check your &kde; installation if the corresponding KPart was correctly installed.
</para></important> </para></important>
<para>What to do if the file has been changed externally:</para> <para>What to do if the file has been changed externally:</para>
@ -663,7 +663,7 @@ The reformat source feature is currently available for C, C++, and &Java; only.
</para></note> </para></note>
<para> <para>
To set up a specific format style, select <menuchoice> <guimenu>Settings</guimenu> <guimenuitem>Configure &tdevelop;..</guimenuitem> </menuchoice> from the menubar. The <guilabel>Customize TDevelop</guilabel> dialog will pop up, where you have to select <guilabel>Source Formatter</guilabel> in the left hand tree. This will display a series of three settings dialog tabs to the right, namely a <link linkend="setup-format-general">General Formatting Setup</link>, a <link linkend="setup-format-indent">Indentation Style Setup</link>, and a <link linkend="setup-format-other">Other Formatting Setup</link>. To set up a specific format style, select <menuchoice> <guimenu>Settings</guimenu> <guimenuitem>Configure &tdevelop;..</guimenuitem> </menuchoice> from the menubar. The <guilabel>Customize KDevelop</guilabel> dialog will pop up, where you have to select <guilabel>Source Formatter</guilabel> in the left hand tree. This will display a series of three settings dialog tabs to the right, namely a <link linkend="setup-format-general">General Formatting Setup</link>, a <link linkend="setup-format-indent">Indentation Style Setup</link>, and a <link linkend="setup-format-other">Other Formatting Setup</link>.
</para> </para>
<tip><para> <tip><para>
@ -997,7 +997,7 @@ split a long line apart. For C/C++ code this can be controlled here.</para>
<title>Setting Up the Code Snippets Tool</title> <title>Setting Up the Code Snippets Tool</title>
<para> <para>
When editing in &tdevelop; you can store often used parts of code as <link linkend="editing-snippets">Code Snippets</link>. To configure the capabilities of the code snippets part select <menuchoice> <guimenu>Settings</guimenu> <guimenuitem>Configure &tdevelop;..</guimenuitem> </menuchoice> from the menubar. The <guilabel>Customize TDevelop</guilabel> dialog will pop up, where you have to select <guilabel>Code Snippets</guilabel> in the left hand tree. This will show the following dialog in the right hand side. When editing in &tdevelop; you can store often used parts of code as <link linkend="editing-snippets">Code Snippets</link>. To configure the capabilities of the code snippets part select <menuchoice> <guimenu>Settings</guimenu> <guimenuitem>Configure &tdevelop;..</guimenuitem> </menuchoice> from the menubar. The <guilabel>Customize KDevelop</guilabel> dialog will pop up, where you have to select <guilabel>Code Snippets</guilabel> in the left hand tree. This will show the following dialog in the right hand side.
</para> </para>
<screenshot> <screenshot>
@ -1089,7 +1089,7 @@ system.
<para>The behaviour of the <guilabel>File Selector</guilabel> can be highly <para>The behaviour of the <guilabel>File Selector</guilabel> can be highly
configured. Select <menuchoice> <guimenu>Settings</guimenu> configured. Select <menuchoice> <guimenu>Settings</guimenu>
<guimenuitem>Configure &tdevelop;..</guimenuitem> </menuchoice> from the <guimenuitem>Configure &tdevelop;..</guimenuitem> </menuchoice> from the
menubar. The <guilabel>Customize TDevelop</guilabel> dialog will pop up, menubar. The <guilabel>Customize KDevelop</guilabel> dialog will pop up,
where you have to select <guilabel>File Selector</guilabel> in the left hand where you have to select <guilabel>File Selector</guilabel> in the left hand
tree. This will show the following dialog in the right hand side.</para> tree. This will show the following dialog in the right hand side.</para>
@ -1330,7 +1330,7 @@ If &tdevelop; was automatically restarted by the &kde; session manager the chang
</para></note> </para></note>
<para> <para>
You may set up contents and behaviour of the various parts of this documentation window if you select <menuchoice> <guimenu>Settings</guimenu> <guimenuitem>Configure &tdevelop;..</guimenuitem> </menuchoice> from the menubar. The <guilabel>Customize TDevelop</guilabel> dialog will pop up, where you have to select <guilabel>Documentation</guilabel> in the left hand window. You may set up contents and behaviour of the various parts of this documentation window if you select <menuchoice> <guimenu>Settings</guimenu> <guimenuitem>Configure &tdevelop;..</guimenuitem> </menuchoice> from the menubar. The <guilabel>Customize KDevelop</guilabel> dialog will pop up, where you have to select <guilabel>Documentation</guilabel> in the left hand window.
</para> </para>
<para> <para>
@ -1662,10 +1662,10 @@ You must put the &API; of your current project into this <guilabel>Doxygen Docum
</sect3> <!-- setup-docu-general-dox --> </sect3> <!-- setup-docu-general-dox -->
<sect3 id="setup-docu-general-toc"> <sect3 id="setup-docu-general-toc">
<title>Handling Structured Documentation (TDevelopTOC Files)</title> <title>Handling Structured Documentation (KDevelopTOC Files)</title>
<para> <para>
The main bulk of the &tdevelop; documentation facility provides immediate access to structured documentation, local as well as remote ones. You can configure this on the <guilabel>TDevelopTOC Documentation Collection</guilabel> page. The main bulk of the &tdevelop; documentation facility provides immediate access to structured documentation, local as well as remote ones. You can configure this on the <guilabel>KDevelopTOC Documentation Collection</guilabel> page.
</para> </para>
<screenshot> <screenshot>
@ -1674,17 +1674,17 @@ The main bulk of the &tdevelop; documentation facility provides immediate access
<imagedata fileref="configure-docu-toc.png" format="PNG"/> <imagedata fileref="configure-docu-toc.png" format="PNG"/>
</imageobject> </imageobject>
<caption><para> <caption><para>
Providing TDevelopTOC structured documentation access Providing KDevelopTOC structured documentation access
</para></caption> </para></caption>
</mediaobject> </mediaobject>
</screenshot> </screenshot>
<para> <para>
&tdevelop; comes with a bunch of predefined TDevelopTOC files which are automatically entered in the table at installation time. To keep the display manageable only the most often used will initially be marked for display. If you want to see another documentation, mark the <guilabel>TOC</guilabel> check box in the <link linkend="setup-docu-columns">setup table</link>. &tdevelop; comes with a bunch of predefined KDevelopTOC files which are automatically entered in the table at installation time. To keep the display manageable only the most often used will initially be marked for display. If you want to see another documentation, mark the <guilabel>TOC</guilabel> check box in the <link linkend="setup-docu-columns">setup table</link>.
</para> </para>
<para> <para>
TDevelopTOC files cannot be indexed to perform a full text search because they usually point to a remote location. On the other hand, such a <filename>.toc</filename> file can have an index manually defined, using the <computeroutput>&lt;index&gt;</computeroutput> tag. Thus the <guilabel>Index</guilabel> check box will be enabled ony when &tdevelop; finds an <computeroutput>&lt;index&gt;</computeroutput> tag in the <filename>.toc</filename> file. (For more detail see the description below in the <link linkend="setup-docu-general-toc-files">&tdevelop; TOC Files</link> section.) KDevelopTOC files cannot be indexed to perform a full text search because they usually point to a remote location. On the other hand, such a <filename>.toc</filename> file can have an index manually defined, using the <computeroutput>&lt;index&gt;</computeroutput> tag. Thus the <guilabel>Index</guilabel> check box will be enabled ony when &tdevelop; finds an <computeroutput>&lt;index&gt;</computeroutput> tag in the <filename>.toc</filename> file. (For more detail see the description below in the <link linkend="setup-docu-general-toc-files">&tdevelop; TOC Files</link> section.)
</para> </para>
<para> <para>
The <guilabel>Search</guilabel> check box in the <link linkend="setup-docu-columns">setup table</link> will alway be disabled. The <guilabel>Search</guilabel> check box in the <link linkend="setup-docu-columns">setup table</link> will alway be disabled.
@ -1720,7 +1720,7 @@ Such structured access is made possible through the use of special <quote>table
<term>Standard Directory of &tdevelop; TOC Files</term> <term>Standard Directory of &tdevelop; TOC Files</term>
<listitem> <listitem>
<para> <para>
When &tdevelop; was installed usually a series of predefined <filename>.toc</filename> files has been put into the <filename class="directory">$TDEDIR/share/apps/tdevdocumentation/tocs</filename> directory. These are fairly simple, structured text files. You may look at them using a text editor or other text display facility. When &tdevelop; was installed usually a series of predefined <filename>.toc</filename> files has been put into the <filename class="directory">$TDEDIR/share/apps/kdevdocumentation/tocs</filename> directory. These are fairly simple, structured text files. You may look at them using a text editor or other text display facility.
</para> </para>
</listitem> </listitem>
</varlistentry></variablelist> </varlistentry></variablelist>

@ -198,7 +198,7 @@ necessary and why you need an &IDE;.</para>
</para></listitem> </para></listitem>
--> -->
<varlistentry><term> <varlistentry><term>
<link linkend="app-uimodes-examples">TDevelop User Interface Mode Examples </link> <link linkend="app-uimodes-examples">KDevelop User Interface Mode Examples </link>
</term><listitem><para>Shows user interface modes. </term><listitem><para>Shows user interface modes.
</para></listitem></varlistentry> </para></listitem></varlistentry>

@ -699,7 +699,7 @@ The <command>tdebuildsycoca</command> command does not run from within the root.
API is the short form of <quote>Application Program Interface</quote>. Actually such an API cotains a series of descriptions (&ie; calling conventions) by which an application program can access the operating system and other services. In our context, however, a broader definition was adopted. The API of a &kde; or &Qt; application is an abstract of the classes and methods interfaces, a synopsis to be used like a dictionary to navigate the sources. API is the short form of <quote>Application Program Interface</quote>. Actually such an API cotains a series of descriptions (&ie; calling conventions) by which an application program can access the operating system and other services. In our context, however, a broader definition was adopted. The API of a &kde; or &Qt; application is an abstract of the classes and methods interfaces, a synopsis to be used like a dictionary to navigate the sources.
</para> </para>
<para> <para>
There is a version of the most current API available at the <ulink url="http://www.kdevelop.org/HEAD/doc/api/html/index.html">TDevelop-Home website</ulink>. It will be automatically updated every 24 hours so you can keep up. There is a version of the most current API available at the <ulink url="http://www.kdevelop.org/HEAD/doc/api/html/index.html">KDevelop-Home website</ulink>. It will be automatically updated every 24 hours so you can keep up.
</para> </para>
<para> <para>
Alas, this version is best used read-only over the internet. If you do not always have internet access you may as well build your own API documentation from the &tdevelop; sources. To do so, you must tell the automake system where to find the KDELIBS API in your system. This is accomplished by the special option <option>--with-tdelibsdoxy-dir</option> in the <command>configure</command> command when you prepare to compile the &tdevelop; sources: Alas, this version is best used read-only over the internet. If you do not always have internet access you may as well build your own API documentation from the &tdevelop; sources. To do so, you must tell the automake system where to find the KDELIBS API in your system. This is accomplished by the special option <option>--with-tdelibsdoxy-dir</option> in the <command>configure</command> command when you prepare to compile the &tdevelop; sources:

@ -7,12 +7,12 @@
</authorgroup> </authorgroup>
</chapterinfo> </chapterinfo>
<title>Using Scripts in TDevelop</title> <title>Using Scripts in KDevelop</title>
<sect1 id="running-scripts"> <sect1 id="running-scripts">
<title>Running Scripts</title> <title>Running Scripts</title>
<para> <para>
To access a script that is available to &tdevelop; use the <menuchoice><guimenu>Tools</guimenu><guimenuitem>Scripts</guimenuitem></menuchoice> menu. If there there is no such menu item then there are no installed scripts available to TDevelop. To access a script that is available to &tdevelop; use the <menuchoice><guimenu>Tools</guimenu><guimenuitem>Scripts</guimenuitem></menuchoice> menu. If there there is no such menu item then there are no installed scripts available to KDevelop.
</para> </para>
</sect1> </sect1>

@ -145,7 +145,7 @@
<primary>switch UI modes</primary></indexterm> <primary>switch UI modes</primary></indexterm>
<para> <para>
To switch the user interface mode select <menuchoice> <guimenu>Settings</guimenu> <guimenuitem>Configure TDevelop...</guimenuitem> </menuchoice> from the menus. The <guilabel>Customize TDevelop</guilabel> dialog will pop up, where you have to select <guilabel>User Interface</guilabel> in the left hand tree. This will display the settings page shown below. To switch the user interface mode select <menuchoice> <guimenu>Settings</guimenu> <guimenuitem>Configure KDevelop...</guimenuitem> </menuchoice> from the menus. The <guilabel>Customize KDevelop</guilabel> dialog will pop up, where you have to select <guilabel>User Interface</guilabel> in the left hand tree. This will display the settings page shown below.
</para> </para>
<screenshot> <screenshot>

@ -24,12 +24,12 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES tdeveditorchooser.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) install( FILES kdeveditorchooser.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
##### libtdeveditorchooser (module) ############# ##### libkdeveditorchooser (module) #############
tde_add_kpart( libtdeveditorchooser AUTOMOC tde_add_kpart( libkdeveditorchooser AUTOMOC
SOURCES SOURCES
editorchooser_part.cpp editchooser.ui editorchooser_widget.cpp editorchooser_part.cpp editchooser.ui editorchooser_widget.cpp
LINK tdevelop-shared LINK tdevelop-shared

@ -1,13 +1,13 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes) INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
kde_module_LTLIBRARIES = libtdeveditorchooser.la kde_module_LTLIBRARIES = libkdeveditorchooser.la
libtdeveditorchooser_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) libkdeveditorchooser_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdeveditorchooser_la_LIBADD = $(top_builddir)/lib/libtdevelop.la libkdeveditorchooser_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
libtdeveditorchooser_la_SOURCES = editorchooser_part.cpp editchooser.ui editorchooser_widget.cpp libkdeveditorchooser_la_SOURCES = editorchooser_part.cpp editchooser.ui editorchooser_widget.cpp
METASOURCES = AUTO METASOURCES = AUTO
servicedir = $(kde_servicesdir) servicedir = $(kde_servicesdir)
service_DATA = tdeveditorchooser.desktop service_DATA = kdeveditorchooser.desktop

@ -4,20 +4,20 @@
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelocale.h> #include <tdelocale.h>
#include <kdialogbase.h> #include <kdialogbase.h>
#include <tdevgenericfactory.h> #include <kdevgenericfactory.h>
#include <tdevcore.h> #include <kdevcore.h>
#include <tdevplugininfo.h> #include <kdevplugininfo.h>
#include "editorchooser_part.h" #include "editorchooser_part.h"
#include "editorchooser_widget.h" #include "editorchooser_widget.h"
typedef TDevGenericFactory<EditorChooserPart> EditorChooserFactory; typedef KDevGenericFactory<EditorChooserPart> EditorChooserFactory;
static const TDevPluginInfo data("tdeveditorchooser"); static const KDevPluginInfo data("kdeveditorchooser");
K_EXPORT_COMPONENT_FACTORY( libtdeveditorchooser, EditorChooserFactory( data ) ) K_EXPORT_COMPONENT_FACTORY( libkdeveditorchooser, EditorChooserFactory( data ) )
EditorChooserPart::EditorChooserPart(TQObject *parent, const char *name, const TQStringList &) EditorChooserPart::EditorChooserPart(TQObject *parent, const char *name, const TQStringList &)
: TDevPlugin(&data, parent, name ? name : "EditorChooserPart") : KDevPlugin(&data, parent, name ? name : "EditorChooserPart")
{ {
setInstance(EditorChooserFactory::instance()); setInstance(EditorChooserFactory::instance());

@ -3,17 +3,17 @@
*/ */
#ifndef __TDEVPART_EDITORCHOOSER_H__ #ifndef __KDEVPART_EDITORCHOOSER_H__
#define __TDEVPART_EDITORCHOOSER_H__ #define __KDEVPART_EDITORCHOOSER_H__
class KDialogBase; class KDialogBase;
#include <tdevplugin.h> #include <kdevplugin.h>
class EditorChooserPart : public TDevPlugin class EditorChooserPart : public KDevPlugin
{ {
Q_OBJECT Q_OBJECT

@ -37,14 +37,14 @@ Comment[tg]=Ба ихтиёр гузоштани гуфтугӯи интихоб
Comment[tr]=Düzenleyici seçimi için bir pencere sağlar Comment[tr]=Düzenleyici seçimi için bir pencere sağlar
Comment[zh_CN]=提供编辑器选择对话框 Comment[zh_CN]=提供编辑器选择对话框
Comment[zh_TW]=提供對話框以編輯選擇。 Comment[zh_TW]=提供對話框以編輯選擇。
Name=TDevEditorChooser Name=KDevEditorChooser
Name[da]=TDevelop Editorvælger Name[da]=TDevelop Editorvælger
Name[de]=Editor-Auswahl (TDevelop) Name[de]=Editor-Auswahl (TDevelop)
Name[hi]=के-डेव-एडिटर-चूसर Name[hi]=के-डेव-एडिटर-चूसर
Name[nds]=TDevelop-Editorutwahl Name[nds]=TDevelop-Editorutwahl
Name[ne]=केडीई विकास सम्पादक छनोटकर्ता Name[ne]=केडीई विकास सम्पादक छनोटकर्ता
Name[pl]=KDevWybórEdytora Name[pl]=KDevWybórEdytora
Name[sk]=TDevEditorVolič Name[sk]=KDevEditorVolič
Name[sv]=TDevelop editorväljare Name[sv]=TDevelop editorväljare
Name[ta]=கெடெவ் தொகுப்பாளர் தேர்வாளர் Name[ta]=கெடெவ் தொகுப்பாளர் தேர்வாளர்
Name[tg]=KDevМуҳаррирИнтихобкунанда Name[tg]=KDevМуҳаррирИнтихобкунанда
@ -85,7 +85,7 @@ GenericName[zh_CN]=编辑器选择
GenericName[zh_TW]=編輯器選擇 GenericName[zh_TW]=編輯器選擇
Icon=tdevelop Icon=tdevelop
ServiceTypes=TDevelop/Plugin ServiceTypes=TDevelop/Plugin
X-TDE-Library=libtdeveditorchooser X-TDE-Library=libkdeveditorchooser
X-TDevelop-Version=5 X-TDevelop-Version=5
X-TDevelop-Scope=Core X-TDevelop-Scope=Core
X-TDevelop-Properties=EditorChooser X-TDevelop-Properties=EditorChooser

@ -23,9 +23,9 @@ link_directories(
) )
##### tdevvisualboyadvance (module) ############# ##### kdevvisualboyadvance (module) #############
tde_add_kpart( libtdevvisualboyadvance AUTOMOC tde_add_kpart( libkdevvisualboyadvance AUTOMOC
SOURCES SOURCES
visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp
LINK tdevelop-shared LINK tdevelop-shared
@ -36,11 +36,11 @@ tde_add_kpart( libtdevvisualboyadvance AUTOMOC
##### other data ################################ ##### other data ################################
install( install(
FILES tdevvisualboyadvance.desktop FILES kdevvisualboyadvance.desktop
DESTINATION ${SERVICES_INSTALL_DIR} DESTINATION ${SERVICES_INSTALL_DIR}
) )
install( install(
FILES tdevpart_visualboyadvance.rc FILES kdevpart_visualboyadvance.rc
DESTINATION ${DATA_INSTALL_DIR}/tdevvisualboyadvance DESTINATION ${DATA_INSTALL_DIR}/kdevvisualboyadvance
) )

@ -1,17 +1,17 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces \ INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes) -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes)
kde_module_LTLIBRARIES = libtdevvisualboyadvance.la kde_module_LTLIBRARIES = libkdevvisualboyadvance.la
libtdevvisualboyadvance_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) libkdevvisualboyadvance_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevvisualboyadvance_la_LIBADD = $(top_builddir)/lib/libtdevelop.la libkdevvisualboyadvance_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
libtdevvisualboyadvance_la_SOURCES = visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp libkdevvisualboyadvance_la_SOURCES = visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp
METASOURCES = AUTO METASOURCES = AUTO
servicedir = $(kde_servicesdir) servicedir = $(kde_servicesdir)
service_DATA = tdevvisualboyadvance.desktop service_DATA = kdevvisualboyadvance.desktop
rcdir = $(kde_datadir)/tdevvisualboyadvance rcdir = $(kde_datadir)/kdevvisualboyadvance
rc_DATA = tdevpart_visualboyadvance.rc rc_DATA = kdevpart_visualboyadvance.rc

@ -79,7 +79,7 @@ GenericName[zh_CN]=VisualBoyAdvance 支持
GenericName[zh_TW]=VisualBoyAdvance 支援 GenericName[zh_TW]=VisualBoyAdvance 支援
Icon=tdevelop Icon=tdevelop
ServiceTypes=TDevelop/Plugin ServiceTypes=TDevelop/Plugin
X-TDE-Library=libtdevvisualboyadvance X-TDE-Library=libkdevvisualboyadvance
X-TDevelop-Version=5 X-TDevelop-Version=5
X-TDevelop-Scope=Project X-TDevelop-Scope=Project
Keywords=GBA Keywords=GBA

@ -4,30 +4,30 @@
#include <tqwhatsthis.h> #include <tqwhatsthis.h>
#include <tdeaction.h> #include <tdeaction.h>
#include <tdevgenericfactory.h> #include <kdevgenericfactory.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelocale.h> #include <tdelocale.h>
#include "tdevcore.h" #include "kdevcore.h"
#include "tdevproject.h" #include "kdevproject.h"
#include "tdevappfrontend.h" #include "kdevappfrontend.h"
#include "domutil.h" #include "domutil.h"
#include "tdevplugininfo.h" #include "kdevplugininfo.h"
#include "vbaconfigwidget.h" #include "vbaconfigwidget.h"
using namespace VisualBoyAdvance; using namespace VisualBoyAdvance;
typedef TDevGenericFactory<VisualBoyAdvancePart> VisualBoyAdvanceFactory; typedef KDevGenericFactory<VisualBoyAdvancePart> VisualBoyAdvanceFactory;
static const TDevPluginInfo data("tdevvisualboyadvance"); static const KDevPluginInfo data("kdevvisualboyadvance");
K_EXPORT_COMPONENT_FACTORY( libtdevvisualboyadvance, VisualBoyAdvanceFactory( data ) ) K_EXPORT_COMPONENT_FACTORY( libkdevvisualboyadvance, VisualBoyAdvanceFactory( data ) )
VisualBoyAdvancePart::VisualBoyAdvancePart(TQObject *parent, const char *name, const TQStringList &) VisualBoyAdvancePart::VisualBoyAdvancePart(TQObject *parent, const char *name, const TQStringList &)
: TDevPlugin(&data, parent, name){ : KDevPlugin(&data, parent, name){
setInstance(VisualBoyAdvanceFactory::instance()); setInstance(VisualBoyAdvanceFactory::instance());
setXMLFile("tdevpart_visualboyadvance.rc"); setXMLFile("kdevpart_visualboyadvance.rc");
TDEAction *action; TDEAction *action;
action = new TDEAction( i18n("Execute Program"), "exec", Key_F9, action = new TDEAction( i18n("Execute Program"), "exec", Key_F9,
@ -44,7 +44,7 @@ VisualBoyAdvancePart::~VisualBoyAdvancePart()
} }
void VisualBoyAdvancePart::slotExecute(){ void VisualBoyAdvancePart::slotExecute(){
TDevProject* prj = project(); KDevProject* prj = project();
TQDomDocument &doc = *projectDom(); TQDomDocument &doc = *projectDom();
TQString binary = DomUtil::readEntry(doc, "/kdevvisualadvance/binary"); TQString binary = DomUtil::readEntry(doc, "/kdevvisualadvance/binary");
TQString emulator = DomUtil::readEntry(doc, "/kdevvisualadvance/emulator"); TQString emulator = DomUtil::readEntry(doc, "/kdevvisualadvance/emulator");
@ -62,7 +62,7 @@ void VisualBoyAdvancePart::slotExecute(){
program += prj->projectDirectory() + "/" + binary; program += prj->projectDirectory() + "/" + binary;
if (TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend")) if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend"))
appFrontend->startAppCommand(TQString(), program, terminal); appFrontend->startAppCommand(TQString(), program, terminal);
} }

@ -3,15 +3,15 @@
*/ */
#ifndef __TDEVPART_VISUALBOYADVANCE_H__ #ifndef __KDEVPART_VISUALBOYADVANCE_H__
#define __TDEVPART_VISUALBOYADVANCE_H__ #define __KDEVPART_VISUALBOYADVANCE_H__
#include <tqguardedptr.h> #include <tqguardedptr.h>
#include <tdevplugin.h> #include <kdevplugin.h>
#include <kdialogbase.h> #include <kdialogbase.h>
namespace VisualBoyAdvance { namespace VisualBoyAdvance {
class VisualBoyAdvancePart : public TDevPlugin class VisualBoyAdvancePart : public KDevPlugin
{ {
Q_OBJECT Q_OBJECT

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Exec=tdevassistant %u Exec=kdevassistant %u
Icon=tdevelop Icon=tdevelop
DocPath=tdevelop/index.html DocPath=tdevelop/index.html
Terminal=false Terminal=false

@ -1,4 +1,4 @@
TDevDesigner: Alexander Dymo <adymo@mksat.net> KDevDesigner: Alexander Dymo <adymo@mksat.net>
Qt Designer Copyright: (C) 2000-2003 Trolltech AS All Rights Reserved Qt Designer Copyright: (C) 2000-2003 Trolltech AS All Rights Reserved

@ -1,25 +1,25 @@
TDevDesigner is a port of Qt Designer (code taken from Qt 3.3 distribution) to KDE technologies: KDevDesigner is a port of Qt Designer (code taken from Qt 3.3 distribution) to KDE technologies:
1) XML GUI 1) XML GUI
2) KParts 2) KParts
3) KFileDialog 3) KFileDialog
4) TDEIconLoader 4) TDEIconLoader
TDevDesigner consists of a part and a shell. KDevDesigner consists of a part and a shell.
Part can be used in Konqueror and KDevelop to edit and view ui files and projects. Part can be used in Konqueror and KDevelop to edit and view ui files and projects.
Shell loads a part with "in shell" argument so that the part can create projects and ui files. Shell loads a part with "in shell" argument so that the part can create projects and ui files.
Other important notes: Other important notes:
TDevDesignerPart is Read/Write part which ignores readonly mode. KDevDesignerPart is Read/Write part which ignores readonly mode.
Designer Editor plugins are not loaded. Designer Editor plugins are not loaded.
Available in system designer plugins are loaded if possible (tested with Qt 3.3 version). Available in system designer plugins are loaded if possible (tested with Qt 3.3 version).
TDevDesignerPart integration: KDevDesignerPart integration:
TDevDesignerPart implements KInterfaceDesigner interface (defined in tdevelop/lib/external_interfaces). KDevDesignerPart implements KInterfaceDesigner interface (defined in tdevelop/lib/external_interfaces).
WARNING: WARNING:
If you want to modify this code, try to introduce as few modifications to original Qt Designer code as possible. If you want to modify this code, try to introduce as few modifications to original Qt Designer code as possible.
Write your own classes and wrappers instead. The goal is to ease syncronization between the port and original Qt Designer. Write your own classes and wrappers instead. The goal is to ease syncronization between the port and original Qt Designer.
Feel free to modify tdevdesigner_part.h(cpp) though. Feel free to modify kdevdesigner_part.h(cpp) though.
FUTURE: FUTURE:
Trolltech promises that Qt 4 will have easilly embeddable designer. If that happens, this port will be dropped for KDevelop 4. Trolltech promises that Qt 4 will have easilly embeddable designer. If that happens, this port will be dropped for KDevelop 4.

@ -14,7 +14,7 @@ add_definitions( -DDESIGNER -UQT_NO_ASCII_CAST )
include_directories( include_directories(
${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/tdevdesigner/shared ${CMAKE_SOURCE_DIR}/kdevdesigner/shared
${CMAKE_SOURCE_DIR}/lib/interfaces/external ${CMAKE_SOURCE_DIR}/lib/interfaces/external
${TDE_INCLUDE_DIR} ${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS}
@ -28,17 +28,17 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES install( FILES
tdevdesigner_part.desktop kdevdesigner_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR} ) DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES install( FILES
tdevdesigner_part.rc tdevdesigner_part_sh.rc kdevdesigner_part.rc kdevdesigner_part_sh.rc
DESTINATION ${DATA_INSTALL_DIR}/tdevdesignerpart ) DESTINATION ${DATA_INSTALL_DIR}/kdevdesignerpart )
add_subdirectory( pics ) add_subdirectory( pics )
##### libtdevdesignerpart (module) ############## ##### libkdevdesignerpart (module) ##############
set( SRCS set( SRCS
about.ui dbconnection.ui gotolinedialog.ui about.ui dbconnection.ui gotolinedialog.ui
@ -53,7 +53,7 @@ set( SRCS
editfunctionsimpl.cpp filechooser.cpp formfile.cpp editfunctionsimpl.cpp filechooser.cpp formfile.cpp
formsettingsimpl.cpp formwindow.cpp hierarchyview.cpp formsettingsimpl.cpp formwindow.cpp hierarchyview.cpp
iconvieweditorimpl.cpp layout.cpp listboxdnd.cpp iconvieweditorimpl.cpp layout.cpp listboxdnd.cpp
tdevdesigner_part.cpp actiondnd.cpp actioneditorimpl.cpp kdevdesigner_part.cpp actiondnd.cpp actioneditorimpl.cpp
listboxeditorimpl.cpp listboxrename.cpp listdnd.cpp listboxeditorimpl.cpp listboxrename.cpp listdnd.cpp
listeditor.ui pixmapcollectioneditor.ui listviewdnd.cpp listeditor.ui pixmapcollectioneditor.ui listviewdnd.cpp
listvieweditorimpl.cpp mainwindow.cpp listvieweditor.ui listvieweditorimpl.cpp mainwindow.cpp listvieweditor.ui
@ -98,10 +98,10 @@ tde_moc( SRCS
) )
tde_add_kpart( libtdevdesignerpart AUTOMOC tde_add_kpart( libkdevdesignerpart AUTOMOC
SOURCES ${SRCS} SOURCES ${SRCS}
LINK LINK
tdevqui-static shared-static kinterfacedesigner-shared kdevqui-static shared-static kinterfacedesigner-shared
tdeio-shared tdeparts-shared tqassistantclient tdeio-shared tdeparts-shared tqassistantclient
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -2,20 +2,20 @@ SUBDIRS = pics
AM_CXXFLAGS=-DDESIGNER AM_CXXFLAGS=-DDESIGNER
KDE_CXXFLAGS=-UQT_NO_ASCII_CAST KDE_CXXFLAGS=-UQT_NO_ASCII_CAST
INCLUDES = -I$(top_srcdir)/tdevdesigner/shared \ INCLUDES = -I$(top_srcdir)/kdevdesigner/shared \
-I$(top_srcdir)/lib/interfaces/external $(all_includes) -I$(top_srcdir)/lib/interfaces/external $(all_includes)
METASOURCES = AUTO METASOURCES = AUTO
kde_module_LTLIBRARIES = libtdevdesignerpart.la kde_module_LTLIBRARIES = libkdevdesignerpart.la
libtdevdesignerpart_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries) libkdevdesignerpart_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries)
libtdevdesignerpart_la_LIBADD = \ libkdevdesignerpart_la_LIBADD = \
$(top_builddir)/tdevdesigner/uilib/libtdevqui.la $(top_builddir)/tdevdesigner/shared/libshared.la \ $(top_builddir)/kdevdesigner/uilib/libkdevqui.la $(top_builddir)/kdevdesigner/shared/libshared.la \
$(top_builddir)/lib/interfaces/external/libkinterfacedesigner.la $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltqassistantclient $(LIB_TDEFILE) $(LIB_TDEPARTS) $(top_builddir)/lib/interfaces/external/libkinterfacedesigner.la $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltqassistantclient $(LIB_TDEFILE) $(LIB_TDEPARTS)
libtdevdesignerpart_la_SOURCES = tdevdesigner_part.cpp actiondnd.cpp actioneditorimpl.cpp actionlistview.cpp asciivalidator.cpp command.cpp connectionitems.cpp connectiontable.cpp customwidgeteditorimpl.cpp database.cpp dbconnectionimpl.cpp dbconnectionsimpl.cpp defs.cpp designerapp.cpp designerappiface.cpp editfunctionsimpl.cpp filechooser.cpp formfile.cpp formsettingsimpl.cpp formwindow.cpp hierarchyview.cpp iconvieweditorimpl.cpp layout.cpp listboxdnd.cpp listboxeditorimpl.cpp listboxrename.cpp listdnd.cpp listviewdnd.cpp listvieweditorimpl.cpp mainwindow.cpp mainwindowactions.cpp menubareditor.cpp metadatabase.cpp multilineeditorimpl.cpp newformimpl.cpp orderindicator.cpp outputwindow.cpp paletteeditoradvancedimpl.cpp paletteeditorimpl.cpp pixmapchooser.cpp pixmapcollection.cpp popupmenueditor.cpp previewframe.cpp previewwidgetimpl.cpp project.cpp projectsettingsimpl.cpp propertyeditor.cpp propertyobject.cpp qcompletionedit.cpp resource.cpp sizehandle.cpp sourceeditor.cpp sourcefile.cpp startdialogimpl.cpp styledbutton.cpp syntaxhighlighter_html.cpp tableeditorimpl.cpp timestamp.cpp variabledialogimpl.cpp widgetaction.cpp widgetfactory.cpp wizardeditorimpl.cpp workspace.cpp about.ui dbconnection.ui gotolinedialog.ui newform.ui previewwidget.ui variabledialog.ui actioneditor.ui dbconnectioneditor.ui iconvieweditor.ui paletteeditor.ui projectsettings.ui wizardeditor.ui configtoolboxdialog.ui dbconnections.ui listboxeditor.ui paletteeditoradvanced.ui replacedialog.ui connectiondialog.ui editfunctions.ui listeditor.ui pixmapcollectioneditor.ui richtextfontdialog.ui createtemplate.ui finddialog.ui listvieweditor.ui pixmapfunction.ui startdialog.ui customwidgeteditor.ui formsettings.ui multilineeditor.ui preferences.ui tableeditor.ui designeraction.cpp myiconloader.cpp libkdevdesignerpart_la_SOURCES = kdevdesigner_part.cpp actiondnd.cpp actioneditorimpl.cpp actionlistview.cpp asciivalidator.cpp command.cpp connectionitems.cpp connectiontable.cpp customwidgeteditorimpl.cpp database.cpp dbconnectionimpl.cpp dbconnectionsimpl.cpp defs.cpp designerapp.cpp designerappiface.cpp editfunctionsimpl.cpp filechooser.cpp formfile.cpp formsettingsimpl.cpp formwindow.cpp hierarchyview.cpp iconvieweditorimpl.cpp layout.cpp listboxdnd.cpp listboxeditorimpl.cpp listboxrename.cpp listdnd.cpp listviewdnd.cpp listvieweditorimpl.cpp mainwindow.cpp mainwindowactions.cpp menubareditor.cpp metadatabase.cpp multilineeditorimpl.cpp newformimpl.cpp orderindicator.cpp outputwindow.cpp paletteeditoradvancedimpl.cpp paletteeditorimpl.cpp pixmapchooser.cpp pixmapcollection.cpp popupmenueditor.cpp previewframe.cpp previewwidgetimpl.cpp project.cpp projectsettingsimpl.cpp propertyeditor.cpp propertyobject.cpp qcompletionedit.cpp resource.cpp sizehandle.cpp sourceeditor.cpp sourcefile.cpp startdialogimpl.cpp styledbutton.cpp syntaxhighlighter_html.cpp tableeditorimpl.cpp timestamp.cpp variabledialogimpl.cpp widgetaction.cpp widgetfactory.cpp wizardeditorimpl.cpp workspace.cpp about.ui dbconnection.ui gotolinedialog.ui newform.ui previewwidget.ui variabledialog.ui actioneditor.ui dbconnectioneditor.ui iconvieweditor.ui paletteeditor.ui projectsettings.ui wizardeditor.ui configtoolboxdialog.ui dbconnections.ui listboxeditor.ui paletteeditoradvanced.ui replacedialog.ui connectiondialog.ui editfunctions.ui listeditor.ui pixmapcollectioneditor.ui richtextfontdialog.ui createtemplate.ui finddialog.ui listvieweditor.ui pixmapfunction.ui startdialog.ui customwidgeteditor.ui formsettings.ui multilineeditor.ui preferences.ui tableeditor.ui designeraction.cpp myiconloader.cpp
partrcdir = $(kde_datadir)/tdevdesignerpart partrcdir = $(kde_datadir)/kdevdesignerpart
partdesktopdir = $(kde_servicesdir) partdesktopdir = $(kde_servicesdir)
partdesktop_DATA = tdevdesigner_part.desktop partdesktop_DATA = kdevdesigner_part.desktop
partrc_DATA = tdevdesigner_part.rc tdevdesigner_part_sh.rc partrc_DATA = kdevdesigner_part.rc kdevdesigner_part_sh.rc
noinst_HEADERS = tdevdesigner_part.h designeraction.h myiconloader.h noinst_HEADERS = kdevdesigner_part.h designeraction.h myiconloader.h
picsdirdir = $(kde_datadir)/tdevdesignerpart/pics picsdirdir = $(kde_datadir)/kdevdesignerpart/pics
KDE_OPTIONS=nofinal KDE_OPTIONS=nofinal

@ -56,7 +56,7 @@
#endif #endif
#include <tqaction.h> #include <tqaction.h>
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
#include <tdelocale.h> #include <tdelocale.h>

@ -34,7 +34,7 @@
#include <kiconloader.h> #include <kiconloader.h>
#include <klineedit.h> #include <klineedit.h>
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
#include <tqlistview.h> #include <tqlistview.h>
#include <tqpushbutton.h> #include <tqpushbutton.h>
@ -61,7 +61,7 @@ EditFunctions::EditFunctions( TQWidget *parent, FormWindow *fw, bool justSlots )
for ( TQValueList<MetaDataBase::Function>::Iterator it = functionList.begin(); it != functionList.end(); ++it ) { for ( TQValueList<MetaDataBase::Function>::Iterator it = functionList.begin(); it != functionList.end(); ++it ) {
TQListViewItem *i = new TQListViewItem( functionListView ); TQListViewItem *i = new TQListViewItem( functionListView );
i->setPixmap( 0, SmallIcon( "designer_editslots.png" , TDevDesignerPartFactory::instance()) ); i->setPixmap( 0, SmallIcon( "designer_editslots.png" , KDevDesignerPartFactory::instance()) );
i->setText( 0, (*it).function ); i->setText( 0, (*it).function );
i->setText( 1, (*it).returnType ); i->setText( 1, (*it).returnType );
i->setText( 2, (*it).specifier ); i->setText( 2, (*it).specifier );
@ -269,7 +269,7 @@ void EditFunctions::okClicked()
void EditFunctions::functionAdd( const TQString &access, const TQString &type ) void EditFunctions::functionAdd( const TQString &access, const TQString &type )
{ {
TQListViewItem *i = new TQListViewItem( functionListView ); TQListViewItem *i = new TQListViewItem( functionListView );
i->setPixmap( 0, SmallIcon( "designer_editslots.png" , TDevDesignerPartFactory::instance()) ); i->setPixmap( 0, SmallIcon( "designer_editslots.png" , KDevDesignerPartFactory::instance()) );
i->setRenameEnabled( 0, TRUE ); i->setRenameEnabled( 0, TRUE );
i->setText( 1, "void" ); i->setText( 1, "void" );
i->setText( 2, "virtual" ); i->setText( 2, "virtual" );
@ -507,7 +507,7 @@ void EditFunctions::displaySlots( bool justSlots )
continue; continue;
TQListViewItem *i = new TQListViewItem( functionListView ); TQListViewItem *i = new TQListViewItem( functionListView );
functionIds.insert( i, (*it).id ); functionIds.insert( i, (*it).id );
i->setPixmap( 0, SmallIcon( "designer_editslots.png" , TDevDesignerPartFactory::instance()) ); i->setPixmap( 0, SmallIcon( "designer_editslots.png" , KDevDesignerPartFactory::instance()) );
i->setText( 0, (*it).newName ); i->setText( 0, (*it).newName );
i->setText( 1, (*it).retTyp ); i->setText( 1, (*it).retTyp );
i->setText( 2, (*it).spec ); i->setText( 2, (*it).spec );

@ -45,7 +45,7 @@
#include <tdefiledialog.h> #include <tdefiledialog.h>
#include <tdelocale.h> #include <tdelocale.h>
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
static TQString make_func_pretty( const TQString &s ) static TQString make_func_pretty( const TQString &s )
{ {

@ -46,7 +46,7 @@
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelocale.h> #include <tdelocale.h>
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
#include <tqevent.h> #include <tqevent.h>
#include <tqpainter.h> #include <tqpainter.h>
@ -192,7 +192,7 @@ void FormWindow::init()
this, TQT_SIGNAL( undoRedoChanged( bool, bool, const TQString &, const TQString & ) ) ); this, TQT_SIGNAL( undoRedoChanged( bool, bool, const TQString &, const TQString & ) ) );
propShowBlocked = FALSE; propShowBlocked = FALSE;
setIcon( SmallIcon( "designer_form.png" , TDevDesignerPartFactory::instance()) ); setIcon( SmallIcon( "designer_form.png" , KDevDesignerPartFactory::instance()) );
connect( &commands, TQT_SIGNAL( modificationChanged( bool ) ), connect( &commands, TQT_SIGNAL( modificationChanged( bool ) ),
this, TQT_SLOT( modificationChanged( bool ) ) ); this, TQT_SLOT( modificationChanged( bool ) ) );
@ -372,7 +372,7 @@ void FormWindow::insertWidget()
if ( !savePixmapInline() && currTool == WidgetDatabase::idFromClassName( "PixmapLabel" ) ) { // ### what to do for pixmaps in project if ( !savePixmapInline() && currTool == WidgetDatabase::idFromClassName( "PixmapLabel" ) ) { // ### what to do for pixmaps in project
TQPixmap pix; TQPixmap pix;
// we have to force the pixmap to get a new and unique serial number. Unfortunately detatch() doesn't do that // we have to force the pixmap to get a new and unique serial number. Unfortunately detatch() doesn't do that
pix.convertFromImage( SmallIcon( "designer_image.png" , TDevDesignerPartFactory::instance()).convertToImage() ); pix.convertFromImage( SmallIcon( "designer_image.png" , KDevDesignerPartFactory::instance()).convertToImage() );
( (TQLabel*)w )->setPixmap( pix ); ( (TQLabel*)w )->setPixmap( pix );
} }
int id = WidgetDatabase::idFromClassName( WidgetFactory::classNameOf(TQT_TQOBJECT(w)) ); int id = WidgetDatabase::idFromClassName( WidgetFactory::classNameOf(TQT_TQOBJECT(w)) );

@ -43,7 +43,7 @@
#include "menubareditor.h" #include "menubareditor.h"
#include <kiconloader.h> #include <kiconloader.h>
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
#include <tdelocale.h> #include <tdelocale.h>
#include <tqpalette.h> #include <tqpalette.h>
@ -175,10 +175,10 @@ void HierarchyItem::cancelRename( int col )
HierarchyList::HierarchyList( TQWidget *parent, FormWindow *fw, bool doConnects ) HierarchyList::HierarchyList( TQWidget *parent, FormWindow *fw, bool doConnects )
: TQListView( parent ), formWindow( fw ) : TQListView( parent ), formWindow( fw )
{ {
DesignerFormPix = SmallIcon( "designer_form.png" , TDevDesignerPartFactory::instance()); DesignerFormPix = SmallIcon( "designer_form.png" , KDevDesignerPartFactory::instance());
DesignerLayoutPix = SmallIcon( "designer_layout.png" , TDevDesignerPartFactory::instance()); DesignerLayoutPix = SmallIcon( "designer_layout.png" , KDevDesignerPartFactory::instance());
DesignerFolderPix = SmallIcon( "designer_folder.png" , TDevDesignerPartFactory::instance()); DesignerFolderPix = SmallIcon( "designer_folder.png" , KDevDesignerPartFactory::instance());
DesignerEditSlotsPix = SmallIcon( "designer_editslots.png" , TDevDesignerPartFactory::instance()); DesignerEditSlotsPix = SmallIcon( "designer_editslots.png" , KDevDesignerPartFactory::instance());
init_colors(); init_colors();
@ -1047,16 +1047,16 @@ void FormDefinitionView::showRMBMenu( TQListViewItem *i, const TQPoint &pos )
if ( i->rtti() == HierarchyItem::FunctParent || i->rtti() == HierarchyItem::SlotParent || if ( i->rtti() == HierarchyItem::FunctParent || i->rtti() == HierarchyItem::SlotParent ||
i->rtti() == HierarchyItem::VarParent ) { i->rtti() == HierarchyItem::VarParent ) {
menu.insertItem( SmallIcon( "designer_editslots.png" , TDevDesignerPartFactory::instance()), i18n( "Edit..." ), EDIT ); menu.insertItem( SmallIcon( "designer_editslots.png" , KDevDesignerPartFactory::instance()), i18n( "Edit..." ), EDIT );
} else } else
menu.insertItem( SmallIcon( "designer_filenew.png" , TDevDesignerPartFactory::instance()), i18n( "New..." ), NEW ); menu.insertItem( SmallIcon( "designer_filenew.png" , KDevDesignerPartFactory::instance()), i18n( "New..." ), NEW );
if ( i->rtti() == HierarchyItem::DefinitionParent || i->rtti() == HierarchyItem::Variable || if ( i->rtti() == HierarchyItem::DefinitionParent || i->rtti() == HierarchyItem::Variable ||
i->rtti() == HierarchyItem::Definition ) { i->rtti() == HierarchyItem::Definition ) {
menu.insertItem( SmallIcon( "designer_editslots.png" , TDevDesignerPartFactory::instance()), i18n( "Edit..." ), EDIT ); menu.insertItem( SmallIcon( "designer_editslots.png" , KDevDesignerPartFactory::instance()), i18n( "Edit..." ), EDIT );
} }
if ( i->rtti() == HierarchyItem::Function || i->rtti() == HierarchyItem::Slot ) { if ( i->rtti() == HierarchyItem::Function || i->rtti() == HierarchyItem::Slot ) {
if ( formWindow->project()->isCpp() ) if ( formWindow->project()->isCpp() )
menu.insertItem( SmallIcon( "designer_editslots.png" , TDevDesignerPartFactory::instance()), i18n( "Properties" ), PROPS ); menu.insertItem( SmallIcon( "designer_editslots.png" , KDevDesignerPartFactory::instance()), i18n( "Properties" ), PROPS );
if ( MetaDataBase::hasEditor( formWindow->project()->language() ) ) if ( MetaDataBase::hasEditor( formWindow->project()->language() ) )
menu.insertItem( i18n( "Goto Implementation" ), GOIMPL ); menu.insertItem( i18n( "Goto Implementation" ), GOIMPL );
insertDelete = TRUE; insertDelete = TRUE;
@ -1065,7 +1065,7 @@ void FormDefinitionView::showRMBMenu( TQListViewItem *i, const TQPoint &pos )
i->rtti() == HierarchyItem::Function || i->rtti() == HierarchyItem::Slot || i->rtti() == HierarchyItem::Function || i->rtti() == HierarchyItem::Slot ||
i->rtti() == HierarchyItem::Definition ) { i->rtti() == HierarchyItem::Definition ) {
menu.insertSeparator(); menu.insertSeparator();
menu.insertItem( SmallIcon( "designer_editcut.png" , TDevDesignerPartFactory::instance()), i18n( "Delete" ), DEL ); menu.insertItem( SmallIcon( "designer_editcut.png" , KDevDesignerPartFactory::instance()), i18n( "Delete" ), DEL );
} }
popupOpen = TRUE; popupOpen = TRUE;
int res = menu.exec( pos ); int res = menu.exec( pos );

@ -18,7 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/ ***************************************************************************/
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
#include <kinstance.h> #include <kinstance.h>
#include <tdeaction.h> #include <tdeaction.h>
@ -40,12 +40,12 @@
#include "designeraction.h" #include "designeraction.h"
#include "formwindow.h" #include "formwindow.h"
TDevDesignerPart::TDevDesignerPart( TQWidget *parentWidget, const char *// widgetName KDevDesignerPart::KDevDesignerPart( TQWidget *parentWidget, const char *// widgetName
, ,
TQObject *parent, const char *name, const TQStringList &args ) TQObject *parent, const char *name, const TQStringList &args )
: KInterfaceDesigner::Designer(parent, name) : KInterfaceDesigner::Designer(parent, name)
{ {
setInstance( TDevDesignerPartFactory::instance() ); setInstance( KDevDesignerPartFactory::instance() );
m_widget = new MainWindow( this, true ); m_widget = new MainWindow( this, true );
m_widget->reparent(parentWidget, TQPoint(0,0)); m_widget->reparent(parentWidget, TQPoint(0,0));
@ -55,9 +55,9 @@ TDevDesignerPart::TDevDesignerPart( TQWidget *parentWidget, const char *// widge
setupActions(); setupActions();
if (args.contains("in shell")) if (args.contains("in shell"))
setXMLFile("tdevdesigner_part_sh.rc"); setXMLFile("kdevdesigner_part_sh.rc");
else else
setXMLFile("tdevdesigner_part.rc"); setXMLFile("kdevdesigner_part.rc");
setReadWrite(true); setReadWrite(true);
setModified(false); setModified(false);
@ -65,7 +65,7 @@ TDevDesignerPart::TDevDesignerPart( TQWidget *parentWidget, const char *// widge
connect(m_widget, TQT_SIGNAL(formModified(bool )), this, TQT_SLOT(formModified(bool))); connect(m_widget, TQT_SIGNAL(formModified(bool )), this, TQT_SLOT(formModified(bool)));
} }
void TDevDesignerPart::setupDesignerWindow() void KDevDesignerPart::setupDesignerWindow()
{ {
m_widget->menuBar()->hide(); m_widget->menuBar()->hide();
m_widget->layoutToolBar->hide(); m_widget->layoutToolBar->hide();
@ -76,15 +76,15 @@ void TDevDesignerPart::setupDesignerWindow()
static TQIconSet createPartIconSet( const TQString &name ) static TQIconSet createPartIconSet( const TQString &name )
{ {
TQIconSet ic( BarIcon( "" + name, TDevDesignerPartFactory::instance() ) ); TQIconSet ic( BarIcon( "" + name, KDevDesignerPartFactory::instance() ) );
TQString prefix = "designer_"; TQString prefix = "designer_";
int right = name.length() - prefix.length(); int right = name.length() - prefix.length();
ic.setPixmap( BarIcon( prefix + "d_" + name.right( right ), TDevDesignerPartFactory::instance() ), ic.setPixmap( BarIcon( prefix + "d_" + name.right( right ), KDevDesignerPartFactory::instance() ),
TQIconSet::Small, TQIconSet::Disabled ); TQIconSet::Small, TQIconSet::Disabled );
return ic; return ic;
} }
void TDevDesignerPart::setupActions( ) void KDevDesignerPart::setupActions( )
{ {
TDEAction *action; TDEAction *action;
action = KStdAction::openNew(this, TQT_SLOT(fileNew()), actionCollection()); action = KStdAction::openNew(this, TQT_SLOT(fileNew()), actionCollection());
@ -169,20 +169,20 @@ void TDevDesignerPart::setupActions( )
stateSync(action, m_widget->actionWindowPrevious); stateSync(action, m_widget->actionWindowPrevious);
action = KStdAction::preferences(this, TQT_SLOT(editPreferences()), actionCollection()); action = KStdAction::preferences(this, TQT_SLOT(editPreferences()), actionCollection());
action->setText(i18n("Configure &TDevDesigner...")); action->setText(i18n("Configure &KDevDesigner..."));
stateSync(action, m_widget->actionEditPreferences); stateSync(action, m_widget->actionEditPreferences);
} }
TDevDesignerPart::~TDevDesignerPart() KDevDesignerPart::~KDevDesignerPart()
{ {
} }
void TDevDesignerPart::setReadWrite(bool rw) void KDevDesignerPart::setReadWrite(bool rw)
{ {
ReadWritePart::setReadWrite(rw); ReadWritePart::setReadWrite(rw);
} }
void TDevDesignerPart::setModified(bool modified) void KDevDesignerPart::setModified(bool modified)
{ {
/* TDEAction *save = actionCollection()->action(KStdAction::stdName(KStdAction::Save)); /* TDEAction *save = actionCollection()->action(KStdAction::stdName(KStdAction::Save));
if (!save) if (!save)
@ -195,13 +195,13 @@ void TDevDesignerPart::setModified(bool modified)
ReadWritePart::setModified(modified); ReadWritePart::setModified(modified);
} }
bool TDevDesignerPart::openFile() bool KDevDesignerPart::openFile()
{ {
m_widget->fileOpen("", "", m_file); m_widget->fileOpen("", "", m_file);
return true; return true;
} }
bool TDevDesignerPart::saveFile() bool KDevDesignerPart::saveFile()
{ {
if (isReadWrite() == false) if (isReadWrite() == false)
return false; return false;
@ -209,7 +209,7 @@ bool TDevDesignerPart::saveFile()
return true; return true;
} }
void TDevDesignerPart::stateSync( TDEAction * tdeaction, TQAction * qaction ) void KDevDesignerPart::stateSync( TDEAction * tdeaction, TQAction * qaction )
{ {
if (!qaction) if (!qaction)
return; return;
@ -220,7 +220,7 @@ void TDevDesignerPart::stateSync( TDEAction * tdeaction, TQAction * qaction )
connect(ac, TQT_SIGNAL(actionEnabled(bool )), tdeaction, TQT_SLOT(setEnabled(bool ))); connect(ac, TQT_SIGNAL(actionEnabled(bool )), tdeaction, TQT_SLOT(setEnabled(bool )));
} }
void TDevDesignerPart::setupToolsAction( TDERadioAction * toggle, TQAction * action ) void KDevDesignerPart::setupToolsAction( TDERadioAction * toggle, TQAction * action )
{ {
if (!action) if (!action)
return; return;
@ -240,15 +240,15 @@ void TDevDesignerPart::setupToolsAction( TDERadioAction * toggle, TQAction * act
#include <tdeaboutdata.h> #include <tdeaboutdata.h>
#include <tdelocale.h> #include <tdelocale.h>
TDEInstance* TDevDesignerPartFactory::s_instance = 0L; TDEInstance* KDevDesignerPartFactory::s_instance = 0L;
TDEAboutData* TDevDesignerPartFactory::s_about = 0L; TDEAboutData* KDevDesignerPartFactory::s_about = 0L;
TDevDesignerPartFactory::TDevDesignerPartFactory() KDevDesignerPartFactory::KDevDesignerPartFactory()
: KParts::Factory() : KParts::Factory()
{ {
} }
TDevDesignerPartFactory::~TDevDesignerPartFactory() KDevDesignerPartFactory::~KDevDesignerPartFactory()
{ {
delete s_instance; delete s_instance;
delete s_about; delete s_about;
@ -256,12 +256,12 @@ TDevDesignerPartFactory::~TDevDesignerPartFactory()
s_instance = 0L; s_instance = 0L;
} }
KParts::Part* TDevDesignerPartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, KParts::Part* KDevDesignerPartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name, TQObject *parent, const char *name,
const char *classname, const TQStringList &args ) const char *classname, const TQStringList &args )
{ {
// Create an instance of our Part // Create an instance of our Part
TDevDesignerPart* obj = new TDevDesignerPart( parentWidget, widgetName, parent, name, args ); KDevDesignerPart* obj = new KDevDesignerPart( parentWidget, widgetName, parent, name, args );
// See if we are to be read-write or not // See if we are to be read-write or not
if (TQCString(classname) == "KParts::ReadOnlyPart") if (TQCString(classname) == "KParts::ReadOnlyPart")
@ -270,11 +270,11 @@ KParts::Part* TDevDesignerPartFactory::createPartObject( TQWidget *parentWidget,
return obj; return obj;
} }
TDEInstance* TDevDesignerPartFactory::instance() TDEInstance* KDevDesignerPartFactory::instance()
{ {
if( !s_instance ) if( !s_instance )
{ {
s_about = new TDEAboutData("tdevdesignerpart", I18N_NOOP("TDevDesignerPart"), "0.1"); s_about = new TDEAboutData("kdevdesignerpart", I18N_NOOP("KDevDesignerPart"), "0.1");
s_about->addAuthor("Alexander Dymo", 0, "cloudtemple@mksat.net"); s_about->addAuthor("Alexander Dymo", 0, "cloudtemple@mksat.net");
s_about->addAuthor("Trolltech AS", 0, "info@trolltech.com"); s_about->addAuthor("Trolltech AS", 0, "info@trolltech.com");
s_instance = new TDEInstance(s_about); s_instance = new TDEInstance(s_about);
@ -284,15 +284,15 @@ TDEInstance* TDevDesignerPartFactory::instance()
extern "C" extern "C"
{ {
void* init_libtdevdesignerpart() void* init_libkdevdesignerpart()
{ {
return new TDevDesignerPartFactory; return new KDevDesignerPartFactory;
} }
} }
//actions //actions
void TDevDesignerPart::fileNew( ) void KDevDesignerPart::fileNew( )
{ {
if (!m_widget->actionNewFile) if (!m_widget->actionNewFile)
{ {
@ -302,167 +302,167 @@ void TDevDesignerPart::fileNew( )
m_widget->actionNewFile->activate(); m_widget->actionNewFile->activate();
} }
void TDevDesignerPart::fileOpen() void KDevDesignerPart::fileOpen()
{ {
m_widget->fileOpen(); m_widget->fileOpen();
} }
void TDevDesignerPart::fileSaveAs() void KDevDesignerPart::fileSaveAs()
{ {
m_widget->actionFileSaveAs->activate(); m_widget->actionFileSaveAs->activate();
} }
void TDevDesignerPart::fileClose( ) void KDevDesignerPart::fileClose( )
{ {
m_widget->actionFileClose->activate(); m_widget->actionFileClose->activate();
} }
void TDevDesignerPart::fileCreateTemplate( ) void KDevDesignerPart::fileCreateTemplate( )
{ {
m_widget->fileCreateTemplate(); m_widget->fileCreateTemplate();
} }
void TDevDesignerPart::editUndo( ) void KDevDesignerPart::editUndo( )
{ {
m_widget->actionEditUndo->activate(); m_widget->actionEditUndo->activate();
} }
void TDevDesignerPart::editRedo( ) void KDevDesignerPart::editRedo( )
{ {
m_widget->actionEditRedo->activate(); m_widget->actionEditRedo->activate();
} }
void TDevDesignerPart::editCut( ) void KDevDesignerPart::editCut( )
{ {
m_widget->actionEditCut->activate(); m_widget->actionEditCut->activate();
} }
void TDevDesignerPart::editPaste( ) void KDevDesignerPart::editPaste( )
{ {
m_widget->actionEditPaste->activate(); m_widget->actionEditPaste->activate();
} }
void TDevDesignerPart::editCopy( ) void KDevDesignerPart::editCopy( )
{ {
m_widget->actionEditCopy->activate(); m_widget->actionEditCopy->activate();
} }
void TDevDesignerPart::editDelete( ) void KDevDesignerPart::editDelete( )
{ {
m_widget->actionEditDelete->activate(); m_widget->actionEditDelete->activate();
} }
void TDevDesignerPart::editSelectAll( ) void KDevDesignerPart::editSelectAll( )
{ {
m_widget->actionEditSelectAll->activate(); m_widget->actionEditSelectAll->activate();
} }
void TDevDesignerPart::editAccels( ) void KDevDesignerPart::editAccels( )
{ {
m_widget->actionEditAccels->activate(); m_widget->actionEditAccels->activate();
} }
void TDevDesignerPart::editFunctions( ) void KDevDesignerPart::editFunctions( )
{ {
m_widget->actionEditFunctions->activate(); m_widget->actionEditFunctions->activate();
} }
void TDevDesignerPart::editConnections( ) void KDevDesignerPart::editConnections( )
{ {
m_widget->actionEditConnections->activate(); m_widget->actionEditConnections->activate();
} }
void TDevDesignerPart::editFormSettings( ) void KDevDesignerPart::editFormSettings( )
{ {
m_widget->actionEditFormSettings->activate(); m_widget->actionEditFormSettings->activate();
} }
void TDevDesignerPart::editPreferences( ) void KDevDesignerPart::editPreferences( )
{ {
m_widget->actionEditPreferences->activate(); m_widget->actionEditPreferences->activate();
} }
void TDevDesignerPart::projectAddFile( ) void KDevDesignerPart::projectAddFile( )
{ {
m_widget->actionProjectAddFile->activate(); m_widget->actionProjectAddFile->activate();
} }
void TDevDesignerPart::projectImageCollection( ) void KDevDesignerPart::projectImageCollection( )
{ {
m_widget->actionEditPixmapCollection->activate(); m_widget->actionEditPixmapCollection->activate();
} }
void TDevDesignerPart::projectDatabaseCollections( ) void KDevDesignerPart::projectDatabaseCollections( )
{ {
m_widget->actionEditDatabaseConnections->activate(); m_widget->actionEditDatabaseConnections->activate();
} }
void TDevDesignerPart::projectSettings( ) void KDevDesignerPart::projectSettings( )
{ {
m_widget->actionEditProjectSettings->activate(); m_widget->actionEditProjectSettings->activate();
} }
void TDevDesignerPart::toolsConfigureToolbox( ) void KDevDesignerPart::toolsConfigureToolbox( )
{ {
m_widget->toolsConfigure(); m_widget->toolsConfigure();
} }
void TDevDesignerPart::layoutAdjustSize( ) void KDevDesignerPart::layoutAdjustSize( )
{ {
m_widget->actionEditAdjustSize->activate(); m_widget->actionEditAdjustSize->activate();
} }
void TDevDesignerPart::layoutHLayout( ) void KDevDesignerPart::layoutHLayout( )
{ {
m_widget->actionEditHLayout->activate(); m_widget->actionEditHLayout->activate();
} }
void TDevDesignerPart::layoutVLayout( ) void KDevDesignerPart::layoutVLayout( )
{ {
m_widget->actionEditVLayout->activate(); m_widget->actionEditVLayout->activate();
} }
void TDevDesignerPart::layoutGridLayout( ) void KDevDesignerPart::layoutGridLayout( )
{ {
m_widget->actionEditGridLayout->activate(); m_widget->actionEditGridLayout->activate();
} }
void TDevDesignerPart::layoutSplitHLayout( ) void KDevDesignerPart::layoutSplitHLayout( )
{ {
m_widget->actionEditSplitHorizontal->activate(); m_widget->actionEditSplitHorizontal->activate();
} }
void TDevDesignerPart::layoutSplitVLayout( ) void KDevDesignerPart::layoutSplitVLayout( )
{ {
m_widget->actionEditSplitVertical->activate(); m_widget->actionEditSplitVertical->activate();
} }
void TDevDesignerPart::layoutBreak( ) void KDevDesignerPart::layoutBreak( )
{ {
m_widget->actionEditBreakLayout->activate(); m_widget->actionEditBreakLayout->activate();
} }
void TDevDesignerPart::windowPreview( ) void KDevDesignerPart::windowPreview( )
{ {
m_widget->actionPreview->activate(); m_widget->actionPreview->activate();
} }
void TDevDesignerPart::windowNext( ) void KDevDesignerPart::windowNext( )
{ {
m_widget->actionWindowNext->activate(); m_widget->actionWindowNext->activate();
} }
void TDevDesignerPart::windowPrev( ) void KDevDesignerPart::windowPrev( )
{ {
m_widget->actionWindowPrevious->activate(); m_widget->actionWindowPrevious->activate();
} }
void TDevDesignerPart::statusMessage( const TQString & msg ) void KDevDesignerPart::statusMessage( const TQString & msg )
{ {
emit setStatusBarText(msg); emit setStatusBarText(msg);
} }
void TDevDesignerPart::setToggleActionChecked( bool b) void KDevDesignerPart::setToggleActionChecked( bool b)
{ {
if (!sender()) if (!sender())
return; return;
@ -484,7 +484,7 @@ void TDevDesignerPart::setToggleActionChecked( bool b)
tdeaction->blockSignals(false); tdeaction->blockSignals(false);
} }
void TDevDesignerPart::setToggleActionOn( bool b ) void KDevDesignerPart::setToggleActionOn( bool b )
{ {
if (!sender()) if (!sender())
return; return;
@ -500,33 +500,33 @@ void TDevDesignerPart::setToggleActionOn( bool b )
connect(qaction, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(setToggleActionChecked(bool ))); connect(qaction, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(setToggleActionChecked(bool )));
} }
void TDevDesignerPart::openProject( const TQString & // projectFile void KDevDesignerPart::openProject( const TQString & // projectFile
) )
{ {
//TODO: implement //TODO: implement
return; return;
} }
KInterfaceDesigner::DesignerType TDevDesignerPart::designerType( ) KInterfaceDesigner::DesignerType KDevDesignerPart::designerType( )
{ {
return KInterfaceDesigner::TQtDesigner; return KInterfaceDesigner::TQtDesigner;
} }
void TDevDesignerPart::emitAddedFunction( const TQString & form, KInterfaceDesigner::Function func ) void KDevDesignerPart::emitAddedFunction( const TQString & form, KInterfaceDesigner::Function func )
{ {
kdDebug() << "TDevDesignerPart::emitAddedFunction: form " << form << ", function: " << func.function << endl; kdDebug() << "KDevDesignerPart::emitAddedFunction: form " << form << ", function: " << func.function << endl;
emit addedFunction(designerType(), form, func); emit addedFunction(designerType(), form, func);
} }
void TDevDesignerPart::emitRemovedFunction( const TQString & form, KInterfaceDesigner::Function func ) void KDevDesignerPart::emitRemovedFunction( const TQString & form, KInterfaceDesigner::Function func )
{ {
kdDebug() << "TDevDesignerPart::emitRemovedFunction: form " << form << ", function: " << func.function << endl; kdDebug() << "KDevDesignerPart::emitRemovedFunction: form " << form << ", function: " << func.function << endl;
emit removedFunction(designerType(), form, func); emit removedFunction(designerType(), form, func);
} }
void TDevDesignerPart::emitEditedFunction( const TQString & form, KInterfaceDesigner::Function oldFunc, KInterfaceDesigner::Function func ) void KDevDesignerPart::emitEditedFunction( const TQString & form, KInterfaceDesigner::Function oldFunc, KInterfaceDesigner::Function func )
{ {
kdDebug() << "TDevDesignerPart::emitEditedFunction: form " << form kdDebug() << "KDevDesignerPart::emitEditedFunction: form " << form
<< ", old function: " << oldFunc.function << ", old function: " << oldFunc.function
<< ", function: " << func.function << endl; << ", function: " << func.function << endl;
@ -534,32 +534,32 @@ void TDevDesignerPart::emitEditedFunction( const TQString & form, KInterfaceDesi
emit editedFunction(designerType(), form, oldFunc, func); emit editedFunction(designerType(), form, oldFunc, func);
} }
void TDevDesignerPart::emitEditFunction(const TQString &formName, const TQString &functionName) void KDevDesignerPart::emitEditFunction(const TQString &formName, const TQString &functionName)
{ {
kdDebug() << "TDevDesignerPart::emitEditedFunction: form " << formName kdDebug() << "KDevDesignerPart::emitEditedFunction: form " << formName
<< ", function: " << functionName << endl; << ", function: " << functionName << endl;
emit editFunction(designerType(), formName, functionName); emit editFunction(designerType(), formName, functionName);
} }
void TDevDesignerPart::formModified(bool b) void KDevDesignerPart::formModified(bool b)
{ {
kdDebug() << "TDevDesignerPart::formModified " << b << endl; kdDebug() << "KDevDesignerPart::formModified " << b << endl;
setModified(b); setModified(b);
} }
void TDevDesignerPart::emitEditSource(const TQString &formName) void KDevDesignerPart::emitEditSource(const TQString &formName)
{ {
emit editSource(designerType(), formName); emit editSource(designerType(), formName);
} }
void TDevDesignerPart::emitNewStatus(const TQString &formName, int status) void KDevDesignerPart::emitNewStatus(const TQString &formName, int status)
{ {
emit newStatus(formName, status); emit newStatus(formName, status);
} }
void TDevDesignerPart::toolsEditCustomWidgets( ) void KDevDesignerPart::toolsEditCustomWidgets( )
{ {
m_widget->toolsCustomWidget(); m_widget->toolsCustomWidget();
} }
#include "tdevdesigner_part.moc" #include "kdevdesigner_part.moc"

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Name=TDevDesignerPart Name=KDevDesignerPart
Name[da]=TDevelop Designer-part Name[da]=TDevelop Designer-part
Name[el]=ΤμήμαTDevDesigner Name[el]=ΤμήμαKDevDesigner
Name[nds]=Kdevelop-Makerkomponent Name[nds]=Kdevelop-Makerkomponent
Name[ne]=केडीई विकास डिजाइनर भाग Name[ne]=केडीई विकास डिजाइनर भाग
Name[sv]=TDevelop designerdel Name[sv]=TDevelop designerdel
@ -10,7 +10,7 @@ Name[tg]=KDevҚисми дизайнгар
Name[zh_TW]=TDevelop 設計元件 Name[zh_TW]=TDevelop 設計元件
MimeType=application/x-designer MimeType=application/x-designer
ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart
X-TDE-Library=libtdevdesignerpart X-TDE-Library=libkdevdesignerpart
Type=Service Type=Service
InitialPreference=10 InitialPreference=10

@ -18,8 +18,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/ ***************************************************************************/
#ifndef _TDEVDESIGNERPART_H_ #ifndef _KDEVDESIGNERPART_H_
#define _TDEVDESIGNERPART_H_ #define _KDEVDESIGNERPART_H_
#include <tqmap.h> #include <tqmap.h>
@ -36,14 +36,14 @@ class TDEAction;
class TQAction; class TQAction;
class TDERadioAction; class TDERadioAction;
class TDevDesignerPart : public KInterfaceDesigner::Designer class KDevDesignerPart : public KInterfaceDesigner::Designer
{ {
Q_OBJECT Q_OBJECT
public: public:
TDevDesignerPart(TQWidget *parentWidget, const char *widgetName, KDevDesignerPart(TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name, const TQStringList &args); TQObject *parent, const char *name, const TQStringList &args);
virtual ~TDevDesignerPart(); virtual ~KDevDesignerPart();
virtual void setReadWrite(bool rw); virtual void setReadWrite(bool rw);
virtual void setModified(bool modified); virtual void setModified(bool modified);
@ -128,13 +128,13 @@ private:
class TDEInstance; class TDEInstance;
class TDEAboutData; class TDEAboutData;
class TDevDesignerPartFactory : public KParts::Factory class KDevDesignerPartFactory : public KParts::Factory
{ {
Q_OBJECT Q_OBJECT
public: public:
TDevDesignerPartFactory(); KDevDesignerPartFactory();
virtual ~TDevDesignerPartFactory(); virtual ~KDevDesignerPartFactory();
virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName, virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name, TQObject *parent, const char *name,
const char *classname, const TQStringList &args ); const char *classname, const TQStringList &args );
@ -145,4 +145,4 @@ private:
static TDEAboutData* s_about; static TDEAboutData* s_about;
}; };
#endif // _TDEVDESIGNERPART_H_ #endif // _KDEVDESIGNERPART_H_

@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="tdevdesigner_part" version="6"> <kpartgui name="kdevdesigner_part" version="6">
<MenuBar> <MenuBar>
<Menu name="file" noMerge="1"><text>&amp;File</text> <Menu name="file" noMerge="1"><text>&amp;File</text>
<Action name="file_createtemplate" group="new_merge"/> <Action name="file_createtemplate" group="new_merge"/>

@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="tdevdesigner_part" version="4"> <kpartgui name="kdevdesigner_part" version="4">
<MenuBar> <MenuBar>
<Menu name="file" noMerge="1"><text>&amp;File</text> <Menu name="file" noMerge="1"><text>&amp;File</text>
<Action name="file_new" group="new_merge"/> <Action name="file_new" group="new_merge"/>

@ -117,7 +117,7 @@
#include <tqassistantclient.h> #include <tqassistantclient.h>
#include <stdlib.h> #include <stdlib.h>
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
static bool mblockNewForms = FALSE; static bool mblockNewForms = FALSE;
extern TQMap<TQWidget*, TQString> *qwf_forms; extern TQMap<TQWidget*, TQString> *qwf_forms;
@ -149,7 +149,7 @@ static TQString textNoAccel( const TQString& text)
} }
MainWindow::MainWindow( TDevDesignerPart *part, bool asClient, bool single, const TQString &plgDir ) MainWindow::MainWindow( KDevDesignerPart *part, bool asClient, bool single, const TQString &plgDir )
: TQMainWindow( 0, "designer_mainwindow"/*, WType_TopLevel | (single ? 0 : WDestructiveClose) | WGroupLeader*/ ), : TQMainWindow( 0, "designer_mainwindow"/*, WType_TopLevel | (single ? 0 : WDestructiveClose) | WGroupLeader*/ ),
grd( 10, 10 ), sGrid( TRUE ), snGrid( TRUE ), restoreConfig( TRUE ), splashScreen( TRUE ), grd( 10, 10 ), sGrid( TRUE ), snGrid( TRUE ), restoreConfig( TRUE ), splashScreen( TRUE ),
fileFilter( i18n( "TQt User-Interface Files (*.ui)" ) ), client( asClient ), fileFilter( i18n( "TQt User-Interface Files (*.ui)" ) ), client( asClient ),
@ -187,7 +187,7 @@ MainWindow::MainWindow( TDevDesignerPart *part, bool asClient, bool single, cons
tqApp->setMainWidget( this );*/ tqApp->setMainWidget( this );*/
TQWidgetFactory::addWidgetFactory( new CustomWidgetFactory ); TQWidgetFactory::addWidgetFactory( new CustomWidgetFactory );
#ifndef TQ_WS_MACX #ifndef TQ_WS_MACX
setIcon( BarIcon( "designer_appicon.png", TDevDesignerPartFactory::instance() ) ); setIcon( BarIcon( "designer_appicon.png", KDevDesignerPartFactory::instance() ) );
#endif #endif
actionGroupTools = 0; actionGroupTools = 0;
@ -336,7 +336,7 @@ void MainWindow::setupMDI()
vbox->setMargin( 1 ); vbox->setMargin( 1 );
vbox->setLineWidth( 1 ); vbox->setLineWidth( 1 );
qworkspace = new TQWorkspace( vbox ); qworkspace = new TQWorkspace( vbox );
qworkspace->setPaletteBackgroundPixmap( UserIcon( "designer_background.png", TDevDesignerPartFactory::instance() ) ); qworkspace->setPaletteBackgroundPixmap( UserIcon( "designer_background.png", KDevDesignerPartFactory::instance() ) );
qworkspace->setScrollBarsEnabled( TRUE ); qworkspace->setScrollBarsEnabled( TRUE );
connect( qworkspace, TQT_SIGNAL( windowActivated( TQWidget * ) ), connect( qworkspace, TQT_SIGNAL( windowActivated( TQWidget * ) ),
this, TQT_SLOT( activeWindowChanged( TQWidget * ) ) ); this, TQT_SLOT( activeWindowChanged( TQWidget * ) ) );
@ -2392,7 +2392,7 @@ void MainWindow::readConfig()
if ( l.count() > c ) { if ( l.count() > c ) {
w->isContainer = (bool)l[ c++ ].toInt(); w->isContainer = (bool)l[ c++ ].toInt();
} }
w->pixmap = new TQPixmap( BarIcon( TQDir::home().absPath() + "/.designer/" + w->className , TDevDesignerPartFactory::instance()) ); w->pixmap = new TQPixmap( BarIcon( TQDir::home().absPath() + "/.designer/" + w->className , KDevDesignerPartFactory::instance()) );
MetaDataBase::addCustomWidget( w ); MetaDataBase::addCustomWidget( w );
} }
if ( num > 0 ) if ( num > 0 )
@ -3115,7 +3115,7 @@ TemplateWizardInterface * MainWindow::templateWizardInterface( const TQString& c
void MainWindow::setupPluginManagers() void MainWindow::setupPluginManagers()
{ {
editorPluginManager = new TQPluginManager<EditorInterface>( IID_Editor, TQApplication::libraryPaths(), "/tdevdesigner" ); editorPluginManager = new TQPluginManager<EditorInterface>( IID_Editor, TQApplication::libraryPaths(), "/kdevdesigner" );
MetaDataBase::setEditor( editorPluginManager->featureList() ); MetaDataBase::setEditor( editorPluginManager->featureList() );
templateWizardPluginManager = templateWizardPluginManager =

@ -75,7 +75,7 @@ class TQToolBar;
#endif #endif
class Preferences; class Preferences;
class TDevDesignerPart; class KDevDesignerPart;
class MainWindow : public TQMainWindow class MainWindow : public TQMainWindow
{ {
@ -85,7 +85,7 @@ class MainWindow : public TQMainWindow
public: public:
enum LineMode { Error, Step, StackFrame }; enum LineMode { Error, Step, StackFrame };
MainWindow( TDevDesignerPart *part, bool asClient, bool single = FALSE, const TQString &plgDir = "/designer" ); MainWindow( KDevDesignerPart *part, bool asClient, bool single = FALSE, const TQString &plgDir = "/designer" );
~MainWindow(); ~MainWindow();
HierarchyView *objectHierarchy() const; HierarchyView *objectHierarchy() const;
@ -194,7 +194,7 @@ public:
void statusMessage(const TQString &msg); void statusMessage(const TQString &msg);
//integration //integration
TDevDesignerPart *part() const { return m_part; } KDevDesignerPart *part() const { return m_part; }
public slots: public slots:
void showProperties( TQObject *w ); void showProperties( TQObject *w );
@ -478,14 +478,14 @@ private:
TQString pluginDir; TQString pluginDir;
bool sSignalHandlers; bool sSignalHandlers;
TDevDesignerPart *m_part; KDevDesignerPart *m_part;
public: public:
TQString lastSaveFilter; TQString lastSaveFilter;
TQPtrList<TQAction> toolActions; TQPtrList<TQAction> toolActions;
TQPtrList<TQAction> commonWidgetsPage; TQPtrList<TQAction> commonWidgetsPage;
friend class TDevDesignerPart; friend class KDevDesignerPart;
}; };
class SenderObject : public TQObject class SenderObject : public TQObject

@ -83,7 +83,7 @@
#include "configtoolboxdialog.h" #include "configtoolboxdialog.h"
#include "designeraction.h" #include "designeraction.h"
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
static const char * whatsthis_image[] = { static const char * whatsthis_image[] = {
"16 16 3 1", "16 16 3 1",
@ -114,10 +114,10 @@ const TQString toolbarHelp = "<p>Toolbars contain a number of buttons to "
static TQIconSet createIconSet( const TQString &name ) static TQIconSet createIconSet( const TQString &name )
{ {
TQIconSet ic( BarIcon( "" + name, TDevDesignerPartFactory::instance() ) ); TQIconSet ic( BarIcon( "" + name, KDevDesignerPartFactory::instance() ) );
TQString prefix = "designer_"; TQString prefix = "designer_";
int right = name.length() - prefix.length(); int right = name.length() - prefix.length();
ic.setPixmap( BarIcon( prefix + "d_" + name.right( right ), TDevDesignerPartFactory::instance() ), ic.setPixmap( BarIcon( prefix + "d_" + name.right( right ), KDevDesignerPartFactory::instance() ),
TQIconSet::Small, TQIconSet::Disabled ); TQIconSet::Small, TQIconSet::Disabled );
return ic; return ic;
} }

@ -34,7 +34,7 @@
#include "project.h" #include "project.h"
#include "mainwindow.h" #include "mainwindow.h"
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
#include <kiconloader.h> #include <kiconloader.h>
#include <tdeapplication.h> #include <tdeapplication.h>
@ -1277,7 +1277,7 @@ MetaDataBase::CustomWidget::CustomWidget()
includeFile = "mywidget.h"; includeFile = "mywidget.h";
includePolicy = Local; includePolicy = Local;
sizeHint = TQSize( -1, -1 ); sizeHint = TQSize( -1, -1 );
pixmap = new TQPixmap( BarIcon( "designer_customwidget.png", TDevDesignerPartFactory::instance() ) ); pixmap = new TQPixmap( BarIcon( "designer_customwidget.png", KDevDesignerPartFactory::instance() ) );
id = -1; id = -1;
sizePolicy = TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ); sizePolicy = TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred );
isContainer = FALSE; isContainer = FALSE;

@ -33,7 +33,7 @@
#include "widgetfactory.h" #include "widgetfactory.h"
#include <kiconloader.h> #include <kiconloader.h>
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
#include <tqtextedit.h> #include <tqtextedit.h>
#include <tqrichtext_p.h> #include <tqrichtext_p.h>
@ -101,25 +101,25 @@ MultiLineEditor::MultiLineEditor( bool call_static, bool richtextMode, TQWidget
basicToolBar = new TQToolBar( i18n( "Basics" ), this, DockTop ); basicToolBar = new TQToolBar( i18n( "Basics" ), this, DockTop );
ToolBarItem *it = new ToolBarItem( this, basicToolBar, i18n( "Italic" ), ToolBarItem *it = new ToolBarItem( this, basicToolBar, i18n( "Italic" ),
"i", BarIcon( "designer_textitalic.png", TDevDesignerPartFactory::instance() ), CTRL+Key_I ); "i", BarIcon( "designer_textitalic.png", KDevDesignerPartFactory::instance() ), CTRL+Key_I );
it->addTo( stylesMenu ); it->addTo( stylesMenu );
connect( it, TQT_SIGNAL( clicked( const TQString& ) ), connect( it, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *b = new ToolBarItem( this, basicToolBar, i18n( "Bold" ), ToolBarItem *b = new ToolBarItem( this, basicToolBar, i18n( "Bold" ),
"b", BarIcon( "designer_textbold.png", TDevDesignerPartFactory::instance() ), CTRL+Key_B ); "b", BarIcon( "designer_textbold.png", KDevDesignerPartFactory::instance() ), CTRL+Key_B );
b->addTo( stylesMenu ); b->addTo( stylesMenu );
connect( b, TQT_SIGNAL( clicked( const TQString& ) ), connect( b, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *ul = new ToolBarItem( this, basicToolBar, i18n( "Underline" ), ToolBarItem *ul = new ToolBarItem( this, basicToolBar, i18n( "Underline" ),
"u", BarIcon( "designer_textunderline.png" , TDevDesignerPartFactory::instance()), CTRL+Key_U ); "u", BarIcon( "designer_textunderline.png" , KDevDesignerPartFactory::instance()), CTRL+Key_U );
ul->addTo( stylesMenu ); ul->addTo( stylesMenu );
connect( ul, TQT_SIGNAL( clicked( const TQString& ) ), connect( ul, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *tt = new ToolBarItem( this, basicToolBar, i18n( "Typewriter" ), ToolBarItem *tt = new ToolBarItem( this, basicToolBar, i18n( "Typewriter" ),
"tt", BarIcon( "designer_textteletext.png", TDevDesignerPartFactory::instance() ) ); "tt", BarIcon( "designer_textteletext.png", KDevDesignerPartFactory::instance() ) );
tt->addTo( stylesMenu ); tt->addTo( stylesMenu );
connect( tt, TQT_SIGNAL( clicked( const TQString& ) ), connect( tt, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
@ -130,14 +130,14 @@ MultiLineEditor::MultiLineEditor( bool call_static, bool richtextMode, TQWidget
menuBar->insertItem( i18n( "&Layout" ), layoutMenu ); menuBar->insertItem( i18n( "&Layout" ), layoutMenu );
TQAction *brAction = new TQAction( this ); TQAction *brAction = new TQAction( this );
brAction->setIconSet( BarIcon( "designer_textlinebreak.png", TDevDesignerPartFactory::instance() ) ); brAction->setIconSet( BarIcon( "designer_textlinebreak.png", KDevDesignerPartFactory::instance() ) );
brAction->setText( i18n("Break" ) ); brAction->setText( i18n("Break" ) );
brAction->addTo( basicToolBar ); brAction->addTo( basicToolBar );
brAction->addTo( layoutMenu ); brAction->addTo( layoutMenu );
connect( brAction, TQT_SIGNAL( activated() ) , this, TQT_SLOT( insertBR() ) ); connect( brAction, TQT_SIGNAL( activated() ) , this, TQT_SLOT( insertBR() ) );
ToolBarItem *p = new ToolBarItem( this, basicToolBar, i18n( "Paragraph" ), ToolBarItem *p = new ToolBarItem( this, basicToolBar, i18n( "Paragraph" ),
"p", BarIcon( "designer_textparagraph.png", TDevDesignerPartFactory::instance() ) ); "p", BarIcon( "designer_textparagraph.png", KDevDesignerPartFactory::instance() ) );
p->addTo( layoutMenu ); p->addTo( layoutMenu );
connect( p, TQT_SIGNAL( clicked( const TQString& ) ), connect( p, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
@ -145,25 +145,25 @@ MultiLineEditor::MultiLineEditor( bool call_static, bool richtextMode, TQWidget
basicToolBar->addSeparator(); basicToolBar->addSeparator();
ToolBarItem *al = new ToolBarItem( this, basicToolBar, i18n( "Align left" ), ToolBarItem *al = new ToolBarItem( this, basicToolBar, i18n( "Align left" ),
"p align=\"left\"", BarIcon( "designer_textleft.png", TDevDesignerPartFactory::instance() ) ); "p align=\"left\"", BarIcon( "designer_textleft.png", KDevDesignerPartFactory::instance() ) );
al->addTo( layoutMenu ); al->addTo( layoutMenu );
connect( al, TQT_SIGNAL( clicked( const TQString& ) ), connect( al, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *ac = new ToolBarItem( this, basicToolBar, i18n( "Align center" ), ToolBarItem *ac = new ToolBarItem( this, basicToolBar, i18n( "Align center" ),
"p align=\"center\"", BarIcon( "designer_textcenter.png", TDevDesignerPartFactory::instance() ) ); "p align=\"center\"", BarIcon( "designer_textcenter.png", KDevDesignerPartFactory::instance() ) );
ac->addTo( layoutMenu ); ac->addTo( layoutMenu );
connect( ac, TQT_SIGNAL( clicked( const TQString& ) ), connect( ac, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *ar = new ToolBarItem( this, basicToolBar, i18n( "Align right" ), ToolBarItem *ar = new ToolBarItem( this, basicToolBar, i18n( "Align right" ),
"p align=\"right\"", BarIcon( "designer_textright.png", TDevDesignerPartFactory::instance() ) ); "p align=\"right\"", BarIcon( "designer_textright.png", KDevDesignerPartFactory::instance() ) );
ar->addTo( layoutMenu ); ar->addTo( layoutMenu );
connect( ar, TQT_SIGNAL( clicked( const TQString& ) ), connect( ar, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *block = new ToolBarItem( this, basicToolBar, i18n( "Blockquote" ), ToolBarItem *block = new ToolBarItem( this, basicToolBar, i18n( "Blockquote" ),
"blockquote", BarIcon( "designer_textjustify.png", TDevDesignerPartFactory::instance() ) ); "blockquote", BarIcon( "designer_textjustify.png", KDevDesignerPartFactory::instance() ) );
block->addTo( layoutMenu ); block->addTo( layoutMenu );
connect( block, TQT_SIGNAL( clicked( const TQString& ) ), connect( block, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
@ -175,7 +175,7 @@ MultiLineEditor::MultiLineEditor( bool call_static, bool richtextMode, TQWidget
fontToolBar = new TQToolBar( "Fonts", this, DockTop ); fontToolBar = new TQToolBar( "Fonts", this, DockTop );
TQAction *fontAction = new TQAction( this ); TQAction *fontAction = new TQAction( this );
fontAction->setIconSet( BarIcon( "designer_textfont.png", TDevDesignerPartFactory::instance() ) ); fontAction->setIconSet( BarIcon( "designer_textfont.png", KDevDesignerPartFactory::instance() ) );
fontAction->setText( i18n("Font" ) ); fontAction->setText( i18n("Font" ) );
fontAction->addTo( fontToolBar ); fontAction->addTo( fontToolBar );
fontAction->addTo( fontMenu ); fontAction->addTo( fontMenu );
@ -183,27 +183,27 @@ MultiLineEditor::MultiLineEditor( bool call_static, bool richtextMode, TQWidget
ToolBarItem *fp1 = new ToolBarItem( this, fontToolBar, i18n( "Fontsize +1" ), ToolBarItem *fp1 = new ToolBarItem( this, fontToolBar, i18n( "Fontsize +1" ),
"font size=\"+1\"", BarIcon( "designer_textlarger.png", TDevDesignerPartFactory::instance() ) ); "font size=\"+1\"", BarIcon( "designer_textlarger.png", KDevDesignerPartFactory::instance() ) );
connect( fp1, TQT_SIGNAL( clicked( const TQString& ) ), connect( fp1, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *fm1 = new ToolBarItem( this, fontToolBar, i18n( "Fontsize -1" ), ToolBarItem *fm1 = new ToolBarItem( this, fontToolBar, i18n( "Fontsize -1" ),
"font size=\"-1\"", BarIcon( "designer_textsmaller.png", TDevDesignerPartFactory::instance() ) ); "font size=\"-1\"", BarIcon( "designer_textsmaller.png", KDevDesignerPartFactory::instance() ) );
connect( fm1, TQT_SIGNAL( clicked( const TQString& ) ), connect( fm1, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *h1 = new ToolBarItem( this, fontToolBar, i18n( "Headline 1" ), ToolBarItem *h1 = new ToolBarItem( this, fontToolBar, i18n( "Headline 1" ),
"h1", BarIcon( "designer_texth1.png", TDevDesignerPartFactory::instance() ) ); "h1", BarIcon( "designer_texth1.png", KDevDesignerPartFactory::instance() ) );
connect( h1, TQT_SIGNAL( clicked( const TQString& ) ), connect( h1, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *h2 = new ToolBarItem( this, fontToolBar, i18n( "Headline 2" ), ToolBarItem *h2 = new ToolBarItem( this, fontToolBar, i18n( "Headline 2" ),
"h2", BarIcon( "designer_texth2.png", TDevDesignerPartFactory::instance() ) ); "h2", BarIcon( "designer_texth2.png", KDevDesignerPartFactory::instance() ) );
connect( h2, TQT_SIGNAL( clicked( const TQString& ) ), connect( h2, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *h3 = new ToolBarItem( this, fontToolBar, i18n( "Headline 3" ), ToolBarItem *h3 = new ToolBarItem( this, fontToolBar, i18n( "Headline 3" ),
"h3", BarIcon( "designer_texth3.png", TDevDesignerPartFactory::instance() ) ); "h3", BarIcon( "designer_texth3.png", KDevDesignerPartFactory::instance() ) );
connect( h3, TQT_SIGNAL( clicked( const TQString& ) ), connect( h3, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& ))); this, TQT_SLOT( insertTags( const TQString& )));
@ -213,7 +213,7 @@ MultiLineEditor::MultiLineEditor( bool call_static, bool richtextMode, TQWidget
optionsToolBar = new TQToolBar( "Options", this, DockTop ); optionsToolBar = new TQToolBar( "Options", this, DockTop );
wrapAction = new TQAction( this ); wrapAction = new TQAction( this );
wrapAction->setToggleAction( TRUE ); wrapAction->setToggleAction( TRUE );
wrapAction->setIconSet( BarIcon( "designer_wordwrap.png", TDevDesignerPartFactory::instance() ) ); wrapAction->setIconSet( BarIcon( "designer_wordwrap.png", KDevDesignerPartFactory::instance() ) );
wrapAction->setText( i18n( "Word Wrapping" ) ); wrapAction->setText( i18n( "Word Wrapping" ) );
wrapAction->addTo( optionsToolBar ); wrapAction->addTo( optionsToolBar );
wrapAction->addTo( optionsMenu ); wrapAction->addTo( optionsMenu );

@ -18,15 +18,15 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/ ***************************************************************************/
#include "myiconloader.h" #include "myiconloader.h"
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
#include <kiconloader.h> #include <kiconloader.h>
TQPixmap BarIcon2( const TQString & name ) TQPixmap BarIcon2( const TQString & name )
{ {
return BarIcon(name, TDevDesignerPartFactory::instance()); return BarIcon(name, KDevDesignerPartFactory::instance());
} }
TQPixmap SmallIcon2( const TQString & name) TQPixmap SmallIcon2( const TQString & name)
{ {
return SmallIcon(name, TDevDesignerPartFactory::instance()); return SmallIcon(name, KDevDesignerPartFactory::instance());
} }

@ -38,7 +38,7 @@
#include "sourcefile.h" #include "sourcefile.h"
#include <kiconloader.h> #include <kiconloader.h>
#include "tdevdesigner_part.h" #include "kdevdesigner_part.h"
#include <tdelocale.h> #include <tdelocale.h>
#include <tqiconview.h> #include <tqiconview.h>
@ -252,7 +252,7 @@ void NewForm::insertTemplates( TQIconView *tView,
ProjectItem *pi = new ProjectItem( tView, i18n("%1 Project" ).arg( *it ) ); ProjectItem *pi = new ProjectItem( tView, i18n("%1 Project" ).arg( *it ) );
allItems.append( pi ); allItems.append( pi );
pi->setLanguage( *it ); pi->setLanguage( *it );
pi->setPixmap( BarIcon( "designer_project.png" , TDevDesignerPartFactory::instance()) ); pi->setPixmap( BarIcon( "designer_project.png" , KDevDesignerPartFactory::instance()) );
pi->setDragEnabled( FALSE ); pi->setDragEnabled( FALSE );
} }
} }
@ -260,24 +260,24 @@ void NewForm::insertTemplates( TQIconView *tView,
FormItem *fi = new FormItem( tView,i18n( "Dialog" ) ); FormItem *fi = new FormItem( tView,i18n( "Dialog" ) );
allItems.append( fi ); allItems.append( fi );
fi->setFormType( FormItem::Dialog ); fi->setFormType( FormItem::Dialog );
fi->setPixmap( BarIcon( "designer_newform.png" , TDevDesignerPartFactory::instance()) ); fi->setPixmap( BarIcon( "designer_newform.png" , KDevDesignerPartFactory::instance()) );
fi->setDragEnabled( FALSE ); fi->setDragEnabled( FALSE );
cur = fi; cur = fi;
if ( !MainWindow::self->singleProjectMode() ) { if ( !MainWindow::self->singleProjectMode() ) {
fi = new FormItem( tView,i18n( "Wizard" ) ); fi = new FormItem( tView,i18n( "Wizard" ) );
allItems.append( fi ); allItems.append( fi );
fi->setFormType( FormItem::Wizard ); fi->setFormType( FormItem::Wizard );
fi->setPixmap( BarIcon( "designer_newform.png" , TDevDesignerPartFactory::instance()) ); fi->setPixmap( BarIcon( "designer_newform.png" , KDevDesignerPartFactory::instance()) );
fi->setDragEnabled( FALSE ); fi->setDragEnabled( FALSE );
fi = new FormItem( tView, i18n( "Widget" ) ); fi = new FormItem( tView, i18n( "Widget" ) );
allItems.append( fi ); allItems.append( fi );
fi->setFormType( FormItem::Widget ); fi->setFormType( FormItem::Widget );
fi->setPixmap( BarIcon( "designer_newform.png" , TDevDesignerPartFactory::instance()) ); fi->setPixmap( BarIcon( "designer_newform.png" , KDevDesignerPartFactory::instance()) );
fi->setDragEnabled( FALSE ); fi->setDragEnabled( FALSE );
fi = new FormItem( tView, i18n( "Main Window" ) ); fi = new FormItem( tView, i18n( "Main Window" ) );
allItems.append( fi ); allItems.append( fi );
fi->setFormType( FormItem::MainWindow ); fi->setFormType( FormItem::MainWindow );
fi->setPixmap( BarIcon( "designer_newform.png" , TDevDesignerPartFactory::instance()) ); fi->setPixmap( BarIcon( "designer_newform.png" , KDevDesignerPartFactory::instance()) );
fi->setDragEnabled( FALSE ); fi->setDragEnabled( FALSE );
TQString templPath = templatePath; TQString templPath = templatePath;
@ -310,7 +310,7 @@ void NewForm::insertTemplates( TQIconView *tView,
CustomFormItem *ci = new CustomFormItem( tView, name ); CustomFormItem *ci = new CustomFormItem( tView, name );
allItems.append( ci ); allItems.append( ci );
ci->setDragEnabled( FALSE ); ci->setDragEnabled( FALSE );
ci->setPixmap( BarIcon( "designer_newform.png" , TDevDesignerPartFactory::instance()) ); ci->setPixmap( BarIcon( "designer_newform.png" , KDevDesignerPartFactory::instance()) );
ci->setTemplateFile( fi->absFilePath() ); ci->setTemplateFile( fi->absFilePath() );
} }
} }
@ -328,7 +328,7 @@ void NewForm::insertTemplates( TQIconView *tView,
allItems.append( si ); allItems.append( si );
si->setExtension( eit.key() ); si->setExtension( eit.key() );
si->setLanguage( *it ); si->setLanguage( *it );
si->setPixmap( BarIcon( "designer_filenew.png", TDevDesignerPartFactory::instance() ) ); si->setPixmap( BarIcon( "designer_filenew.png", KDevDesignerPartFactory::instance() ) );
si->setDragEnabled( FALSE ); si->setDragEnabled( FALSE );
} }
iface->release(); iface->release();
@ -345,7 +345,7 @@ void NewForm::insertTemplates( TQIconView *tView,
allItems.append( si ); allItems.append( si );
si->setTemplate( *sit ); si->setTemplate( *sit );
si->setLanguage( siface->language( *sit ) ); si->setLanguage( siface->language( *sit ) );
si->setPixmap( BarIcon( "designer_filenew.png", TDevDesignerPartFactory::instance() ) ); si->setPixmap( BarIcon( "designer_filenew.png", KDevDesignerPartFactory::instance() ) );
si->setDragEnabled( FALSE ); si->setDragEnabled( FALSE );
siface->release(); siface->release();
} }

@ -81,5 +81,5 @@ install(
designer_undo.png designer_up.png designer_uparrow.png designer_vsplit.png designer_undo.png designer_up.png designer_uparrow.png designer_vsplit.png
designer_wait.png designer_widgetstack.png designer_wizarddata.png designer_wait.png designer_widgetstack.png designer_wizarddata.png
designer_wizarddialog.png designer_wordwrap.png designer_wizarddialog.png designer_wordwrap.png
DESTINATION ${DATA_INSTALL_DIR}/tdevdesignerpart/pics DESTINATION ${DATA_INSTALL_DIR}/kdevdesignerpart/pics
) )

@ -1,2 +1,2 @@
picsdirdir = $(kde_datadir)/tdevdesignerpart/pics picsdirdir = $(kde_datadir)/kdevdesignerpart/pics
picsdir_DATA = designer_adjustsize.png designer_appicon.png designer_arrow.png designer_background.png designer_book.png designer_buttongroup.png designer_checkbox.png designer_combobox.png designer_connecttool.png designer_cross.png designer_customwidget.png designer_d_adjustsize.png designer_d_book.png designer_d_buttongroup.png designer_d_checkbox.png designer_d_combobox.png designer_d_connecttool.png designer_d_customwidget.png designer_d_databrowser.png designer_d_datatable.png designer_d_dataview.png designer_d_dateedit.png designer_d_datetimeedit.png designer_d_dial.png designer_d_down.png designer_d_editbreaklayout.png designer_d_editcopy.png designer_d_editcut.png designer_d_editdelete.png designer_d_editgrid.png designer_d_edithlayout.png designer_d_edithlayoutsplit.png designer_d_editlower.png designer_d_editpaste.png designer_d_editraise.png designer_d_editslots.png designer_d_editvlayout.png designer_d_editvlayoutsplit.png designer_d_filenew.png designer_d_fileopen.png designer_d_filesave.png designer_d_folder.png designer_d_form.png designer_d_frame.png designer_d_groupbox.png designer_d_help.png designer_d_home.png designer_d_iconview.png designer_d_image.png designer_d_label.png designer_d_layout.png designer_d_lcdnumber.png designer_d_left.png designer_d_line.png designer_d_lineedit.png designer_d_listbox.png designer_d_listview.png designer_d_multilineedit.png designer_d_newform.png designer_d_ordertool.png designer_d_pixlabel.png designer_d_pointer.png designer_d_print.png designer_d_progress.png designer_d_project.png designer_d_pushbutton.png designer_d_radiobutton.png designer_d_redo.png designer_d_richtextedit.png designer_d_right.png designer_d_scrollbar.png designer_d_searchfind.png designer_d_setbuddy.png designer_d_slider.png designer_d_spacer.png designer_d_spinbox.png designer_d_table.png designer_d_tabwidget.png designer_d_textbold.png designer_d_textbrowser.png designer_d_textcenter.png designer_d_textedit.png designer_d_textfont.png designer_d_texth1.png designer_d_texth2.png designer_d_texth3.png designer_d_textitalic.png designer_d_textjustify.png designer_d_textlarger.png designer_d_textleft.png designer_d_textlinebreak.png designer_d_textparagraph.png designer_d_textright.png designer_d_textsmaller.png designer_d_textteletext.png designer_d_textunderline.png designer_d_textview.png designer_d_timeedit.png designer_d_toolbox.png designer_d_toolbutton.png designer_d_undo.png designer_d_up.png designer_d_widgetstack.png designer_d_wizarddata.png designer_d_wizarddialog.png designer_d_wordwrap.png designer_databrowser.png designer_datatable.png designer_dataview.png designer_dateedit.png designer_datetimeedit.png designer_dial.png designer_down.png designer_editbreaklayout.png designer_editcopy.png designer_editcut.png designer_editdelete.png designer_editgrid.png designer_edithlayout.png designer_edithlayoutsplit.png designer_editlower.png designer_editpaste.png designer_editraise.png designer_editslots.png designer_editvlayout.png designer_editvlayoutsplit.png designer_filenew.png designer_fileopen.png designer_filesave.png designer_folder.png designer_form.png designer_frame.png designer_groupbox.png designer_hand.png designer_help.png designer_home.png designer_hsplit.png designer_ibeam.png designer_iconview.png designer_image.png designer_label.png designer_layout.png designer_lcdnumber.png designer_left.png designer_line.png designer_lineedit.png designer_listbox.png designer_listview.png designer_multilineedit.png designer_newform.png designer_no.png designer_object.png designer_ordertool.png designer_pixlabel.png designer_pointer.png designer_print.png designer_progress.png designer_project.png designer_pushbutton.png designer_qtlogo.png designer_radiobutton.png designer_redo.png designer_resetproperty.png designer_richtextedit.png designer_right.png designer_s_down.png designer_s_editcut.png designer_s_left.png designer_s_right.png designer_s_up.png designer_scrollbar.png designer_searchfind.png designer_setbuddy.png designer_sizeall.png designer_sizeb.png designer_sizef.png designer_sizeh.png designer_sizev.png designer_slider.png designer_spacer.png designer_spinbox.png designer_splash.png designer_table.png designer_tabwidget.png designer_textbold.png designer_textbrowser.png designer_textcenter.png designer_textedit.png designer_textfont.png designer_texth1.png designer_texth2.png designer_texth3.png designer_textitalic.png designer_textjustify.png designer_textlarger.png designer_textleft.png designer_textlinebreak.png designer_textparagraph.png designer_textright.png designer_textsmaller.png designer_textteletext.png designer_textunderline.png designer_textview.png designer_timeedit.png designer_toolbox.png designer_toolbutton.png designer_undo.png designer_up.png designer_uparrow.png designer_vsplit.png designer_wait.png designer_widgetstack.png designer_wizarddata.png designer_wizarddialog.png designer_wordwrap.png picsdir_DATA = designer_adjustsize.png designer_appicon.png designer_arrow.png designer_background.png designer_book.png designer_buttongroup.png designer_checkbox.png designer_combobox.png designer_connecttool.png designer_cross.png designer_customwidget.png designer_d_adjustsize.png designer_d_book.png designer_d_buttongroup.png designer_d_checkbox.png designer_d_combobox.png designer_d_connecttool.png designer_d_customwidget.png designer_d_databrowser.png designer_d_datatable.png designer_d_dataview.png designer_d_dateedit.png designer_d_datetimeedit.png designer_d_dial.png designer_d_down.png designer_d_editbreaklayout.png designer_d_editcopy.png designer_d_editcut.png designer_d_editdelete.png designer_d_editgrid.png designer_d_edithlayout.png designer_d_edithlayoutsplit.png designer_d_editlower.png designer_d_editpaste.png designer_d_editraise.png designer_d_editslots.png designer_d_editvlayout.png designer_d_editvlayoutsplit.png designer_d_filenew.png designer_d_fileopen.png designer_d_filesave.png designer_d_folder.png designer_d_form.png designer_d_frame.png designer_d_groupbox.png designer_d_help.png designer_d_home.png designer_d_iconview.png designer_d_image.png designer_d_label.png designer_d_layout.png designer_d_lcdnumber.png designer_d_left.png designer_d_line.png designer_d_lineedit.png designer_d_listbox.png designer_d_listview.png designer_d_multilineedit.png designer_d_newform.png designer_d_ordertool.png designer_d_pixlabel.png designer_d_pointer.png designer_d_print.png designer_d_progress.png designer_d_project.png designer_d_pushbutton.png designer_d_radiobutton.png designer_d_redo.png designer_d_richtextedit.png designer_d_right.png designer_d_scrollbar.png designer_d_searchfind.png designer_d_setbuddy.png designer_d_slider.png designer_d_spacer.png designer_d_spinbox.png designer_d_table.png designer_d_tabwidget.png designer_d_textbold.png designer_d_textbrowser.png designer_d_textcenter.png designer_d_textedit.png designer_d_textfont.png designer_d_texth1.png designer_d_texth2.png designer_d_texth3.png designer_d_textitalic.png designer_d_textjustify.png designer_d_textlarger.png designer_d_textleft.png designer_d_textlinebreak.png designer_d_textparagraph.png designer_d_textright.png designer_d_textsmaller.png designer_d_textteletext.png designer_d_textunderline.png designer_d_textview.png designer_d_timeedit.png designer_d_toolbox.png designer_d_toolbutton.png designer_d_undo.png designer_d_up.png designer_d_widgetstack.png designer_d_wizarddata.png designer_d_wizarddialog.png designer_d_wordwrap.png designer_databrowser.png designer_datatable.png designer_dataview.png designer_dateedit.png designer_datetimeedit.png designer_dial.png designer_down.png designer_editbreaklayout.png designer_editcopy.png designer_editcut.png designer_editdelete.png designer_editgrid.png designer_edithlayout.png designer_edithlayoutsplit.png designer_editlower.png designer_editpaste.png designer_editraise.png designer_editslots.png designer_editvlayout.png designer_editvlayoutsplit.png designer_filenew.png designer_fileopen.png designer_filesave.png designer_folder.png designer_form.png designer_frame.png designer_groupbox.png designer_hand.png designer_help.png designer_home.png designer_hsplit.png designer_ibeam.png designer_iconview.png designer_image.png designer_label.png designer_layout.png designer_lcdnumber.png designer_left.png designer_line.png designer_lineedit.png designer_listbox.png designer_listview.png designer_multilineedit.png designer_newform.png designer_no.png designer_object.png designer_ordertool.png designer_pixlabel.png designer_pointer.png designer_print.png designer_progress.png designer_project.png designer_pushbutton.png designer_qtlogo.png designer_radiobutton.png designer_redo.png designer_resetproperty.png designer_richtextedit.png designer_right.png designer_s_down.png designer_s_editcut.png designer_s_left.png designer_s_right.png designer_s_up.png designer_scrollbar.png designer_searchfind.png designer_setbuddy.png designer_sizeall.png designer_sizeb.png designer_sizef.png designer_sizeh.png designer_sizev.png designer_slider.png designer_spacer.png designer_spinbox.png designer_splash.png designer_table.png designer_tabwidget.png designer_textbold.png designer_textbrowser.png designer_textcenter.png designer_textedit.png designer_textfont.png designer_texth1.png designer_texth2.png designer_texth3.png designer_textitalic.png designer_textjustify.png designer_textlarger.png designer_textleft.png designer_textlinebreak.png designer_textparagraph.png designer_textright.png designer_textsmaller.png designer_textteletext.png designer_textunderline.png designer_textview.png designer_timeedit.png designer_toolbox.png designer_toolbutton.png designer_undo.png designer_up.png designer_uparrow.png designer_vsplit.png designer_wait.png designer_widgetstack.png designer_wizarddata.png designer_wizarddialog.png designer_wordwrap.png

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before

Width:  |  Height:  |  Size: 217 B

After

Width:  |  Height:  |  Size: 217 B

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Before

Width:  |  Height:  |  Size: 825 B

After

Width:  |  Height:  |  Size: 825 B

Before

Width:  |  Height:  |  Size: 817 B

After

Width:  |  Height:  |  Size: 817 B

Before

Width:  |  Height:  |  Size: 549 B

After

Width:  |  Height:  |  Size: 549 B

Before

Width:  |  Height:  |  Size: 164 B

After

Width:  |  Height:  |  Size: 164 B

Before

Width:  |  Height:  |  Size: 561 B

After

Width:  |  Height:  |  Size: 561 B

Before

Width:  |  Height:  |  Size: 706 B

After

Width:  |  Height:  |  Size: 706 B

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 441 B

Before

Width:  |  Height:  |  Size: 841 B

After

Width:  |  Height:  |  Size: 841 B

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 274 B

Before

Width:  |  Height:  |  Size: 427 B

After

Width:  |  Height:  |  Size: 427 B

Before

Width:  |  Height:  |  Size: 786 B

After

Width:  |  Height:  |  Size: 786 B

Before

Width:  |  Height:  |  Size: 743 B

After

Width:  |  Height:  |  Size: 743 B

Before

Width:  |  Height:  |  Size: 482 B

After

Width:  |  Height:  |  Size: 482 B

Before

Width:  |  Height:  |  Size: 670 B

After

Width:  |  Height:  |  Size: 670 B

Before

Width:  |  Height:  |  Size: 497 B

After

Width:  |  Height:  |  Size: 497 B

Before

Width:  |  Height:  |  Size: 422 B

After

Width:  |  Height:  |  Size: 422 B

Before

Width:  |  Height:  |  Size: 327 B

After

Width:  |  Height:  |  Size: 327 B

Before

Width:  |  Height:  |  Size: 593 B

After

Width:  |  Height:  |  Size: 593 B

Before

Width:  |  Height:  |  Size: 465 B

After

Width:  |  Height:  |  Size: 465 B

Before

Width:  |  Height:  |  Size: 425 B

After

Width:  |  Height:  |  Size: 425 B

Before

Width:  |  Height:  |  Size: 548 B

After

Width:  |  Height:  |  Size: 548 B

Before

Width:  |  Height:  |  Size: 519 B

After

Width:  |  Height:  |  Size: 519 B

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B

Before

Width:  |  Height:  |  Size: 476 B

After

Width:  |  Height:  |  Size: 476 B

Before

Width:  |  Height:  |  Size: 537 B

After

Width:  |  Height:  |  Size: 537 B

Before

Width:  |  Height:  |  Size: 509 B

After

Width:  |  Height:  |  Size: 509 B

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 471 B

Before

Width:  |  Height:  |  Size: 444 B

After

Width:  |  Height:  |  Size: 444 B

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Before

Width:  |  Height:  |  Size: 505 B

After

Width:  |  Height:  |  Size: 505 B

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Before

Width:  |  Height:  |  Size: 595 B

After

Width:  |  Height:  |  Size: 595 B

Before

Width:  |  Height:  |  Size: 485 B

After

Width:  |  Height:  |  Size: 485 B

Before

Width:  |  Height:  |  Size: 649 B

After

Width:  |  Height:  |  Size: 649 B

Before

Width:  |  Height:  |  Size: 520 B

After

Width:  |  Height:  |  Size: 520 B

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 313 B

Before

Width:  |  Height:  |  Size: 681 B

After

Width:  |  Height:  |  Size: 681 B

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 328 B

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 301 B

After

Width:  |  Height:  |  Size: 301 B

Before

Width:  |  Height:  |  Size: 400 B

After

Width:  |  Height:  |  Size: 400 B

Before

Width:  |  Height:  |  Size: 439 B

After

Width:  |  Height:  |  Size: 439 B

Before

Width:  |  Height:  |  Size: 198 B

After

Width:  |  Height:  |  Size: 198 B

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 203 B

After

Width:  |  Height:  |  Size: 203 B

Before

Width:  |  Height:  |  Size: 162 B

After

Width:  |  Height:  |  Size: 162 B

Before

Width:  |  Height:  |  Size: 613 B

After

Width:  |  Height:  |  Size: 613 B

Before

Width:  |  Height:  |  Size: 769 B

After

Width:  |  Height:  |  Size: 769 B

Before

Width:  |  Height:  |  Size: 953 B

After

Width:  |  Height:  |  Size: 953 B

Before

Width:  |  Height:  |  Size: 706 B

After

Width:  |  Height:  |  Size: 706 B

Before

Width:  |  Height:  |  Size: 678 B

After

Width:  |  Height:  |  Size: 678 B

Before

Width:  |  Height:  |  Size: 287 B

After

Width:  |  Height:  |  Size: 287 B

Before

Width:  |  Height:  |  Size: 405 B

After

Width:  |  Height:  |  Size: 405 B

Before

Width:  |  Height:  |  Size: 386 B

After

Width:  |  Height:  |  Size: 386 B

Before

Width:  |  Height:  |  Size: 759 B

After

Width:  |  Height:  |  Size: 759 B

Before

Width:  |  Height:  |  Size: 531 B

After

Width:  |  Height:  |  Size: 531 B

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 230 B

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 586 B

Before

Width:  |  Height:  |  Size: 742 B

After

Width:  |  Height:  |  Size: 742 B

Before

Width:  |  Height:  |  Size: 559 B

After

Width:  |  Height:  |  Size: 559 B

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 592 B

Before

Width:  |  Height:  |  Size: 656 B

After

Width:  |  Height:  |  Size: 656 B

Before

Width:  |  Height:  |  Size: 574 B

After

Width:  |  Height:  |  Size: 574 B

Before

Width:  |  Height:  |  Size: 564 B

After

Width:  |  Height:  |  Size: 564 B

Before

Width:  |  Height:  |  Size: 557 B

After

Width:  |  Height:  |  Size: 557 B

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 586 B

Before

Width:  |  Height:  |  Size: 428 B

After

Width:  |  Height:  |  Size: 428 B

Before

Width:  |  Height:  |  Size: 208 B

After

Width:  |  Height:  |  Size: 208 B

Before

Width:  |  Height:  |  Size: 203 B

After

Width:  |  Height:  |  Size: 203 B

Before

Width:  |  Height:  |  Size: 203 B

After

Width:  |  Height:  |  Size: 203 B

Before

Width:  |  Height:  |  Size: 179 B

After

Width:  |  Height:  |  Size: 179 B

Before

Width:  |  Height:  |  Size: 177 B

After

Width:  |  Height:  |  Size: 177 B

Before

Width:  |  Height:  |  Size: 729 B

After

Width:  |  Height:  |  Size: 729 B

Before

Width:  |  Height:  |  Size: 715 B

After

Width:  |  Height:  |  Size: 715 B

Before

Width:  |  Height:  |  Size: 455 B

After

Width:  |  Height:  |  Size: 455 B

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 121 KiB

Before

Width:  |  Height:  |  Size: 483 B

After

Width:  |  Height:  |  Size: 483 B

Before

Width:  |  Height:  |  Size: 498 B

After

Width:  |  Height:  |  Size: 498 B

Before

Width:  |  Height:  |  Size: 497 B

After

Width:  |  Height:  |  Size: 497 B

Before

Width:  |  Height:  |  Size: 494 B

After

Width:  |  Height:  |  Size: 494 B

Before

Width:  |  Height:  |  Size: 462 B

After

Width:  |  Height:  |  Size: 462 B

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B

Before

Width:  |  Height:  |  Size: 486 B

After

Width:  |  Height:  |  Size: 486 B

Before

Width:  |  Height:  |  Size: 411 B

After

Width:  |  Height:  |  Size: 411 B

Before

Width:  |  Height:  |  Size: 498 B

After

Width:  |  Height:  |  Size: 498 B

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before

Width:  |  Height:  |  Size: 783 B

After

Width:  |  Height:  |  Size: 783 B

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 572 B

After

Width:  |  Height:  |  Size: 572 B

Before

Width:  |  Height:  |  Size: 692 B

After

Width:  |  Height:  |  Size: 692 B

Before

Width:  |  Height:  |  Size: 169 B

After

Width:  |  Height:  |  Size: 169 B

Before

Width:  |  Height:  |  Size: 192 B

After

Width:  |  Height:  |  Size: 192 B

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 216 B

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save