Revert "Finish renaming tdevelop components"

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

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

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

@ -124,7 +124,7 @@ EXCLUDE_PATTERNS = *.moc.* \
*face_skel.cpp \
*.ui.h
EXAMPLE_PATH = languages/cpp/app_templates/khello \
languages/cpp/app_templates/tdevpart
languages/cpp/app_templates/kdevpart
EXAMPLE_PATTERNS =
EXAMPLE_RECURSIVE = NO
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
xdg_apps_DATA = tdevelop.desktop tdevassistant.desktop tdevelop_ruby.desktop \
tdevelop_c_cpp.desktop tdevelop_tde_cpp.desktop tdevelop_scripting.desktop
xdg_apps_DATA = tdevelop.desktop kdevassistant.desktop tdevelop_ruby.desktop \
tdevelop_c_cpp.desktop tdevelop_kde_cpp.desktop tdevelop_scripting.desktop
#appsdir = $(kde_appsdir)/Development
app_DATA = tde_app_devel.desktop
appdir = $(kde_appsdir)/.hidden
xdg_directory_DATA = tde-development-tdevelop.directory
mime_DATA = x-tdevelop.desktop
mimedir = $(kde_mimedir)/application
kde_bin_SCRIPTS = tdevprj2tdevelop
kde_bin_SCRIPTS = kdevprj2tdevelop
$(top_srcdir)/acinclude.m4: $(top_srcdir)/tdevelop.m4.in
@ -51,7 +48,7 @@ include admin/deps.am
DOXYGEN_SEARCHENGINE = YES
DOXYGEN_EMPTY = YES
DOXYGEN_PROJECTNAME = TDevelop Platform API
DOXYGEN_PROJECTNAME = KDevelop Platform API
include Doxyfile.am
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 ################################
install( FILES tdevadaproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevadaproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevadaproject )
install( FILES kdevadaproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kdevadaproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevadaproject )
##### libtdevadaproject (module) ################
##### libkdevadaproject (module) ################
tde_add_kpart( libtdevadaproject AUTOMOC
tde_add_kpart( libkdevadaproject AUTOMOC
SOURCES
adaproject_part.cpp adaproject_widget.cpp
adaproject_optionsdlgbase.ui adaprojectoptionsdlg.cpp
adaglobaloptionsdlg.cpp service.cpp
LINK tdevbuildbase-shared
LINK kdevbuildbase-shared
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/extras -I$(top_srcdir)/lib/util $(all_includes)
kde_module_LTLIBRARIES = libtdevadaproject.la
libtdevadaproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevadaproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/buildtools/lib/base/libtdevbuildbase.la $(top_builddir)/lib/interfaces/extras/libtdevextras.la
kde_module_LTLIBRARIES = libkdevadaproject.la
libkdevadaproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkdevadaproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.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
servicedir = $(kde_servicesdir)
service_DATA = tdevadaproject.desktop
service_DATA = kdevadaproject.desktop
rcdir = $(kde_datadir)/tdevadaproject
rc_DATA = tdevadaproject.rc
rcdir = $(kde_datadir)/kdevadaproject
rc_DATA = kdevadaproject.rc

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

@ -28,29 +28,29 @@
#include <tdeconfig.h>
#include "domutil.h"
#include "tdevcore.h"
#include "tdevmainwindow.h"
#include "tdevmakefrontend.h"
#include "tdevappfrontend.h"
#include "tdevpartcontroller.h"
#include "tdevlanguagesupport.h"
#include "tdevcompileroptions.h"
#include "tdevgenericfactory.h"
#include <tdevplugininfo.h>
#include "kdevcore.h"
#include "kdevmainwindow.h"
#include "kdevmakefrontend.h"
#include "kdevappfrontend.h"
#include "kdevpartcontroller.h"
#include "kdevlanguagesupport.h"
#include "kdevcompileroptions.h"
#include "kdevgenericfactory.h"
#include <kdevplugininfo.h>
#include "adaproject_widget.h"
#include "adaprojectoptionsdlg.h"
#include "adaglobaloptionsdlg.h"
typedef TDevGenericFactory<AdaProjectPart> AdaProjectFactory;
static const TDevPluginInfo data("tdevadaproject");
K_EXPORT_COMPONENT_FACTORY( libtdevadaproject, AdaProjectFactory( data ) )
typedef KDevGenericFactory<AdaProjectPart> AdaProjectFactory;
static const KDevPluginInfo data("kdevadaproject");
K_EXPORT_COMPONENT_FACTORY( libkdevadaproject, AdaProjectFactory( data ) )
AdaProjectPart::AdaProjectPart(TQObject *parent, const char *name, const TQStringList& )
:TDevBuildTool(&data, parent, name ? name : "AdaProjectPart" )
:KDevBuildTool(&data, parent, name ? name : "AdaProjectPart" )
{
setInstance(AdaProjectFactory::instance());
setXMLFile("tdevadaproject.rc");
setXMLFile("kdevadaproject.rc");
TDEAction *action;
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?"));
// 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.
// 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();
// Set the default directory radio to "executable"
if (DomUtil::readEntry(dom, "/tdevadaproject/run/directoryradio") == "" ) {
DomUtil::writeEntry(dom, "/tdevadaproject/run/directoryradio", "executable");
if (DomUtil::readEntry(dom, "/kdevadaproject/run/directoryradio") == "" ) {
DomUtil::writeEntry(dom, "/kdevadaproject/run/directoryradio", "executable");
}
loadProjectConfig();
@ -165,7 +165,7 @@ void AdaProjectPart::openProject(const TQString &dirName, const TQString &projec
}
} while (!s.isEmpty());
TDevProject::openProject( dirName, projectName );
KDevProject::openProject( dirName, projectName );
}
void AdaProjectPart::closeProject()
@ -175,7 +175,7 @@ void AdaProjectPart::closeProject()
/** Retuns a PairList with the run environment variables */
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 cwd = defaultRunDirectory("tdevadaproject");
TQString cwd = defaultRunDirectory("kdevadaproject");
if (cwd.isEmpty())
cwd = buildDirectory();
return cwd;
@ -212,7 +212,7 @@ TQString AdaProjectPart::mainProgram() const
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();
@ -231,14 +231,14 @@ TQString AdaProjectPart::mainProgram() const
/** Retuns a TQString with the run command line arguments */
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 */
TQString AdaProjectPart::runArguments() const
{
return DomUtil::readEntry(*projectDom(), "/tdevadaproject/run/programargs");
return DomUtil::readEntry(*projectDom(), "/kdevadaproject/run/programargs");
}
TQString AdaProjectPart::mainSource() const
@ -361,12 +361,12 @@ void AdaProjectPart::slotExecute()
void AdaProjectPart::changedFiles( const TQStringList & fileList )
{
TDevProject::changedFiles(fileList);
KDevProject::changedFiles(fileList);
}
void AdaProjectPart::changedFile( const TQString & fileName )
{
TDevProject::changedFile(fileName);
KDevProject::changedFile(fileName);
}
void AdaProjectPart::projectConfigWidget( KDialogBase * dlg )
@ -382,10 +382,10 @@ void AdaProjectPart::loadProjectConfig( )
{
TQDomDocument &dom = *(projectDom());
TQString config = DomUtil::readEntry(dom, "/tdevadaproject/general/useconfiguration", "default");
m_mainSource = DomUtil::readEntry(dom, TQString("/tdevadaproject/configurations/") + config + TQString("/mainsource") );
m_compilerOpts = DomUtil::readEntry(dom, TQString("/tdevadaproject/configurations/") + config + TQString("/compileroptions"));
m_compilerExec = DomUtil::readEntry(dom, TQString("/tdevadaproject/configurations/") + config + TQString("/compilerexec"));
TQString config = DomUtil::readEntry(dom, "/kdevadaproject/general/useconfiguration", "default");
m_mainSource = DomUtil::readEntry(dom, TQString("/kdevadaproject/configurations/") + config + TQString("/mainsource") );
m_compilerOpts = DomUtil::readEntry(dom, TQString("/kdevadaproject/configurations/") + config + TQString("/compileroptions"));
m_compilerExec = DomUtil::readEntry(dom, TQString("/kdevadaproject/configurations/") + config + TQString("/compilerexec"));
if (m_compilerExec.isEmpty())
{
@ -408,7 +408,7 @@ void AdaProjectPart::configWidget( KDialogBase * dlg )
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);
if (!service) {
@ -430,13 +430,13 @@ TDevCompilerOptions *AdaProjectPart::createCompilerOptions(const TQString &name)
args = TQStringList::split(" ", prop.toString());
TQObject *obj = factory->create(this, service->name().latin1(),
"TDevCompilerOptions", args);
"KDevCompilerOptions", args);
if (!obj->inherits("TDevCompilerOptions")) {
kdDebug() << "AdaProjectPart::createCompilerOptions: component does not inherit TDevCompilerOptions" << endl;
if (!obj->inherits("KDevCompilerOptions")) {
kdDebug() << "AdaProjectPart::createCompilerOptions: component does not inherit KDevCompilerOptions" << endl;
return 0;
}
TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj;
KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj;
return dlg;
}

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

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

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

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

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

@ -0,0 +1,100 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Ada Project
Comment[br]=Raktres Ada
Comment[ca]=Projecte Ada
Comment[cs]=Ada projekt
Comment[da]=Ada-projekt
Comment[de]=Ada-Projekt für TDevelop
Comment[el]=Έργο Ada
Comment[es]=Proyecto Ada
Comment[et]=Ada projekt
Comment[eu]=Ada proiektua
Comment[fa]=پروژۀ آدا
Comment[fr]=Projet en Ada
Comment[ga]=Tionscadal Ada
Comment[gl]=Proxecto Ada
Comment[hi]=एडीए परियोजना
Comment[hu]=Ada-projekt
Comment[is]=Ada verkefni
Comment[it]=Progetto Ada
Comment[ja]=Ada プロジェクト
Comment[ms]=Projek Ada
Comment[nds]=Ada-Projekt
Comment[ne]=एडा परियोजना
Comment[nl]=Ada-project
Comment[pa]=Ada ਪ੍ਰੋਜੈਕਟ
Comment[pl]=Projekt: Ada
Comment[pt]=Projecto Ada
Comment[pt_BR]=Projeto Ada
Comment[ro]=Proiect Ada
Comment[ru]=Проект Ada
Comment[sk]=Ada projekt
Comment[sl]=Projekt Ada
Comment[sr]=Ada пројекат
Comment[sr@Latn]=Ada projekat
Comment[sv]=Ada-projekt
Comment[ta]=அடா பிராஜக்ட்
Comment[tg]=Лоиҳаи Ada
Comment[tr]=Ada Projesi
Comment[uz]=Ada loyihasi
Comment[uz@cyrillic]=Ada лойиҳаси
Comment[zh_CN]=Ada 工程
Comment[zh_TW]=Ada 專案
Name=KDevAdaProject
Name[da]=TDevelop Ada-projekt
Name[de]=Ada-Projekt (TDevelop)
Name[fr]=Projet Ada pour TDevelop
Name[hi]=के-डेव-एडीए-परियोजना
Name[nds]=Ada-Projekt (TDevelop)
Name[ne]=केडीई विकास एडा परियोजना
Name[pl]=KDevProjektAda
Name[sk]=KDevAdaProjekt
Name[sv]=TDevelop Ada-projekt
Name[ta]=கெடெவ் அடா பிராஜக்ட்
Name[tg]=Лоиҳаи KDevAda
Name[zh_TW]=TDevelop Ada 專案
GenericName=Ada Project
GenericName[br]=Raktres Ada
GenericName[ca]=Projecte Ada
GenericName[da]=Ada-projekt
GenericName[de]=Ada-Projekt
GenericName[el]=Έργο Ada
GenericName[es]=Proyecto Ada
GenericName[et]=Ada projekt
GenericName[eu]=Ada proiektua
GenericName[fa]=پروژۀ آدا
GenericName[fr]=Projet en Ada
GenericName[ga]=Tionscadal Ada
GenericName[gl]=Proxecto Ada
GenericName[hi]=एडीए परियोजना
GenericName[hu]=Ada-projekt
GenericName[is]=Ada verkefni
GenericName[it]=Project con Ada
GenericName[ja]=Ada プロジェクト
GenericName[ms]=Projek Ada
GenericName[nds]=Ada-Projekt
GenericName[ne]=एडा परियोजना
GenericName[nl]=Ada-project
GenericName[pa]=Ada ਪ੍ਰੋਜੈਕਟ
GenericName[pl]=Projekt: Ada
GenericName[pt]=Projecto Ada
GenericName[pt_BR]=Projeto Ada
GenericName[ru]=Проект Ada
GenericName[sk]=Ada projekt
GenericName[sl]=Projekt Ada
GenericName[sr]=Ada пројекат
GenericName[sr@Latn]=Ada projekat
GenericName[sv]=Ada-projekt
GenericName[ta]=அடா பிராஜக்ட்
GenericName[tg]=Лоиҳаи Ada
GenericName[tr]=Ada Projesi
GenericName[uz]=Ada loyihasi
GenericName[uz@cyrillic]=Ada лойиҳаси
GenericName[zh_CN]=Ada 工程
GenericName[zh_TW]=Ada 專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevadaproject
X-TDevelop-Version=5
X-TDevelop-Language=Ada

@ -1,100 +0,0 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Ada Project
Comment[br]=Raktres Ada
Comment[ca]=Projecte Ada
Comment[cs]=Ada projekt
Comment[da]=Ada-projekt
Comment[de]=Ada-Projekt für TDevelop
Comment[el]=Έργο Ada
Comment[es]=Proyecto Ada
Comment[et]=Ada projekt
Comment[eu]=Ada proiektua
Comment[fa]=پروژۀ آدا
Comment[fr]=Projet en Ada
Comment[ga]=Tionscadal Ada
Comment[gl]=Proxecto Ada
Comment[hi]=एडीए परियोजना
Comment[hu]=Ada-projekt
Comment[is]=Ada verkefni
Comment[it]=Progetto Ada
Comment[ja]=Ada プロジェクト
Comment[ms]=Projek Ada
Comment[nds]=Ada-Projekt
Comment[ne]=एडा परियोजना
Comment[nl]=Ada-project
Comment[pa]=Ada ਪ੍ਰੋਜੈਕਟ
Comment[pl]=Projekt: Ada
Comment[pt]=Projecto Ada
Comment[pt_BR]=Projeto Ada
Comment[ro]=Proiect Ada
Comment[ru]=Проект Ada
Comment[sk]=Ada projekt
Comment[sl]=Projekt Ada
Comment[sr]=Ada пројекат
Comment[sr@Latn]=Ada projekat
Comment[sv]=Ada-projekt
Comment[ta]=அடா பிராஜக்ட்
Comment[tg]=Лоиҳаи Ada
Comment[tr]=Ada Projesi
Comment[uz]=Ada loyihasi
Comment[uz@cyrillic]=Ada лойиҳаси
Comment[zh_CN]=Ada 工程
Comment[zh_TW]=Ada 專案
Name=KDevAdaProject
Name[da]=TDevelop Ada-projekt
Name[de]=Ada-Projekt (TDevelop)
Name[fr]=Projet Ada pour TDevelop
Name[hi]=के-डेव-एडीए-परियोजना
Name[nds]=Ada-Projekt (TDevelop)
Name[ne]=केडीई विकास एडा परियोजना
Name[pl]=KDevProjektAda
Name[sk]=KDevAdaProjekt
Name[sv]=TDevelop Ada-projekt
Name[ta]=கெடெவ் அடா பிராஜக்ட்
Name[tg]=Лоиҳаи KDevAda
Name[zh_TW]=TDevelop Ada 專案
GenericName=Ada Project
GenericName[br]=Raktres Ada
GenericName[ca]=Projecte Ada
GenericName[da]=Ada-projekt
GenericName[de]=Ada-Projekt
GenericName[el]=Έργο Ada
GenericName[es]=Proyecto Ada
GenericName[et]=Ada projekt
GenericName[eu]=Ada proiektua
GenericName[fa]=پروژۀ آدا
GenericName[fr]=Projet en Ada
GenericName[ga]=Tionscadal Ada
GenericName[gl]=Proxecto Ada
GenericName[hi]=एडीए परियोजना
GenericName[hu]=Ada-projekt
GenericName[is]=Ada verkefni
GenericName[it]=Project con Ada
GenericName[ja]=Ada プロジェクト
GenericName[ms]=Projek Ada
GenericName[nds]=Ada-Projekt
GenericName[ne]=एडा परियोजना
GenericName[nl]=Ada-project
GenericName[pa]=Ada ਪ੍ਰੋਜੈਕਟ
GenericName[pl]=Projekt: Ada
GenericName[pt]=Projecto Ada
GenericName[pt_BR]=Projeto Ada
GenericName[ru]=Проект Ada
GenericName[sk]=Ada projekt
GenericName[sl]=Projekt Ada
GenericName[sr]=Ada пројекат
GenericName[sr@Latn]=Ada projekat
GenericName[sv]=Ada-projekt
GenericName[ta]=அடா பிராஜக்ட்
GenericName[tg]=Лоиҳаи Ada
GenericName[tr]=Ada Projesi
GenericName[uz]=Ada loyihasi
GenericName[uz@cyrillic]=Ada лойиҳаси
GenericName[zh_CN]=Ada 工程
GenericName[zh_TW]=Ada 專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevadaproject
X-TDevelop-Version=5
X-TDevelop-Language=Ada

@ -26,15 +26,15 @@ link_directories(
##### other data ################################
install( FILES tdevantproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevantproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevantproject )
install( FILES kdevantproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kdevantproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevantproject )
##### libtdevantproject (module) ################
##### libkdevantproject (module) ################
tde_add_kpart( libtdevantproject AUTOMOC
tde_add_kpart( libkdevantproject AUTOMOC
SOURCES
antprojectpart.cpp antoptionswidget.ui classpathwidget.ui
LINK tdevbuildbase-shared
LINK kdevbuildbase-shared
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 \
$(all_includes)
kde_module_LTLIBRARIES = libtdevantproject.la
libtdevantproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevantproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la
kde_module_LTLIBRARIES = libkdevantproject.la
libkdevantproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkdevantproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.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
servicedir = $(kde_servicesdir)
service_DATA = tdevantproject.desktop
service_DATA = kdevantproject.desktop
rcdir = $(kde_datadir)/tdevantproject
rc_DATA = tdevantproject.rc
rcdir = $(kde_datadir)/kdevantproject
rc_DATA = kdevantproject.rc

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

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

@ -0,0 +1,96 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Ant Project
Comment[br]=Raktres Ant
Comment[ca]=Projecte Ant
Comment[cs]=Ant projekt
Comment[da]=Ant-projekt
Comment[de]=Ant-Projekt für TDevelop
Comment[el]=Έργο Ant
Comment[es]=Proyecto Ant
Comment[et]=Ant projekt
Comment[eu]=Ant proiektua
Comment[fa]=پروژۀ Ant
Comment[fr]=Projet avec Ant
Comment[ga]=Comhad tionscadail Ant
Comment[gl]=Proxecto Ant
Comment[hi]=एएनटी परियोजना
Comment[hu]=Ant-projekt
Comment[is]=Ant verkefni
Comment[it]=Progetto Ant
Comment[ja]=Ant プロジェクト
Comment[ms]=Projek Ant
Comment[nds]=Ant-Projekt
Comment[ne]=एन्ट परियोजना
Comment[nl]=Ant-project
Comment[pa]=Ant ਪ੍ਰੋਜੈਕਟ
Comment[pl]=Projekt: Ant
Comment[pt]=Projecto Ant
Comment[pt_BR]=Projeto Ant
Comment[ru]=Проект Ant
Comment[sk]=Ant projekt
Comment[sl]=Projekt Ant
Comment[sr]=Ant пројекат
Comment[sr@Latn]=Ant projekat
Comment[sv]=Ant-projekt
Comment[ta]=ஆன்ட்பிராஜக்ட்
Comment[tg]=Лоиҳаи Ant
Comment[tr]=Ant Projesi
Comment[uz]=Ant loyihasi
Comment[uz@cyrillic]=Ant лойиҳаси
Comment[zh_CN]=Ant 工程
Comment[zh_TW]=Ant 專案
Name=KDevAntProject
Name[da]=TDevelop Ant-projekt
Name[de]=Ant-Projekt (TDevelop)
Name[hi]=के-डेव-एएनटी-परियोजना
Name[nds]=Ant-Projekt (TDevelop)
Name[ne]=केडीई विकास एन्ट परियोजना
Name[pl]=KDevProjektAnt
Name[sk]=KDevAntProjekt
Name[sv]=TDevelop Ant-projekt
Name[ta]=கெடெவ்ஆன்ட் பிராஜக்ட்
Name[tg]=Лоиҳаи KDevAnt
Name[zh_TW]=TDevelop Ant 專案
GenericName=Ant Project
GenericName[br]=Raktres Ant
GenericName[ca]=Projecte Ant
GenericName[da]=Ant-projekt
GenericName[de]=Ant-Projekt
GenericName[el]=Έργο Ant
GenericName[es]=Proyecto Ant
GenericName[et]=Ant projekt
GenericName[eu]=Ant proiektua
GenericName[fa]=پروژۀ Ant
GenericName[fr]=Projet avec Ant
GenericName[ga]=Comhad tionscadail Ant
GenericName[gl]=Proxecto Ant
GenericName[hi]=एएनटी परियोजना
GenericName[hu]=Ant-projekt
GenericName[it]=Project con Ant
GenericName[ja]=Ant プロジェクト
GenericName[ms]=Projek Ant
GenericName[nds]=Ant-Projekt
GenericName[ne]=एन्ट परियोजना
GenericName[nl]=Ant-project
GenericName[pl]=Projekt: Ant
GenericName[pt]=Projecto Ant
GenericName[pt_BR]=Projeto Ant
GenericName[ru]=Проект Ant
GenericName[sk]=Ant projekt
GenericName[sl]=Projekt Ant
GenericName[sr]=Ant пројекат
GenericName[sr@Latn]=Ant projekat
GenericName[sv]=Ant-projekt
GenericName[ta]=ஆன்ட்பிராஜக்ட்
GenericName[tg]=Лоиҳаи Ant
GenericName[tr]=Ant Projesi
GenericName[uz]=Ant loyihasi
GenericName[uz@cyrillic]=Ant лойиҳаси
GenericName[zh_CN]=Ant 工程
GenericName[zh_TW]=Ant 專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevantproject
X-TDevelop-Version=5
X-TDevelop-Args=

@ -1,96 +0,0 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Ant Project
Comment[br]=Raktres Ant
Comment[ca]=Projecte Ant
Comment[cs]=Ant projekt
Comment[da]=Ant-projekt
Comment[de]=Ant-Projekt für TDevelop
Comment[el]=Έργο Ant
Comment[es]=Proyecto Ant
Comment[et]=Ant projekt
Comment[eu]=Ant proiektua
Comment[fa]=پروژۀ Ant
Comment[fr]=Projet avec Ant
Comment[ga]=Comhad tionscadail Ant
Comment[gl]=Proxecto Ant
Comment[hi]=एएनटी परियोजना
Comment[hu]=Ant-projekt
Comment[is]=Ant verkefni
Comment[it]=Progetto Ant
Comment[ja]=Ant プロジェクト
Comment[ms]=Projek Ant
Comment[nds]=Ant-Projekt
Comment[ne]=एन्ट परियोजना
Comment[nl]=Ant-project
Comment[pa]=Ant ਪ੍ਰੋਜੈਕਟ
Comment[pl]=Projekt: Ant
Comment[pt]=Projecto Ant
Comment[pt_BR]=Projeto Ant
Comment[ru]=Проект Ant
Comment[sk]=Ant projekt
Comment[sl]=Projekt Ant
Comment[sr]=Ant пројекат
Comment[sr@Latn]=Ant projekat
Comment[sv]=Ant-projekt
Comment[ta]=ஆன்ட்பிராஜக்ட்
Comment[tg]=Лоиҳаи Ant
Comment[tr]=Ant Projesi
Comment[uz]=Ant loyihasi
Comment[uz@cyrillic]=Ant лойиҳаси
Comment[zh_CN]=Ant 工程
Comment[zh_TW]=Ant 專案
Name=KDevAntProject
Name[da]=TDevelop Ant-projekt
Name[de]=Ant-Projekt (TDevelop)
Name[hi]=के-डेव-एएनटी-परियोजना
Name[nds]=Ant-Projekt (TDevelop)
Name[ne]=केडीई विकास एन्ट परियोजना
Name[pl]=KDevProjektAnt
Name[sk]=KDevAntProjekt
Name[sv]=TDevelop Ant-projekt
Name[ta]=கெடெவ்ஆன்ட் பிராஜக்ட்
Name[tg]=Лоиҳаи KDevAnt
Name[zh_TW]=TDevelop Ant 專案
GenericName=Ant Project
GenericName[br]=Raktres Ant
GenericName[ca]=Projecte Ant
GenericName[da]=Ant-projekt
GenericName[de]=Ant-Projekt
GenericName[el]=Έργο Ant
GenericName[es]=Proyecto Ant
GenericName[et]=Ant projekt
GenericName[eu]=Ant proiektua
GenericName[fa]=پروژۀ Ant
GenericName[fr]=Projet avec Ant
GenericName[ga]=Comhad tionscadail Ant
GenericName[gl]=Proxecto Ant
GenericName[hi]=एएनटी परियोजना
GenericName[hu]=Ant-projekt
GenericName[it]=Project con Ant
GenericName[ja]=Ant プロジェクト
GenericName[ms]=Projek Ant
GenericName[nds]=Ant-Projekt
GenericName[ne]=एन्ट परियोजना
GenericName[nl]=Ant-project
GenericName[pl]=Projekt: Ant
GenericName[pt]=Projecto Ant
GenericName[pt_BR]=Projeto Ant
GenericName[ru]=Проект Ant
GenericName[sk]=Ant projekt
GenericName[sl]=Projekt Ant
GenericName[sr]=Ant пројекат
GenericName[sr@Latn]=Ant projekat
GenericName[sv]=Ant-projekt
GenericName[ta]=ஆன்ட்பிராஜக்ட்
GenericName[tg]=Лоиҳаи Ant
GenericName[tr]=Ant Projesi
GenericName[uz]=Ant loyihasi
GenericName[uz@cyrillic]=Ant лойиҳаси
GenericName[zh_CN]=Ant 工程
GenericName[zh_TW]=Ant 專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevantproject
X-TDevelop-Version=5
X-TDevelop-Args=

@ -32,13 +32,13 @@ link_directories(
##### other data ################################
install( FILES tdevautoproject.desktop tdevtdeautoproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevautoproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevautoproject )
install( FILES kdevautoproject.desktop kdevtdeautoproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kdevautoproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevautoproject )
##### libtdevautoproject (module) ###############
##### libkdevautoproject (module) ###############
tde_add_kpart( libtdevautoproject AUTOMOC
tde_add_kpart( libkdevautoproject AUTOMOC
SOURCES
autoprojectpart.cpp autoprojectwidget.cpp
configureoptionswidget.cpp configureoptionswidgetbase.ui
@ -60,6 +60,6 @@ tde_add_kpart( libtdevautoproject AUTOMOC
autolistviewitems.cpp managecustomcommandsbase.ui
managecustomcommand.cpp autoprojectviewbase.ui
autotoolsaction.cpp makefilehandler.cpp
LINK tdevautotoolsparser-static tdevbuildbase-shared tdevbuildtoolswidgets-shared
LINK kdevautotoolsparser-static kdevbuildbase-shared kdevbuildtoolswidgets-shared
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
kde_module_LTLIBRARIES = libtdevautoproject.la
libtdevautoproject_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEPARTS) $(KDE_PLUGIN)
libtdevautoproject_la_LIBADD = \
$(top_builddir)/buildtools/lib/base/libtdevbuildbase.la \
$(top_builddir)/buildtools/lib/parsers/autotools/libtdevautotoolsparser.la $(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la \
$(top_builddir)/lib/interfaces/extras/libtdevextras.la $(top_builddir)/lib/libtdevelop.la
kde_module_LTLIBRARIES = libkdevautoproject.la
libkdevautoproject_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEPARTS) $(KDE_PLUGIN)
libkdevautoproject_la_LIBADD = \
$(top_builddir)/buildtools/lib/base/libkdevbuildbase.la \
$(top_builddir)/buildtools/lib/parsers/autotools/libkdevautotoolsparser.la $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.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 \
subprojectoptionsdlgbase.ui targetoptionsdlg.cpp targetoptionsdlgbase.ui addservicedlg.cpp \
addservicedlgbase.ui addapplicationdlg.cpp addapplicationdlgbase.ui addtargetdlg.cpp \
@ -30,9 +30,9 @@ libtdevautoproject_la_SOURCES = autoprojectpart.cpp autoprojectwidget.cpp \
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
service_DATA = tdevautoproject.desktop tdevtdeautoproject.desktop
service_DATA = kdevautoproject.desktop kdevtdeautoproject.desktop
rcdir = $(kde_datadir)/tdevautoproject
rc_DATA = tdevautoproject.rc
rcdir = $(kde_datadir)/kdevautoproject
rc_DATA = kdevautoproject.rc
noinst_HEADERS = managecustomcommand.h autotoolsaction.h makefilehandler.h

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

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

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

@ -45,34 +45,34 @@
#include <kprocess.h>
#include <domutil.h>
#include <tdevcore.h>
#include <tdevmakefrontend.h>
#include <tdevappfrontend.h>
#include <tdevmainwindow.h>
#include <tdevpartcontroller.h>
#include <kdevcore.h>
#include <kdevmakefrontend.h>
#include <kdevappfrontend.h>
#include <kdevmainwindow.h>
#include <kdevpartcontroller.h>
#include <makeoptionswidget.h>
#include <runoptionswidget.h>
#include <envvartools.h>
#include <configwidgetproxy.h>
#include <tdevplugininfo.h>
#include <kdevplugininfo.h>
#include <urlutil.h>
#define CONFIGURE_OPTIONS 1
#define RUN_OPTIONS 2
#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)
: TDevBuildTool(&data, parent, name ? name : "AutoProjectPart")
: KDevBuildTool(&data, parent, name ? name : "AutoProjectPart")
, m_lastCompilationFailed(false)
{
setInstance(AutoProjectFactory::instance());
setXMLFile("tdevautoproject.rc");
setXMLFile("kdevautoproject.rc");
m_executeAfterBuild = false;
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");
}
TDevProject::openProject( dirName, projectName );
KDevProject::openProject( dirName, projectName );
}
@ -358,7 +358,7 @@ TQString AutoProjectPart::runDirectory() const
TQString cwd;
if( DomUtil::readBoolEntry(dom, "/kdevautoproject/run/useglobalprogram", false) || !m_widget->activeTarget() )
{
cwd = defaultRunDirectory("tdevautoproject");
cwd = defaultRunDirectory("kdevautoproject");
}else
{
cwd = DomUtil::readEntry( dom, "/kdevautoproject/run/cwd/"+m_widget->activeTarget()->name );
@ -585,7 +585,7 @@ TQStringList AutoProjectPart::allBuildConfigs() const
TQStringList allConfigs;
allConfigs.append("default");
TQDomNode node = dom.documentElement().namedItem("tdevautoproject").namedItem("configurations");
TQDomNode node = dom.documentElement().namedItem("kdevautoproject").namedItem("configurations");
TQDomElement childEl = node.firstChild().toElement();
while (!childEl.isNull())
{
@ -1075,7 +1075,7 @@ TQString AutoProjectPart::updateAdminDirectoryCommand() const
// Find the admin tarball
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");
if (source != "") {
TQString cmdline = "rm -rf admin && tar -xzvf ";
@ -1453,7 +1453,7 @@ bool AutoProjectPart::isKDE() const
return m_isKDE;
}
TDevProject::Options AutoProjectPart::options() const
KDevProject::Options AutoProjectPart::options() const
{
return UsesAutotoolsBuildSystem;
}

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

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

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

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

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

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

@ -43,7 +43,7 @@
#include "autoprojectwidget.h"
#include "autoprojectpart.h"
#include "tdevlanguagesupport.h"
#include "kdevlanguagesupport.h"
#include "tdefilednddetailview.h"
#include "tdefiledndiconview.h"
@ -140,7 +140,7 @@ FileSelectorWidget::FileSelectorWidget(AutoProjectPart* part, KFile::Mode mode,
/* read the file patterns from the project DOM */
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 groupEl = groupsEl.firstChild().toElement();

@ -0,0 +1,97 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Automake Project
Comment[br]=Raktres Automake
Comment[ca]=Projecte Automake
Comment[da]=Automake-projekt
Comment[de]=Automake-Projekt für TDevelop
Comment[el]=Έργο Automake
Comment[es]=Proyecto de Automake
Comment[et]=Automake'i project
Comment[eu]=Automake proiektua
Comment[fa]=پروژۀ Automake
Comment[fr]=Projet avec Automake
Comment[ga]=Comhad tionscadail Automake
Comment[gl]=Proxecto Automake
Comment[hi]=ऑटोमेक परियोजना
Comment[hu]=Automake-projekt
Comment[is]=Automake verkefni
Comment[it]=Progetto per automake
Comment[ja]=Automake プロジェクト
Comment[ms]=Projek Automake
Comment[nds]=Automake-Projekt
Comment[ne]=स्वत: निर्माण परियोजना
Comment[nl]=Automake-project
Comment[pa]=ਆਟੋਮੈਕ ਪ੍ਰੋਜੈਕਟ
Comment[pl]=Projekt: Automake
Comment[pt]=Projecto Automake
Comment[pt_BR]=Projeto Automake
Comment[ru]=Проект Automake
Comment[sk]=Automake projekt
Comment[sl]=Projekt automake
Comment[sr]=Automake пројекат
Comment[sr@Latn]=Automake projekat
Comment[sv]=Automake-projekt
Comment[ta]=ஆட்டோமேக் பிராஜக்ட்
Comment[tg]=Лоиҳаи Automake
Comment[tr]=Automake Projesi
Comment[uz]=Automake loyihasi
Comment[uz@cyrillic]=Automake лойиҳаси
Comment[zh_CN]=Automake 工程
Comment[zh_TW]=Automake 專案
Name=KDevAutoProject
Name[da]=TDevelop Automake-projekt
Name[de]=Automake-Projekt (TDevelop)
Name[hi]=के-डेव-ऑटो-परियोजना
Name[nds]=Automake-Projekt (TDevelop)
Name[ne]=केडीई विकास स्वत: परियोजना
Name[pl]=KDevProjektAuto
Name[pt_BR]=KDevAutoProjeto
Name[sk]=KDevAutoProjekt
Name[sv]=TDevelop autoprojekt
Name[ta]=கெடெவ்ஆட்டோ பிராஜக்ட்
Name[tg]=Лоиҳаи KDevAuto
Name[zh_TW]=TDevelop Automake 專案
GenericName=Automake Project
GenericName[br]=Raktres Automake
GenericName[ca]=Projecte Automake
GenericName[da]=Automake-projekt
GenericName[de]=Automake-Projekt
GenericName[el]=Έργο Automake
GenericName[es]=Proyecto de Automake
GenericName[et]=Automake'i projekt
GenericName[eu]=Automake proiektua
GenericName[fa]=پروژۀ Automake
GenericName[fr]=Projet avec Automake
GenericName[ga]=Comhad tionscadail Automake
GenericName[gl]=Proxecto Automake
GenericName[hi]=ऑटोमेक परियोजना
GenericName[hu]=Automake-projekt
GenericName[it]=Progetto Automake
GenericName[ja]=Automake プロジェクト
GenericName[ms]=Projek Automake
GenericName[nds]=Automake-Projekt
GenericName[ne]=स्वत: निर्माण परियोजना
GenericName[nl]=Automake-project
GenericName[pl]=Projekt: Automake
GenericName[pt]=Projecto de Automake
GenericName[pt_BR]=Projeto Automake
GenericName[ru]=Проект Automake
GenericName[sk]=Automake projekt
GenericName[sl]=Projekt automake
GenericName[sr]=Automake пројекат
GenericName[sr@Latn]=Automake projekat
GenericName[sv]=Automake-projekt
GenericName[ta]=ஆட்டோமேக் பிராஜக்ட்
GenericName[tg]=Лоиҳаи Automake
GenericName[tr]=Automake Projesi
GenericName[uz]=Automake loyihasi
GenericName[uz@cyrillic]=Automake лойиҳаси
GenericName[zh_CN]=Automake 工程
GenericName[zh_TW]=Automake 專案
ServiceTypes=TDevelop/Project
Icon=make
X-TDE-Library=libkdevautoproject
X-TDevelop-Version=5
X-TDevelop-Args=

@ -0,0 +1,92 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=TDE Automake Project
Comment[br]=Raktres TDE Automake
Comment[ca]=Projecte Automake per al TDE
Comment[da]=TDE Automake-projekt
Comment[de]=TDE-Automake-Projekt für TDevelop
Comment[el]=Έργο TDE Automake
Comment[es]=Proyecto de Automake de TDE
Comment[et]=TDE automake'i projekt
Comment[eu]=TDE automake proiektua
Comment[fa]=پروژۀ TDE Automake
Comment[fr]=Projet Automake pour TDE
Comment[ga]=Tionscadal Automake TDE
Comment[gl]=Proxecto Automake de TDE
Comment[hi]=केडीई ऑटोमेक परियोजना
Comment[hu]=TDE Automake-projekt
Comment[is]=TDE Automake verkefni
Comment[it]=Progetto TDE per automake
Comment[ja]=TDE Automake プロジェクト
Comment[ms]=Projek Automake TDE
Comment[nds]=Automake-Projekt vun TDE
Comment[ne]=केडीई स्वत: निर्माण परियोजना
Comment[nl]=TDE Automake-project
Comment[pt]=Projecto Automake do TDE
Comment[pt_BR]=Projeto Automake do TDE
Comment[ru]=Проект TDE Automake
Comment[sk]=TDE Automake projekt
Comment[sl]=Projekt TDE Automake
Comment[sr]=TDE-ов Automake пројекат
Comment[sr@Latn]=TDE-ov Automake projekat
Comment[sv]=TDE Automake-projekt
Comment[ta]=TDE ஆட்டோமேக் பிராஜக்ட்
Comment[tg]=Лоиҳаи TDE Automake
Comment[tr]=TDE Automake Projesi
Comment[zh_CN]=TDE Automake 工程
Comment[zh_TW]=TDE Automake 專案
Name=KDevTDEAutoProject
Name[da]=TDevelop TDE Automake-projekt
Name[de]=TDE-Automake-Projekt (TDevelop)
Name[hi]=के-डेव-केडीई-ऑटो-परियोजना
Name[nds]=Automake-Projekt (TDE/TDevelop)
Name[ne]=केडीई विकास केडीई स्वत: परियोजना
Name[pl]=KDevProjektTDEAuto
Name[pt_BR]=KDevTDEAutoProjeto
Name[sk]=KDevAutoProjekt
Name[sv]=TDevelop TDE-autoprojekt
Name[ta]=கெடெவ்ஆட்டோ பிராஜக்ட்
Name[tg]=Лоиҳаи худкори KDevTDEAuto
Name[zh_TW]=TDevelop TDE Automake 專案
GenericName=TDE Automake Project
GenericName[br]=Raktres TDE Automake
GenericName[ca]=Projecte Automake per al TDE
GenericName[cs]=TDE Automake projekt
GenericName[da]=TDE Automake-projekt
GenericName[de]=TDE-Automake-Projekt
GenericName[el]=Έργο TDE Automake
GenericName[es]=Proyecto de Automake de TDE
GenericName[et]=TDE automake'i projekt
GenericName[eu]=TDE automake proiektua
GenericName[fa]=پروژۀ TDE Automake
GenericName[fr]=Projet avec Automake pour TDE
GenericName[ga]=Tionscadal Automake TDE
GenericName[gl]=Proxecto Automake de TDE
GenericName[hi]=केडीई ऑटोमेक परियोजना
GenericName[hu]=TDE Automake-projekt
GenericName[it]=Progetto TDE Automake
GenericName[ja]=TDE Automake プロジェクト
GenericName[ms]=Projek Automake TDE
GenericName[nds]=Automake-Projekt vun TDE
GenericName[ne]=केडीई स्वत: निर्माण परियोजना
GenericName[nl]=TDE Automake-project
GenericName[pl]=Projekt: TDE Automake
GenericName[pt]=Projecto TDE com Automake
GenericName[pt_BR]=Projeto Automake do TDE
GenericName[ru]=Проект TDE Automake
GenericName[sk]=TDE Automake projekt
GenericName[sl]=Projekt TDE Automake
GenericName[sr]=TDE-ов Automake пројекат
GenericName[sr@Latn]=TDE-ov Automake projekat
GenericName[sv]=TDE Automake-projekt
GenericName[ta]=TDE ஆட்டோமேக் பிராஜக்ட்
GenericName[tg]=Лоиҳаи TDE Automake
GenericName[tr]=TDE Automake Projesi
GenericName[zh_CN]=TDE Automake 工程
GenericName[zh_TW]=TDE Automake 專案
ServiceTypes=TDevelop/Project
Icon=make
X-TDE-Library=libkdevautoproject
X-TDevelop-Version=5
X-TDevelop-Args=kde

@ -21,10 +21,10 @@
#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 );
if ( !service )
@ -48,13 +48,13 @@ static TDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec
args = TQStringList::split(" ", prop.toString());
TQObject *obj = factory->create(parent, service->name().latin1(),
"TDevCompilerOptions", args);
"KDevCompilerOptions", args);
if (!obj->inherits("TDevCompilerOptions")) {
kdDebug(9020) << "Component does not inherit TDevCompilerOptions" << endl;
if (!obj->inherits("KDevCompilerOptions")) {
kdDebug(9020) << "Component does not inherit KDevCompilerOptions" << endl;
return 0;
}
TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj;
KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj;
return dlg;
@ -65,14 +65,14 @@ static TDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec
args = TQStringList::split( " ", prop.toString() );
return KParts::ComponentFactory
::createInstanceFromService<TDevCompilerOptions>( service, parent,
::createInstanceFromService<KDevCompilerOptions>( service, parent,
service->name().latin1(), args );*/
}
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 )
{

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

@ -1,97 +0,0 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Automake Project
Comment[br]=Raktres Automake
Comment[ca]=Projecte Automake
Comment[da]=Automake-projekt
Comment[de]=Automake-Projekt für TDevelop
Comment[el]=Έργο Automake
Comment[es]=Proyecto de Automake
Comment[et]=Automake'i project
Comment[eu]=Automake proiektua
Comment[fa]=پروژۀ Automake
Comment[fr]=Projet avec Automake
Comment[ga]=Comhad tionscadail Automake
Comment[gl]=Proxecto Automake
Comment[hi]=ऑटोमेक परियोजना
Comment[hu]=Automake-projekt
Comment[is]=Automake verkefni
Comment[it]=Progetto per automake
Comment[ja]=Automake プロジェクト
Comment[ms]=Projek Automake
Comment[nds]=Automake-Projekt
Comment[ne]=स्वत: निर्माण परियोजना
Comment[nl]=Automake-project
Comment[pa]=ਆਟੋਮੈਕ ਪ੍ਰੋਜੈਕਟ
Comment[pl]=Projekt: Automake
Comment[pt]=Projecto Automake
Comment[pt_BR]=Projeto Automake
Comment[ru]=Проект Automake
Comment[sk]=Automake projekt
Comment[sl]=Projekt automake
Comment[sr]=Automake пројекат
Comment[sr@Latn]=Automake projekat
Comment[sv]=Automake-projekt
Comment[ta]=ஆட்டோமேக் பிராஜக்ட்
Comment[tg]=Лоиҳаи Automake
Comment[tr]=Automake Projesi
Comment[uz]=Automake loyihasi
Comment[uz@cyrillic]=Automake лойиҳаси
Comment[zh_CN]=Automake 工程
Comment[zh_TW]=Automake 專案
Name=KDevAutoProject
Name[da]=TDevelop Automake-projekt
Name[de]=Automake-Projekt (TDevelop)
Name[hi]=के-डेव-ऑटो-परियोजना
Name[nds]=Automake-Projekt (TDevelop)
Name[ne]=केडीई विकास स्वत: परियोजना
Name[pl]=KDevProjektAuto
Name[pt_BR]=KDevAutoProjeto
Name[sk]=KDevAutoProjekt
Name[sv]=TDevelop autoprojekt
Name[ta]=கெடெவ்ஆட்டோ பிராஜக்ட்
Name[tg]=Лоиҳаи KDevAuto
Name[zh_TW]=TDevelop Automake 專案
GenericName=Automake Project
GenericName[br]=Raktres Automake
GenericName[ca]=Projecte Automake
GenericName[da]=Automake-projekt
GenericName[de]=Automake-Projekt
GenericName[el]=Έργο Automake
GenericName[es]=Proyecto de Automake
GenericName[et]=Automake'i projekt
GenericName[eu]=Automake proiektua
GenericName[fa]=پروژۀ Automake
GenericName[fr]=Projet avec Automake
GenericName[ga]=Comhad tionscadail Automake
GenericName[gl]=Proxecto Automake
GenericName[hi]=ऑटोमेक परियोजना
GenericName[hu]=Automake-projekt
GenericName[it]=Progetto Automake
GenericName[ja]=Automake プロジェクト
GenericName[ms]=Projek Automake
GenericName[nds]=Automake-Projekt
GenericName[ne]=स्वत: निर्माण परियोजना
GenericName[nl]=Automake-project
GenericName[pl]=Projekt: Automake
GenericName[pt]=Projecto de Automake
GenericName[pt_BR]=Projeto Automake
GenericName[ru]=Проект Automake
GenericName[sk]=Automake projekt
GenericName[sl]=Projekt automake
GenericName[sr]=Automake пројекат
GenericName[sr@Latn]=Automake projekat
GenericName[sv]=Automake-projekt
GenericName[ta]=ஆட்டோமேக் பிராஜக்ட்
GenericName[tg]=Лоиҳаи Automake
GenericName[tr]=Automake Projesi
GenericName[uz]=Automake loyihasi
GenericName[uz@cyrillic]=Automake лойиҳаси
GenericName[zh_CN]=Automake 工程
GenericName[zh_TW]=Automake 專案
ServiceTypes=TDevelop/Project
Icon=make
X-TDE-Library=libtdevautoproject
X-TDevelop-Version=5
X-TDevelop-Args=

@ -1,92 +0,0 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=TDE Automake Project
Comment[br]=Raktres TDE Automake
Comment[ca]=Projecte Automake per al TDE
Comment[da]=TDE Automake-projekt
Comment[de]=TDE-Automake-Projekt für TDevelop
Comment[el]=Έργο TDE Automake
Comment[es]=Proyecto de Automake de TDE
Comment[et]=TDE automake'i projekt
Comment[eu]=TDE automake proiektua
Comment[fa]=پروژۀ TDE Automake
Comment[fr]=Projet Automake pour TDE
Comment[ga]=Tionscadal Automake TDE
Comment[gl]=Proxecto Automake de TDE
Comment[hi]=केडीई ऑटोमेक परियोजना
Comment[hu]=TDE Automake-projekt
Comment[is]=TDE Automake verkefni
Comment[it]=Progetto TDE per automake
Comment[ja]=TDE Automake プロジェクト
Comment[ms]=Projek Automake TDE
Comment[nds]=Automake-Projekt vun TDE
Comment[ne]=केडीई स्वत: निर्माण परियोजना
Comment[nl]=TDE Automake-project
Comment[pt]=Projecto Automake do TDE
Comment[pt_BR]=Projeto Automake do TDE
Comment[ru]=Проект TDE Automake
Comment[sk]=TDE Automake projekt
Comment[sl]=Projekt TDE Automake
Comment[sr]=TDE-ов Automake пројекат
Comment[sr@Latn]=TDE-ov Automake projekat
Comment[sv]=TDE Automake-projekt
Comment[ta]=TDE ஆட்டோமேக் பிராஜக்ட்
Comment[tg]=Лоиҳаи TDE Automake
Comment[tr]=TDE Automake Projesi
Comment[zh_CN]=TDE Automake 工程
Comment[zh_TW]=TDE Automake 專案
Name=KDevTDEAutoProject
Name[da]=TDevelop TDE Automake-projekt
Name[de]=TDE-Automake-Projekt (TDevelop)
Name[hi]=के-डेव-केडीई-ऑटो-परियोजना
Name[nds]=Automake-Projekt (TDE/TDevelop)
Name[ne]=केडीई विकास केडीई स्वत: परियोजना
Name[pl]=KDevProjektTDEAuto
Name[pt_BR]=KDevTDEAutoProjeto
Name[sk]=KDevAutoProjekt
Name[sv]=TDevelop TDE-autoprojekt
Name[ta]=கெடெவ்ஆட்டோ பிராஜக்ட்
Name[tg]=Лоиҳаи худкори KDevTDEAuto
Name[zh_TW]=TDevelop TDE Automake 專案
GenericName=TDE Automake Project
GenericName[br]=Raktres TDE Automake
GenericName[ca]=Projecte Automake per al TDE
GenericName[cs]=TDE Automake projekt
GenericName[da]=TDE Automake-projekt
GenericName[de]=TDE-Automake-Projekt
GenericName[el]=Έργο TDE Automake
GenericName[es]=Proyecto de Automake de TDE
GenericName[et]=TDE automake'i projekt
GenericName[eu]=TDE automake proiektua
GenericName[fa]=پروژۀ TDE Automake
GenericName[fr]=Projet avec Automake pour TDE
GenericName[ga]=Tionscadal Automake TDE
GenericName[gl]=Proxecto Automake de TDE
GenericName[hi]=केडीई ऑटोमेक परियोजना
GenericName[hu]=TDE Automake-projekt
GenericName[it]=Progetto TDE Automake
GenericName[ja]=TDE Automake プロジェクト
GenericName[ms]=Projek Automake TDE
GenericName[nds]=Automake-Projekt vun TDE
GenericName[ne]=केडीई स्वत: निर्माण परियोजना
GenericName[nl]=TDE Automake-project
GenericName[pl]=Projekt: TDE Automake
GenericName[pt]=Projecto TDE com Automake
GenericName[pt_BR]=Projeto Automake do TDE
GenericName[ru]=Проект TDE Automake
GenericName[sk]=TDE Automake projekt
GenericName[sl]=Projekt TDE Automake
GenericName[sr]=TDE-ов Automake пројекат
GenericName[sr@Latn]=TDE-ov Automake projekat
GenericName[sv]=TDE Automake-projekt
GenericName[ta]=TDE ஆட்டோமேக் பிராஜக்ட்
GenericName[tg]=Лоиҳаи TDE Automake
GenericName[tr]=TDE Automake Projesi
GenericName[zh_CN]=TDE Automake 工程
GenericName[zh_TW]=TDE Automake 專案
ServiceTypes=TDevelop/Project
Icon=make
X-TDE-Library=libtdevautoproject
X-TDevelop-Version=5
X-TDevelop-Args=kde

@ -30,15 +30,15 @@ link_directories(
##### other data ################################
install( FILES tdevcustomproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevcustomproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevcustomproject )
install( FILES kdevcustomproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kdevcustomproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevcustomproject )
##### libtdevcustomproject (module) #############
##### libkdevcustomproject (module) #############
tde_add_kpart( libtdevcustomproject AUTOMOC
tde_add_kpart( libkdevcustomproject AUTOMOC
SOURCES
selectnewfilesdialog.cpp
selectnewfilesdialogbase.ui custombuildoptionswidget.cpp
@ -46,6 +46,6 @@ tde_add_kpart( libtdevcustomproject AUTOMOC
custommakeconfigwidgetbase.ui custommanagerwidget.cpp
custommanagerwidgetbase.ui customotherconfigwidget.cpp
customotherconfigwidgetbase.ui customprojectpart.cpp
LINK tdevbuildbase-shared tdevbuildtoolswidgets-shared
LINK kdevbuildbase-shared kdevbuildtoolswidgets-shared
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_builddir)/buildtools/lib/widgets
kde_module_LTLIBRARIES = libtdevcustomproject.la
libtdevcustomproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevcustomproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la
kde_module_LTLIBRARIES = libkdevcustomproject.la
libkdevcustomproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkdevcustomproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.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 \
custommakeconfigwidgetbase.ui custommanagerwidget.cpp custommanagerwidgetbase.ui \
customotherconfigwidget.cpp customotherconfigwidgetbase.ui customprojectpart.cpp
@ -18,9 +18,9 @@ libtdevcustomproject_la_SOURCES = selectnewfilesdialog.cpp selectnewfilesdialogb
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
service_DATA = tdevcustomproject.desktop
service_DATA = kdevcustomproject.desktop
rcdir = $(kde_datadir)/tdevcustomproject
rc_DATA = tdevcustomproject.rc
rcdir = $(kde_datadir)/kdevcustomproject
rc_DATA = kdevcustomproject.rc
noinst_HEADERS = selectnewfilesdialog.h custommanagerwidget.h \
customotherconfigwidget.h

@ -31,7 +31,7 @@
#include <kdebug.h>
#include <kdialogbase.h>
#include <keditlistbox.h>
#include <tdevgenericfactory.h>
#include <kdevgenericfactory.h>
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdemainwindow.h>
@ -42,11 +42,11 @@
#include <kprocess.h>
#include "domutil.h"
#include "tdevcore.h"
#include "tdevmainwindow.h"
#include "tdevmakefrontend.h"
#include "tdevappfrontend.h"
#include "tdevpartcontroller.h"
#include "kdevcore.h"
#include "kdevmainwindow.h"
#include "kdevmakefrontend.h"
#include "kdevappfrontend.h"
#include "kdevpartcontroller.h"
#include "runoptionswidget.h"
#include "makeoptionswidget.h"
#include "custombuildoptionswidget.h"
@ -59,18 +59,18 @@
#include "selectnewfilesdialog.h"
#include <tdevplugininfo.h>
#include <kdevplugininfo.h>
typedef TDevGenericFactory<CustomProjectPart> CustomProjectFactory;
static const TDevPluginInfo data( "tdevcustomproject" );
K_EXPORT_COMPONENT_FACTORY( libtdevcustomproject, CustomProjectFactory( data ) )
typedef KDevGenericFactory<CustomProjectPart> CustomProjectFactory;
static const KDevPluginInfo data( "kdevcustomproject" );
K_EXPORT_COMPONENT_FACTORY( libkdevcustomproject, CustomProjectFactory( data ) )
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 )
{
setInstance( CustomProjectFactory::instance() );
setXMLFile( "tdevcustomproject.rc" );
setXMLFile( "kdevcustomproject.rc" );
m_executeAfterBuild = false;
@ -477,7 +477,7 @@ void CustomProjectPart::openProject( const TQString &dirName, const TQString &pr
el.setTagName( "default" );
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 cwd = defaultRunDirectory( "tdevcustomproject" );
TQString cwd = defaultRunDirectory( "kdevcustomproject" );
if ( cwd.isEmpty() )
cwd = buildDirectory();
return cwd;

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

@ -0,0 +1,91 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Custom Project
Comment[br]=Raktres diouzhoc'h
Comment[ca]=Projecte a mida
Comment[cs]=Vlastní projekt
Comment[da]=Brugerdefineret projekt
Comment[de]=Benutzerdefiniertes Projekt für TDevelop
Comment[el]=Προσαρμοσμένo έργο
Comment[es]=Proyecto personalizado
Comment[et]=Kohandatav projekt
Comment[eu]=Proiektu pertsonalizatua
Comment[fa]=پروژۀ سفارشی
Comment[fr]=Projet personnalisé
Comment[ga]=Tionscadal Saincheaptha
Comment[gl]=Proxecto persoalizado
Comment[hi]=कस्टम परियोजना
Comment[hu]=Egyedi projekt
Comment[is]=Sérsniðið verkefni
Comment[it]=Progetto personalizzato
Comment[ja]=カスタムプロジェクト
Comment[ms]=Projek Tersendiri
Comment[nds]=Egen Projekt
Comment[ne]=अनुकूल परियोजना
Comment[nl]=Aangepast project
Comment[pl]=Własny projekt
Comment[pt]=Projecto Personalizado
Comment[pt_BR]=Projeto Personalizado
Comment[ru]=Особый проект
Comment[sk]=Vlastný projekt
Comment[sl]=Poljuben projekt
Comment[sr]=Произвољан пројекат
Comment[sr@Latn]=Proizvoljan projekat
Comment[sv]=Eget projekt
Comment[ta]=தனிப்பயன் பிராஜக்ட்
Comment[tg]=Лоиҳаи оддӣ
Comment[tr]=Özel Proje
Comment[zh_CN]=自定义工程
Comment[zh_TW]=自訂專案
Name=KDevCustomProject
Name[da]=TDevelop brugerdefineret projekt
Name[de]=Benutzerdefiniertes Projekt (TDevelop)
Name[hi]=के-डेव-कस्टम-परियोजना
Name[nds]=Egen Projekt (TDevelop)
Name[ne]=केडीई विकास अनुकूल परियोजना
Name[pl]=KDevWłasnyProjekt
Name[sk]=KDevVlastnýProjekt
Name[sv]=TDevelop eget projekt
Name[ta]=கெடெவ் தனிப்பயன் பிராஜக்ட்
Name[tg]=Лоиҳаи оддӣKDev
Name[zh_TW]=TDevelop 自訂專案
GenericName=Custom Project
GenericName[br]=Raktres diouzhoc'h
GenericName[ca]=Projecte a mida
GenericName[da]=Brugerdefineret projekt
GenericName[de]=Benutzerdefiniertes Projekt
GenericName[el]=Προσαρμοσμένο έργο
GenericName[es]=Proyecto personalizado
GenericName[et]=Kohandatav projekt
GenericName[eu]=Proiektu pertsonalizatua
GenericName[fa]=پروژۀ سفارشی
GenericName[fr]=Projet personnalisé
GenericName[ga]=Tionscadal Saincheaptha
GenericName[gl]=Proxecto persoalizado
GenericName[hi]=कस्टम परियोजना
GenericName[hu]=Egyedi projekt
GenericName[it]=Progetto personalizzato
GenericName[ja]=カスタムプロジェクト
GenericName[ms]=Projek Tersendiri
GenericName[nds]=Egen Projekt
GenericName[ne]=अनुकूल परियोजना
GenericName[nl]=Aangepast project
GenericName[pl]=Projekt: własny
GenericName[pt]=Projecto Personalizado
GenericName[pt_BR]=Projeto Personalizado
GenericName[ru]=Особый проект
GenericName[sk]=Vlastný projekt
GenericName[sl]=Poljuben projekt
GenericName[sr]=Произвољан пројекат
GenericName[sr@Latn]=Proizvoljan projekat
GenericName[sv]=Eget projekt
GenericName[ta]=தனிப்பயன் பிராஜக்ட்
GenericName[tg]=Лоиҳаи оддӣ
GenericName[tr]=Özel Proje
GenericName[zh_CN]=自定义工程
GenericName[zh_TW]=自訂專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevcustomproject
X-TDevelop-Version=5
X-TDevelop-Args=

@ -0,0 +1,30 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="KDevCustomProject" version="7">
<MenuBar>
<Menu name="project" >
<Action name="repopulate_project" />
<Action name="addnewfiles_project" />
</Menu>
<Menu name="build" >
<Action name="build_build" />
<Action name="build_buildactivetarget" />
<Action name="build_compilefile" />
<Action name="build_target" />
<Action name="build_install" />
<Action name="build_installactivetarget" />
<Action name="build_make_environment" />
<Action name="build_clean" />
<Separator/>
<Action name="build_execute" />
</Menu>
</MenuBar>
<ToolBar name="buildToolBar" noMerge="1">
<Action name="build_build" group="build_operations" />
<Action name="build_buildactivetarget" group="build_operations" />
<Action name="build_compilefile" group="build_operations" />
<Separator group="build_operations"/>
<Action name="build_install" group="build_operations" />
<Action name="build_execute" group="build_operations" />
</ToolBar>
</kpartgui>

@ -1,91 +0,0 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Custom Project
Comment[br]=Raktres diouzhoc'h
Comment[ca]=Projecte a mida
Comment[cs]=Vlastní projekt
Comment[da]=Brugerdefineret projekt
Comment[de]=Benutzerdefiniertes Projekt für TDevelop
Comment[el]=Προσαρμοσμένo έργο
Comment[es]=Proyecto personalizado
Comment[et]=Kohandatav projekt
Comment[eu]=Proiektu pertsonalizatua
Comment[fa]=پروژۀ سفارشی
Comment[fr]=Projet personnalisé
Comment[ga]=Tionscadal Saincheaptha
Comment[gl]=Proxecto persoalizado
Comment[hi]=कस्टम परियोजना
Comment[hu]=Egyedi projekt
Comment[is]=Sérsniðið verkefni
Comment[it]=Progetto personalizzato
Comment[ja]=カスタムプロジェクト
Comment[ms]=Projek Tersendiri
Comment[nds]=Egen Projekt
Comment[ne]=अनुकूल परियोजना
Comment[nl]=Aangepast project
Comment[pl]=Własny projekt
Comment[pt]=Projecto Personalizado
Comment[pt_BR]=Projeto Personalizado
Comment[ru]=Особый проект
Comment[sk]=Vlastný projekt
Comment[sl]=Poljuben projekt
Comment[sr]=Произвољан пројекат
Comment[sr@Latn]=Proizvoljan projekat
Comment[sv]=Eget projekt
Comment[ta]=தனிப்பயன் பிராஜக்ட்
Comment[tg]=Лоиҳаи оддӣ
Comment[tr]=Özel Proje
Comment[zh_CN]=自定义工程
Comment[zh_TW]=自訂專案
Name=TDevCustomProject
Name[da]=TDevelop brugerdefineret projekt
Name[de]=Benutzerdefiniertes Projekt (TDevelop)
Name[hi]=के-डेव-कस्टम-परियोजना
Name[nds]=Egen Projekt (TDevelop)
Name[ne]=केडीई विकास अनुकूल परियोजना
Name[pl]=KDevWłasnyProjekt
Name[sk]=KDevVlastnýProjekt
Name[sv]=TDevelop eget projekt
Name[ta]=கெடெவ் தனிப்பயன் பிராஜக்ட்
Name[tg]=Лоиҳаи оддӣKDev
Name[zh_TW]=TDevelop 自訂專案
GenericName=Custom Project
GenericName[br]=Raktres diouzhoc'h
GenericName[ca]=Projecte a mida
GenericName[da]=Brugerdefineret projekt
GenericName[de]=Benutzerdefiniertes Projekt
GenericName[el]=Προσαρμοσμένο έργο
GenericName[es]=Proyecto personalizado
GenericName[et]=Kohandatav projekt
GenericName[eu]=Proiektu pertsonalizatua
GenericName[fa]=پروژۀ سفارشی
GenericName[fr]=Projet personnalisé
GenericName[ga]=Tionscadal Saincheaptha
GenericName[gl]=Proxecto persoalizado
GenericName[hi]=कस्टम परियोजना
GenericName[hu]=Egyedi projekt
GenericName[it]=Progetto personalizzato
GenericName[ja]=カスタムプロジェクト
GenericName[ms]=Projek Tersendiri
GenericName[nds]=Egen Projekt
GenericName[ne]=अनुकूल परियोजना
GenericName[nl]=Aangepast project
GenericName[pl]=Projekt: własny
GenericName[pt]=Projecto Personalizado
GenericName[pt_BR]=Projeto Personalizado
GenericName[ru]=Особый проект
GenericName[sk]=Vlastný projekt
GenericName[sl]=Poljuben projekt
GenericName[sr]=Произвољан пројекат
GenericName[sr@Latn]=Proizvoljan projekat
GenericName[sv]=Eget projekt
GenericName[ta]=தனிப்பயன் பிராஜக்ட்
GenericName[tg]=Лоиҳаи оддӣ
GenericName[tr]=Özel Proje
GenericName[zh_CN]=自定义工程
GenericName[zh_TW]=自訂專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevcustomproject
X-TDevelop-Version=5
X-TDevelop-Args=

@ -1,30 +0,0 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="TDevCustomProject" version="7">
<MenuBar>
<Menu name="project" >
<Action name="repopulate_project" />
<Action name="addnewfiles_project" />
</Menu>
<Menu name="build" >
<Action name="build_build" />
<Action name="build_buildactivetarget" />
<Action name="build_compilefile" />
<Action name="build_target" />
<Action name="build_install" />
<Action name="build_installactivetarget" />
<Action name="build_make_environment" />
<Action name="build_clean" />
<Separator/>
<Action name="build_execute" />
</Menu>
</MenuBar>
<ToolBar name="buildToolBar" noMerge="1">
<Action name="build_build" group="build_operations" />
<Action name="build_buildactivetarget" group="build_operations" />
<Action name="build_compilefile" group="build_operations" />
<Separator group="build_operations"/>
<Action name="build_install" group="build_operations" />
<Action name="build_execute" group="build_operations" />
</ToolBar>
</kpartgui>

@ -26,14 +26,14 @@ link_directories(
##### headers ###################################
install( FILES
tdevbuildtool.h
kdevbuildtool.h
DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/buildtools/base )
##### tdevbuildbase (shared) ####################
##### kdevbuildbase (shared) ####################
tde_add_library( tdevbuildbase SHARED AUTOMOC
SOURCES tdevbuildtool.cpp
tde_add_library( kdevbuildbase SHARED AUTOMOC
SOURCES kdevbuildtool.cpp
VERSION 0.0.0
LINK tdevelop-shared
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
\section btbaseoverview Overview
This library is created to provide TDevBuildTool compat class which can be used
as drop-in replacement of TDevProject class for buildtool support plugins
This library is created to provide KDevBuildTool compat class which can be used
as drop-in replacement of KDevProject class for buildtool support plugins
written for old KDevelop architecture (before version 3.2).
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 \
$(all_includes)
METASOURCES = AUTO
lib_LTLIBRARIES = libtdevbuildbase.la
libtdevbuildbase_la_LDFLAGS = $(all_libraries)
libtdevbuildbase_la_LIBADD = $(top_builddir)/lib/interfaces/libtdevinterfaces.la $(LIB_QT) $(LIB_TDEUI)
libtdevbuildbase_la_SOURCES = tdevbuildtool.cpp
lib_LTLIBRARIES = libkdevbuildbase.la
libkdevbuildbase_la_LDFLAGS = $(all_libraries)
libkdevbuildbase_la_LIBADD = $(top_builddir)/lib/interfaces/libkdevinterfaces.la $(LIB_QT) $(LIB_TDEUI)
libkdevbuildbase_la_SOURCES = kdevbuildtool.cpp
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_PROJECTNAME = TDevelop Buildtool Base Library
DOXYGEN_DOCDIRPREFIX = tdevbt
DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevutil kdevinterfaces kdevextensions
DOXYGEN_PROJECTNAME = KDevelop Buildtool Base Library
DOXYGEN_DOCDIRPREFIX = kdevbt
include ../../../Doxyfile.am

@ -0,0 +1,38 @@
/* This file is part of the KDE project
Copyright (C) 2004 Alexander Dymo <adymo@kdevelop.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "kdevbuildtool.h"
#include <kdevmakefrontend.h>
#include <kdevappfrontend.h>
KDevBuildTool::KDevBuildTool(const KDevPluginInfo* info, TQObject* parent, const char* name)
:KDevProject(info, parent, name)
{
}
KDevMakeFrontend * KDevBuildTool::makeFrontend()
{
return extension<KDevMakeFrontend>("TDevelop/MakeFrontend");
}
KDevAppFrontend * KDevBuildTool::appFrontend()
{
return extension<KDevAppFrontend>("TDevelop/AppFrontend");
}

@ -0,0 +1,41 @@
/* This file is part of the KDE project
Copyright (C) 1999-2001 Bernd Gehrmann <bernd@kdevelop.org>
Copyright (C) 2004 Alexander Dymo <adymo@kdevelop.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef KDEVBUILDTOOL_H
#define KDEVBUILDTOOL_H
#include <kdevproject.h>
class KDevMakeFrontend;
class KDevAppFrontend;
/**Base class for KDevelop build tool support plugins.*/
class KDevBuildTool: public KDevProject
{
public:
KDevBuildTool(const KDevPluginInfo* info, TQObject* parent, const char* name);
/**@return The make frontend.*/
KDevMakeFrontend *makeFrontend();
/**@return The application frontend.*/
KDevAppFrontend *appFrontend();
};
#endif

@ -1,38 +0,0 @@
/* This file is part of the KDE project
Copyright (C) 2004 Alexander Dymo <adymo@kdevelop.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "tdevbuildtool.h"
#include <tdevmakefrontend.h>
#include <tdevappfrontend.h>
TDevBuildTool::TDevBuildTool(const TDevPluginInfo* info, TQObject* parent, const char* name)
:TDevProject(info, parent, name)
{
}
TDevMakeFrontend * TDevBuildTool::makeFrontend()
{
return extension<TDevMakeFrontend>("TDevelop/MakeFrontend");
}
TDevAppFrontend * TDevBuildTool::appFrontend()
{
return extension<TDevAppFrontend>("TDevelop/AppFrontend");
}

@ -1,41 +0,0 @@
/* This file is part of the KDE project
Copyright (C) 1999-2001 Bernd Gehrmann <bernd@kdevelop.org>
Copyright (C) 2004 Alexander Dymo <adymo@kdevelop.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef TDEVBUILDTOOL_H
#define TDEVBUILDTOOL_H
#include <tdevproject.h>
class TDevMakeFrontend;
class TDevAppFrontend;
/**Base class for KDevelop build tool support plugins.*/
class TDevBuildTool: public TDevProject
{
public:
TDevBuildTool(const TDevPluginInfo* info, TQObject* parent, const char* name);
/**@return The make frontend.*/
TDevMakeFrontend *makeFrontend();
/**@return The application frontend.*/
TDevAppFrontend *appFrontend();
};
#endif

@ -16,9 +16,9 @@ include_directories(
)
##### tdevautotoolsparser (static) ##############
##### kdevautotoolsparser (static) ##############
tde_add_library( tdevautotoolsparser STATIC_PIC
tde_add_library( kdevautotoolsparser STATIC_PIC
SOURCES
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 \
$(all_includes)
METASOURCES = AUTO
noinst_LTLIBRARIES = libtdevautotoolsparser.la
libtdevautotoolsparser_la_LDFLAGS = $(all_libraries) $(LIB_TDEIO)
libtdevautotoolsparser_la_SOURCES = autotoolsast.cpp autotoolsdriver.cpp autotools_yacc.cpp
noinst_LTLIBRARIES = libkdevautotoolsparser.la
libkdevautotoolsparser_la_LDFLAGS = $(all_libraries) $(LIB_TDEIO)
libkdevautotoolsparser_la_SOURCES = autotoolsast.cpp autotoolsdriver.cpp autotools_yacc.cpp
parser:
cd $(srcdir) ; \
@ -19,6 +19,6 @@ parser:
EXTRA_DIST = autotools.yy autotools.ll
DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils
DOXYGEN_PROJECTNAME = TDevelop AutoTools Parser
DOXYGEN_DOCDIRPREFIX = tdevparser
DOXYGEN_PROJECTNAME = KDevelop AutoTools Parser
DOXYGEN_DOCDIRPREFIX = kdevparser
include ../../../../Doxyfile.am

@ -13,9 +13,9 @@ METASOURCES = AUTO
check_PROGRAMS = runner viewer
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
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

@ -27,9 +27,9 @@ install( FILES
DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/buildtools/parsers/qmake )
##### tdevqmakeparser (shared) ##################
##### kdevqmakeparser (shared) ##################
tde_add_library( tdevqmakeparser SHARED
tde_add_library( kdevqmakeparser SHARED
SOURCES
qmake_lex.cpp qmake_yacc.cpp qmakeast.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 \
$(all_includes)
METASOURCES = AUTO
lib_LTLIBRARIES = libtdevqmakeparser.la
libtdevqmakeparser_la_LDFLAGS = -no-undefined $(all_libraries) $(LIB_TDEIO)
libtdevqmakeparser_la_SOURCES = qmake_lex.cpp qmake_yacc.cpp qmakeast.cpp \
lib_LTLIBRARIES = libkdevqmakeparser.la
libkdevqmakeparser_la_LDFLAGS = -no-undefined $(all_libraries) $(LIB_TDEIO)
libkdevqmakeparser_la_SOURCES = qmake_lex.cpp qmake_yacc.cpp qmakeast.cpp \
qmakeastvisitor.cpp qmakedriver.cpp
tdevelopbuildtoolsincludedir = $(includedir)/tdevelop/buildtools/parsers/qmake
@ -24,8 +24,8 @@ parser:
EXTRA_DIST = qmake.yy qmake.ll
DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils
DOXYGEN_PROJECTNAME = TDevelop QMake parser
DOXYGEN_DOCDIRPREFIX = tdevparser
DOXYGEN_PROJECTNAME = KDevelop QMake parser
DOXYGEN_DOCDIRPREFIX = kdevparser
include ../../../../Doxyfile.am
noinst_HEADERS = qmake.ll qmake.yy qmake_lex.h

@ -13,9 +13,9 @@ METASOURCES = AUTO
noinst_PROGRAMS = runner viewer
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
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

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

@ -5,11 +5,11 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \
-I$(top_srcdir)/lib/widgets/propeditor $(all_includes)
lib_LTLIBRARIES = libtdevbuildtoolswidgets.la
libtdevbuildtoolswidgets_la_LDFLAGS = $(all_libraries)
libtdevbuildtoolswidgets_la_LIBADD = $(top_builddir)/lib/interfaces/libtdevinterfaces.la \
lib_LTLIBRARIES = libkdevbuildtoolswidgets.la
libkdevbuildtoolswidgets_la_LDFLAGS = $(all_libraries)
libkdevbuildtoolswidgets_la_LIBADD = $(top_builddir)/lib/interfaces/libkdevinterfaces.la \
$(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 \
environmentvariableswidgetbase.ui envvartools.cpp makeoptionswidget.cpp makeoptionswidgetbase.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 \
runoptionswidgetbase.h subclassesdlg.h subclassesdlgbase.h
DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevutil tdevinterfaces tdevutil
DOXYGEN_PROJECTNAME = TDevelop Buildtool Widgets Library
DOXYGEN_DOCDIRPREFIX = tdevbt
DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevutil kdevinterfaces kdevutil
DOXYGEN_PROJECTNAME = KDevelop Buildtool Widgets Library
DOXYGEN_DOCDIRPREFIX = kdevbt
include ../../../Doxyfile.am
noinst_HEADERS = environmentdisplaydialog.h

@ -30,17 +30,17 @@ link_directories(
##### other data ################################
install( FILES tdevpascalproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevpascalproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevpascalproject )
install( FILES kdevpascalproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kdevpascalproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevpascalproject )
##### libtdevpascalproject (module) #############
##### libkdevpascalproject (module) #############
tde_add_kpart( libtdevpascalproject AUTOMOC
tde_add_kpart( libkdevpascalproject AUTOMOC
SOURCES
pascalproject_part.cpp pascalproject_widget.cpp
pascalproject_optionsdlgbase.ui pascalprojectoptionsdlg.cpp
pascalglobaloptionsdlg.cpp service.cpp
LINK tdevbuildbase-shared tdevbuildtoolswidgets-shared
LINK kdevbuildbase-shared kdevbuildtoolswidgets-shared
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 \
$(all_includes)
kde_module_LTLIBRARIES = libtdevpascalproject.la
libtdevpascalproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevpascalproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la
kde_module_LTLIBRARIES = libkdevpascalproject.la
libkdevpascalproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkdevpascalproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.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
servicedir = $(kde_servicesdir)
service_DATA = tdevpascalproject.desktop
service_DATA = kdevpascalproject.desktop
rcdir = $(kde_datadir)/tdevpascalproject
rc_DATA = tdevpascalproject.rc
rcdir = $(kde_datadir)/kdevpascalproject
rc_DATA = kdevpascalproject.rc

@ -0,0 +1,93 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Pascal Project
Comment[br]=Raktres Pascal
Comment[ca]=Projecte Pascal
Comment[da]=Pascal projekt
Comment[de]=Pascal-Projekt für TDevelop
Comment[el]=Έργο Pascal
Comment[es]=Proyecto de Pascal
Comment[et]=Pascali projekt
Comment[eu]=Pascal proiektua
Comment[fa]=پروژۀ پاسکال
Comment[fr]=Projet en langage PASCAL
Comment[ga]=Tionscadal Pascal
Comment[gl]=Proxecto Pascal
Comment[hi]=पास्कल परियोजना
Comment[hu]=Pascal-projekt
Comment[is]=Pascal verkefni
Comment[it]=Progetto per Pascal
Comment[ja]=Pascal プロジェクト
Comment[ms]=Projek Pascal
Comment[nds]=Pascal-Projekt
Comment[ne]=पास्कल परियोजना
Comment[nl]=Pascal-project
Comment[pa]=ਪਾਸਕਲ ਪ੍ਰੋਜੈਕਟ
Comment[pl]=Projekt: Pascal
Comment[pt]=Projecto de Pascal
Comment[pt_BR]=Projeto Pascal
Comment[ru]=Проект Pascal
Comment[sk]=Pascal projekt
Comment[sl]=Projekt Pascal
Comment[sr]=Pascal пројекат
Comment[sr@Latn]=Pascal projekat
Comment[sv]=Pascal-projekt
Comment[ta]=பாஸ்கல் பிராஜக்ட்
Comment[tg]=Лоиҳаи Pascal
Comment[tr]=Pascal Projesi
Comment[uz]=Pascal loyihasi
Comment[uz@cyrillic]=Pascal лойиҳаси
Comment[zh_CN]=Pascal 工程
Comment[zh_TW]=Pascal 專案
Name=KDevPascalProject
Name[da]=TDevelop Pascal-projekt
Name[de]=Pascal-Projekt (TDevelop)
Name[hi]=के-डेव-पास्कल-परियोजना
Name[nds]=Pascal-Projekt (TDevelop)
Name[ne]=केडीई विकास पास्कल परियोजना
Name[pl]=KDevProjektPascal
Name[sk]=KDevPascalProjekt
Name[sv]=TDevelop Pascal-projekt
Name[ta]=கெடெவ் பாஸ்கல் பிராஜக்ட்
Name[tg]=Лоиҳаи ПаскалKDev
Name[zh_TW]=TDevelop Pascal 專案
GenericName=Pascal Project
GenericName[br]=Raktres Pascal
GenericName[ca]=Projecte Pascal
GenericName[da]=Pascal projekt
GenericName[de]=Pascal-Projekt
GenericName[el]=Έργο Pascal
GenericName[es]=Proyecto de Pascal
GenericName[et]=Pascali projekt
GenericName[eu]=Pascal proiektua
GenericName[fa]=پروژۀ پاسکال
GenericName[fr]=Projet en langage PASCAL
GenericName[ga]=Tionscadal Pascal
GenericName[gl]=Proxecto Pascal
GenericName[hi]=पास्कल परियोजना
GenericName[hu]=Pascal-projekt
GenericName[it]=Progetto in Pascal
GenericName[ja]=Pascal プロジェクト
GenericName[ms]=Projek Pascal
GenericName[nds]=Pascal-Projekt
GenericName[ne]=पास्कल परियोजना
GenericName[nl]=Pascal-project
GenericName[pl]=Projekt: Pascal
GenericName[pt]=Projecto de Pascal
GenericName[pt_BR]=Projeto Pascal
GenericName[ru]=Проект Pascal
GenericName[sk]=Pascal projekt
GenericName[sl]=Projekt Pascal
GenericName[sr]=Pascal пројекат
GenericName[sr@Latn]=Pascal projekat
GenericName[sv]=Pascal-projekt
GenericName[ta]=பாஸ்கல் பிராஜக்ட்
GenericName[tr]=Pascal Projesi
GenericName[uz]=Pascal loyihasi
GenericName[uz@cyrillic]=Pascal лойиҳаси
GenericName[zh_CN]=Pascal 工程
GenericName[zh_TW]=Pascal 專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevpascalproject
X-TDevelop-Version=5

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

@ -21,7 +21,7 @@
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdeaction.h>
#include <tdevgenericfactory.h>
#include <kdevgenericfactory.h>
#include <kdebug.h>
#include <kdialogbase.h>
#include <tdemessagebox.h>
@ -32,13 +32,13 @@
#include <kprocess.h>
#include "domutil.h"
#include "tdevcore.h"
#include "tdevmainwindow.h"
#include "tdevmakefrontend.h"
#include "tdevappfrontend.h"
#include "tdevpartcontroller.h"
#include "tdevlanguagesupport.h"
#include "tdevcompileroptions.h"
#include "kdevcore.h"
#include "kdevmainwindow.h"
#include "kdevmakefrontend.h"
#include "kdevappfrontend.h"
#include "kdevpartcontroller.h"
#include "kdevlanguagesupport.h"
#include "kdevcompileroptions.h"
#include "runoptionswidget.h"
#include "envvartools.h"
@ -46,17 +46,17 @@
#include "pascalprojectoptionsdlg.h"
#include "pascalglobaloptionsdlg.h"
#include <tdevplugininfo.h>
#include <kdevplugininfo.h>
typedef TDevGenericFactory<PascalProjectPart> PascalProjectFactory;
static const TDevPluginInfo data("tdevpascalproject");
K_EXPORT_COMPONENT_FACTORY( libtdevpascalproject, PascalProjectFactory( data ) )
typedef KDevGenericFactory<PascalProjectPart> PascalProjectFactory;
static const KDevPluginInfo data("kdevpascalproject");
K_EXPORT_COMPONENT_FACTORY( libkdevpascalproject, PascalProjectFactory( data ) )
PascalProjectPart::PascalProjectPart(TQObject *parent, const char *name, const TQStringList& )
:TDevBuildTool(&data, parent, name ? name : "PascalProjectPart" )
:KDevBuildTool(&data, parent, name ? name : "PascalProjectPart" )
{
setInstance(PascalProjectFactory::instance());
setXMLFile("tdevpascalproject.rc");
setXMLFile("kdevpascalproject.rc");
TDEAction *action;
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?"));
// 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.
// 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());
TDevProject::openProject( dirName, projectName );
KDevProject::openProject( dirName, projectName );
}
void PascalProjectPart::closeProject()
@ -197,7 +197,7 @@ DomUtil::PairList PascalProjectPart::runEnvironmentVars() const
*/
TQString PascalProjectPart::runDirectory() const
{
TQString cwd = defaultRunDirectory("tdevpascalproject");
TQString cwd = defaultRunDirectory("kdevpascalproject");
if (cwd.isEmpty())
cwd = buildDirectory();
return cwd;
@ -384,12 +384,12 @@ void PascalProjectPart::slotExecute()
void PascalProjectPart::changedFiles( const TQStringList & fileList )
{
TDevProject::changedFiles(fileList);
KDevProject::changedFiles(fileList);
}
void PascalProjectPart::changedFile( const TQString & fileName )
{
TDevProject::changedFile(fileName);
KDevProject::changedFile(fileName);
}
void PascalProjectPart::projectConfigWidget( KDialogBase * dlg )
@ -436,7 +436,7 @@ void PascalProjectPart::configWidget( KDialogBase * dlg )
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);
if (!service) {
@ -458,13 +458,13 @@ TDevCompilerOptions *PascalProjectPart::createCompilerOptions(const TQString &na
args = TQStringList::split(" ", prop.toString());
TQObject *obj = factory->create(this, service->name().latin1(),
"TDevCompilerOptions", args);
"KDevCompilerOptions", args);
if (!obj->inherits("TDevCompilerOptions")) {
kdDebug() << "Component does not inherit TDevCompilerOptions" << endl;
if (!obj->inherits("KDevCompilerOptions")) {
kdDebug() << "Component does not inherit KDevCompilerOptions" << endl;
return 0;
}
TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj;
KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj;
return dlg;
}

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

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

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

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

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

@ -1,93 +0,0 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Pascal Project
Comment[br]=Raktres Pascal
Comment[ca]=Projecte Pascal
Comment[da]=Pascal projekt
Comment[de]=Pascal-Projekt für TDevelop
Comment[el]=Έργο Pascal
Comment[es]=Proyecto de Pascal
Comment[et]=Pascali projekt
Comment[eu]=Pascal proiektua
Comment[fa]=پروژۀ پاسکال
Comment[fr]=Projet en langage PASCAL
Comment[ga]=Tionscadal Pascal
Comment[gl]=Proxecto Pascal
Comment[hi]=पास्कल परियोजना
Comment[hu]=Pascal-projekt
Comment[is]=Pascal verkefni
Comment[it]=Progetto per Pascal
Comment[ja]=Pascal プロジェクト
Comment[ms]=Projek Pascal
Comment[nds]=Pascal-Projekt
Comment[ne]=पास्कल परियोजना
Comment[nl]=Pascal-project
Comment[pa]=ਪਾਸਕਲ ਪ੍ਰੋਜੈਕਟ
Comment[pl]=Projekt: Pascal
Comment[pt]=Projecto de Pascal
Comment[pt_BR]=Projeto Pascal
Comment[ru]=Проект Pascal
Comment[sk]=Pascal projekt
Comment[sl]=Projekt Pascal
Comment[sr]=Pascal пројекат
Comment[sr@Latn]=Pascal projekat
Comment[sv]=Pascal-projekt
Comment[ta]=பாஸ்கல் பிராஜக்ட்
Comment[tg]=Лоиҳаи Pascal
Comment[tr]=Pascal Projesi
Comment[uz]=Pascal loyihasi
Comment[uz@cyrillic]=Pascal лойиҳаси
Comment[zh_CN]=Pascal 工程
Comment[zh_TW]=Pascal 專案
Name=KDevPascalProject
Name[da]=TDevelop Pascal-projekt
Name[de]=Pascal-Projekt (TDevelop)
Name[hi]=के-डेव-पास्कल-परियोजना
Name[nds]=Pascal-Projekt (TDevelop)
Name[ne]=केडीई विकास पास्कल परियोजना
Name[pl]=KDevProjektPascal
Name[sk]=KDevPascalProjekt
Name[sv]=TDevelop Pascal-projekt
Name[ta]=கெடெவ் பாஸ்கல் பிராஜக்ட்
Name[tg]=Лоиҳаи ПаскалKDev
Name[zh_TW]=TDevelop Pascal 專案
GenericName=Pascal Project
GenericName[br]=Raktres Pascal
GenericName[ca]=Projecte Pascal
GenericName[da]=Pascal projekt
GenericName[de]=Pascal-Projekt
GenericName[el]=Έργο Pascal
GenericName[es]=Proyecto de Pascal
GenericName[et]=Pascali projekt
GenericName[eu]=Pascal proiektua
GenericName[fa]=پروژۀ پاسکال
GenericName[fr]=Projet en langage PASCAL
GenericName[ga]=Tionscadal Pascal
GenericName[gl]=Proxecto Pascal
GenericName[hi]=पास्कल परियोजना
GenericName[hu]=Pascal-projekt
GenericName[it]=Progetto in Pascal
GenericName[ja]=Pascal プロジェクト
GenericName[ms]=Projek Pascal
GenericName[nds]=Pascal-Projekt
GenericName[ne]=पास्कल परियोजना
GenericName[nl]=Pascal-project
GenericName[pl]=Projekt: Pascal
GenericName[pt]=Projecto de Pascal
GenericName[pt_BR]=Projeto Pascal
GenericName[ru]=Проект Pascal
GenericName[sk]=Pascal projekt
GenericName[sl]=Projekt Pascal
GenericName[sr]=Pascal пројекат
GenericName[sr@Latn]=Pascal projekat
GenericName[sv]=Pascal-projekt
GenericName[ta]=பாஸ்கல் பிராஜக்ட்
GenericName[tr]=Pascal Projesi
GenericName[uz]=Pascal loyihasi
GenericName[uz@cyrillic]=Pascal лойиҳаси
GenericName[zh_CN]=Pascal 工程
GenericName[zh_TW]=Pascal 專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevpascalproject
X-TDevelop-Version=5

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

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

@ -0,0 +1,91 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=TMake Project
Comment[br]=Rektras TMake
Comment[ca]=Projecte TMake
Comment[da]=TMake-projekt
Comment[de]=TMake-Projekt für TDevelop
Comment[el]=Έργο TMake
Comment[es]=Proyecto TMake
Comment[et]=TMake projekt
Comment[eu]=TMake proiektua
Comment[fa]=پروژۀ TMake
Comment[fr]=Projet avec TMake
Comment[ga]=Comhad tionscadail TMake
Comment[gl]=Proxecto TMake
Comment[hi]=टी-मेक परियोजना
Comment[hu]=TMake-projekt
Comment[is]=TMake verkefni
Comment[it]=Progetto per TMake
Comment[ja]=TMake プロジェクト
Comment[ms]=Projek TMake
Comment[nds]=TMake-Projekt
Comment[ne]=TMake परियोजना
Comment[nl]=TMake-project
Comment[pl]=Projekt: TMake
Comment[pt]=Projecto TMake
Comment[pt_BR]=Projeto TMake
Comment[ru]=Проект TMake
Comment[sk]=TMake projekt
Comment[sl]=Projekt TMake
Comment[sr]=TMake пројекат
Comment[sr@Latn]=TMake projekat
Comment[sv]=Tmake-projekt
Comment[ta]=டிமேக் பிராஜக்ட்
Comment[tg]=Лоиҳаи TMake
Comment[tr]=TMake Projesi
Comment[zh_CN]=TMake 工程
Comment[zh_TW]=TMake 專案
Name=KDevTMakeProject
Name[da]=TDevelop TMake-projekt
Name[de]=TMake-Projekt (TDevelop)
Name[hi]=के-डेव-टी-मेक-परियोजना
Name[nds]=TMake-Projekt (TDevelop)
Name[ne]=KDevTMake परियोजना
Name[pl]=KDevProjektTMake
Name[sk]=KDevTMakeProjekt
Name[sv]=TDevelop Tmake-projekt
Name[ta]=கெடெவ் டிமேக் பிராஜக்ட்
Name[tg]=KDevTСохтани лоиҳа
Name[zh_TW]=TDevelop TMake 專案
GenericName=TMake Project
GenericName[br]=Raktres TMake
GenericName[ca]=Projecte TMake
GenericName[da]=TMake-projekt
GenericName[de]=TMake-Projekt
GenericName[el]=Έργο TMake
GenericName[es]=Proyecto TMake
GenericName[et]=TMake projekt
GenericName[eu]=TMake proiektua
GenericName[fa]=پروژۀ TMake
GenericName[fr]=Projet avec TMake
GenericName[ga]=Tionscadal TMake
GenericName[gl]=Proxecto TMake
GenericName[hi]=टी-मेक परियोजना
GenericName[hu]=TMake-projekt
GenericName[it]=Progetto per TMake
GenericName[ja]=TMake プロジェクト
GenericName[ms]=Projek TMake
GenericName[nds]=TMake-Projekt
GenericName[ne]=TMake परियोजना
GenericName[nl]=TMake-project
GenericName[pl]=Projekt: TMake
GenericName[pt]=Projecto TMake
GenericName[pt_BR]=Projeto TMake
GenericName[ru]=Проект TMake
GenericName[sk]=TMake projekt
GenericName[sl]=Projekt TMake
GenericName[sr]=TMake пројекат
GenericName[sr@Latn]=TMake projekat
GenericName[sv]=Tmake-projekt
GenericName[ta]=டிமேக் பிராஜக்ட்
GenericName[tg]=Лоиҳаи TMake
GenericName[tr]=TMake Projesi
GenericName[zh_CN]=TMake 工程
GenericName[zh_TW]=TMake 專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevtrollproject
X-TDevelop-Version=5
X-TDevelop-Args=TMake

@ -0,0 +1,95 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=QMake Project
Comment[br]=Raktres QMake
Comment[ca]=Projecte QMake
Comment[da]=QMake-projekt
Comment[de]=QMake-Projekt für TDevelop
Comment[el]=Έργο QMake
Comment[es]=Proyecto QMake
Comment[et]=QMake projekt
Comment[eu]=QMake proiektua
Comment[fa]=پروژۀ QMake
Comment[fr]=Projet avec QMake
Comment[ga]=Tionscadal QMake
Comment[gl]=Proxecto QMake
Comment[hi]=क्यू-मेक परियोजना
Comment[hu]=QMake-projekt
Comment[is]=QMake verkefni
Comment[it]=Progetto per QMake
Comment[ja]=QMake プロジェクト
Comment[ms]=Projek QMake
Comment[nds]=QMake-Projekt
Comment[ne]=QMake परियोजना
Comment[nl]=QMake-project
Comment[pa]=QMake ਪ੍ਰੋਜੈਕਟ
Comment[pl]=Projekt: QMake
Comment[pt]=Projecto QMake
Comment[pt_BR]=Projeto QMake
Comment[ru]=Проект QMake
Comment[sk]=QMake projekt
Comment[sl]=Projekt QMake
Comment[sr]=QMake пројекат
Comment[sr@Latn]=QMake projekat
Comment[sv]=Qmake-projekt
Comment[ta]=க்யுமேக் பிராஜக்ட்
Comment[tg]=Лоиҳаи QMake
Comment[tr]=QMake Projesi
Comment[uz]=QMake loyihasi
Comment[uz@cyrillic]=QMake лойиҳаси
Comment[zh_CN]=QMake 工程
Comment[zh_TW]=QMake 專案
Name=KDevTrollProject
Name[da]=TDevelop Troll-projekt
Name[de]=QMake-Projekt (TDevelop)
Name[hi]=के-डेव-ट्रॉल-परियोजना
Name[nds]=QMake-Projekt (TDevelop)
Name[ne]=KDevTroll परियोजना
Name[pl]=KDevProjektTroll
Name[sk]=KDevTrollProjekt
Name[sv]=TDevelop Troll-projekt
Name[ta]=கெடெவ் டிரால் பிராஜக்ட்
Name[zh_TW]=TDevelop Troll 專案
GenericName=QMake Project
GenericName[br]=Raktres QMake
GenericName[ca]=Projecte QMake
GenericName[da]=QMake-projekt
GenericName[de]=QMake-Projekt
GenericName[el]=Έργο QMake
GenericName[es]=Proyecto QMake
GenericName[et]=QMake projekt
GenericName[eu]=QMake proiektua
GenericName[fa]=پروژۀ QMake
GenericName[fr]=Projet avec QMake
GenericName[ga]=Tionscadal QMake
GenericName[gl]=Proxecto QMake
GenericName[hi]=क्यू-मेक परियोजना
GenericName[hu]=QMake-projekt
GenericName[it]=Progetto per QMake
GenericName[ja]=QMake プロジェクト
GenericName[ms]=Projek QMake
GenericName[nds]=QMake-Projekt
GenericName[ne]=QMake परियोजना
GenericName[nl]=QMake-project
GenericName[pa]=QMake ਪ੍ਰੋਜੈਕਟ
GenericName[pl]=Projekt: QMake
GenericName[pt]=Projecto QMake
GenericName[pt_BR]=Projeto QMake
GenericName[ru]=Проект QMake
GenericName[sk]=QMake projekt
GenericName[sl]=Projekt QMake
GenericName[sr]=QMake пројекат
GenericName[sr@Latn]=QMake projekat
GenericName[sv]=Qmake-projekt
GenericName[ta]=க்யுமேக் பிராஜக்ட்
GenericName[tg]=Лоиҳаи QMake
GenericName[tr]=QMake Projesi
GenericName[uz]=QMake loyihasi
GenericName[uz@cyrillic]=QMake лойиҳаси
GenericName[zh_CN]=QMake 工程
GenericName[zh_TW]=QMake 專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libkdevtrollproject
X-TDevelop-Version=5
X-TDevelop-Args=

@ -1,91 +0,0 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=TMake Project
Comment[br]=Rektras TMake
Comment[ca]=Projecte TMake
Comment[da]=TMake-projekt
Comment[de]=TMake-Projekt für TDevelop
Comment[el]=Έργο TMake
Comment[es]=Proyecto TMake
Comment[et]=TMake projekt
Comment[eu]=TMake proiektua
Comment[fa]=پروژۀ TMake
Comment[fr]=Projet avec TMake
Comment[ga]=Comhad tionscadail TMake
Comment[gl]=Proxecto TMake
Comment[hi]=टी-मेक परियोजना
Comment[hu]=TMake-projekt
Comment[is]=TMake verkefni
Comment[it]=Progetto per TMake
Comment[ja]=TMake プロジェクト
Comment[ms]=Projek TMake
Comment[nds]=TMake-Projekt
Comment[ne]=TMake परियोजना
Comment[nl]=TMake-project
Comment[pl]=Projekt: TMake
Comment[pt]=Projecto TMake
Comment[pt_BR]=Projeto TMake
Comment[ru]=Проект TMake
Comment[sk]=TMake projekt
Comment[sl]=Projekt TMake
Comment[sr]=TMake пројекат
Comment[sr@Latn]=TMake projekat
Comment[sv]=Tmake-projekt
Comment[ta]=டிமேக் பிராஜக்ட்
Comment[tg]=Лоиҳаи TMake
Comment[tr]=TMake Projesi
Comment[zh_CN]=TMake 工程
Comment[zh_TW]=TMake 專案
Name=KDevTMakeProject
Name[da]=TDevelop TMake-projekt
Name[de]=TMake-Projekt (TDevelop)
Name[hi]=के-डेव-टी-मेक-परियोजना
Name[nds]=TMake-Projekt (TDevelop)
Name[ne]=KDevTMake परियोजना
Name[pl]=KDevProjektTMake
Name[sk]=KDevTMakeProjekt
Name[sv]=TDevelop Tmake-projekt
Name[ta]=கெடெவ் டிமேக் பிராஜக்ட்
Name[tg]=KDevTСохтани лоиҳа
Name[zh_TW]=TDevelop TMake 專案
GenericName=TMake Project
GenericName[br]=Raktres TMake
GenericName[ca]=Projecte TMake
GenericName[da]=TMake-projekt
GenericName[de]=TMake-Projekt
GenericName[el]=Έργο TMake
GenericName[es]=Proyecto TMake
GenericName[et]=TMake projekt
GenericName[eu]=TMake proiektua
GenericName[fa]=پروژۀ TMake
GenericName[fr]=Projet avec TMake
GenericName[ga]=Tionscadal TMake
GenericName[gl]=Proxecto TMake
GenericName[hi]=टी-मेक परियोजना
GenericName[hu]=TMake-projekt
GenericName[it]=Progetto per TMake
GenericName[ja]=TMake プロジェクト
GenericName[ms]=Projek TMake
GenericName[nds]=TMake-Projekt
GenericName[ne]=TMake परियोजना
GenericName[nl]=TMake-project
GenericName[pl]=Projekt: TMake
GenericName[pt]=Projecto TMake
GenericName[pt_BR]=Projeto TMake
GenericName[ru]=Проект TMake
GenericName[sk]=TMake projekt
GenericName[sl]=Projekt TMake
GenericName[sr]=TMake пројекат
GenericName[sr@Latn]=TMake projekat
GenericName[sv]=Tmake-projekt
GenericName[ta]=டிமேக் பிராஜக்ட்
GenericName[tg]=Лоиҳаи TMake
GenericName[tr]=TMake Projesi
GenericName[zh_CN]=TMake 工程
GenericName[zh_TW]=TMake 專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevtrollproject
X-TDevelop-Version=5
X-TDevelop-Args=TMake

@ -1,95 +0,0 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=QMake Project
Comment[br]=Raktres QMake
Comment[ca]=Projecte QMake
Comment[da]=QMake-projekt
Comment[de]=QMake-Projekt für TDevelop
Comment[el]=Έργο QMake
Comment[es]=Proyecto QMake
Comment[et]=QMake projekt
Comment[eu]=QMake proiektua
Comment[fa]=پروژۀ QMake
Comment[fr]=Projet avec QMake
Comment[ga]=Tionscadal QMake
Comment[gl]=Proxecto QMake
Comment[hi]=क्यू-मेक परियोजना
Comment[hu]=QMake-projekt
Comment[is]=QMake verkefni
Comment[it]=Progetto per QMake
Comment[ja]=QMake プロジェクト
Comment[ms]=Projek QMake
Comment[nds]=QMake-Projekt
Comment[ne]=QMake परियोजना
Comment[nl]=QMake-project
Comment[pa]=QMake ਪ੍ਰੋਜੈਕਟ
Comment[pl]=Projekt: QMake
Comment[pt]=Projecto QMake
Comment[pt_BR]=Projeto QMake
Comment[ru]=Проект QMake
Comment[sk]=QMake projekt
Comment[sl]=Projekt QMake
Comment[sr]=QMake пројекат
Comment[sr@Latn]=QMake projekat
Comment[sv]=Qmake-projekt
Comment[ta]=க்யுமேக் பிராஜக்ட்
Comment[tg]=Лоиҳаи QMake
Comment[tr]=QMake Projesi
Comment[uz]=QMake loyihasi
Comment[uz@cyrillic]=QMake лойиҳаси
Comment[zh_CN]=QMake 工程
Comment[zh_TW]=QMake 專案
Name=KDevTrollProject
Name[da]=TDevelop Troll-projekt
Name[de]=QMake-Projekt (TDevelop)
Name[hi]=के-डेव-ट्रॉल-परियोजना
Name[nds]=QMake-Projekt (TDevelop)
Name[ne]=KDevTroll परियोजना
Name[pl]=KDevProjektTroll
Name[sk]=KDevTrollProjekt
Name[sv]=TDevelop Troll-projekt
Name[ta]=கெடெவ் டிரால் பிராஜக்ட்
Name[zh_TW]=TDevelop Troll 專案
GenericName=QMake Project
GenericName[br]=Raktres QMake
GenericName[ca]=Projecte QMake
GenericName[da]=QMake-projekt
GenericName[de]=QMake-Projekt
GenericName[el]=Έργο QMake
GenericName[es]=Proyecto QMake
GenericName[et]=QMake projekt
GenericName[eu]=QMake proiektua
GenericName[fa]=پروژۀ QMake
GenericName[fr]=Projet avec QMake
GenericName[ga]=Tionscadal QMake
GenericName[gl]=Proxecto QMake
GenericName[hi]=क्यू-मेक परियोजना
GenericName[hu]=QMake-projekt
GenericName[it]=Progetto per QMake
GenericName[ja]=QMake プロジェクト
GenericName[ms]=Projek QMake
GenericName[nds]=QMake-Projekt
GenericName[ne]=QMake परियोजना
GenericName[nl]=QMake-project
GenericName[pa]=QMake ਪ੍ਰੋਜੈਕਟ
GenericName[pl]=Projekt: QMake
GenericName[pt]=Projecto QMake
GenericName[pt_BR]=Projeto QMake
GenericName[ru]=Проект QMake
GenericName[sk]=QMake projekt
GenericName[sl]=Projekt QMake
GenericName[sr]=QMake пројекат
GenericName[sr@Latn]=QMake projekat
GenericName[sv]=Qmake-projekt
GenericName[ta]=க்யுமேக் பிராஜக்ட்
GenericName[tg]=Лоиҳаи QMake
GenericName[tr]=QMake Projesi
GenericName[uz]=QMake loyihasi
GenericName[uz@cyrillic]=QMake лойиҳаси
GenericName[zh_CN]=QMake 工程
GenericName[zh_TW]=QMake 專案
ServiceTypes=TDevelop/Project
X-TDE-Library=libtdevtrollproject
X-TDevelop-Version=5
X-TDevelop-Args=

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

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

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

@ -27,16 +27,16 @@ link_directories(
##### other data ################################
install( FILES tdevscriptproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdevscriptproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevscriptproject )
install( FILES kdevscriptproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kdevscriptproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevscriptproject )
##### libtdevscriptproject (module) #############
##### libkdevscriptproject (module) #############
tde_add_kpart( libtdevscriptproject AUTOMOC
tde_add_kpart( libkdevscriptproject AUTOMOC
SOURCES
scriptprojectpart.cpp scriptoptionswidget.cpp
scriptoptionswidgetbase.ui scriptnewfiledlg.cpp
LINK tdevbuildbase-shared
LINK kdevbuildbase-shared
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/external_interfaces $(all_includes)
kde_module_LTLIBRARIES = libtdevscriptproject.la
libtdevscriptproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevscriptproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
$(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la
kde_module_LTLIBRARIES = libkdevscriptproject.la
libkdevscriptproject_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkdevscriptproject_la_LIBADD = $(top_builddir)/lib/libtdevelop.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
servicedir = $(kde_servicesdir)
service_DATA = tdevscriptproject.desktop
service_DATA = kdevscriptproject.desktop
rcdir = $(kde_datadir)/tdevscriptproject
rc_DATA = tdevscriptproject.rc
rcdir = $(kde_datadir)/kdevscriptproject
rc_DATA = kdevscriptproject.rc

@ -0,0 +1,87 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Scripting Language Project
Comment[ca]=Projecte de llenguatge escrivint scripts
Comment[da]=Scriptsprog-projekt
Comment[de]=Skriptsprachen-Projekt für TDevelop
Comment[el]=Έργο γλώσσας γραφής σεναρίων
Comment[es]=Proyecto de lenguaje de guiones
Comment[et]=Skriptikeele projekt
Comment[eu]=Script lengoai proiektua
Comment[fa]=پروژۀ زبان دست‌نوشته‌ای
Comment[fr]=Projet avec les langages de scripts
Comment[ga]=Tionscadal i dTeanga Scriptithe
Comment[gl]=Proxecto de linguaxe de scripting
Comment[hi]=स्क्रिप्टिंग भाषा परियोजना
Comment[hu]=Szkript-projekt
Comment[is]=Skriftumálsverkefni
Comment[it]=Progetto con linguaggio di scripting
Comment[ja]=スクリプト言語プロジェクト
Comment[ms]=Projek Bahasa Penskrip
Comment[nds]=Skriptspraak-Projekt
Comment[ne]=स्क्रिप्टिङ भाषा परियोजना
Comment[nl]=Scripttaal-project
Comment[pl]=Projekt w języku skryptowym
Comment[pt]=Projecto de uma Linguagem de 'Scripting'
Comment[pt_BR]=Projeto de Linguagem de Script
Comment[ru]=Проект скриптового языка
Comment[sk]=Skriptovací jazyk projekt
Comment[sl]=Projekt skriptnega jezika
Comment[sr]=Пројекат скриптног језика
Comment[sr@Latn]=Projekat skriptnog jezika
Comment[sv]=Projekt för skriptspråk
Comment[ta]=ஸ்கிரிப்டிங் மொழி பிராஜக்ட்
Comment[tg]=Лоиҳа бо забони ғарчкунӣ
Comment[tr]=Betik Dili Projesi
Comment[zh_CN]=脚本语言工程
Comment[zh_TW]=文稿語言專案
Name=KDevScriptProject
Name[da]=TDevelop script-projekt
Name[de]=Skriptsprachen-Projekt (TDevelop)
Name[hi]=के-डेव-स्क्रिप्ट-परियोजना
Name[nds]=Skriptspraak-Projekt (TDevelop)
Name[ne]=केडीई विकास स्क्रिप्ट परियोजना
Name[pl]=KDevProjektSkrypt
Name[sk]=KDevSkriptProjekt
Name[sv]=TDevelop skriptprojekt
Name[ta]=கெடெவ் ஸ்கிரிப்ட் பிராஜக்ட்
Name[tg]=KDevЛоиҳаи скрипт
Name[zh_TW]=TDevelop 文稿專案
GenericName=Scripting Language Project
GenericName[ca]=Projecte de llenguatge escrivint scripts
GenericName[da]=Scriptsprog-projekt
GenericName[de]=Skriptsprachen-Projekt
GenericName[el]=Έργο γλώσσας γραφής σεναρίων
GenericName[es]=Proyecto de lenguaje de guiones
GenericName[et]=Skriptikeele projekt
GenericName[eu]=Script lengoaia proiektua
GenericName[fa]=پروژۀ زبان دست‌نوشته‌ای
GenericName[fr]=Projet avec les langages de scripts
GenericName[ga]=Tionscadal i dTeanga Scriptithe
GenericName[gl]=Proxecto de linguaxe de scripting
GenericName[hi]=स्क्रिप्टिंग भाषा परियोजना
GenericName[hu]=Szkript-projekt
GenericName[it]=Progetto con linguaggio di scripting
GenericName[ja]=スクリプト言語プロジェクト
GenericName[nds]=Skriptspraak-Projekt
GenericName[ne]=स्क्रिप्टिङ भाषा परियोजना
GenericName[nl]=Scripttaal-project
GenericName[pl]=Projekt w języku skryptowym
GenericName[pt]=Projecto de uma Linguagem de 'Scripting'
GenericName[pt_BR]=Projeto de Linguagem de Script
GenericName[ru]=Проект скриптового языка
GenericName[sk]=Skriptovací jazyk projekt
GenericName[sl]=Projekt skriptnega jezika
GenericName[sr]=Пројекат скриптног језика
GenericName[sr@Latn]=Projekat skriptnog jezika
GenericName[sv]=Projekt för skriptspråk
GenericName[ta]=ஸ்கிரிப்டிங் மொழி பிராஜக்ட்
GenericName[tg]=Лоиҳа бо забони ғарчкунӣ
GenericName[tr]=Betik Dili Projesi
GenericName[zh_CN]=脚本语言工程
GenericName[zh_TW]=文稿語言專案
ServiceTypes=TDevelop/Project
Icon=tdevelop
X-TDE-Library=libkdevscriptproject
X-TDevelop-Version=5

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

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

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

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

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

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

@ -1,87 +0,0 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Scripting Language Project
Comment[ca]=Projecte de llenguatge escrivint scripts
Comment[da]=Scriptsprog-projekt
Comment[de]=Skriptsprachen-Projekt für TDevelop
Comment[el]=Έργο γλώσσας γραφής σεναρίων
Comment[es]=Proyecto de lenguaje de guiones
Comment[et]=Skriptikeele projekt
Comment[eu]=Script lengoai proiektua
Comment[fa]=پروژۀ زبان دست‌نوشته‌ای
Comment[fr]=Projet avec les langages de scripts
Comment[ga]=Tionscadal i dTeanga Scriptithe
Comment[gl]=Proxecto de linguaxe de scripting
Comment[hi]=स्क्रिप्टिंग भाषा परियोजना
Comment[hu]=Szkript-projekt
Comment[is]=Skriftumálsverkefni
Comment[it]=Progetto con linguaggio di scripting
Comment[ja]=スクリプト言語プロジェクト
Comment[ms]=Projek Bahasa Penskrip
Comment[nds]=Skriptspraak-Projekt
Comment[ne]=स्क्रिप्टिङ भाषा परियोजना
Comment[nl]=Scripttaal-project
Comment[pl]=Projekt w języku skryptowym
Comment[pt]=Projecto de uma Linguagem de 'Scripting'
Comment[pt_BR]=Projeto de Linguagem de Script
Comment[ru]=Проект скриптового языка
Comment[sk]=Skriptovací jazyk projekt
Comment[sl]=Projekt skriptnega jezika
Comment[sr]=Пројекат скриптног језика
Comment[sr@Latn]=Projekat skriptnog jezika
Comment[sv]=Projekt för skriptspråk
Comment[ta]=ஸ்கிரிப்டிங் மொழி பிராஜக்ட்
Comment[tg]=Лоиҳа бо забони ғарчкунӣ
Comment[tr]=Betik Dili Projesi
Comment[zh_CN]=脚本语言工程
Comment[zh_TW]=文稿語言專案
Name=KDevScriptProject
Name[da]=TDevelop script-projekt
Name[de]=Skriptsprachen-Projekt (TDevelop)
Name[hi]=के-डेव-स्क्रिप्ट-परियोजना
Name[nds]=Skriptspraak-Projekt (TDevelop)
Name[ne]=केडीई विकास स्क्रिप्ट परियोजना
Name[pl]=KDevProjektSkrypt
Name[sk]=KDevSkriptProjekt
Name[sv]=TDevelop skriptprojekt
Name[ta]=கெடெவ் ஸ்கிரிப்ட் பிராஜக்ட்
Name[tg]=KDevЛоиҳаи скрипт
Name[zh_TW]=TDevelop 文稿專案
GenericName=Scripting Language Project
GenericName[ca]=Projecte de llenguatge escrivint scripts
GenericName[da]=Scriptsprog-projekt
GenericName[de]=Skriptsprachen-Projekt
GenericName[el]=Έργο γλώσσας γραφής σεναρίων
GenericName[es]=Proyecto de lenguaje de guiones
GenericName[et]=Skriptikeele projekt
GenericName[eu]=Script lengoaia proiektua
GenericName[fa]=پروژۀ زبان دست‌نوشته‌ای
GenericName[fr]=Projet avec les langages de scripts
GenericName[ga]=Tionscadal i dTeanga Scriptithe
GenericName[gl]=Proxecto de linguaxe de scripting
GenericName[hi]=स्क्रिप्टिंग भाषा परियोजना
GenericName[hu]=Szkript-projekt
GenericName[it]=Progetto con linguaggio di scripting
GenericName[ja]=スクリプト言語プロジェクト
GenericName[nds]=Skriptspraak-Projekt
GenericName[ne]=स्क्रिप्टिङ भाषा परियोजना
GenericName[nl]=Scripttaal-project
GenericName[pl]=Projekt w języku skryptowym
GenericName[pt]=Projecto de uma Linguagem de 'Scripting'
GenericName[pt_BR]=Projeto de Linguagem de Script
GenericName[ru]=Проект скриптового языка
GenericName[sk]=Skriptovací jazyk projekt
GenericName[sl]=Projekt skriptnega jezika
GenericName[sr]=Пројекат скриптног језика
GenericName[sr@Latn]=Projekat skriptnog jezika
GenericName[sv]=Projekt för skriptspråk
GenericName[ta]=ஸ்கிரிப்டிங் மொழி பிராஜக்ட்
GenericName[tg]=Лоиҳа бо забони ғарчкунӣ
GenericName[tr]=Betik Dili Projesi
GenericName[zh_CN]=脚本语言工程
GenericName[zh_TW]=文稿語言專案
ServiceTypes=TDevelop/Project
Icon=tdevelop
X-TDE-Library=libtdevscriptproject
X-TDevelop-Version=5

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

@ -1,7 +1,7 @@
if test "$DOT_FOUND" = "no"; then
echo ""
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 "a dot copy, go to www.graphviz.org and download the graphviz package."
fi
@ -18,7 +18,7 @@ fi
if test -n "$VCSCOMPAT" -a -z "$SVN_SUBDIR"; then
echo ""
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 ""
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])])
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
- 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
- buildtools = \ref buildtool-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.
.
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.
\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
TopLevel class).
@ -83,7 +83,7 @@ be viewed according to their functionalities as follows.
\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).
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
These parts implement a TDevProject Class interface.
These parts implement a KDevProject Class interface.
- buildtools/ada = Ada build tool
- (see AdaProjectPart)
@ -166,7 +166,7 @@ These parts implement a TDevProject Class interface.
\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
- (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
operation of KDevelop.
These parts implement a TDevPlugin Class interface.
These parts implement a KDevPlugin Class interface.
- parts/appwizard = New Project Wizard
- see AppWizardPart
@ -264,7 +264,7 @@ These parts implement a TDevPlugin Class interface.
\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
- (see AStylePart)

@ -129,7 +129,7 @@
the same border as other items (impossible)
- Browser tool bar should truncate long menu entries so it doesn't
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
Groups, etc...)

@ -12,7 +12,7 @@
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
&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"
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
@ -64,7 +64,7 @@ wizard will replace:
- \%{YEAR} ........ by the year
.
</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
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
kde_dir=`tde-config --prefix`
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`
echo "Note: It would be better to install as root. Press CTRL+C to abort"
fi
# use usual path or another one?
echo "Install dir [${kde_dir}/share/apps/tdevappwizard]:"
echo "Install dir [${kde_dir}/share/apps/kdevappwizard]:"
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
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}" ]; 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
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).
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.
\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.
- 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.
@ -80,9 +80,9 @@ See <code>parts/doctreeview/doctreeviewfactory.cpp</code> for an example.
\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
<code>createPartObject()</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
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>build tools</i> via <code>project()</code>,
@ -155,7 +155,7 @@ to write it back.
\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(..)
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
- Implement interface TDevLanguageSupport
- Implement interface KDevLanguageSupport
- \ref sectionClassWizard
- \ref sectionAttributeMethodWizard
- \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
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:
- <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.
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
@ -177,7 +177,7 @@ write a <b>Debugger </b>. KDevelop already provides GDB support
\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.
Compiler plugins must implement TDevCompilerOptions interface.
Compiler plugins must implement KDevCompilerOptions interface.
\section MiscInf Other Info
@ -226,7 +226,7 @@ currently provides several build tools. They are:
- 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>).
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
- see TrollProjectPart at <code>buildtools/qmake</code>

@ -3,7 +3,7 @@
*/
/** \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:
\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:
\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
has been defined in that database.

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

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

@ -12,5 +12,5 @@
install(
FILES
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

@ -0,0 +1,12 @@
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
tde_create_handbook( DESTINATION kde_app_devel )

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

File diff suppressed because it is too large Load Diff

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

File diff suppressed because it is too large Load Diff

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

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

@ -0,0 +1,65 @@
<?xml version="1.0" ?>
<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY kdevdesigner "<application>KDevDesigner</application>">
<!ENTITY kappname "&kdevdesigner;">
<!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 &kdevdesigner; Handbook</title>
<articleinfo>
<title>The &kdevdesigner; 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>
&kdevdesigner; is a GUI designer environment 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 &kdevdesigner;.</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>

@ -81,11 +81,11 @@ KDevelop Technotes</a>.
\section langapi Programming Language Support API
- <a href="tdevlanginterfaces/html/index.html"><b>Language Support Interfaces Library</b></a>
(<a href="tdevlanginterfaces/html/classes.html">classes</a>)\n
- <a href="kdevlanginterfaces/html/index.html"><b>Language Support Interfaces Library</b></a>
(<a href="kdevlanginterfaces/html/classes.html">classes</a>)\n
<i>Interfaces for KDevelop language support facilities.</i>
- <a href="tdevlangdebugger/html/index.html"><b>Debugger Support Library</b></a>
(<a href="tdevlangdebugger/html/classes.html">classes</a>)\n
- <a href="kdevlangdebugger/html/index.html"><b>Debugger Support Library</b></a>
(<a href="kdevlangdebugger/html/classes.html">classes</a>)\n
<i>Classes to implement debugger support for a programming language.</i>
.
@ -110,8 +110,8 @@ KDevelop Technotes</a>.
\section shellapi Shell API
- <a href="tdevshellsrc/html/index.html"><b>Generic Shell</b></a>
(<a href="tdevshellsrc/html/classes.html">classes</a>)\n
- <a href="kdevshellsrc/html/index.html"><b>Generic Shell</b></a>
(<a href="kdevshellsrc/html/classes.html">classes</a>)\n
<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/classes.html">classes</a>)\n

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

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

@ -1,12 +0,0 @@
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
tde_create_handbook( DESTINATION tde_app_devel )

File diff suppressed because it is too large Load Diff

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

File diff suppressed because it is too large Load Diff

@ -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>

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

@ -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 tdevdesigner "<application>TDevDesigner</application>">
<!ENTITY kappname "&tdevdesigner;">
<!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 &tdevdesigner; Handbook</title>
<articleinfo>
<title>The &tdevdesigner; 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>
&tdevdesigner; is a GUI designer environment 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 &tdevdesigner;.</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>
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>
<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>
@ -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>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>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>
</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">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">kdevassistant/</filename> &mdash; provides the menu and tool bars of the stand-alone &tdevelop; Assistant documentation browser.</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>
<listitem><itemizedlist id="app-files-default-apps-task">
<title>Task Specific Parts</title>
<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>
<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>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>
</listitem>
<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>
<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>
@ -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>
</itemizedlist>
</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">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">kdevastyle/</filename> &mdash; provides the <guimenuitem>Reformat Source</guimenuitem> entry in the <guimenu>Edit</guimenu> menu.</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>
<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>
<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>
</listitem>
<listitem><para><filename class="directory">tdevcloser/</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">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">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">tdevdiff/</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">kdevcloser/</filename> &mdash; provides the <guimenu>Windows</guimenu> menu close entries.</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">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">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">kdevdiff/</filename> &mdash; provides the <guimenuitem>Difference Viewer</guimenuitem> entry in the <guimenu>Tools</guimenu> menu.</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">
<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>
<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>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>
</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">
<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>
<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>
</itemizedlist>
</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">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">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">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">tdevjavadebugger/</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">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">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">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">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 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><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">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">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">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">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">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">kdevjavadebugger/</filename> &mdash; provides a <guimenu>Java Debug</guimenu> menu in order to debug a &Java; application.</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">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">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">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">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">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">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">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>
<listitem><itemizedlist id="app-files-default-apps-project">
<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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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>
<listitem><itemizedlist id="app-files-default-apps-lang">
<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">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">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">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">
<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>
<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">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>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>
</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">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">tdevjavasupport/</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">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">tdevphpsupport/</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">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">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">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">kdevfortransupport/</filename> &mdash; provides entries in the <guimenu>Build</guimenu> menu needed to develop Fortran 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">kdevjavasupport/</filename> &mdash; contains the UI definition needed to develop &Java; 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">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">kdevphpsupport/</filename> &mdash; contains UI and PHP function definition files needed to develop PHP 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">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">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">kdevsqlsupport/</filename> &mdash; provides th UI definitions needed to develop SQL projects. Currently (version 3.1.0) unused.</para></listitem>
</itemizedlist></listitem>
</itemizedlist>
@ -212,7 +212,7 @@ All information about user defined settings is kept in two subdirectories of <fi
<title>Application Specific Configuration</title>
<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>
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>
<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>
<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>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>
</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>
<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>
<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>
<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>
<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>
<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>
<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>
@ -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>
</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>
</itemizedlist>
</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>
<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>
<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>
<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>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><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">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>
<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>
@ -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>
</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>
</itemizedlist>
</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>
<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>
</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>
<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>
</itemizedlist>
</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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
</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:
<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>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>
</para>
<itemizedlist id="app-files-user-config-kdev">
<title>Configuration Files Used by &tdevelop;</title>
<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>
</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>
</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>
<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>
</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>tdevdocumentationrc</filename> &mdash; holds actual settings the <guilabel>Documentation</guilabel> plugin uses.</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>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>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>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>tdevfilterrc</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>tdevsnippetrc</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>kdevfileselectorrc</filename> &mdash; holds actual settings the <guilabel>File Selector</guilabel> plugin uses.</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>kdevfilterrc</filename> &mdash; holds actual settings the <guilabel>Shell Filtering and Insertion</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>kdevsnippetrc</filename> &mdash; holds actual settings the <guilabel>Code Snippets</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 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>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>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>
</itemizedlist>

@ -78,7 +78,7 @@ box.</para></listitem>
<guimenuitem>Open Recent</guimenuitem>
</menuchoice></term>
<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>
</varlistentry>
@ -229,7 +229,7 @@ and re-open the current one.
<guimenu>File</guimenu>
<guimenuitem>Quit</guimenuitem>
</menuchoice></term>
<listitem><para>Close TDevelop.</para></listitem>
<listitem><para>Close KDevelop.</para></listitem>
</varlistentry>
</variablelist>
@ -1666,7 +1666,7 @@ Execute Command...
</menuchoice></term>
<listitem><para>
Filters selection through external command using
<link linkend="TDevFilter">the Filter plugin</link>.
<link linkend="KDevFilter">the Filter plugin</link>.
</para></listitem>
</varlistentry>
@ -1840,10 +1840,10 @@ Configure Editor...
<varlistentry>
<term><menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Configure TDevelop...</guimenuitem>
<guimenuitem>Configure KDevelop...</guimenuitem>
</menuchoice></term>
<listitem><para>
Configure TDevelop...
Configure KDevelop...
</para></listitem>
</varlistentry>
@ -1866,7 +1866,7 @@ Configure TDevelop...
<varlistentry>
<term><menuchoice>
<guimenu>Help</guimenu>
<guimenuitem>TDevelop Handbook</guimenuitem>
<guimenuitem>KDevelop Handbook</guimenuitem>
</menuchoice></term>
<listitem><para>View this document.</para></listitem>
</varlistentry>
@ -1960,10 +1960,10 @@ Info Page...
<varlistentry>
<term><menuchoice>
<guimenu>Help</guimenu>
<guimenuitem>About TDevelop...</guimenuitem>
<guimenuitem>About KDevelop...</guimenuitem>
</menuchoice></term>
<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>

@ -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
mode your &tdevelop; currently uses, check with the
<menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure
TDevelop...</guimenuitem> <guimenuitem>User Interface</guimenuitem></menuchoice>
KDevelop...</guimenuitem> <guimenuitem>User Interface</guimenuitem></menuchoice>
dialog.</para>
</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
the editor plugin which is in use. You may select your favorite editor via
<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
<guimenu>Tools</guimenu> menu will provide advanced editing commands specific to
the editor part in use.</para>
@ -452,10 +452,10 @@ Also, you can configure shortcuts, toolbars, notifications, the editor and
<varlistentry>
<term><guimenu>Help</guimenu></term>
<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
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>
</varlistentry>
</variablelist>
@ -497,7 +497,7 @@ different main purpose.</para>
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
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
loaded, you will find the following tool views. Clicking on a tab will open
@ -627,7 +627,7 @@ adjusted.</para>
<note>
<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>
<sect2 id="gettingstarted-configure-general">
@ -635,8 +635,8 @@ the <link linkend="setup">Configuring TDevelop</link> chapter.</para>
<para>To configure &tdevelop;, click the
<menuchoice><guimenu>Settings</guimenu></menuchoice> menu and select
<menuchoice><guimenuitem>Configure TDevelop...</guimenuitem></menuchoice>. The
<guilabel>Configure TDevelop</guilabel> dialog will pop up, showing the
<menuchoice><guimenuitem>Configure KDevelop...</guimenuitem></menuchoice>. The
<guilabel>Configure KDevelop</guilabel> dialog will pop up, showing the
following <guilabel>General</guilabel> settings page to the right.</para>
<screenshot>
@ -770,7 +770,7 @@ mandatory that the <emphasis>KDELibs Apidocs</emphasis> were present when
perform the <link linkend="gettingstarted-edit-defs">identifier lookup
examples</link> later in this chapter, make sure that this documentation exists
and is accessible to &tdevelop;. See <link linkend="tdevelop-install">Installing
TDevelop</link> fore more detail.</para>
KDevelop</link> fore more detail.</para>
</listitem>
</itemizedlist>
</note>
@ -1127,7 +1127,7 @@ and <filename>hello.kdevses</filename>.</para>
<para>Of particular importance in each project is the
<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>
<warning>
@ -1789,7 +1789,7 @@ this behavior.</para>
<procedure>
<step>
<para>Select <menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure
TDevelop...</guimenuitem></menuchoice></para>
KDevelop...</guimenuitem></menuchoice></para>
</step>
<step>
<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;">
<bookinfo>
<title>&tdevelop; Handbook</title>
<title>&tdevelop; User Manual</title>
<date>2006-06-19</date>
<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
around the work area. You may change this look to &eg; save space in the
&tdevelop; configuration dialog (<menuchoice><guimenu>Settings</guimenu>
<guimenuitem>Configure TDevelop...</guimenuitem> <guimenuitem>User
<guimenuitem>Configure KDevelop...</guimenuitem> <guimenuitem>User
Interface</guimenuitem></menuchoice>).</para>
<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

@ -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.
</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>
<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 has a scope that can be either:
<itemizedlist>
@ -32,7 +32,7 @@ A plugin has a scope that can be either:
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
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.
</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
enabled/disabled in <menuchoice><guimenu>Settings</guimenu>
<guimenuitem>Configure TDevelop...</guimenuitem></menuchoice>
<guimenuitem>Configure KDevelop...</guimenuitem></menuchoice>
under <guibutton>Plugins</guibutton>.
Project plugins can be
enabled/disabled in <menuchoice><guimenu>Project</guimenu>
<guimenuitem>Project Options...</guimenuitem></menuchoice>
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.
</para>
@ -67,13 +67,13 @@ it is because the plugin authors made them this way.</para>
<para>Scope: Core</para>
<itemizedlist>
<listitem><formalpara id="TDevAppWizard">
<listitem><formalpara id="KDevAppWizard">
<title>Application Wizard</title>
<para>Application Wizard</para></formalpara></listitem>
<listitem><formalpara id="TDevDiff">
<listitem><formalpara id="KDevDiff">
<title>Difference Viewer</title>
<para>Difference Viewer</para></formalpara></listitem>
<listitem><formalpara id="TDevFileCreate">
<listitem><formalpara id="KDevFileCreate">
<title>FileCreate</title>
<para>FileCreate</para></formalpara></listitem>
<listitem><formalpara id="KDevFullScreen">
@ -85,7 +85,7 @@ it is because the plugin authors made them this way.</para>
<listitem><formalpara id="KDevUIChooser">
<title>User-Interface Selection</title>
<para>Provides a dialog for UI-mode selection.</para></formalpara></listitem>
<listitem><formalpara id="TDevVCSManager">
<listitem><formalpara id="KDevVCSManager">
<title>VCSManager</title>
<para>Version Control System Manager </para></formalpara></listitem>
</itemizedlist>
@ -95,13 +95,13 @@ it is because the plugin authors made them this way.</para>
<listitem><formalpara id="KDevAbbrev">
<title>Abbreviation Expansion</title>
<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>
<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">
<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>
<listitem><formalpara id="TDevFileSelector">
<listitem><formalpara id="KDevFileSelector">
<title>File Selector</title>
<para>Powerful network transparent file browser utility.</para></formalpara></listitem>
<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>
<listitem><formalpara id="KDevGrepView">
<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">
<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">
<title>"Open with" Menu Addon</title>
<para>This plugin provides additional "open" alternatives for various context menus in TDevelop.</para></formalpara></listitem>
<listitem><formalpara id="TDevPartExplorer">
<para>This plugin provides additional "open" alternatives for various context menus in KDevelop.</para></formalpara></listitem>
<listitem><formalpara id="KDevPartExplorer">
<title>Part Explorer Tool</title>
<para>A Graphical tool for performing TDETrader-like queries about registered services</para></formalpara></listitem>
<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>
<listitem><formalpara id="KDevscripting">
<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">
<title>Code Snippets</title>
<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>
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>
<guimenuitem>Configure TDevelop...</guimenuitem></menuchoice>
<guimenuitem>Configure KDevelop...</guimenuitem></menuchoice>
dialog under <guibutton>Abbreviations</guibutton>.
</para>
</listitem>
<listitem>
<formalpara id="TDevFilter">
<formalpara id="KDevFilter">
<title>The <command>filter</command> Plugin</title>
<indexterm zone="plugin-tools"><primary><command>filter</command></primary></indexterm>

@ -42,10 +42,10 @@
</sect2> <!-- loading-project -->
<sect2 id="converting-projects">
<title>Converting Old TDevelop Project Files</title>
<title>Converting Old KDevelop Project Files</title>
<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>
</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>
<listitem><para>
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>
<mediaobject>
<imageobject>
<imagedata fileref="tdevdesigner.png" format="PNG"/>
<imagedata fileref="kdevdesigner.png" format="PNG"/>
</imageobject>
<caption><para>
TDevDesigner in its own window
KDevDesigner in its own window
</para></caption>
</mediaobject>
</screenshot>
@ -294,7 +294,7 @@ Run Qt Designer
<term id="terminal-emulation"><guilabel>Terminal Emulation</guilabel></term>
<listitem>
<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>
<itemizedlist>
<listitem><para>
@ -349,7 +349,7 @@ A typical example of this user interface mode is Borland Delphi 6.0.</para></lis
</itemizedlist>
<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>
<mediaobject>
@ -524,7 +524,7 @@ The active toolview window must be shown fixed (non-overlap mode), sharing the w
<sect2 id="setup-editor">
<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>
<screenshot>
@ -568,7 +568,7 @@ Changing the editor will not effect already open files. There are two possibilit
</para></note>
<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>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>
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>
<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>
<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>
<screenshot>
@ -1089,7 +1089,7 @@ system.
<para>The behaviour of the <guilabel>File Selector</guilabel> can be highly
configured. Select <menuchoice> <guimenu>Settings</guimenu>
<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
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>
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>
@ -1662,10 +1662,10 @@ You must put the &API; of your current project into this <guilabel>Doxygen Docum
</sect3> <!-- setup-docu-general-dox -->
<sect3 id="setup-docu-general-toc">
<title>Handling Structured Documentation (TDevelopTOC Files)</title>
<title>Handling Structured Documentation (KDevelopTOC Files)</title>
<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>
<screenshot>
@ -1674,17 +1674,17 @@ The main bulk of the &tdevelop; documentation facility provides immediate access
<imagedata fileref="configure-docu-toc.png" format="PNG"/>
</imageobject>
<caption><para>
Providing TDevelopTOC structured documentation access
Providing KDevelopTOC structured documentation access
</para></caption>
</mediaobject>
</screenshot>
<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>
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>
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>
<listitem>
<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>
</listitem>
</varlistentry></variablelist>

@ -198,7 +198,7 @@ necessary and why you need an &IDE;.</para>
</para></listitem>
-->
<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.
</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.
</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>
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>
</chapterinfo>
<title>Using Scripts in TDevelop</title>
<title>Using Scripts in KDevelop</title>
<sect1 id="running-scripts">
<title>Running Scripts</title>
<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>
</sect1>

@ -145,7 +145,7 @@
<primary>switch UI modes</primary></indexterm>
<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>
<screenshot>

@ -24,12 +24,12 @@ link_directories(
##### 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
editorchooser_part.cpp editchooser.ui editorchooser_widget.cpp
LINK tdevelop-shared

@ -1,13 +1,13 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes)
kde_module_LTLIBRARIES = libtdeveditorchooser.la
libtdeveditorchooser_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdeveditorchooser_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
kde_module_LTLIBRARIES = libkdeveditorchooser.la
libkdeveditorchooser_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
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
servicedir = $(kde_servicesdir)
service_DATA = tdeveditorchooser.desktop
service_DATA = kdeveditorchooser.desktop

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

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

@ -0,0 +1,91 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Provides a dialog for Editor selection.
Comment[ca]=Proporciona un diàleg per a la selecció de l'Editor.
Comment[da]=Sørger for en dialog til editor-valg.
Comment[de]=Editor-Auswahl für TDevelop.
Comment[el]=Παρέχει ένα διάλογο για επιλογή επεξεργαστή.
Comment[en_GB]=Provides a dialogue for Editor selection.
Comment[es]=Proporciona un diálogo para la selección de un editor.
Comment[et]=Dialoog redaktori valimiseks.
Comment[eu]=Editorearen hautapenerako elkarrizketa-koadroa eskeintzen du.
Comment[fa]=محاوره‌ای برای گزینش ویرایشگر فراهم می‌کند.
Comment[fr]=Fournit une boîte de dialogue pour la sélection de l'éditeur.
Comment[ga]=Soláthraíonn sé dialóg roghnaithe eagarthóra.
Comment[gl]=Proporciona un diálogo para a selección dun editor.
Comment[hi]=संपादक चयन के लिए एक संवाद उपलब्ध कराता है.
Comment[hu]=A szövegszerkesztő komponens kiválasztását teszi lehetővé.
Comment[is]=Útvegar samtalsglugga fyrir val á ritli
Comment[it]=Fornisce a una finestra per la selezione dell'editor.
Comment[ja]=エディタを選択するためのダイアログを提供します。
Comment[ms]=Menyediakan dialog untuk pemilihan Penyunting.
Comment[nds]=Stellt en Dialoog för de Editor-Utwahl praat.
Comment[ne]=सम्पादन चयनका लागि संवाद प्रदान गर्दछ
Comment[nl]=Biedt een dialoog om een editor te kiezen.
Comment[pl]=Okno dialogowe do wyboru edytora.
Comment[pt]=Fornece um diálogo para a selecção de Editor.
Comment[pt_BR]=Provê um diálogo para seleção do Editor.
Comment[ru]=Предоставляет диалог выбора редактора.
Comment[sk]=Poskytuje dialógové okno pre voľbu editora.
Comment[sl]=Ponuja pogovorno okno za izbiro urejevalnika
Comment[sr]=Обезбеђује прозор за избор уређивача.
Comment[sr@Latn]=Obezbeđuje prozor za izbor uređivača.
Comment[sv]=Tillhandahåller en dialogruta för val av editor.
Comment[ta]=தொகுப்பாளர் தேர்விற்கான உரையாடலைத் தரும்
Comment[tg]=Ба ихтиёр гузоштани гуфтугӯи интихоби муҳаррир.
Comment[tr]=Düzenleyici seçimi için bir pencere sağlar
Comment[zh_CN]=提供编辑器选择对话框
Comment[zh_TW]=提供對話框以編輯選擇。
Name=KDevEditorChooser
Name[da]=TDevelop Editorvælger
Name[de]=Editor-Auswahl (TDevelop)
Name[hi]=के-डेव-एडिटर-चूसर
Name[nds]=TDevelop-Editorutwahl
Name[ne]=केडीई विकास सम्पादक छनोटकर्ता
Name[pl]=KDevWybórEdytora
Name[sk]=KDevEditorVolič
Name[sv]=TDevelop editorväljare
Name[ta]=கெடெவ் தொகுப்பாளர் தேர்வாளர்
Name[tg]=KDevМуҳаррирИнтихобкунанда
Name[zh_TW]=TDevelop 編輯器選擇器
GenericName=Editor Selection
GenericName[ca]=Selecció de l'Editor
GenericName[da]=Editorvalg
GenericName[de]=Editor-Auswahl
GenericName[el]=Επιλογή επεξεργαστή
GenericName[es]=Selección de un editor
GenericName[et]=Redaktori valimine
GenericName[eu]=Editore-hautapena
GenericName[fa]=گزینش ویرایشگر
GenericName[fr]=Sélection de l'éditeur
GenericName[ga]=Roghnú Eagarthóra
GenericName[gl]=Selección de editor
GenericName[hi]=संपादक चयन
GenericName[hu]=Szerkesztőkomponens-választás
GenericName[it]=Selezione Editor
GenericName[ja]=エディタの選択
GenericName[ms]=Pemilih Penyunting
GenericName[nds]=Editor-Utwahl
GenericName[ne]=सम्पादक चयन
GenericName[nl]=Editorkiezer
GenericName[pl]=Wybór edytora
GenericName[pt]=Selecção de Editor
GenericName[pt_BR]=Seleção de Editor
GenericName[ru]=Выбор редактора
GenericName[sk]=Voľba editora
GenericName[sl]=Izbira urejevalnika
GenericName[sr]=Избор уређивача
GenericName[sr@Latn]=Izbor uređivača
GenericName[sv]=Val av editor
GenericName[ta]=தொகுப்பாளர் தேர்வு
GenericName[tg]=Интихоби муҳаррир
GenericName[tr]=Düzenleyici Seçimi
GenericName[zh_CN]=编辑器选择
GenericName[zh_TW]=編輯器選擇
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
X-TDE-Library=libkdeveditorchooser
X-TDevelop-Version=5
X-TDevelop-Scope=Core
X-TDevelop-Properties=EditorChooser

@ -1,91 +0,0 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=Provides a dialog for Editor selection.
Comment[ca]=Proporciona un diàleg per a la selecció de l'Editor.
Comment[da]=Sørger for en dialog til editor-valg.
Comment[de]=Editor-Auswahl für TDevelop.
Comment[el]=Παρέχει ένα διάλογο για επιλογή επεξεργαστή.
Comment[en_GB]=Provides a dialogue for Editor selection.
Comment[es]=Proporciona un diálogo para la selección de un editor.
Comment[et]=Dialoog redaktori valimiseks.
Comment[eu]=Editorearen hautapenerako elkarrizketa-koadroa eskeintzen du.
Comment[fa]=محاوره‌ای برای گزینش ویرایشگر فراهم می‌کند.
Comment[fr]=Fournit une boîte de dialogue pour la sélection de l'éditeur.
Comment[ga]=Soláthraíonn sé dialóg roghnaithe eagarthóra.
Comment[gl]=Proporciona un diálogo para a selección dun editor.
Comment[hi]=संपादक चयन के लिए एक संवाद उपलब्ध कराता है.
Comment[hu]=A szövegszerkesztő komponens kiválasztását teszi lehetővé.
Comment[is]=Útvegar samtalsglugga fyrir val á ritli
Comment[it]=Fornisce a una finestra per la selezione dell'editor.
Comment[ja]=エディタを選択するためのダイアログを提供します。
Comment[ms]=Menyediakan dialog untuk pemilihan Penyunting.
Comment[nds]=Stellt en Dialoog för de Editor-Utwahl praat.
Comment[ne]=सम्पादन चयनका लागि संवाद प्रदान गर्दछ
Comment[nl]=Biedt een dialoog om een editor te kiezen.
Comment[pl]=Okno dialogowe do wyboru edytora.
Comment[pt]=Fornece um diálogo para a selecção de Editor.
Comment[pt_BR]=Provê um diálogo para seleção do Editor.
Comment[ru]=Предоставляет диалог выбора редактора.
Comment[sk]=Poskytuje dialógové okno pre voľbu editora.
Comment[sl]=Ponuja pogovorno okno za izbiro urejevalnika
Comment[sr]=Обезбеђује прозор за избор уређивача.
Comment[sr@Latn]=Obezbeđuje prozor za izbor uređivača.
Comment[sv]=Tillhandahåller en dialogruta för val av editor.
Comment[ta]=தொகுப்பாளர் தேர்விற்கான உரையாடலைத் தரும்
Comment[tg]=Ба ихтиёр гузоштани гуфтугӯи интихоби муҳаррир.
Comment[tr]=Düzenleyici seçimi için bir pencere sağlar
Comment[zh_CN]=提供编辑器选择对话框
Comment[zh_TW]=提供對話框以編輯選擇。
Name=TDevEditorChooser
Name[da]=TDevelop Editorvælger
Name[de]=Editor-Auswahl (TDevelop)
Name[hi]=के-डेव-एडिटर-चूसर
Name[nds]=TDevelop-Editorutwahl
Name[ne]=केडीई विकास सम्पादक छनोटकर्ता
Name[pl]=KDevWybórEdytora
Name[sk]=TDevEditorVolič
Name[sv]=TDevelop editorväljare
Name[ta]=கெடெவ் தொகுப்பாளர் தேர்வாளர்
Name[tg]=KDevМуҳаррирИнтихобкунанда
Name[zh_TW]=TDevelop 編輯器選擇器
GenericName=Editor Selection
GenericName[ca]=Selecció de l'Editor
GenericName[da]=Editorvalg
GenericName[de]=Editor-Auswahl
GenericName[el]=Επιλογή επεξεργαστή
GenericName[es]=Selección de un editor
GenericName[et]=Redaktori valimine
GenericName[eu]=Editore-hautapena
GenericName[fa]=گزینش ویرایشگر
GenericName[fr]=Sélection de l'éditeur
GenericName[ga]=Roghnú Eagarthóra
GenericName[gl]=Selección de editor
GenericName[hi]=संपादक चयन
GenericName[hu]=Szerkesztőkomponens-választás
GenericName[it]=Selezione Editor
GenericName[ja]=エディタの選択
GenericName[ms]=Pemilih Penyunting
GenericName[nds]=Editor-Utwahl
GenericName[ne]=सम्पादक चयन
GenericName[nl]=Editorkiezer
GenericName[pl]=Wybór edytora
GenericName[pt]=Selecção de Editor
GenericName[pt_BR]=Seleção de Editor
GenericName[ru]=Выбор редактора
GenericName[sk]=Voľba editora
GenericName[sl]=Izbira urejevalnika
GenericName[sr]=Избор уређивача
GenericName[sr@Latn]=Izbor uređivača
GenericName[sv]=Val av editor
GenericName[ta]=தொகுப்பாளர் தேர்வு
GenericName[tg]=Интихоби муҳаррир
GenericName[tr]=Düzenleyici Seçimi
GenericName[zh_CN]=编辑器选择
GenericName[zh_TW]=編輯器選擇
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
X-TDE-Library=libtdeveditorchooser
X-TDevelop-Version=5
X-TDevelop-Scope=Core
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
visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp
LINK tdevelop-shared
@ -36,11 +36,11 @@ tde_add_kpart( libtdevvisualboyadvance AUTOMOC
##### other data ################################
install(
FILES tdevvisualboyadvance.desktop
FILES kdevvisualboyadvance.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)
install(
FILES tdevpart_visualboyadvance.rc
DESTINATION ${DATA_INSTALL_DIR}/tdevvisualboyadvance
FILES kdevpart_visualboyadvance.rc
DESTINATION ${DATA_INSTALL_DIR}/kdevvisualboyadvance
)

@ -1,17 +1,17 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes)
kde_module_LTLIBRARIES = libtdevvisualboyadvance.la
libtdevvisualboyadvance_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libtdevvisualboyadvance_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
kde_module_LTLIBRARIES = libkdevvisualboyadvance.la
libkdevvisualboyadvance_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
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
servicedir = $(kde_servicesdir)
service_DATA = tdevvisualboyadvance.desktop
service_DATA = kdevvisualboyadvance.desktop
rcdir = $(kde_datadir)/tdevvisualboyadvance
rc_DATA = tdevpart_visualboyadvance.rc
rcdir = $(kde_datadir)/kdevvisualboyadvance
rc_DATA = kdevpart_visualboyadvance.rc

@ -0,0 +1,86 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=VisualBoyAdvance is a GameBoyAdvance emulator. http://vboy.emuhq.com/
Comment[ca]=VisualBoyAdvance és un emulador de GameBoyAdvance. http://vboy.emuhq.com/
Comment[da]=VisualBoyAdvance er en GameBoyAdvance emulator. http://vboy.emuhq.com/
Comment[de]=VisualBoy Advance ist ein Emulator für den GameBoy Advance (http://vboy.emuhq.com/)
Comment[el]=Το VisualBoyAdvance είναι ένας εξομοιωτής του GameBoyAdvance. http://vboy.emuhq.com/
Comment[es]=VisualBoyAdvance es un emulador de GameBoyAdvance. http://vboy.emuhq.com/
Comment[et]=VisualBoyAdvance on GameBoyAdvance emulaator. http://vboy.emuhq.com/
Comment[eu]=VisualBoyAdvance GameBoyAdvance-en emulatzaile bat da. http://vboy.emuhq.com/
Comment[fa]=VisualBoyAdvance یک مقلد GameBoyAdvanc است. http://vboy.emuhq.com/
Comment[fr]=VisualBoyAdvance est un émulateur de GameBoyAdvance. http://vboy.emuhq.com/
Comment[ga]=Is aithriseoir GameBoyAdvance é VisualBoyAdvance. Féach ar http://vboy.emuhq.com/
Comment[gl]=VisualBoyAdvance é un emulador de GameBoyAdvance. http://vboy.emuhq.com/
Comment[hi]=विज़ुअल-बॉय-एडवांस एक गेम-बॉय-एडवांस एमुलेटर है. http://vboy.emuhq.com/
Comment[hu]=A VisualBoyAdvance egy emulátor a Game Boy Advance-hoz - http://vboy.emuhq.com/
Comment[is]=VisualBoyAdvance er GameBoyAdvance hermir. http://vboy.emuhq.com/
Comment[it]=VisualBoyAdvance è un emulatore per GameBoyAdvance. http://vboy.emuhq.com/
Comment[ja]=VisualBoyAdvance は、ゲームボーイアドバンスエミュレータです。http://vboy.emuhq.com/
Comment[ms]=VisualBoyAdvance adalah emulator GameBoyAdvance. http://vboy.emuhq.com/
Comment[nds]=VisualBoy Advance is en GameBoy-Advance-Emulator (http://vboy.emuhq.com/)
Comment[ne]=VisualBoyAdvance एउटा GameBoyAdvance इमुलेटर हो । http://vboy.emuhq.com/
Comment[nl]=VisualBoyAdvance is een GameBoyAdvance-emulator (http://vboy.emuhq.com/
Comment[pl]=VisualBoyAdvance to emulator GameBoyAdvance. http://vboy.emuhq.com/
Comment[pt]=O VisualBoyAdvance é um emulador do GameBoyAdvance. http://vboy.emuhq.com/
Comment[pt_BR]=VisualBoyAdvance é um emulador do GameBoyAdvance. http://vboy.emuhq.com/
Comment[ru]=VisualBoyAdvance - эмулятор GameBoyAdvance. http://vboy.emuhq.com/
Comment[sk]=VisualBoyAdvance je emulátor GameBoyAdvance. http://vboy.emuhq.com/
Comment[sl]=VisualBoyAdvance je emulator GameBoyAdvance. http://vboy.emuhq.com/
Comment[sr]=VisualBoyAdvance je емулатор GameBoyAdvance-а. http://vboy.emuhq.com/
Comment[sr@Latn]=VisualBoyAdvance je emulator GameBoyAdvance-a. http://vboy.emuhq.com/
Comment[sv]=VisualBoyAdvance är en emulator för GameBoyAdvance. http://vboy.emuhq.com/
Comment[ta]=கெடெவ் காட்சியாக்க பாய் அட்வான்ஸ் பொன்மி.. http://vboy.emuhq.com/
Comment[tg]=VisualBoyAdvance-ин эмулятори GameBoyAdvance мебошад. http://vboy.emuhq.com/
Comment[tr]=VisualBoyAdvance bir GameBoyAdvance emülatörüdür: http://vboy.emuhq.com/
Comment[zh_CN]=VisualBoyAdvance 是 GameBoyAdvance 的模拟器。http://vboy.emuhq.com/
Comment[zh_TW]=VisualBoyAdvance 是一個 GameBoyAdvance 模擬器。http://vboy.emuhq.com/
Name=KDevVisualBoyAdvance
Name[da]=TDevelop VisualBoyAdvance
Name[de]=VisualBoy Advance (TDevelop)
Name[hi]=के-डेव-विज़ुअल-बॉय-एडवांस
Name[nds]=VisualBoy Advance för TDevelop
Name[sv]=TDevelop Visual Boy Advance
Name[ta]=கெடெவ் காட்சியாக்க பாய் அட்வான்ஸ்
Name[zh_TW]=TDevelop VisualBoyAdvance
GenericName=VisualBoyAdvance Support
GenericName[ca]=Suport per a VisualBoyAdvance
GenericName[da]=VisualBoyAdvance understøttelse
GenericName[de]=Unterstützung für VisualBoy Advance
GenericName[el]=Υποστήριξη VisualBoyAdvance
GenericName[es]=Soporte para VisualBoyAdvance
GenericName[et]=VisualBoyAdvance toetus
GenericName[eu]=VisualBoyAdvance euskarria
GenericName[fa]=پشتیبانی VisualBoyAdvance
GenericName[fr]=Prise en charge de VisualBoyAdvance
GenericName[ga]=Tacaíocht VisualBoyAdvance
GenericName[gl]=Soporte de VisualBoyAdvance
GenericName[hu]=VisualBoyAdvance-támogatás
GenericName[it]=Supporto per VisualBoyAdvance
GenericName[ja]=VisualBoyAdvance サポート
GenericName[ms]=Sokongan VisualBoyAdvance
GenericName[nds]=Unnerstütten för VisualBoy Advance
GenericName[ne]=VisualBoyAdvance समर्थन
GenericName[nl]=Ondersteuning voor VisualBoyAdvance
GenericName[pl]=Obsługa VisualBoyAdvance
GenericName[pt]=Suporte a VisualBoyAdvance
GenericName[pt_BR]=Suporte ao VisualBoyAdvance
GenericName[ru]=Поддержка VisualBoyAdvance
GenericName[sk]=VisualBoyAdvance podpora
GenericName[sl]=Podpora VisualBoyAdvance
GenericName[sr]=Подршка за VisualBoyAdvance
GenericName[sr@Latn]=Podrška za VisualBoyAdvance
GenericName[sv]=Stöd för Visual Boy Advance
GenericName[ta]=காட்சியாக்க பாய் அட்வான்ஸ் ஆதரவு
GenericName[tg]=Ёри намудан ба VisualBoyAdvance
GenericName[tr]=VisualBoyAdvance Desteği
GenericName[zh_CN]=VisualBoyAdvance 支持
GenericName[zh_TW]=VisualBoyAdvance 支援
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
X-TDE-Library=libkdevvisualboyadvance
X-TDevelop-Version=5
X-TDevelop-Scope=Project
Keywords=GBA
Keywords[hi]=जीबीए

@ -1,86 +0,0 @@
[Desktop Entry]
Type=Service
Exec=blubb
Comment=VisualBoyAdvance is a GameBoyAdvance emulator. http://vboy.emuhq.com/
Comment[ca]=VisualBoyAdvance és un emulador de GameBoyAdvance. http://vboy.emuhq.com/
Comment[da]=VisualBoyAdvance er en GameBoyAdvance emulator. http://vboy.emuhq.com/
Comment[de]=VisualBoy Advance ist ein Emulator für den GameBoy Advance (http://vboy.emuhq.com/)
Comment[el]=Το VisualBoyAdvance είναι ένας εξομοιωτής του GameBoyAdvance. http://vboy.emuhq.com/
Comment[es]=VisualBoyAdvance es un emulador de GameBoyAdvance. http://vboy.emuhq.com/
Comment[et]=VisualBoyAdvance on GameBoyAdvance emulaator. http://vboy.emuhq.com/
Comment[eu]=VisualBoyAdvance GameBoyAdvance-en emulatzaile bat da. http://vboy.emuhq.com/
Comment[fa]=VisualBoyAdvance یک مقلد GameBoyAdvanc است. http://vboy.emuhq.com/
Comment[fr]=VisualBoyAdvance est un émulateur de GameBoyAdvance. http://vboy.emuhq.com/
Comment[ga]=Is aithriseoir GameBoyAdvance é VisualBoyAdvance. Féach ar http://vboy.emuhq.com/
Comment[gl]=VisualBoyAdvance é un emulador de GameBoyAdvance. http://vboy.emuhq.com/
Comment[hi]=विज़ुअल-बॉय-एडवांस एक गेम-बॉय-एडवांस एमुलेटर है. http://vboy.emuhq.com/
Comment[hu]=A VisualBoyAdvance egy emulátor a Game Boy Advance-hoz - http://vboy.emuhq.com/
Comment[is]=VisualBoyAdvance er GameBoyAdvance hermir. http://vboy.emuhq.com/
Comment[it]=VisualBoyAdvance è un emulatore per GameBoyAdvance. http://vboy.emuhq.com/
Comment[ja]=VisualBoyAdvance は、ゲームボーイアドバンスエミュレータです。http://vboy.emuhq.com/
Comment[ms]=VisualBoyAdvance adalah emulator GameBoyAdvance. http://vboy.emuhq.com/
Comment[nds]=VisualBoy Advance is en GameBoy-Advance-Emulator (http://vboy.emuhq.com/)
Comment[ne]=VisualBoyAdvance एउटा GameBoyAdvance इमुलेटर हो । http://vboy.emuhq.com/
Comment[nl]=VisualBoyAdvance is een GameBoyAdvance-emulator (http://vboy.emuhq.com/
Comment[pl]=VisualBoyAdvance to emulator GameBoyAdvance. http://vboy.emuhq.com/
Comment[pt]=O VisualBoyAdvance é um emulador do GameBoyAdvance. http://vboy.emuhq.com/
Comment[pt_BR]=VisualBoyAdvance é um emulador do GameBoyAdvance. http://vboy.emuhq.com/
Comment[ru]=VisualBoyAdvance - эмулятор GameBoyAdvance. http://vboy.emuhq.com/
Comment[sk]=VisualBoyAdvance je emulátor GameBoyAdvance. http://vboy.emuhq.com/
Comment[sl]=VisualBoyAdvance je emulator GameBoyAdvance. http://vboy.emuhq.com/
Comment[sr]=VisualBoyAdvance je емулатор GameBoyAdvance-а. http://vboy.emuhq.com/
Comment[sr@Latn]=VisualBoyAdvance je emulator GameBoyAdvance-a. http://vboy.emuhq.com/
Comment[sv]=VisualBoyAdvance är en emulator för GameBoyAdvance. http://vboy.emuhq.com/
Comment[ta]=கெடெவ் காட்சியாக்க பாய் அட்வான்ஸ் பொன்மி.. http://vboy.emuhq.com/
Comment[tg]=VisualBoyAdvance-ин эмулятори GameBoyAdvance мебошад. http://vboy.emuhq.com/
Comment[tr]=VisualBoyAdvance bir GameBoyAdvance emülatörüdür: http://vboy.emuhq.com/
Comment[zh_CN]=VisualBoyAdvance 是 GameBoyAdvance 的模拟器。http://vboy.emuhq.com/
Comment[zh_TW]=VisualBoyAdvance 是一個 GameBoyAdvance 模擬器。http://vboy.emuhq.com/
Name=KDevVisualBoyAdvance
Name[da]=TDevelop VisualBoyAdvance
Name[de]=VisualBoy Advance (TDevelop)
Name[hi]=के-डेव-विज़ुअल-बॉय-एडवांस
Name[nds]=VisualBoy Advance för TDevelop
Name[sv]=TDevelop Visual Boy Advance
Name[ta]=கெடெவ் காட்சியாக்க பாய் அட்வான்ஸ்
Name[zh_TW]=TDevelop VisualBoyAdvance
GenericName=VisualBoyAdvance Support
GenericName[ca]=Suport per a VisualBoyAdvance
GenericName[da]=VisualBoyAdvance understøttelse
GenericName[de]=Unterstützung für VisualBoy Advance
GenericName[el]=Υποστήριξη VisualBoyAdvance
GenericName[es]=Soporte para VisualBoyAdvance
GenericName[et]=VisualBoyAdvance toetus
GenericName[eu]=VisualBoyAdvance euskarria
GenericName[fa]=پشتیبانی VisualBoyAdvance
GenericName[fr]=Prise en charge de VisualBoyAdvance
GenericName[ga]=Tacaíocht VisualBoyAdvance
GenericName[gl]=Soporte de VisualBoyAdvance
GenericName[hu]=VisualBoyAdvance-támogatás
GenericName[it]=Supporto per VisualBoyAdvance
GenericName[ja]=VisualBoyAdvance サポート
GenericName[ms]=Sokongan VisualBoyAdvance
GenericName[nds]=Unnerstütten för VisualBoy Advance
GenericName[ne]=VisualBoyAdvance समर्थन
GenericName[nl]=Ondersteuning voor VisualBoyAdvance
GenericName[pl]=Obsługa VisualBoyAdvance
GenericName[pt]=Suporte a VisualBoyAdvance
GenericName[pt_BR]=Suporte ao VisualBoyAdvance
GenericName[ru]=Поддержка VisualBoyAdvance
GenericName[sk]=VisualBoyAdvance podpora
GenericName[sl]=Podpora VisualBoyAdvance
GenericName[sr]=Подршка за VisualBoyAdvance
GenericName[sr@Latn]=Podrška za VisualBoyAdvance
GenericName[sv]=Stöd för Visual Boy Advance
GenericName[ta]=காட்சியாக்க பாய் அட்வான்ஸ் ஆதரவு
GenericName[tg]=Ёри намудан ба VisualBoyAdvance
GenericName[tr]=VisualBoyAdvance Desteği
GenericName[zh_CN]=VisualBoyAdvance 支持
GenericName[zh_TW]=VisualBoyAdvance 支援
Icon=tdevelop
ServiceTypes=TDevelop/Plugin
X-TDE-Library=libtdevvisualboyadvance
X-TDevelop-Version=5
X-TDevelop-Scope=Project
Keywords=GBA
Keywords[hi]=जीबीए

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

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

@ -0,0 +1,73 @@
[Desktop Entry]
Type=Application
Exec=kdevassistant %u
Icon=tdevelop
DocPath=tdevelop/index.html
Terminal=false
Name=TDevelop Assistant
Name[br]=Skoazeller TDevelop
Name[ca]=Assistent per a TDevelop
Name[cy]=Cymhorthwr TDevelop
Name[da]=TDevelop assistent
Name[de]=TDevelop-Assistent
Name[el]=Βοηθός TDevelop
Name[es]=Asistente de TDevelop
Name[et]=TDevelopi abiline
Name[eu]=TDevelop laguntzailea
Name[fa]=دستیار TDevelop
Name[fr]=Assistant de TDevelop
Name[it]=Assistente di TDevelop
Name[ja]=TDevelop アシスタント
Name[ms]=Pembantu TDevelop
Name[nds]=TDevelop-Hölper
Name[ne]=केडीई विकास सहायक
Name[nl]=TDevelop Assistent
Name[pl]=Asystent TDevelop
Name[pt]=Assistente do TDevelop
Name[pt_BR]=Assistente do TDevelop
Name[sk]=TDevelop asistent
Name[sl]=Pomočnik za TDevelop
Name[sr]=TDevelop-ов асистент
Name[sr@Latn]=TDevelop-ov asistent
Name[sv]=TDevelop assistent
Name[ta]=Kஉருவாக்கு உதவி
Name[tg]=TDevelop Ассистент
Name[zh_CN]=TDevelop 助手
Name[zh_TW]=TDevelop 助理
GenericName=Documentation Viewer
GenericName[br]=Gweler an teuliadur
GenericName[ca]=Visor de documentació
GenericName[da]=Dokumentationsfremviser
GenericName[de]=Dokumentationsbetrachter
GenericName[el]=Προβολέας τεκμηρίωσης
GenericName[es]=Visor de documentación
GenericName[et]=Dokumentatsiooninäitaja
GenericName[eu]=Documentazio ikustailea
GenericName[fa]=مشاهده‌گر مستندات
GenericName[fr]=Afficheur de documentation
GenericName[ga]=Amharcán Doiciméadithe
GenericName[gl]=Visor de documentación
GenericName[hu]=Dokumentációmegjelenítő
GenericName[it]=Visualizzatore documentazione
GenericName[ja]=ドキュメンテーションビューア
GenericName[ms]=Pelihat Dokumentasi
GenericName[nds]=Dokmentatschoonkieker
GenericName[ne]=मिलिसीकरण दृश्यकर्ता
GenericName[nl]=Documentatie Browser
GenericName[pa]=ਦਸਤਾਵੇਜ਼ ਦਰਸ਼ਕ
GenericName[pl]=Przeglądarka dokumentacji
GenericName[pt]=Visualizador de Documentação
GenericName[pt_BR]=Visualizador de Documentação
GenericName[ru]=Просмотр документации
GenericName[sk]=Prezerač dokumentácie
GenericName[sl]=Pregledovalnik dokumentacije
GenericName[sr]=Приказивач документације
GenericName[sr@Latn]=Prikazivač dokumentacije
GenericName[sv]=Dokumentationsvisning
GenericName[ta]=ஆவணமாக்கல் காட்சியமைப்பாளர்
GenericName[tg]=Аз назар бо ҳуҷҷатнок гузарондан
GenericName[tr]=Belge Gösterici
GenericName[zh_CN]=文档查看器
GenericName[zh_TW]=文件檢視器
X-DCOP-ServiceType=Multi
Categories=Qt;TDE;Development;Documentation;X-TDE-TDevelopIDE;

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

@ -0,0 +1,25 @@
KDevDesigner is a port of Qt Designer (code taken from Qt 3.3 distribution) to KDE technologies:
1) XML GUI
2) KParts
3) KFileDialog
4) TDEIconLoader
KDevDesigner consists of a part and a shell.
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.
Other important notes:
KDevDesignerPart is Read/Write part which ignores readonly mode.
Designer Editor plugins are not loaded.
Available in system designer plugins are loaded if possible (tested with Qt 3.3 version).
KDevDesignerPart integration:
KDevDesignerPart implements KInterfaceDesigner interface (defined in tdevelop/lib/external_interfaces).
WARNING:
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.
Feel free to modify kdevdesigner_part.h(cpp) though.
FUTURE:
Trolltech promises that Qt 4 will have easilly embeddable designer. If that happens, this port will be dropped for KDevelop 4.

@ -0,0 +1,107 @@
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
add_definitions( -DDESIGNER -UQT_NO_ASCII_CAST )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/kdevdesigner/shared
${CMAKE_SOURCE_DIR}/lib/interfaces/external
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### other data ################################
install( FILES
kdevdesigner_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES
kdevdesigner_part.rc kdevdesigner_part_sh.rc
DESTINATION ${DATA_INSTALL_DIR}/kdevdesignerpart )
add_subdirectory( pics )
##### libkdevdesignerpart (module) ##############
set( SRCS
about.ui dbconnection.ui gotolinedialog.ui
newform.ui actionlistview.cpp asciivalidator.cpp
command.cpp connectionitems.cpp connectiontable.cpp
customwidgeteditor.ui formsettings.ui
multilineeditor.ui customwidgeteditorimpl.cpp
database.cpp dbconnectioneditor.ui iconvieweditor.ui
paletteeditor.ui dbconnectionimpl.cpp dbconnectionsimpl.cpp
dbconnections.ui listboxeditor.ui paletteeditoradvanced.ui
defs.cpp designerapp.cpp designerappiface.cpp
editfunctionsimpl.cpp filechooser.cpp formfile.cpp
formsettingsimpl.cpp formwindow.cpp hierarchyview.cpp
iconvieweditorimpl.cpp layout.cpp listboxdnd.cpp
kdevdesigner_part.cpp actiondnd.cpp actioneditorimpl.cpp
listboxeditorimpl.cpp listboxrename.cpp listdnd.cpp
listeditor.ui pixmapcollectioneditor.ui listviewdnd.cpp
listvieweditorimpl.cpp mainwindow.cpp listvieweditor.ui
pixmapfunction.ui startdialog.ui mainwindowactions.cpp
menubareditor.cpp metadatabase.cpp multilineeditorimpl.cpp
newformimpl.cpp orderindicator.cpp myiconloader.cpp
outputwindow.cpp paletteeditoradvancedimpl.cpp
paletteeditorimpl.cpp pixmapchooser.cpp
pixmapcollection.cpp popupmenueditor.cpp previewframe.cpp
preferences.ui tableeditor.ui designeraction.cpp
previewwidget.ui variabledialog.ui actioneditor.ui
previewwidgetimpl.cpp project.cpp projectsettingsimpl.cpp
projectsettings.ui wizardeditor.ui configtoolboxdialog.ui
propertyeditor.cpp propertyobject.cpp qcompletionedit.cpp
replacedialog.ui connectiondialog.ui editfunctions.ui
resource.cpp sizehandle.cpp sourceeditor.cpp
richtextfontdialog.ui createtemplate.ui finddialog.ui
sourcefile.cpp startdialogimpl.cpp styledbutton.cpp
syntaxhighlighter_html.cpp tableeditorimpl.cpp
timestamp.cpp variabledialogimpl.cpp widgetaction.cpp
widgetfactory.cpp wizardeditorimpl.cpp workspace.cpp
)
tde_moc( SRCS
actiondnd.h actioneditorimpl.h actionlistview.h
asciivalidator.h command.h connectionitems.h
connectiontable.h customwidgeteditorimpl.h database.h
dbconnectionimpl.h dbconnectionsimpl.h editfunctionsimpl.h
filechooser.h formfile.h formsettingsimpl.h
formwindow.h hierarchyview.h iconvieweditorimpl.h
layout.h listboxdnd.h listboxeditorimpl.h listboxrename.h
listdnd.h listviewdnd.h listvieweditorimpl.h mainwindow.h
menubareditor.h multilineeditorimpl.h newformimpl.h
orderindicator.h outputwindow.h paletteeditoradvancedimpl.h
paletteeditorimpl.h pixmapchooser.h popupmenueditor.h
previewframe.h previewwidgetimpl.h project.h
projectsettingsimpl.h propertyeditor.h qcompletionedit.h
sizehandle.h sourceeditor.h sourcefile.h startdialogimpl.h
styledbutton.h tableeditorimpl.h timestamp.h
variabledialogimpl.h widgetaction.h widgetfactory.h
wizardeditorimpl.h workspace.h
)
tde_add_kpart( libkdevdesignerpart AUTOMOC
SOURCES ${SRCS}
LINK
kdevqui-static shared-static kinterfacedesigner-shared
tdeio-shared tdeparts-shared tqassistantclient
DESTINATION ${PLUGIN_INSTALL_DIR}
)

@ -0,0 +1,21 @@
SUBDIRS = pics
AM_CXXFLAGS=-DDESIGNER
KDE_CXXFLAGS=-UQT_NO_ASCII_CAST
INCLUDES = -I$(top_srcdir)/kdevdesigner/shared \
-I$(top_srcdir)/lib/interfaces/external $(all_includes)
METASOURCES = AUTO
kde_module_LTLIBRARIES = libkdevdesignerpart.la
libkdevdesignerpart_la_LDFLAGS = $(KDE_PLUGIN) $(all_libraries)
libkdevdesignerpart_la_LIBADD = \
$(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)
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)/kdevdesignerpart
partdesktopdir = $(kde_servicesdir)
partdesktop_DATA = kdevdesigner_part.desktop
partrc_DATA = kdevdesigner_part.rc kdevdesigner_part_sh.rc
noinst_HEADERS = kdevdesigner_part.h designeraction.h myiconloader.h
picsdirdir = $(kde_datadir)/kdevdesignerpart/pics
KDE_OPTIONS=nofinal

File diff suppressed because it is too large Load Diff

@ -0,0 +1,534 @@
/**********************************************************************
** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
**
** This file is part of TQt Designer.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
** licenses may use this file in accordance with the TQt Commercial License
** Agreement provided with the Software.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
** information about TQt Commercial License Agreements.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#include "editfunctionsimpl.h"
#include "formwindow.h"
#include "metadatabase.h"
#include "asciivalidator.h"
#include "mainwindow.h"
#include "hierarchyview.h"
#include "project.h"
#include <kiconloader.h>
#include <klineedit.h>
#include "kdevdesigner_part.h"
#include <tqlistview.h>
#include <tqpushbutton.h>
#include <tqcombobox.h>
#include <tqstrlist.h>
#include <tqmessagebox.h>
#include <tqlayout.h>
#include <tqlabel.h>
#include <tqgroupbox.h>
#include <tqheader.h>
#include <tqcheckbox.h>
#include <tdelocale.h>
EditFunctions::EditFunctions( TQWidget *parent, FormWindow *fw, bool justSlots )
: EditFunctionsBase( parent, 0, TRUE ), formWindow( fw )
{
connect( helpButton, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
id = 0;
functList.clear();
TQValueList<MetaDataBase::Function> functionList = MetaDataBase::functionList( TQT_TQOBJECT(fw) );
for ( TQValueList<MetaDataBase::Function>::Iterator it = functionList.begin(); it != functionList.end(); ++it ) {
TQListViewItem *i = new TQListViewItem( functionListView );
i->setPixmap( 0, SmallIcon( "designer_editslots.png" , KDevDesignerPartFactory::instance()) );
i->setText( 0, (*it).function );
i->setText( 1, (*it).returnType );
i->setText( 2, (*it).specifier );
i->setText( 3, (*it).access );
i->setText( 4, (*it).type );
FunctItem fui;
fui.id = id;
fui.oldName = (*it).function;
fui.newName = fui.oldName;
fui.oldRetTyp = (*it).returnType;
fui.retTyp = fui.oldRetTyp;
fui.oldSpec = (*it).specifier;
fui.spec = fui.oldSpec;
fui.oldAccess = (*it).access;
fui.access = fui.oldAccess;
fui.oldType = (*it).type;
fui.type = fui.oldType;
functList.append( fui );
functionIds.insert( i, id );
id++;
if ( (*it).type == "slot" ) {
if ( MetaDataBase::isSlotUsed( TQT_TQOBJECT(formWindow), MetaDataBase::normalizeFunction( (*it).function ).latin1() ) )
i->setText( 5, i18n( "Yes" ) );
else
i->setText( 5, i18n( "No" ) );
} else {
i->setText( 5, "---" );
}
}
boxProperties->setEnabled( FALSE );
functionName->setValidator( new AsciiValidator( TRUE, TQT_TQOBJECT(functionName) ) );
if ( functionListView->firstChild() )
functionListView->setCurrentItem( functionListView->firstChild() );
showOnlySlots->setChecked( justSlots );
lastType = "function";
// Enable rename for all TQListViewItems
TQListViewItemIterator lvit = functionListView->firstChild();
for ( ; *lvit; lvit++ )
(*lvit)->setRenameEnabled( 0, TRUE );
// Connect listview signal to signal-relay
TQObject::connect( functionListView,
TQT_SIGNAL( itemRenamed( TQListViewItem*, int, const TQString & ) ),
this,
TQT_SLOT( emitItemRenamed(TQListViewItem*, int, const TQString&) ) );
// Connect signal-relay to TQLineEdit "functionName"
TQObjectList *l = parent->queryList( TQLINEEDIT_OBJECT_NAME_STRING, "functionName" );
TQObject *obj;
TQObjectListIt itemsLineEditIt( *l );
while ( (obj = itemsLineEditIt.current()) != 0 ) {
++itemsLineEditIt;
TQObject::connect( this,
TQT_SIGNAL( itemRenamed( const TQString & ) ),
obj,
TQT_SLOT( setText( const TQString & ) ) );
}
delete l;
}
void EditFunctions::okClicked()
{
TQValueList<MetaDataBase::Function> functionList = MetaDataBase::functionList( TQT_TQOBJECT(formWindow) );
TQString n = i18n( "Add/Remove functions of '%1'" ).arg( formWindow->name() );
TQPtrList<Command> commands;
TQValueList<MetaDataBase::Function>::Iterator fit;
if ( !functionList.isEmpty() ) {
for ( fit = functionList.begin(); fit != functionList.end(); ++fit ) {
bool functionFound = FALSE;
TQValueList<FunctItem>::Iterator it = functList.begin();
for ( ; it != functList.end(); ++it ) {
if ( MetaDataBase::normalizeFunction( (*it).oldName ) ==
MetaDataBase::normalizeFunction( (*fit).function ) ) {
functionFound = TRUE;
break;
}
}
if ( !functionFound )
commands.append( new RemoveFunctionCommand( i18n( "Remove Function" ),
formWindow, (*fit).function, (*fit).specifier,
(*fit).access,
(*fit).type,
formWindow->project()->language(),
(*fit).returnType ) );
}
}
bool invalidFunctions = FALSE;
TQValueList<FunctItem> invalidItems;
if ( !functList.isEmpty() ) {
TQStrList lst;
TQValueList<FunctItem>::Iterator it = functList.begin();
for ( ; it != functList.end(); ++it ) {
MetaDataBase::Function function;
function.function = (*it).newName;
function.returnType = (*it).retTyp;
function.specifier = (*it).spec;
function.access = (*it).access;
function.type = (*it).type;
function.language = formWindow->project()->language();
if ( function.returnType.isEmpty() )
function.returnType = "void";
TQString s = function.function;
s = s.simplifyWhiteSpace();
bool startNum = s[ 0 ] >= '0' && s[ 0 ] <= '9';
bool noParens = s.contains( '(' ) != 1 || s.contains( ')' ) != 1;
bool illegalSpace = s.find( ' ' ) != -1 && s.find( ' ' ) < s.find( '(' );
if ( startNum || noParens || illegalSpace || lst.find( function.function ) != -1 ) {
invalidFunctions = TRUE;
invalidItems.append( (*it) );
continue;
}
bool functionFound = FALSE;
for ( fit = functionList.begin(); fit != functionList.end(); ++fit ) {
if ( MetaDataBase::normalizeFunction( (*fit).function ) ==
MetaDataBase::normalizeFunction( (*it).oldName ) ) {
functionFound = TRUE;
break;
}
}
if ( !functionFound )
commands.append( new AddFunctionCommand( i18n( "Add Function" ),
formWindow, function.function, function.specifier,
function.access,
function.type, formWindow->project()->language(),
function.returnType ) );
if ( MetaDataBase::normalizeFunction( (*it).newName ) != MetaDataBase::normalizeFunction( (*it).oldName ) ||
(*it).spec != (*it).oldSpec || (*it).access != (*it).oldAccess || (*it).type != (*it).oldType ||
(*it).retTyp != (*it).oldRetTyp ) {
TQString normalizedOldName = MetaDataBase::normalizeFunction( (*it).oldName );
if ((*it).oldName.endsWith("const")) // make sure we get the 'const' when we remove the old name
normalizedOldName += " const";
commands.append( new ChangeFunctionAttribCommand( i18n( "Change Function Attributes" ),
formWindow, function, normalizedOldName,
(*it).oldSpec, (*it).oldAccess, (*it).oldType,
formWindow->project()->language(), (*it).oldRetTyp ) );
}
lst.append( function.function );
}
}
if ( invalidFunctions ) {
if ( TQMessageBox::information( this, i18n( "Edit Functions" ),
i18n( "Some syntactically incorrect functions have been defined.\n"
"Remove these functions?" ), i18n( "&Yes" ), i18n( "&No" ) ) == 0 ) {
TQValueList<FunctItem>::Iterator it = functList.begin();
while ( it != functList.end() ) {
bool found = FALSE;
TQValueList<FunctItem>::Iterator vit = invalidItems.begin();
for ( ; vit != invalidItems.end(); ++vit ) {
if ( (*vit).newName == (*it).newName ) {
invalidItems.remove( vit );
found = TRUE;
break;
}
}
if ( found ) {
int delId = (*it).id;
it = functList.remove( it );
TQMap<TQListViewItem*, int>::Iterator fit = functionIds.begin();
while ( fit != functionIds.end() ) {
if ( *fit == delId ) {
TQListViewItem *litem = fit.key();
functionIds.remove( fit );
delete litem;
if ( functionListView->currentItem() )
functionListView->setSelected( functionListView->currentItem(), TRUE );
currentItemChanged( functionListView->currentItem() );
break;
}
++fit;
}
}
else
++it;
}
if ( functionListView->firstChild() ) {
functionListView->setCurrentItem( functionListView->firstChild() );
functionListView->setSelected( functionListView->firstChild(), TRUE );
}
}
formWindow->mainWindow()->objectHierarchy()->updateFormDefinitionView();
return;
}
if ( !commands.isEmpty() ) {
MacroCommand *cmd = new MacroCommand( n, formWindow, commands );
formWindow->commandHistory()->addCommand( cmd );
cmd->execute();
}
formWindow->mainWindow()->objectHierarchy()->updateFormDefinitionView();
accept();
}
void EditFunctions::functionAdd( const TQString &access, const TQString &type )
{
TQListViewItem *i = new TQListViewItem( functionListView );
i->setPixmap( 0, SmallIcon( "designer_editslots.png" , KDevDesignerPartFactory::instance()) );
i->setRenameEnabled( 0, TRUE );
i->setText( 1, "void" );
i->setText( 2, "virtual" );
if ( access.isEmpty() )
i->setText( 3, "public" );
else
i->setText( 3, access );
if( type.isEmpty() ) {
if ( showOnlySlots->isChecked() )
i->setText( 4, "slot" );
else {
i->setText( 4, lastType );
}
} else {
i->setText( 4, type );
}
if ( i->text( 4 ) == "slot" ) {
i->setText( 0, "newSlot()" );
if ( MetaDataBase::isSlotUsed( TQT_TQOBJECT(formWindow), "newSlot()" ) )
i->setText( 5, i18n( "Yes" ) );
else
i->setText( 5, i18n( "No" ) );
} else {
i->setText( 0, "newFunction()" );
i->setText( 5, "---" );
}
functionListView->setCurrentItem( i );
functionListView->setSelected( i, TRUE );
functionListView->ensureItemVisible( i );
functionName->setFocus();
functionName->selectAll();
FunctItem fui;
fui.id = id;
fui.oldName = i->text( 0 );
fui.newName = fui.oldName;
fui.oldRetTyp = i->text( 1 );
fui.retTyp = fui.oldRetTyp;
fui.oldSpec = i->text ( 2 );
fui.spec = fui.oldSpec;
fui.oldAccess = i->text( 3 );
fui.access = fui.oldAccess;
fui.oldType = i->text( 4 );
fui.type = fui.oldType;
lastType = fui.oldType;
functList.append( fui );
functionIds.insert( i, id );
id++;
}
void EditFunctions::functionRemove()
{
if ( !functionListView->currentItem() )
return;
functionListView->blockSignals( TRUE );
removedFunctions << MetaDataBase::normalizeFunction( functionListView->currentItem()->text( 0 ) );
int delId = functionIds[ functionListView->currentItem() ];
TQValueList<FunctItem>::Iterator it = functList.begin();
while ( it != functList.end() ) {
if ( (*it).id == delId ) {
functList.remove( it );
break;
}
++it;
}
functionIds.remove( functionListView->currentItem() );
delete functionListView->currentItem();
if ( functionListView->currentItem() )
functionListView->setSelected( functionListView->currentItem(), TRUE );
functionListView->blockSignals( FALSE );
currentItemChanged( functionListView->currentItem() );
}
void EditFunctions::currentItemChanged( TQListViewItem *i )
{
functionName->blockSignals( TRUE );
functionName->setText( "" );
functionAccess->setCurrentItem( 0 );
functionName->blockSignals( FALSE );
if ( !i ) {
boxProperties->setEnabled( FALSE );
return;
}
functionName->blockSignals( TRUE );
functionName->setText( i->text( 0 ) );
editType->setText( i->text( 1 ) );
TQString specifier = i->text( 2 );
TQString access = i->text( 3 );
TQString type = i->text( 4 );
if ( specifier == "pure virtual" )
functionSpecifier->setCurrentItem( 2 );
else if ( specifier == "non virtual" )
functionSpecifier->setCurrentItem( 0 );
else if ( specifier == "virtual" )
functionSpecifier->setCurrentItem( 1 );
else
functionSpecifier->setCurrentItem( 3 );
if ( access == "private" )
functionAccess->setCurrentItem( 2 );
else if ( access == "protected" )
functionAccess->setCurrentItem( 1 );
else
functionAccess->setCurrentItem( 0 );
if ( type == "slot" )
functionType->setCurrentItem( 0 );
else
functionType->setCurrentItem( 1 );
functionName->blockSignals( FALSE );
boxProperties->setEnabled( TRUE );
}
void EditFunctions::currentTextChanged( const TQString &txt )
{
if ( !functionListView->currentItem() )
return;
changeItem( functionListView->currentItem(), Name, txt );
functionListView->currentItem()->setText( 0, txt );
if ( functionListView->currentItem()->text( 4 ) == "slot" ) {
if ( MetaDataBase::isSlotUsed( TQT_TQOBJECT(formWindow), MetaDataBase::normalizeFunction( txt.latin1() ).latin1() ) )
functionListView->currentItem()->setText( 5, i18n( "Yes" ) );
else
functionListView->currentItem()->setText( 5, i18n( "No" ) );
} else {
functionListView->currentItem()->setText( 5, "---" );
}
}
void EditFunctions::currentSpecifierChanged( const TQString& s )
{
if ( !functionListView->currentItem() )
return;
changeItem( functionListView->currentItem(), Specifier, s );
functionListView->currentItem()->setText( 2, s );
}
void EditFunctions::currentAccessChanged( const TQString& a )
{
if ( !functionListView->currentItem() )
return;
changeItem( functionListView->currentItem(), Access, a );
functionListView->currentItem()->setText( 3, a );
}
void EditFunctions::currentReturnTypeChanged( const TQString &type )
{
if ( !functionListView->currentItem() )
return;
changeItem( functionListView->currentItem(), ReturnType, type );
functionListView->currentItem()->setText( 1, type );
}
void EditFunctions::currentTypeChanged( const TQString &type )
{
if ( !functionListView->currentItem() )
return;
changeItem( functionListView->currentItem(), Type, type );
lastType = type;
functionListView->currentItem()->setText( 4, type );
if ( type == "slot" ) {
if ( MetaDataBase::isSlotUsed( TQT_TQOBJECT(formWindow),
MetaDataBase::normalizeFunction( functionListView->currentItem()->text( 0 ).latin1() ).latin1() ) )
functionListView->currentItem()->setText( 5, i18n( "Yes" ) );
else
functionListView->currentItem()->setText( 5, i18n( "No" ) );
} else {
functionListView->currentItem()->setText( 5, "---" );
}
}
void EditFunctions::changeItem( TQListViewItem *item, Attribute a, const TQString &nV )
{
int itemId;
TQMap<TQListViewItem*, int>::Iterator fit = functionIds.find( item );
if ( fit != functionIds.end() )
itemId = *fit;
else
return;
TQValueList<FunctItem>::Iterator it = functList.begin();
for ( ; it != functList.end(); ++it ) {
if ( (*it).id == itemId ) {
switch( a ) {
case Name:
(*it).newName = nV;
break;
case Specifier:
(*it).spec = nV;
break;
case Access:
(*it).access = nV;
break;
case ReturnType:
(*it).retTyp = nV;
break;
case Type:
(*it).type = nV;
break;
}
}
}
}
void EditFunctions::setCurrentFunction( const TQString &function )
{
TQListViewItemIterator it( functionListView );
while ( it.current() ) {
if ( MetaDataBase::normalizeFunction( it.current()->text( 0 ) ) == function ) {
functionListView->setCurrentItem( it.current() );
functionListView->setSelected( it.current(), TRUE );
currentItemChanged( it.current() );
return;
}
++it;
}
}
void EditFunctions::displaySlots( bool justSlots )
{
functionIds.clear();
functionListView->clear();
for ( TQValueList<FunctItem>::Iterator it = functList.begin(); it != functList.end(); ++it ) {
if ( (*it).type == "function" && justSlots )
continue;
TQListViewItem *i = new TQListViewItem( functionListView );
functionIds.insert( i, (*it).id );
i->setPixmap( 0, SmallIcon( "designer_editslots.png" , KDevDesignerPartFactory::instance()) );
i->setText( 0, (*it).newName );
i->setText( 1, (*it).retTyp );
i->setText( 2, (*it).spec );
i->setText( 3, (*it).access );
i->setText( 4, (*it).type );
if ( (*it).type == "slot" ) {
if ( MetaDataBase::isSlotUsed( TQT_TQOBJECT(formWindow), MetaDataBase::normalizeFunction( (*it).newName ).latin1() ) )
i->setText( 5, i18n( "Yes" ) );
else
i->setText( 5, i18n( "No" ) );
} else {
i->setText( 5, "---" );
}
}
if ( functionListView->firstChild() )
functionListView->setSelected( functionListView->firstChild(), TRUE );
}
void EditFunctions::emitItemRenamed( TQListViewItem *, int, const TQString & text )
{
emit itemRenamed( text ); // Relay signal ( to TQLineEdit )
}

@ -0,0 +1,905 @@
/**********************************************************************
** Copyright (C) 2000 Trolltech AS. All rights reserved.
**
** This file is part of TQt Designer.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
** licenses may use this file in accordance with the TQt Commercial License
** Agreement provided with the Software.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
** information about TQt Commercial License Agreements.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#include "formfile.h"
#include "timestamp.h"
#include "project.h"
#include "formwindow.h"
#include "command.h"
#include "sourceeditor.h"
#include "mainwindow.h"
#include "../interfaces/languageinterface.h"
#include "resource.h"
#include "workspace.h"
#include <tqmessagebox.h>
#include <tqfile.h>
#include <tqstatusbar.h>
#include "propertyeditor.h"
#include <tqworkspace.h>
#include <stdlib.h>
#include "designerappiface.h"
#include <tqapplication.h>
#include <tdefiledialog.h>
#include <tdelocale.h>
#include "kdevdesigner_part.h"
static TQString make_func_pretty( const TQString &s )
{
TQString res = s;
if ( res.find( ")" ) - res.find( "(" ) == 1 )
return res;
res.replace( "(", "( " );
res.replace( ")", " )" );
res.replace( "&", " &" );
res.replace( "*", " *" );
res.replace( ",", ", " );
res.replace( ":", " : " );
res = res.simplifyWhiteSpace();
res.replace( " : : ", "::" );
res.replace( ">>", "> >" );
return res;
}
FormFile::FormFile( const TQString &fn, bool temp, Project *p, const char *name )
: filename( fn ), fileNameTemp( temp ), pro( p ), fw( 0 ), ed( 0 ),
timeStamp( 0, fn + codeExtension() ), codeEdited( FALSE ), pkg( FALSE ),
cm( FALSE ), codeFileStat( None )
{
MetaDataBase::addEntry( this );
fake = qstrcmp( name, "qt_fakewindow" ) == 0;
//codeFileStat = FormFile::None;
pro->addFormFile( this );
loadCode();
if ( !temp )
checkFileName( FALSE );
connect(this, TQT_SIGNAL(somethingChanged(FormFile* )), this, TQT_SLOT(emitNewStatus(FormFile* )));
}
FormFile::~FormFile()
{
pro->removeFormFile( this );
if ( TQT_TQOBJECT(formWindow()) )
formWindow()->setFormFile( 0 );
}
void FormFile::setFormWindow( FormWindow *f )
{
if ( f == fw )
return;
if ( fw )
fw->setFormFile( 0 );
fw = f;
if ( fw )
fw->setFormFile( this );
parseCode( cod, FALSE );
TQTimer::singleShot( 0, this, TQT_SLOT( notifyFormWindowChange() ) );
}
void FormFile::setEditor( SourceEditor *e )
{
ed = e;
}
void FormFile::setFileName( const TQString &fn )
{
if ( fn == filename )
return;
if ( fn.isEmpty() ) {
fileNameTemp = TRUE;
if ( filename.find( "unnamed" ) != 0 )
filename = createUnnamedFileName();
return;
} else {
fileNameTemp = FALSE;
}
filename = fn;
timeStamp.setFileName( filename + codeExtension() );
cod = "";
loadCode();
}
void FormFile::setCode( const TQString &c )
{
cod = c;
}
FormWindow *FormFile::formWindow() const
{
return fw;
}
SourceEditor *FormFile::editor() const
{
return ed;
}
TQString FormFile::fileName() const
{
return filename;
}
TQString FormFile::absFileName() const
{
return pro->makeAbsolute( filename );
}
TQString FormFile::codeFile() const
{
TQString codeExt = codeExtension();
if ( codeExt.isEmpty() )
return "";
return filename + codeExt;
}
TQString FormFile::code()
{
return cod;
}
bool FormFile::save( bool withMsgBox, bool ignoreModified )
{
if ( fileNameTemp )
return saveAs();
if ( !ignoreModified && !isModified() )
return TRUE;
if ( ed )
ed->save();
if ( TQT_TQOBJECT(formWindow()) && isModified( WFormWindow ) ) {
if ( withMsgBox ) {
if ( !formWindow()->checkCustomWidgets() )
return FALSE;
}
if ( TQFile::exists( pro->makeAbsolute( filename ) ) ) {
TQString fn( pro->makeAbsolute( filename ) );
#if defined(Q_OS_WIN32)
fn += ".bak";
#else
fn += "~";
#endif
TQFile f( pro->makeAbsolute( filename ) );
if ( f.open( IO_ReadOnly ) ) {
TQFile f2( fn );
if ( f2.open( IO_WriteOnly | IO_Translate ) ) {
TQCString data( f.size() );
f.readBlock( data.data(), f.size() );
f2.writeBlock( data );
} else {
TQMessageBox::warning( MainWindow::self, i18n( "Save" ),
i18n( "The file %1 could not be saved" ).arg( codeFile() ) );
}
}
}
}
if ( isModified( WFormCode ) ) {
if ( TQFile::exists( pro->makeAbsolute( codeFile() ) ) ) {
TQString fn( pro->makeAbsolute( codeFile() ) );
#if defined(Q_OS_WIN32)
fn += ".bak";
#else
fn += "~";
#endif
TQFile f( pro->makeAbsolute( codeFile() ) );
if ( f.open( IO_ReadOnly ) ) {
TQFile f2( fn );
if ( f2.open( IO_WriteOnly | IO_Translate) ) {
TQCString data( f.size() );
f.readBlock( data.data(), f.size() );
f2.writeBlock( data );
} else if ( tqApp->type() != TQApplication::Tty ) {
TQMessageBox::warning( MainWindow::self, i18n( "Save" ),
i18n( "The file %1 could not be saved" ).arg( codeFile() ) );
}
}
}
}
if ( TQT_TQOBJECT(formWindow()) ) {
Resource resource( MainWindow::self );
resource.setWidget( formWindow() );
bool formCodeOnly = isModified( WFormCode ) && !isModified( WFormWindow );
if ( !resource.save( pro->makeAbsolute( filename ), formCodeOnly ) ) {
if ( MainWindow::self )
MainWindow::self->statusMessage( i18n( "Failed to save file '%1'.").arg( formCodeOnly ? codeFile(): filename ) );
if ( formCodeOnly )
return FALSE;
return saveAs();
}
if ( MainWindow::self )
MainWindow::self->statusMessage( i18n( "'%1' saved.").
arg( formCodeOnly ? codeFile() : filename ));
} else {
if ( !Resource::saveFormCode(this, MetaDataBase::languageInterface(pro->language())) )
return FALSE;
}
timeStamp.update();
setModified( FALSE );
return TRUE;
}
bool FormFile::saveAs( bool ignoreModified )
{
TQString f = pro->makeAbsolute( fileName() );
if ( fileNameTemp && TQT_TQOBJECT(formWindow()) ) {
f = TQString( formWindow()->name() ).lower();
f.replace( "::", "_" );
f = pro->makeAbsolute( f + ".ui" );
}
bool saved = FALSE;
if ( ignoreModified ) {
TQString dir = TQStringList::split( ':', pro->iFace()->customSetting( "QTSCRIPT_PACKAGES" ) ).first();
f = TQFileInfo( f ).fileName();
f.prepend( dir + "/" );
}
TQString fn;
while ( !saved ) {
fn = KFileDialog::getSaveFileName( f,
i18n( "*.ui|TQt User-Interface Files" ) + "\n" +
i18n( "*|All Files" ), MainWindow::self, /*0,*/
i18n( "Save Form '%1' As").arg( formName() )/*,
MainWindow::self ? &MainWindow::self->lastSaveFilter : 0*/ );
if ( fn.isEmpty() )
return FALSE;
TQFileInfo fi( fn );
if ( fi.extension() != "ui" )
fn += ".ui";
fileNameTemp = FALSE;
filename = pro->makeRelative( fn );
TQFileInfo relfi( filename );
if ( relfi.exists() ) {
if ( TQMessageBox::warning( MainWindow::self, i18n( "File Already Exists" ),
i18n( "The file already exists. Do you wish to overwrite it?" ),
TQMessageBox::Yes,
TQMessageBox::No ) == TQMessageBox::Yes ) {
saved = TRUE;
} else {
filename = f;
}
} else {
saved = TRUE;
}
}
if ( !checkFileName( TRUE ) ) {
filename = f;
return FALSE;
}
pro->setModified( TRUE );
timeStamp.setFileName( pro->makeAbsolute( codeFile() ) );
if ( ed && TQT_TQOBJECT(formWindow()) )
ed->setCaption( i18n( "Edit %1" ).arg( formWindow()->name() ) );
setModified( TRUE );
if ( pro->isDummy() )
fw->mainWindow()->addRecentlyOpenedFile( fn );
return save( TRUE, ignoreModified );
}
bool FormFile::close()
{
if ( editor() ) {
editor()->save();
editor()->close();
}
if ( TQT_TQOBJECT(formWindow()) )
return formWindow()->close();
return TRUE;
}
bool FormFile::closeEvent()
{
if ( !isModified() && fileNameTemp ) {
pro->removeFormFile( this );
return TRUE;
}
if ( !isModified() )
return TRUE;
if ( editor() )
editor()->save();
switch ( TQMessageBox::warning( MainWindow::self, i18n( "Save Form" ),
i18n( "Save changes to form '%1'?" ).arg( filename ),
i18n( "&Yes" ), i18n( "&No" ), i18n( "&Cancel" ), 0, 2 ) ) {
case 0: // save
if ( !save() )
return FALSE;
case 1: // don't save
loadCode();
if ( ed )
ed->editorInterface()->setText( cod );
if ( fileNameTemp )
pro->removeFormFile( this );
if ( MainWindow::self )
MainWindow::self->workspace()->update();
break;
case 2: // cancel
return FALSE;
default:
break;
}
setModified( FALSE );
if ( MainWindow::self )
MainWindow::self->updateFunctionList();
setCodeEdited( FALSE );
return TRUE;
}
void FormFile::setModified( bool m, int who )
{
if ( ( who & WFormWindow ) == WFormWindow )
setFormWindowModified( m );
if ( ( who & WFormCode ) == WFormCode )
setCodeModified( m );
}
bool FormFile::isModified( int who )
{
if ( who == WFormWindow )
return isFormWindowModified();
if ( who == WFormCode )
return isCodeModified();
return isCodeModified() || isFormWindowModified();
}
bool FormFile::isFormWindowModified() const
{
if ( !TQT_TQOBJECT(formWindow()) || !formWindow()->commandHistory() )
return FALSE;
return formWindow()->commandHistory()->isModified();
}
bool FormFile::isCodeModified() const
{
if ( !editor() )
return cm;
return editor()->isModified();
}
void FormFile::setFormWindowModified( bool m )
{
bool b = isFormWindowModified();
if ( m == b )
return;
if ( !TQT_TQOBJECT(formWindow()) || !formWindow()->commandHistory() )
return;
formWindow()->commandHistory()->setModified( m );
emit somethingChanged( this );
}
void FormFile::setCodeModified( bool m )
{
bool b = isCodeModified();
if ( m == b )
return;
emit somethingChanged( this );
cm = m;
if ( !editor() )
return;
editor()->setModified( m );
}
void FormFile::showFormWindow()
{
if ( !MainWindow::self )
return;
if ( TQT_TQOBJECT(formWindow()) ) {
if ( ( formWindow()->hasFocus() ||
TQT_BASE_OBJECT(MainWindow::self->qWorkspace()->activeWindow()) == TQT_BASE_OBJECT(formWindow()) ) &&
TQT_BASE_OBJECT(MainWindow::self->propertyeditor()->formWindow()) != TQT_BASE_OBJECT(formWindow()) ) {
MainWindow::self->propertyeditor()->setWidget( TQT_TQOBJECT(formWindow()->currentWidget()), formWindow() );
MainWindow::self->objectHierarchy()->setFormWindow( formWindow(),
TQT_TQOBJECT(formWindow()->currentWidget()) );
}
formWindow()->setFocus();
return;
}
MainWindow::self->openFormWindow( pro->makeAbsolute( filename ), TRUE, this );
}
bool FormFile::setupUihFile( bool askForUih )
{
if ( !pro->isCpp() || !askForUih ) {
if ( !hasFormCode() ) {
createFormCode();
setModified( TRUE );
}
codeFileStat = FormFile::Ok;
return TRUE;
}
if ( codeFileStat != FormFile::Ok && !ed ) {
if ( hasFormCode() ) {
int i = TQMessageBox::information( MainWindow::self, i18n( "Using ui.h File" ),
i18n( "An \"ui.h\" file for this form already exists.\n"
"Do you want to use it or create a new one?" ),
i18n( "Use Existing" ), i18n( "Create New" ),
i18n( "Cancel" ), 2, 2 );
if ( i == 2 )
return FALSE;
if ( i == 1 )
createFormCode();
} else {
if ( TQMessageBox::Yes != TQMessageBox::information( MainWindow::self, i18n( "Creating ui.h file" ),
i18n( "Do you want to create an new \"ui.h\" file?" ),
TQMessageBox::Yes, TQMessageBox::No ) )
return FALSE;
createFormCode();
}
setModified( TRUE );
}
codeFileStat = FormFile::Ok;
return TRUE;
}
SourceEditor *FormFile::showEditor( bool askForUih )
{
if ( !MainWindow::self )
return 0;
showFormWindow();
//emit signal to the embedding IDE if there is one and return 0 because
//no source editing is possible
emit fw->mainWindow()->part()->emitEditSource(fw->fileName());
return 0;
/* if ( !setupUihFile( askForUih ) )
return 0;
return MainWindow::self->openSourceEditor();*/
}
static int ui_counter = 0;
TQString FormFile::createUnnamedFileName()
{
return TQString( "unnamed" ) + TQString::number( ++ui_counter ) + TQString( ".ui" );
}
TQString FormFile::codeExtension() const
{
LanguageInterface *iface = MetaDataBase::languageInterface( pro->language() );
if ( iface )
return iface->formCodeExtension();
return "";
}
TQString FormFile::codeComment() const
{
return TQString( "/****************************************************************************\n"
"** ui.h extension file, included from the uic-generated form implementation.\n"
"**\n"
"** If you want to add, delete, or rename functions or slots, use\n"
"** TQt Designer to update this file, preserving your code.\n"
"**\n"
"** You should not define a constructor or destructor in this file.\n"
"** Instead, write your code in functions called init() and destroy().\n"
"** These will automatically be called by the form's constructor and\n"
"** destructor.\n"
"*****************************************************************************/\n" );
}
bool FormFile::hasFormCode() const
{
return !cod.isEmpty() && cod != TQString( codeComment() );
}
int FormFile::codeFileState() const
{
return hasFormCode() ? codeFileStat : None;
}
void FormFile::setCodeFileState( UihState s )
{
codeFileStat = s;
}
void FormFile::createFormCode()
{
if ( !TQT_TQOBJECT(formWindow()) )
return;
LanguageInterface *iface = MetaDataBase::languageInterface( pro->language() );
if ( !iface )
return;
if ( pro->isCpp() )
cod = codeComment();
TQValueList<MetaDataBase::Function> functionList = MetaDataBase::functionList( TQT_TQOBJECT(formWindow()) );
for ( TQValueList<MetaDataBase::Function>::Iterator it = functionList.begin(); it != functionList.end(); ++it ) {
cod += (!cod.isEmpty() ? "\n\n" : "") +
iface->createFunctionStart( formWindow()->name(), make_func_pretty((*it).function),
(*it).returnType.isEmpty() ?
TQString( "void" ) :
(*it).returnType, (*it).access ) +
"\n" + iface->createEmptyFunction();
}
parseCode( cod, FALSE );
}
void FormFile::load()
{
showFormWindow();
code();
}
bool FormFile::loadCode()
{
TQFile f( pro->makeAbsolute( codeFile() ) );
if ( !f.open( IO_ReadOnly ) ) {
cod = "";
setCodeFileState( FormFile::None );
return FALSE;
}
TQTextStream ts( &f );
cod = ts.read();
parseCode( cod, FALSE );
if ( hasFormCode() && codeFileStat != FormFile::Ok )
setCodeFileState( FormFile::Deleted );
timeStamp.update();
return TRUE;
}
bool FormFile::isCodeEdited() const
{
return codeEdited;
}
void FormFile::setCodeEdited( bool b )
{
codeEdited = b;
}
void FormFile::parseCode( const TQString &txt, bool allowModify )
{
if ( !TQT_TQOBJECT(formWindow()) )
return;
LanguageInterface *iface = MetaDataBase::languageInterface( pro->language() );
if ( !iface )
return;
TQValueList<LanguageInterface::Function> functions;
TQValueList<MetaDataBase::Function> newFunctions, oldFunctions;
oldFunctions = MetaDataBase::functionList( TQT_TQOBJECT(formWindow()) );
iface->functions( txt, &functions );
TQMap<TQString, TQString> funcs;
for ( TQValueList<LanguageInterface::Function>::Iterator it = functions.begin();
it != functions.end(); ++it ) {
bool found = FALSE;
for ( TQValueList<MetaDataBase::Function>::Iterator fit = oldFunctions.begin();
fit != oldFunctions.end(); ++fit ) {
TQString f( (*fit).function );
if ( MetaDataBase::normalizeFunction( f ) ==
MetaDataBase::normalizeFunction( (*it).name ) ) {
found = TRUE;
MetaDataBase::Function function;
function.function = make_func_pretty( (*it).name );
function.specifier = (*fit).specifier;
function.type = (*fit).type;
if ( !pro->isCpp() )
function.access = (*it).access;
else
function.access = (*fit).access;
function.language = (*fit).language;
function.returnType = (*it).returnType;
newFunctions << function;
funcs.insert( (*it).name, (*it).body );
oldFunctions.remove( fit );
break;
}
}
if ( !found ) {
MetaDataBase::Function function;
function.function = make_func_pretty( (*it).name );
function.specifier = "virtual";
function.access = "public";
function.language = pro->language();
function.returnType = (*it).returnType;
if ( function.returnType == "void" )
function.type = "slot";
else
function.type = "function";
if ( function.function == "init()" || function.function == "destroy()" ) {
function.type = "function";
function.access = "private";
function.specifier = "non virtual";
}
newFunctions << function;
funcs.insert( (*it).name, (*it).body );
if ( allowModify )
setFormWindowModified( TRUE );
}
}
if ( allowModify && oldFunctions.count() > 0 )
setFormWindowModified( TRUE );
MetaDataBase::setFunctionList( TQT_TQOBJECT(formWindow()), newFunctions );
}
void FormFile::syncCode()
{
if ( !editor() )
return;
parseCode( editor()->editorInterface()->text(), TRUE );
cod = editor()->editorInterface()->text();
}
void FormFile::checkTimeStamp()
{
if ( timeStamp.isUpToDate() )
return;
timeStamp.update();
if ( codeEdited ) {
if ( TQMessageBox::information( MainWindow::self, i18n( "TQt Designer" ),
i18n( "File '%1' has been changed outside TQt Designer.\n"
"Do you want to reload it?" ).arg( timeStamp.fileName() ),
i18n( "&Yes" ), i18n( "&No" ) ) == 0 ) {
TQFile f( timeStamp.fileName() );
if ( f.open( IO_ReadOnly ) ) {
TQTextStream ts( &f );
editor()->editorInterface()->setText( ts.read() );
editor()->save();
if ( MainWindow::self )
MainWindow::self->functionsChanged();
}
}
} else {
loadCode();
}
}
bool FormFile::isUihFileUpToDate()
{
if ( timeStamp.isUpToDate() )
return TRUE;
if ( !editor() ) {
MainWindow::self->editSource();
tqDebug( "parse Code" );
parseCode( editor()->editorInterface()->text(), TRUE );
}
checkTimeStamp();
return FALSE;
}
void FormFile::addFunctionCode( MetaDataBase::Function function )
{
if ( pro->isCpp() && !hasFormCode() && !codeEdited )
return;
LanguageInterface *iface = MetaDataBase::languageInterface( pro->language() );
if ( !iface )
return;
TQValueList<LanguageInterface::Function> funcs;
iface->functions( cod, &funcs );
bool hasFunc = FALSE;
for ( TQValueList<LanguageInterface::Function>::Iterator it = funcs.begin();
it != funcs.end(); ++it ) {
if ( MetaDataBase::normalizeFunction( (*it).name ) == MetaDataBase::normalizeFunction( function.function ) ) {
hasFunc = TRUE;
break;
}
}
if ( !hasFunc ) {
if ( !codeEdited && !timeStamp.isUpToDate() )
loadCode();
MetaDataBase::MetaInfo mi = MetaDataBase::metaInfo( TQT_TQOBJECT(formWindow()) );
TQString cn;
if ( mi.classNameChanged )
cn = mi.className;
if ( cn.isEmpty() )
cn = formWindow()->name();
TQString body = "\n\n" + iface->createFunctionStart( cn,
make_func_pretty( function.function ),
function.returnType.isEmpty() ?
TQString( "void" ) :
function.returnType, function.access ) +
"\n" + iface->createEmptyFunction();
cod += body;
if ( codeEdited ) {
setModified( TRUE );
emit somethingChanged( this );
}
}
}
void FormFile::removeFunctionCode( MetaDataBase::Function function )
{
if ( pro->isCpp() && !hasFormCode() && !codeEdited )
return;
LanguageInterface *iface = MetaDataBase::languageInterface( pro->language() );
if ( !iface )
return;
checkTimeStamp();
TQString sourceCode = code();
if ( sourceCode.isEmpty() )
return;
TQValueList<LanguageInterface::Function> functions;
iface->functions( sourceCode, &functions );
TQString fu = MetaDataBase::normalizeFunction( function.function );
for ( TQValueList<LanguageInterface::Function>::Iterator fit = functions.begin(); fit != functions.end(); ++fit ) {
if ( MetaDataBase::normalizeFunction( (*fit).name ) == fu ) {
int line = 0;
int start = 0;
while ( line < (*fit).start - 1 ) {
start = sourceCode.find( '\n', start );
if ( start == -1 )
return;
start++;
line++;
}
if ( start == -1 )
return;
int end = start;
while ( line < (*fit).end + 1 ) {
end = sourceCode.find( '\n', end );
if ( end == -1 ) {
if ( line <= (*fit).end )
end = sourceCode.length() - 1;
else
return;
}
end++;
line++;
}
if ( end < start )
return;
sourceCode.remove( start, end - start );
setCode( sourceCode );
}
}
}
void FormFile::functionNameChanged( const TQString &oldName, const TQString &newName )
{
if ( !cod.isEmpty() ) {
TQString funcStart = TQString( formWindow()->name() ) + TQString( "::" );
int i = cod.find( funcStart + oldName );
if ( i != -1 ) {
cod.remove( i + funcStart.length(), oldName.length() );
cod.insert( i + funcStart.length(), newName );
}
}
}
void FormFile::functionRetTypeChanged( const TQString &fuName, const TQString &oldType, const TQString &newType )
{
if ( !cod.isEmpty() ) {
TQString oldFunct = oldType + " " + TQString( formWindow()->name() ) + "::" + fuName;
TQString newFunct = newType + " " + TQString( formWindow()->name() ) + "::" + fuName;
int i = cod.find( oldFunct );
if ( i != -1 ) {
cod.remove( i, oldFunct.length() );
cod.insert( i, newFunct );
}
}
}
TQString FormFile::formName() const
{
FormFile* that = (FormFile*) this;
if ( TQT_TQOBJECT(formWindow()) ) {
that->cachedFormName = formWindow()->name();
return cachedFormName;
}
if ( !cachedFormName.isNull() )
return cachedFormName;
TQFile f( pro->makeAbsolute( filename ) );
if ( f.open( IO_ReadOnly ) ) {
TQTextStream ts( &f );
TQString line;
TQString className;
while ( !ts.eof() ) {
line = ts.readLine();
if ( !className.isEmpty() ) {
int end = line.find( "</class>" );
if ( end == -1 ) {
className += line;
} else {
className += line.left( end );
break;
}
continue;
}
int start;
if ( ( start = line.find( "<class>" ) ) != -1 ) {
int end = line.find( "</class>" );
if ( end == -1 ) {
className = line.mid( start + 7 );
} else {
className = line.mid( start + 7, end - ( start + 7 ) );
break;
}
}
}
that->cachedFormName = className;
}
if ( cachedFormName.isEmpty() )
that->cachedFormName = filename;
return cachedFormName;
}
void FormFile::formWindowChangedSomehow()
{
emit somethingChanged( this );
}
bool FormFile::checkFileName( bool allowBreak )
{
FormFile *ff = pro->findFormFile( filename, this );
if ( ff )
TQMessageBox::warning( MainWindow::self, i18n( "Invalid Filename" ),
i18n( "The project already contains a form with a\n"
"filename of '%1'. Please choose a new filename." ).arg( filename ) );
while ( ff ) {
TQString fn;
while ( fn.isEmpty() ) {
fn = KFileDialog::getSaveFileName( pro->makeAbsolute( fileName() ),
i18n( "*.ui|TQt User-Interface Files" ) + "\n" +
i18n( "*|All Files" ), MainWindow::self,/* 0,*/
i18n( "Save Form '%1' As").
arg( formWindow()->name() )/*,
MainWindow::self ? &MainWindow::self->lastSaveFilter : 0 */);
if ( allowBreak && fn.isEmpty() )
return FALSE;
}
filename = pro->makeRelative( fn );
ff = pro->findFormFile( filename, this );
}
return TRUE;
}
void FormFile::addConnection( const TQString &sender, const TQString &signal,
const TQString &receiver, const TQString &slot )
{
LanguageInterface *iface = MetaDataBase::languageInterface( pro->language() );
if ( iface )
iface->addConnection( sender, signal, receiver, slot, &cod );
if ( ed )
ed->editorInterface()->setText( cod );
}
void FormFile::removeConnection( const TQString &sender, const TQString &signal,
const TQString &receiver, const TQString &slot )
{
LanguageInterface *iface = MetaDataBase::languageInterface( pro->language() );
if ( iface )
iface->removeConnection( sender, signal, receiver, slot, &cod );
if ( ed )
ed->editorInterface()->setText( cod );
}
void FormFile::notifyFormWindowChange()
{
if ( fw )
pro->formOpened( fw );
}
void FormFile::emitNewStatus(FormFile *file)
{
fw->mainWindow()->part()->emitNewStatus(fileName(), isModified());
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,565 @@
/***************************************************************************
* Copyright (C) 2004 by Alexander Dymo *
* cloudtemple@mksat.net *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "kdevdesigner_part.h"
#include <kinstance.h>
#include <tdeaction.h>
#include <tdeactionclasses.h>
#include <kstdaction.h>
#include <tdefiledialog.h>
#include <kdebug.h>
#include <tdelocale.h>
#include <kiconloader.h>
#include <tqfile.h>
#include <tqtextstream.h>
#include <tqtoolbar.h>
#include <tqmenubar.h>
#include <tqptrlist.h>
#include <tqstatusbar.h>
#include "mainwindow.h"
#include "designeraction.h"
#include "formwindow.h"
KDevDesignerPart::KDevDesignerPart( TQWidget *parentWidget, const char *// widgetName
,
TQObject *parent, const char *name, const TQStringList &args )
: KInterfaceDesigner::Designer(parent, name)
{
setInstance( KDevDesignerPartFactory::instance() );
m_widget = new MainWindow( this, true );
m_widget->reparent(parentWidget, TQPoint(0,0));
setupDesignerWindow();
setWidget(m_widget);
setupActions();
if (args.contains("in shell"))
setXMLFile("kdevdesigner_part_sh.rc");
else
setXMLFile("kdevdesigner_part.rc");
setReadWrite(true);
setModified(false);
connect(m_widget, TQT_SIGNAL(formModified(bool )), this, TQT_SLOT(formModified(bool)));
}
void KDevDesignerPart::setupDesignerWindow()
{
m_widget->menuBar()->hide();
m_widget->layoutToolBar->hide();
m_widget->projectToolBar->hide();
m_widget->toolsToolBar->hide();
m_widget->statusBar()->hide();
}
static TQIconSet createPartIconSet( const TQString &name )
{
TQIconSet ic( BarIcon( "" + name, KDevDesignerPartFactory::instance() ) );
TQString prefix = "designer_";
int right = name.length() - prefix.length();
ic.setPixmap( BarIcon( prefix + "d_" + name.right( right ), KDevDesignerPartFactory::instance() ),
TQIconSet::Small, TQIconSet::Disabled );
return ic;
}
void KDevDesignerPart::setupActions( )
{
TDEAction *action;
action = KStdAction::openNew(this, TQT_SLOT(fileNew()), actionCollection());
action = KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());
action = KStdAction::close(this, TQT_SLOT(fileClose()), actionCollection());
stateSync(action, m_widget->actionFileClose);
action = KStdAction::save(this, TQT_SLOT(save()), actionCollection());
stateSync(action, m_widget->actionFileSave);
action = KStdAction::saveAs(this, TQT_SLOT(fileSaveAs()), actionCollection());
stateSync(action, m_widget->actionFileSaveAs);
action = new TDEAction(i18n("Save Al&l"), 0, this, TQT_SLOT(fileSaveAs()), actionCollection(), "file_saveall");
stateSync(action, m_widget->actionFileSaveAll);
new TDEAction(i18n("Create &Template..."), 0, this, TQT_SLOT(fileCreateTemplate()), actionCollection(), "file_createtemplate");
action = KStdAction::undo(this, TQT_SLOT(editUndo()), actionCollection());
stateSync(action, m_widget->actionEditUndo);
action = KStdAction::redo(this, TQT_SLOT(editRedo()), actionCollection());
stateSync(action, m_widget->actionEditRedo);
action = KStdAction::cut(this, TQT_SLOT(editCut()), actionCollection());
stateSync(action, m_widget->actionEditCut);
action = KStdAction::copy(this, TQT_SLOT(editCopy()), actionCollection());
stateSync(action, m_widget->actionEditCopy);
action = KStdAction::paste(this, TQT_SLOT(editPaste()), actionCollection());
stateSync(action, m_widget->actionEditPaste);
action = new TDEAction(i18n("&Delete"), Key_Delete, this, TQT_SLOT(editDelete()), actionCollection(), "edit_delete");
stateSync(action, m_widget->actionEditDelete);
action = KStdAction::selectAll(this, TQT_SLOT(editSelectAll()), actionCollection());
stateSync(action, m_widget->actionEditSelectAll);
action = new TDEAction(i18n("Chec&k Accelerators"), ALT + Key_R, this, TQT_SLOT(editAccels()), actionCollection(), "edit_accels");
stateSync(action, m_widget->actionEditAccels);
action = new TDEAction(i18n("S&lots..."), createPartIconSet("designer_editslots.png"), 0, this, TQT_SLOT(editFunctions()), actionCollection(), "edit_functions");
stateSync(action, m_widget->actionEditFunctions);
action = new TDEAction(i18n("Co&nnections..."), createPartIconSet("designer_connecttool.png"), 0, this, TQT_SLOT(editConnections()), actionCollection(), "edit_connections");
stateSync(action, m_widget->actionEditConnections);
action = new TDEAction(i18n("&Form Settings..."), 0, this, TQT_SLOT(editFormSettings()), actionCollection(), "edit_formsettings");
stateSync(action, m_widget->actionEditFormSettings);
action = new TDEAction(i18n("&Add File..."), 0, this, TQT_SLOT(projectAddFile()), actionCollection(), "project_addfile");
stateSync(action, m_widget->actionProjectAddFile);
action = new TDEAction(i18n("&Image Collection..."), 0, this, TQT_SLOT(projectImageCollection()), actionCollection(), "project_imagecollection");
stateSync(action, m_widget->actionEditPixmapCollection);
action = new TDEAction(i18n("&Database Connections..."), 0, this, TQT_SLOT(projectDatabaseCollections()), actionCollection(), "project_databasecollections");
stateSync(action, m_widget->actionEditDatabaseConnections);
action = new TDEAction(i18n("&Designer Project Settings..."), 0, this, TQT_SLOT(projectSettings()), actionCollection(), "project_settings");
stateSync(action, m_widget->actionEditProjectSettings);
TDERadioAction *toggle;
toggle = new TDERadioAction(i18n("&Pointer"), createPartIconSet("designer_pointer.png"), Key_F2, actionCollection(), "tools_pointer");
setupToolsAction(toggle, m_widget->actionPointerTool);
pointerAction = toggle;
toggle = new TDERadioAction(i18n("&Connect Signal/Slots"), createPartIconSet("designer_connecttool.png"), Key_F3, actionCollection(), "tools_connect");
setupToolsAction(toggle, m_widget->actionConnectTool);
toggle = new TDERadioAction(i18n("Tab &Order"), createPartIconSet("designer_ordertool.png"), Key_F4, actionCollection(), "tools_taborder");
setupToolsAction(toggle, m_widget->actionOrderTool);
toggle = new TDERadioAction(i18n("Set &Buddy"), createPartIconSet("designer_setbuddy.png"), Key_F12, actionCollection(), "tools_setbuddy");
setupToolsAction(toggle, m_widget->actionBuddyTool);
new TDEAction(i18n("Configure Toolbox..."), 0, this, TQT_SLOT(toolsConfigureToolbox()), actionCollection(), "tools_toolbox");
new TDEAction(i18n("Edit &Custom Widgets..."), 0, this, TQT_SLOT(toolsEditCustomWidgets()), actionCollection(), "tools_editcustomwidgets");
action = new TDEAction(i18n("Adjust &Size"), createPartIconSet("designer_adjustsize.png"), CTRL + Key_J, this, TQT_SLOT(layoutAdjustSize()), actionCollection(), "layout_adjustsize");
stateSync(action, m_widget->actionEditAdjustSize);
action = new TDEAction(i18n("Lay Out &Horizontally"), createPartIconSet("designer_edithlayout.png"), CTRL + Key_H, this, TQT_SLOT(layoutHLayout()), actionCollection(), "layout_h");
stateSync(action, m_widget->actionEditHLayout);
action = new TDEAction(i18n("Lay Out &Vertically"), createPartIconSet("designer_editvlayout.png"), CTRL + Key_V, this, TQT_SLOT(layoutVLayout()), actionCollection(), "layout_v");
stateSync(action, m_widget->actionEditVLayout);
action = new TDEAction(i18n("Lay Out in &Grid"), createPartIconSet("designer_editgrid.png"), CTRL + Key_G, this, TQT_SLOT(layoutGridLayout()), actionCollection(), "layout_grid");
stateSync(action, m_widget->actionEditGridLayout);
action = new TDEAction(i18n("Lay OutQt::Horizontally (in S&plitter)"), createPartIconSet("designer_editvlayoutsplit.png"), 0, this, TQT_SLOT(layoutSplitHLayout()), actionCollection(), "layout_splith");
stateSync(action, m_widget->actionEditSplitHorizontal);
action = new TDEAction(i18n("Lay OutQt::Vertically (in Sp&litter)"), createPartIconSet("designer_edithlayoutsplit.png"), 0, this, TQT_SLOT(layoutSplitVLayout()), actionCollection(), "layout_splitv");
stateSync(action, m_widget->actionEditSplitVertical);
action = new TDEAction(i18n("&Break Layout"), createPartIconSet("designer_editbreaklayout.png"), CTRL + Key_B, this, TQT_SLOT(layoutBreak()), actionCollection(), "layout_break");
stateSync(action, m_widget->actionEditBreakLayout);
toggle = new TDERadioAction(i18n("Add Spacer"), createPartIconSet("designer_spacer.png"), 0, actionCollection(), "layout_spacer");
setupToolsAction(toggle, m_widget->actionInsertSpacer);
action = new TDEAction(i18n("Preview &Form"), CTRL + Key_T, this, TQT_SLOT(windowPreview()), actionCollection(), "window_preview");
stateSync(action, m_widget->actionPreview);
action = new TDEAction(i18n("Ne&xt Form"), CTRL + Key_F6, this, TQT_SLOT(windowNext()), actionCollection(), "window_next");
stateSync(action, m_widget->actionWindowNext);
action = new TDEAction(i18n("Pre&vious Form"), CTRL + SHIFT + Key_F6, this, TQT_SLOT(windowPrev()), actionCollection(), "window_prev");
stateSync(action, m_widget->actionWindowPrevious);
action = KStdAction::preferences(this, TQT_SLOT(editPreferences()), actionCollection());
action->setText(i18n("Configure &KDevDesigner..."));
stateSync(action, m_widget->actionEditPreferences);
}
KDevDesignerPart::~KDevDesignerPart()
{
}
void KDevDesignerPart::setReadWrite(bool rw)
{
ReadWritePart::setReadWrite(rw);
}
void KDevDesignerPart::setModified(bool modified)
{
/* TDEAction *save = actionCollection()->action(KStdAction::stdName(KStdAction::Save));
if (!save)
return;
if (modified)
save->setEnabled(true);
else
save->setEnabled(false);*/
ReadWritePart::setModified(modified);
}
bool KDevDesignerPart::openFile()
{
m_widget->fileOpen("", "", m_file);
return true;
}
bool KDevDesignerPart::saveFile()
{
if (isReadWrite() == false)
return false;
m_widget->actionFileSaveAll->activate();
return true;
}
void KDevDesignerPart::stateSync( TDEAction * tdeaction, TQAction * qaction )
{
if (!qaction)
return;
tdeaction->setEnabled(qaction->isEnabled());
DesignerAction *ac = dynamic_cast<DesignerAction*>(qaction);
if (!ac)
return;
connect(ac, TQT_SIGNAL(actionEnabled(bool )), tdeaction, TQT_SLOT(setEnabled(bool )));
}
void KDevDesignerPart::setupToolsAction( TDERadioAction * toggle, TQAction * action )
{
if (!action)
return;
toggle->setGroup("tools");
toggle->setExclusiveGroup("tools");
connect(action, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(setToggleActionChecked(bool )));
connect(toggle, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setToggleActionOn(bool)));
toggle->setChecked(action->isOn());
m_actionMap[action] = toggle;
m_actionMap2[toggle] = action;
}
// It's usually safe to leave the factory code alone.. with the
// notable exception of the TDEAboutData data
#include <tdeaboutdata.h>
#include <tdelocale.h>
TDEInstance* KDevDesignerPartFactory::s_instance = 0L;
TDEAboutData* KDevDesignerPartFactory::s_about = 0L;
KDevDesignerPartFactory::KDevDesignerPartFactory()
: KParts::Factory()
{
}
KDevDesignerPartFactory::~KDevDesignerPartFactory()
{
delete s_instance;
delete s_about;
s_instance = 0L;
}
KParts::Part* KDevDesignerPartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name,
const char *classname, const TQStringList &args )
{
// Create an instance of our Part
KDevDesignerPart* obj = new KDevDesignerPart( parentWidget, widgetName, parent, name, args );
// See if we are to be read-write or not
if (TQCString(classname) == "KParts::ReadOnlyPart")
obj->setReadWrite(false);
return obj;
}
TDEInstance* KDevDesignerPartFactory::instance()
{
if( !s_instance )
{
s_about = new TDEAboutData("kdevdesignerpart", I18N_NOOP("KDevDesignerPart"), "0.1");
s_about->addAuthor("Alexander Dymo", 0, "cloudtemple@mksat.net");
s_about->addAuthor("Trolltech AS", 0, "info@trolltech.com");
s_instance = new TDEInstance(s_about);
}
return s_instance;
}
extern "C"
{
void* init_libkdevdesignerpart()
{
return new KDevDesignerPartFactory;
}
}
//actions
void KDevDesignerPart::fileNew( )
{
if (!m_widget->actionNewFile)
{
tqWarning("wrong m_widget->actionNewFile");
return;
}
m_widget->actionNewFile->activate();
}
void KDevDesignerPart::fileOpen()
{
m_widget->fileOpen();
}
void KDevDesignerPart::fileSaveAs()
{
m_widget->actionFileSaveAs->activate();
}
void KDevDesignerPart::fileClose( )
{
m_widget->actionFileClose->activate();
}
void KDevDesignerPart::fileCreateTemplate( )
{
m_widget->fileCreateTemplate();
}
void KDevDesignerPart::editUndo( )
{
m_widget->actionEditUndo->activate();
}
void KDevDesignerPart::editRedo( )
{
m_widget->actionEditRedo->activate();
}
void KDevDesignerPart::editCut( )
{
m_widget->actionEditCut->activate();
}
void KDevDesignerPart::editPaste( )
{
m_widget->actionEditPaste->activate();
}
void KDevDesignerPart::editCopy( )
{
m_widget->actionEditCopy->activate();
}
void KDevDesignerPart::editDelete( )
{
m_widget->actionEditDelete->activate();
}
void KDevDesignerPart::editSelectAll( )
{
m_widget->actionEditSelectAll->activate();
}
void KDevDesignerPart::editAccels( )
{
m_widget->actionEditAccels->activate();
}
void KDevDesignerPart::editFunctions( )
{
m_widget->actionEditFunctions->activate();
}
void KDevDesignerPart::editConnections( )
{
m_widget->actionEditConnections->activate();
}
void KDevDesignerPart::editFormSettings( )
{
m_widget->actionEditFormSettings->activate();
}
void KDevDesignerPart::editPreferences( )
{
m_widget->actionEditPreferences->activate();
}
void KDevDesignerPart::projectAddFile( )
{
m_widget->actionProjectAddFile->activate();
}
void KDevDesignerPart::projectImageCollection( )
{
m_widget->actionEditPixmapCollection->activate();
}
void KDevDesignerPart::projectDatabaseCollections( )
{
m_widget->actionEditDatabaseConnections->activate();
}
void KDevDesignerPart::projectSettings( )
{
m_widget->actionEditProjectSettings->activate();
}
void KDevDesignerPart::toolsConfigureToolbox( )
{
m_widget->toolsConfigure();
}
void KDevDesignerPart::layoutAdjustSize( )
{
m_widget->actionEditAdjustSize->activate();
}
void KDevDesignerPart::layoutHLayout( )
{
m_widget->actionEditHLayout->activate();
}
void KDevDesignerPart::layoutVLayout( )
{
m_widget->actionEditVLayout->activate();
}
void KDevDesignerPart::layoutGridLayout( )
{
m_widget->actionEditGridLayout->activate();
}
void KDevDesignerPart::layoutSplitHLayout( )
{
m_widget->actionEditSplitHorizontal->activate();
}
void KDevDesignerPart::layoutSplitVLayout( )
{
m_widget->actionEditSplitVertical->activate();
}
void KDevDesignerPart::layoutBreak( )
{
m_widget->actionEditBreakLayout->activate();
}
void KDevDesignerPart::windowPreview( )
{
m_widget->actionPreview->activate();
}
void KDevDesignerPart::windowNext( )
{
m_widget->actionWindowNext->activate();
}
void KDevDesignerPart::windowPrev( )
{
m_widget->actionWindowPrevious->activate();
}
void KDevDesignerPart::statusMessage( const TQString & msg )
{
emit setStatusBarText(msg);
}
void KDevDesignerPart::setToggleActionChecked( bool b)
{
if (!sender())
return;
const TQAction *action = dynamic_cast<const TQAction*>(sender());
if (!action)
return;
if (b)
{
if (action == m_widget->actionPointerTool)
pointerAction->setChecked(true);
return;
}
TDERadioAction *tdeaction = m_actionMap[action];
if (!tdeaction)
return;
// kdDebug() << "untoggle action: " << tdeaction->text() << endl;
tdeaction->blockSignals(true);
tdeaction->setChecked(b);
tdeaction->blockSignals(false);
}
void KDevDesignerPart::setToggleActionOn( bool b )
{
if (!sender())
return;
const TDERadioAction *action = dynamic_cast<const TDERadioAction *>(sender());
if (!action)
return;
// kdDebug() << (b?TQString("toggle"):TQString("untoggle")) << " action: " << action->text() << endl;
TQAction *qaction = m_actionMap2[action];
if (!qaction)
return;
disconnect(qaction, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(setToggleActionChecked(bool )));
qaction->setOn(b);
connect(qaction, TQT_SIGNAL(toggled(bool )), this, TQT_SLOT(setToggleActionChecked(bool )));
}
void KDevDesignerPart::openProject( const TQString & // projectFile
)
{
//TODO: implement
return;
}
KInterfaceDesigner::DesignerType KDevDesignerPart::designerType( )
{
return KInterfaceDesigner::TQtDesigner;
}
void KDevDesignerPart::emitAddedFunction( const TQString & form, KInterfaceDesigner::Function func )
{
kdDebug() << "KDevDesignerPart::emitAddedFunction: form " << form << ", function: " << func.function << endl;
emit addedFunction(designerType(), form, func);
}
void KDevDesignerPart::emitRemovedFunction( const TQString & form, KInterfaceDesigner::Function func )
{
kdDebug() << "KDevDesignerPart::emitRemovedFunction: form " << form << ", function: " << func.function << endl;
emit removedFunction(designerType(), form, func);
}
void KDevDesignerPart::emitEditedFunction( const TQString & form, KInterfaceDesigner::Function oldFunc, KInterfaceDesigner::Function func )
{
kdDebug() << "KDevDesignerPart::emitEditedFunction: form " << form
<< ", old function: " << oldFunc.function
<< ", function: " << func.function << endl;
// m_widget->formWindow()->clearSelection(false);
emit editedFunction(designerType(), form, oldFunc, func);
}
void KDevDesignerPart::emitEditFunction(const TQString &formName, const TQString &functionName)
{
kdDebug() << "KDevDesignerPart::emitEditedFunction: form " << formName
<< ", function: " << functionName << endl;
emit editFunction(designerType(), formName, functionName);
}
void KDevDesignerPart::formModified(bool b)
{
kdDebug() << "KDevDesignerPart::formModified " << b << endl;
setModified(b);
}
void KDevDesignerPart::emitEditSource(const TQString &formName)
{
emit editSource(designerType(), formName);
}
void KDevDesignerPart::emitNewStatus(const TQString &formName, int status)
{
emit newStatus(formName, status);
}
void KDevDesignerPart::toolsEditCustomWidgets( )
{
m_widget->toolsCustomWidget();
}
#include "kdevdesigner_part.moc"

@ -0,0 +1,16 @@
[Desktop Entry]
Name=KDevDesignerPart
Name[da]=TDevelop Designer-part
Name[el]=ΤμήμαKDevDesigner
Name[nds]=Kdevelop-Makerkomponent
Name[ne]=केडीई विकास डिजाइनर भाग
Name[sv]=TDevelop designerdel
Name[ta]=கேமேம்பாட்டு வடிவமைப்பாளர் பகுதி
Name[tg]=KDevҚисми дизайнгар
Name[zh_TW]=TDevelop 設計元件
MimeType=application/x-designer
ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart
X-TDE-Library=libkdevdesignerpart
Type=Service
InitialPreference=10

@ -0,0 +1,148 @@
/***************************************************************************
* Copyright (C) 2004 by Alexander Dymo *
* cloudtemple@mksat.net *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifndef _KDEVDESIGNERPART_H_
#define _KDEVDESIGNERPART_H_
#include <tqmap.h>
#include <tdeparts/part.h>
#include <tdeparts/factory.h>
#include "designer.h"
class TQWidget;
class TQPainter;
class KURL;
class MainWindow;
class TDEAction;
class TQAction;
class TDERadioAction;
class KDevDesignerPart : public KInterfaceDesigner::Designer
{
Q_OBJECT
public:
KDevDesignerPart(TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name, const TQStringList &args);
virtual ~KDevDesignerPart();
virtual void setReadWrite(bool rw);
virtual void setModified(bool modified);
void statusMessage(const TQString &msg);
//KInterfaceDesigner::Designer methods
virtual void openProject(const TQString &projectFile);
virtual KInterfaceDesigner::DesignerType designerType();
void emitAddedFunction(const TQString &form, KInterfaceDesigner::Function func);
void emitEditedFunction(const TQString &form, KInterfaceDesigner::Function oldFunc, KInterfaceDesigner::Function func);
void emitRemovedFunction(const TQString &form, KInterfaceDesigner::Function func);
void emitEditFunction(const TQString &formName, const TQString &functionName);
void emitEditSource(const TQString &formName);
void emitNewStatus(const TQString &formName, int status);
protected:
virtual bool openFile();
virtual bool saveFile();
void setupDesignerWindow();
void setupActions();
void stateSync(TDEAction *tdeaction, TQAction *qaction);
void setupToolsAction(TDERadioAction *toggle, TQAction *action);
protected slots:
void setToggleActionChecked(bool b);
void setToggleActionOn(bool b);
void fileNew();
void fileOpen();
void fileClose();
void fileSaveAs();
void fileCreateTemplate();
void editUndo();
void editRedo();
void editCut();
void editCopy();
void editPaste();
void editDelete();
void editSelectAll();
void editAccels();
void editFunctions();
void editConnections();
void editFormSettings();
void editPreferences();
void projectAddFile();
void projectImageCollection();
void projectDatabaseCollections();
void projectSettings();
void toolsConfigureToolbox();
void toolsEditCustomWidgets();
void layoutAdjustSize();
void layoutHLayout();
void layoutVLayout();
void layoutGridLayout();
void layoutSplitHLayout();
void layoutSplitVLayout();
void layoutBreak();
void windowPreview();
void windowNext();
void windowPrev();
void formModified(bool b);
private:
MainWindow *m_widget;
TQMap<const TQAction*, TDERadioAction*> m_actionMap;
TQMap<const TDERadioAction*, TQAction*> m_actionMap2;
TDERadioAction* pointerAction;
};
class TDEInstance;
class TDEAboutData;
class KDevDesignerPartFactory : public KParts::Factory
{
Q_OBJECT
public:
KDevDesignerPartFactory();
virtual ~KDevDesignerPartFactory();
virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name,
const char *classname, const TQStringList &args );
static TDEInstance* instance();
private:
static TDEInstance* s_instance;
static TDEAboutData* s_about;
};
#endif // _KDEVDESIGNERPART_H_

@ -0,0 +1,121 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="kdevdesigner_part" version="6">
<MenuBar>
<Menu name="file" noMerge="1"><text>&amp;File</text>
<Action name="file_createtemplate" group="new_merge"/>
<Action name="file_save" group="save_merge"/>
<Action name="file_save_as" group="save_merge"/>
</Menu>
<Menu name="edit" noMerge="1"><text>&amp;Edit</text>
<Action name="edit_undo" group="edit_undo_merge"/>
<Action name="edit_redo" group="edit_undo_merge"/>
<Separator group="edit_undo_merge"/>
<Action name="edit_cut" group="edit_paste_merge"/>
<Action name="edit_copy" group="edit_paste_merge"/>
<Action name="edit_paste" group="edit_paste_merge"/>
<Separator group="edit_paste_merge"/>
<Action name="edit_delete" group="edit_select_merge"/>
<Action name="edit_select_all" group="edit_select_merge"/>
<Separator group="edit_select_merge"/>
<Action name="edit_accels" group="edit_select_merge"/>
<Separator group="edit_select_merge"/>
<Action name="edit_functions" group="edit_select_merge"/>
<Action name="edit_connections" group="edit_select_merge"/>
<Action name="edit_formsettings" group="edit_select_merge"/>
<Separator group="edit_select_merge"/>
</Menu>
<Menu name="project" noMerge="1"><text>&amp;Project</text>
<Action name="project_imagecollection" group="designer_project"/>
<Action name="project_databasecollections" group="designer_project"/>
<Separator group="designer_project"/>
<Action name="project_settings" group="designer_project"/>
<Separator group="designer_project"/>
</Menu>
<Menu name="tools" noMerge="1"><text>&amp;Tools</text>
<Action name="tools_pointer" group="tools_operations"/>
<Action name="tools_connect" group="tools_operations"/>
<Action name="tools_taborder" group="tools_operations"/>
<Action name="tools_setbuddy" group="tools_operations"/>
<Action name="tools_toolbox" group="tools_operations"/>
<Action name="tools_editcustomwidgets" group="tools_operations"/>
<Separator group="tools_operations"/>
</Menu>
<Menu name="layout" noMerge="1"><text>&amp;Layout</text>
<Action name="layout_adjustsize"/>
<Separator/>
<Action name="layout_h"/>
<Action name="layout_v"/>
<Action name="layout_grid"/>
<Action name="layout_splith"/>
<Action name="layout_splitv"/>
<Action name="layout_break"/>
<Separator/>
<Action name="layout_spacer"/>
</Menu>
<Menu name="settings" noMerge="1"><text>&amp;Settings</text>
<Action name="options_configure" group="configure_merge"/>
</Menu>
<Menu name="window" noMerge="1"><text>&amp;Window</text>
<Action name="window_preview" group="window_operations"/>
<Separator group="window_operations"/>
<Action name="window_next" group="window_operations"/>
<Action name="window_prev" group="window_operations"/>
</Menu>
</MenuBar>
<!--<ToolBar name="fileToolBar" noMerge="1"><text>File Toolbar</text>
<Action name="file_new"/>
<Action name="file_open"/>
<Action name="file_save"/>
</ToolBar>
<ToolBar name="editToolBar" noMerge="1"><text>Edit Toolbar</text>
<Action name="edit_undo"/>
<Action name="edit_redo"/>
<Separator/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="edit_paste"/>
</ToolBar> -->
<ToolBar name="mainToolBar" noMerge="1"><text>Main Toolbar</text>
<Action name="file_open" group="file_operations"/>
<Action name="file_save" group="file_operations"/>
<Separator group="file_operations"/>
<Action name="edit_undo" group="edit_operations"/>
<Action name="edit_redo" group="edit_operations"/>
<Separator group="edit_operations"/>
<Action name="edit_cut" group="edit_operations"/>
<Action name="edit_copy" group="edit_operations"/>
<Action name="edit_paste" group="edit_operations"/>
</ToolBar>
<ToolBar name="layoutToolBar" noMerge="1"><text>Layout Toolbar</text>
<Action name="layout_adjustsize"/>
<Separator/>
<Action name="layout_h"/>
<Action name="layout_v"/>
<Action name="layout_grid"/>
<Action name="layout_splith"/>
<Action name="layout_splitv"/>
<Action name="layout_break"/>
<Separator/>
<Action name="layout_spacer"/>
</ToolBar>
<ToolBar name="toolsToolBar" noMerge="1"><text>Tools Toolbar</text>
<Action name="tools_pointer"/>
<Action name="tools_connect"/>
<Action name="tools_taborder"/>
<Action name="tools_setbuddy"/>
</ToolBar>
</kpartgui>

@ -0,0 +1,116 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="kdevdesigner_part" version="4">
<MenuBar>
<Menu name="file" noMerge="1"><text>&amp;File</text>
<Action name="file_new" group="new_merge"/>
<Action name="file_open" group="open_merge"/>
<Separator/>
<Action name="file_close" group="close_merge"/>
<Separator/>
<Action name="file_save" group="save_merge"/>
<Action name="file_save_as" group="save_merge"/>
<Action name="file_saveall" group="save_merge"/>
<Separator/>
<Action name="file_createtemplate"/>
<Separator/>
</Menu>
<Menu name="edit" noMerge="1"><text>&amp;Edit</text>
<Action name="edit_undo" group="edit_undo_merge"/>
<Action name="edit_redo" group="edit_undo_merge"/>
<Separator group="edit_undo_merge"/>
<Action name="edit_cut" group="edit_paste_merge"/>
<Action name="edit_copy" group="edit_paste_merge"/>
<Action name="edit_paste" group="edit_paste_merge"/>
<Separator group="edit_paste_merge"/>
<Action name="edit_delete" group="edit_select_merge"/>
<Action name="edit_select_all" group="edit_select_merge"/>
<Separator group="edit_select_merge"/>
<Action name="edit_accels"/>
<Separator/>
<Action name="edit_functions"/>
<Action name="edit_connections"/>
<Action name="edit_formsettings"/>
</Menu>
<Menu name="project" noMerge="1"><text>&amp;Project</text>
<Action name="project_addfile"/>
<Action name="project_imagecollection"/>
<Action name="project_databasecollections"/>
<Separator/>
<Action name="project_settings"/>
</Menu>
<Menu name="tools" noMerge="1"><text>&amp;Tools</text>
<Action name="tools_pointer" group="tools_operations"/>
<Action name="tools_connect" group="tools_operations"/>
<Action name="tools_taborder" group="tools_operations"/>
<Action name="tools_setbuddy" group="tools_operations"/>
<Action name="tools_toolbox" group="tools_operations"/>
<Action name="tools_editcustomwidgets" group="tools_operations"/>
<!-- <Separator/>
<Action name="tools_toolbox"/>-->
</Menu>
<Menu name="layout" noMerge="1"><text>&amp;Layout</text>
<Action name="layout_adjustsize"/>
<Separator/>
<Action name="layout_h"/>
<Action name="layout_v"/>
<Action name="layout_grid"/>
<Action name="layout_splith"/>
<Action name="layout_splitv"/>
<Action name="layout_break"/>
<Separator/>
<Action name="layout_spacer"/>
</Menu>
<Menu name="settings" noMerge="1"><text>&amp;Settings</text>
<Action name="options_configure"/>
</Menu>
<Menu name="window" noMerge="1"><text>&amp;Window</text>
<Action name="window_preview" group="window_operations"/>
<Separator/>
<Action name="window_next" group="window_operations"/>
<Action name="window_prev" group="window_operations"/>
</Menu>
</MenuBar>
<ToolBar name="fileToolBar" noMerge="1"><text>File Toolbar</text>
<Action name="file_new"/>
<Action name="file_open"/>
<Action name="file_save"/>
</ToolBar>
<ToolBar name="editToolBar" noMerge="1"><text>Edit Toolbar</text>
<Action name="edit_undo"/>
<Action name="edit_redo"/>
<Separator/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="edit_paste"/>
</ToolBar>
<ToolBar name="layoutToolBar" noMerge="1"><text>Layout Toolbar</text>
<Action name="layout_adjustsize"/>
<Separator/>
<Action name="layout_h"/>
<Action name="layout_v"/>
<Action name="layout_grid"/>
<Action name="layout_splith"/>
<Action name="layout_splitv"/>
<Action name="layout_break"/>
<Separator/>
<Action name="layout_spacer"/>
</ToolBar>
<ToolBar name="toolsToolBar" noMerge="1"><text>Tools Toolbar</text>
<Action name="tools_pointer"/>
<Action name="tools_connect"/>
<Action name="tools_taborder"/>
<Action name="tools_setbuddy"/>
</ToolBar>
</kpartgui>

File diff suppressed because it is too large Load Diff

@ -0,0 +1,513 @@
/**********************************************************************
** Copyright (C) 2000 Trolltech AS. All rights reserved.
**
** This file is part of TQt Designer.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
** licenses may use this file in accordance with the TQt Commercial License
** Agreement provided with the Software.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
** information about TQt Commercial License Agreements.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "metadatabase.h"
#include "../interfaces/actioninterface.h" // for GCC 2.7.* compatibility
#include "../interfaces/editorinterface.h"
#include "../interfaces/templatewizardiface.h"
#include "../interfaces/languageinterface.h"
#include "../interfaces/filterinterface.h"
#include "../interfaces/interpreterinterface.h"
#include "../interfaces/preferenceinterface.h"
#include "../interfaces/projectsettingsiface.h"
#include "../interfaces/sourcetemplateiface.h"
#include "sourceeditor.h"
#include <tqaction.h>
#include <tqmainwindow.h>
#include <tqmap.h>
#include <tqguardedptr.h>
#include <tqpluginmanager_p.h>
#include <tqobjectlist.h>
class TQToolBox;
class PropertyEditor;
class TQWorkspace;
class TQMenuBar;
class FormWindow;
class TQPopupMenu;
class HierarchyView;
class TQCloseEvent;
class Workspace;
class ActionEditor;
class Project;
class OutputWindow;
class TQTimer;
class FindDialog;
struct DesignerProject;
class ReplaceDialog;
class GotoLineDialog;
class SourceFile;
class FormFile;
class TQAssistantClient;
class DesignerAction;
#if defined(TQ_FULL_TEMPLATE_INSTANTIATION)
#include <tqtoolbar.h>
#else
class TQToolBar;
#endif
class Preferences;
class KDevDesignerPart;
class MainWindow : public TQMainWindow
{
Q_OBJECT
public:
enum LineMode { Error, Step, StackFrame };
MainWindow( KDevDesignerPart *part, bool asClient, bool single = FALSE, const TQString &plgDir = "/designer" );
~MainWindow();
HierarchyView *objectHierarchy() const;
Workspace *workspace() const;
PropertyEditor *propertyeditor() const;
ActionEditor *actioneditor() const;
void resetTool();
int currentTool() const;
FormWindow *formWindow();
bool unregisterClient( FormWindow *w );
void editorClosed( SourceEditor *e );
TQWidget *isAFormWindowChild( TQObject *o ) const;
TQWidget *isAToolBarChild( TQObject *o ) const;
void insertFormWindow( FormWindow *fw );
TQWorkspace *qWorkspace() const;
void popupFormWindowMenu( const TQPoint &gp, FormWindow *fw );
void popupWidgetMenu( const TQPoint &gp, FormWindow *fw, TQWidget *w );
TQPopupMenu *setupNormalHierarchyMenu( TQWidget *parent );
TQPopupMenu *setupTabWidgetHierarchyMenu( TQWidget *parent, const char *addSlot, const char *removeSlot );
FormWindow *openFormWindow( const TQString &fn, bool validFileName = TRUE, FormFile *ff = 0 );
bool isCustomWidgetUsed( MetaDataBase::CustomWidget *w );
void setGrid( const TQPoint &p );
void setShowGrid( bool b );
void setSnapGrid( bool b );
TQPoint grid() const { return grd; }
bool showGrid() const { return sGrid; }
bool snapGrid() const { return snGrid && sGrid; }
TQString documentationPath() const;
static MainWindow *self;
TQString templatePath() const { return templPath; }
void editFunction( const TQString &func, bool rereadSource = FALSE );
bool isPreviewing() const { return previewing; }
Project *currProject() const { return currentProject; }
FormWindow *activeForm() const { return lastActiveFormWindow; }
TemplateWizardInterface* templateWizardInterface( const TQString& className );
TQStringList sourceTemplates() const;
SourceTemplateInterface* sourceTemplateInterface( const TQString& templ );
TQUnknownInterface* designerInterface() const { return desInterface; }
TQPtrList<DesignerProject> projectList() const;
TQStringList projectNames() const;
TQStringList projectFileNames() const;
Project *findProject( const TQString &projectName ) const;
void setCurrentProject( Project *pro );
void setCurrentProjectByFilename( const TQString& proFilename );
OutputWindow *outputWindow() const { return oWindow; }
void addPreferencesTab( TQWidget *tab, const TQString &title, TQObject *receiver, const char *init_slot, const char *accept_slot );
void addProjectTab( TQWidget *tab, const TQString &title, TQObject *receiver, const char *init_slot, const char *accept_slot );
void setModified( bool b, TQWidget *window );
void functionsChanged();
void updateFunctionList();
void updateWorkspace();
void runProjectPrecondition();
void runProjectPostcondition( TQObjectList *l );
void formNameChanged( FormWindow *fw );
int currentLayoutDefaultSpacing() const;
int currentLayoutDefaultMargin() const;
void saveAllBreakPoints();
void resetBreakPoints();
SourceFile *sourceFile();
void createNewProject( const TQString &lang );
void popupProjectMenu( const TQPoint &pos );
TQObject *findRealObject( TQObject *o );
void setSingleProject( Project *pro );
bool singleProjectMode() const { return singleProject; }
void showSourceLine( TQObject *o, int line, LineMode lm );
void shuttingDown();
void showGUIStuff( bool b );
void setEditorsReadOnly( bool b );
bool areEditorsReadOnly() const { return editorsReadOnly; }
void toggleSignalHandlers( bool show );
bool showSignalHandlers() const { return sSignalHandlers; }
void writeConfig();
void openProject( const TQString &fn );
void setPluginDirectory( const TQString &pd );
TQString pluginDirectory() const { return pluginDir; }
TQAssistantClient* assistantClient() const { return assistant; }
void addRecentlyOpenedFile( const TQString &fn ) { addRecentlyOpened( fn, recentlyFiles ); }
void statusMessage(const TQString &msg);
//integration
KDevDesignerPart *part() const { return m_part; }
public slots:
void showProperties( TQObject *w );
void updateProperties( TQObject *w );
void showDialogHelp();
void showDebugStep( TQObject *o, int line );
void showStackFrame( TQObject *o, int line );
void showErrorMessage( TQObject *o, int line, const TQString &errorMessage );
void finishedRun();
void breakPointsChanged();
signals:
void currentToolChanged();
void hasActiveForm( bool );
void hasActiveWindow( bool );
void hasActiveWindowOrProject( bool );
void hasNonDummyProject( bool );
void formModified( bool );
void formWindowsChanged();
void formWindowChanged();
void projectChanged();
void editorChanged();
protected:
bool eventFilter( TQObject *o, TQEvent *e );
void closeEvent( TQCloseEvent *e );
public slots:
void fileNew();
void fileNewDialog();
void fileNewFile();
void fileClose();
void fileQuit();
void fileCloseProject(); // not visible in menu, called from fileClose
void fileOpen();
void fileOpen( const TQString &filter, const TQString &extension, const TQString &filename = "" , bool inProject = TRUE );
bool fileSave();
bool fileSaveForm(); // not visible in menu, called from fileSave
bool fileSaveProject(); // not visible in menu, called from fileSaveProject
bool fileSaveAs();
void fileSaveAll();
void fileCreateTemplate();
public slots:
void editUndo();
void editRedo();
void editCut();
void editCopy();
void editPaste();
void editDelete();
void editSelectAll();
void editLower();
void editRaise();
void editAdjustSize();
void editLayoutHorizontal();
void editLayoutVertical();
void editLayoutHorizontalSplit();
void editLayoutVerticalSplit();
void editLayoutGrid();
void editLayoutContainerHorizontal();
void editLayoutContainerVertical();
void editLayoutContainerGrid();
void editBreakLayout();
void editAccels();
void editFunctions();
void editConnections();
SourceEditor *editSource();
SourceEditor *editSource( SourceFile *f );
SourceEditor *openSourceEditor();
SourceEditor *createSourceEditor( TQObject *object, Project *project,
const TQString &lang = TQString(),
const TQString &func = TQString(),
bool rereadSource = FALSE );
void editFormSettings();
void editProjectSettings();
void editPixmapCollection();
void editDatabaseConnections();
void editPreferences();
void projectInsertFile();
void searchFind();
void searchIncremetalFindMenu();
void searchIncremetalFind();
void searchIncremetalFindNext();
void searchReplace();
void searchGotoLine();
void previewForm();
void previewForm( const TQString& );
void toolsCustomWidget();
void toolsConfigure();
void helpContents();
void helpManual();
void helpAbout();
void helpAboutQt();
void helpRegister();
private slots:
void activeWindowChanged( TQWidget *w );
void updateUndoRedo( bool, bool, const TQString &, const TQString & );
void updateEditorUndoRedo();
void toolSelected( TQAction* );
void clipboardChanged();
void selectionChanged();
void windowsMenuActivated( int id );
void setupWindowActions();
void createNewTemplate();
void projectSelected( TQAction *a );
void setupRecentlyFilesMenu();
void setupRecentlyProjectsMenu();
void recentlyFilesMenuActivated( int id );
void recentlyProjectsMenuActivated( int id );
void emitProjectSignals();
void showStartDialog();
private:
void setupMDI();
void setupMenuBar();
void setupEditActions();
void setupProjectActions();
void setupSearchActions();
void setupToolActions();
void setupLayoutActions();
void setupFileActions();
void setupPreviewActions();
void setupHelpActions();
void setupRMBMenus();
void setupPropertyEditor();
void setupHierarchyView();
void setupWorkspace();
void setupActionEditor();
void setupOutputWindow();
void setupToolbox();
void setupActionManager();
void setupPluginManagers();
void enableAll( bool enable );
TQWidget* previewFormInternal( TQStyle* style = 0, TQPalette* pal = 0 );
void readConfig();
void setupRMBProperties( TQValueList<uint> &ids, TQMap<TQString, int> &props, TQWidget *w );
void handleRMBProperties( int id, TQMap<TQString, int> &props, TQWidget *w );
void setupRMBSpecialCommands( TQValueList<uint> &ids, TQMap<TQString, int> &commands, TQWidget *w );
void handleRMBSpecialCommands( int id, TQMap<TQString, int> &commands, TQWidget *w );
void setupRMBSpecialCommands( TQValueList<uint> &ids, TQMap<TQString, int> &commands, FormWindow *w );
void handleRMBSpecialCommands( int id, TQMap<TQString, int> &commands, FormWindow *w );
bool openEditor( TQWidget *w, FormWindow *fw );
void rebuildCustomWidgetGUI();
void rebuildCommonWidgetsToolBoxPage();
void checkTempFiles();
void addRecentlyOpened( const TQString &fn, TQStringList &lst );
TQString whatsThisFrom( const TQString &key );
private slots:
void doFunctionsChanged();
bool openProjectSettings( Project *pro );
private:
struct Tab
{
TQWidget *w;
TQString title;
TQObject *receiver;
const char *init_slot, *accept_slot;
TQ_DUMMY_COMPARISON_OPERATOR( Tab )
};
private:
PropertyEditor *propertyEditor;
HierarchyView *hierarchyView;
Workspace *wspace;
TQWidget *lastPressWidget;
TQWorkspace *qworkspace;
TQMenuBar *menubar;
TQGuardedPtr<FormWindow> lastActiveFormWindow;
bool breakLayout, layoutChilds, layoutSelected;
TQPoint grd;
bool sGrid, snGrid;
bool restoreConfig;
bool backPix;
bool splashScreen;
TQString fileFilter;
TQMap<TQAction*, Project*> projects;
DesignerAction *actionEditUndo, *actionEditRedo, *actionEditCut, *actionEditCopy,
*actionEditPaste, *actionEditDelete,
*actionEditAdjustSize,
*actionEditHLayout, *actionEditVLayout, *actionEditGridLayout,
*actionEditSplitHorizontal, *actionEditSplitVertical,
*actionEditSelectAll, *actionEditBreakLayout, *actionEditFunctions, *actionEditConnections,
*actionEditLower, *actionEditRaise;
TQAction *actionInsertSpacer;
TQActionGroup *actionGroupTools, *actionGroupProjects;
TQAction* actionPointerTool, *actionConnectTool, *actionOrderTool, *actionBuddyTool;
TQAction* actionCurrentTool;
DesignerAction *actionHelpContents, *actionHelpAbout, *actionHelpAboutTQt, *actionHelpWhatsThis;
DesignerAction *actionHelpManual;
#if defined(TQT_NON_COMMERCIAL)
DesignerAction *actionHelpRegister;
#endif
DesignerAction *actionToolsCustomWidget, *actionEditPreferences;
DesignerAction *actionWindowTile, *actionWindowCascade, *actionWindowClose, *actionWindowCloseAll;
DesignerAction *actionWindowNext, *actionWindowPrevious;
DesignerAction *actionEditFormSettings, *actionEditAccels;
DesignerAction *actionEditSource, *actionNewFile, *actionFileSave, *actionFileExit;
DesignerAction *actionFileClose, *actionFileSaveAs, *actionFileSaveAll;
DesignerAction *actionSearchFind, *actionSearchIncremetal, *actionSearchReplace, *actionSearchGotoLine;
DesignerAction *actionProjectAddFile, *actionEditPixmapCollection, *actionEditDatabaseConnections,
*actionEditProjectSettings, *actionPreview;
TQActionGroup *actionGroupNew;
TQPopupMenu *rmbWidgets;
TQPopupMenu *rmbFormWindow;
TQPopupMenu *customWidgetMenu, *windowMenu, *fileMenu, *recentlyFilesMenu, *recentlyProjectsMenu;
TQPopupMenu *toolsMenu, *layoutMenu, *previewMenu;
TQToolBar *customWidgetToolBar, *layoutToolBar, *projectToolBar, *customWidgetToolBar2, *toolsToolBar;
TQToolBar *commonWidgetsToolBar;
TQPtrList<TQToolBar> widgetToolBars;
Preferences *prefDia;
TQMap<TQString,TQString> propertyDocumentation;
bool client;
TQString templPath;
ActionEditor *actionEditor;
Project *currentProject;
TQPluginManager<ActionInterface> *actionPluginManager;
TQPluginManager<EditorInterface> *editorPluginManager;
TQPluginManager<TemplateWizardInterface> *templateWizardPluginManager;
TQPluginManager<InterpreterInterface> *interpreterPluginManager;
TQPluginManager<PreferenceInterface> *preferencePluginManager;
TQPluginManager<ProjectSettingsInterface> *projectSettingsPluginManager;
TQPluginManager<SourceTemplateInterface> *sourceTemplatePluginManager;
TQPtrList<SourceEditor> sourceEditors;
bool previewing;
TQUnknownInterface *desInterface;
TQStringList recentlyFiles;
TQStringList recentlyProjects;
OutputWindow *oWindow;
TQValueList<Tab> preferenceTabs;
TQValueList<Tab> projectTabs;
bool databaseAutoEdit;
TQTimer *updateFunctionsTimer;
TQTimer *autoSaveTimer;
bool autoSaveEnabled;
int autoSaveInterval;
TQLineEdit *incrementalSearch;
TQGuardedPtr<FindDialog> findDialog;
TQGuardedPtr<ReplaceDialog> replaceDialog;
TQGuardedPtr<GotoLineDialog> gotoLineDialog;
Project *eProject;
bool inDebugMode;
TQObjectList debuggingForms;
TQString lastOpenFilter;
TQGuardedPtr<TQWidget> previewedForm;
TQPopupMenu *projectMenu;
TQString menuHelpFile;
bool singleProject;
TQToolBox *toolBox;
int toolsMenuId, toolsMenuIndex;
uint guiStuffVisible : 1;
uint editorsReadOnly : 1;
uint savePluginPaths : 1;
TQAssistantClient *assistant;
bool shStartDialog;
TQString pluginDir;
bool sSignalHandlers;
KDevDesignerPart *m_part;
public:
TQString lastSaveFilter;
TQPtrList<TQAction> toolActions;
TQPtrList<TQAction> commonWidgetsPage;
friend class KDevDesignerPart;
};
class SenderObject : public TQObject
{
Q_OBJECT
public:
SenderObject( TQUnknownInterface *i ) : iface( i ) { iface->addRef(); }
~SenderObject() { iface->release(); }
public slots:
void emitInitSignal() { emit initSignal( iface ); }
void emitAcceptSignal() { emit acceptSignal( iface ); }
signals:
void initSignal( TQUnknownInterface * );
void acceptSignal( TQUnknownInterface * );
private:
TQUnknownInterface *iface;
};
#endif

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,415 @@
/**********************************************************************
** Copyright (C) 2000 Trolltech AS. All rights reserved.
**
** This file is part of TQt Designer.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
** licenses may use this file in accordance with the TQt Commercial License
** Agreement provided with the Software.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
** information about TQt Commercial License Agreements.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#include "multilineeditorimpl.h"
#include "formwindow.h"
#include "command.h"
#include "mainwindow.h"
#include "richtextfontdialog.h"
#include "syntaxhighlighter_html.h"
#include "widgetfactory.h"
#include <kiconloader.h>
#include "kdevdesigner_part.h"
#include <tqtextedit.h>
#include <tqrichtext_p.h>
#include <tqpushbutton.h>
#include <tqlayout.h>
#include <tqtoolbutton.h>
#include <tqapplication.h>
#include <tqaction.h>
#include <tqmetaobject.h>
#include <tdelocale.h>
ToolBarItem::ToolBarItem( TQWidget *parent, TQWidget *toolBar,
const TQString &label, const TQString &tagstr,
const TQIconSet &icon, const TQKeySequence &key )
: TQAction( parent )
{
setIconSet( icon );
setText( label );
setAccel( key );
addTo( toolBar );
tag = tagstr;
connect( this, TQT_SIGNAL( activated() ), this, TQT_SLOT( wasActivated() ) );
}
ToolBarItem::~ToolBarItem()
{
}
void ToolBarItem::wasActivated()
{
emit clicked( tag );
}
TextEdit::TextEdit( TQWidget *parent, const char *name )
: TQTextEdit( parent, name )
{
setTextFormat( TQt::PlainText );
}
TQTextParagraph* TextEdit::paragraph()
{
TQTextCursor *tc = new TQTextCursor( TQTextEdit::document() );
return tc->paragraph();
}
MultiLineEditor::MultiLineEditor( bool call_static, bool richtextMode, TQWidget *parent, TQWidget *editWidget,
FormWindow *fw, const TQString &text )
: MultiLineEditorBase( parent, 0, WType_Dialog | WShowModal ), formwindow( fw ), doWrap( FALSE )
{
callStatic = call_static;
if ( callStatic )
applyButton->hide();
textEdit = new TextEdit( centralWidget(), "textedit" );
Layout4->insertWidget( 0, textEdit );
if ( richtextMode ) {
TQPopupMenu *stylesMenu = new TQPopupMenu( this );
menuBar->insertItem( i18n( "&Styles" ), stylesMenu );
basicToolBar = new TQToolBar( i18n( "Basics" ), this, DockTop );
ToolBarItem *it = new ToolBarItem( this, basicToolBar, i18n( "Italic" ),
"i", BarIcon( "designer_textitalic.png", KDevDesignerPartFactory::instance() ), CTRL+Key_I );
it->addTo( stylesMenu );
connect( it, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *b = new ToolBarItem( this, basicToolBar, i18n( "Bold" ),
"b", BarIcon( "designer_textbold.png", KDevDesignerPartFactory::instance() ), CTRL+Key_B );
b->addTo( stylesMenu );
connect( b, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *ul = new ToolBarItem( this, basicToolBar, i18n( "Underline" ),
"u", BarIcon( "designer_textunderline.png" , KDevDesignerPartFactory::instance()), CTRL+Key_U );
ul->addTo( stylesMenu );
connect( ul, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *tt = new ToolBarItem( this, basicToolBar, i18n( "Typewriter" ),
"tt", BarIcon( "designer_textteletext.png", KDevDesignerPartFactory::instance() ) );
tt->addTo( stylesMenu );
connect( tt, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
basicToolBar->addSeparator();
TQPopupMenu *layoutMenu = new TQPopupMenu( this );
menuBar->insertItem( i18n( "&Layout" ), layoutMenu );
TQAction *brAction = new TQAction( this );
brAction->setIconSet( BarIcon( "designer_textlinebreak.png", KDevDesignerPartFactory::instance() ) );
brAction->setText( i18n("Break" ) );
brAction->addTo( basicToolBar );
brAction->addTo( layoutMenu );
connect( brAction, TQT_SIGNAL( activated() ) , this, TQT_SLOT( insertBR() ) );
ToolBarItem *p = new ToolBarItem( this, basicToolBar, i18n( "Paragraph" ),
"p", BarIcon( "designer_textparagraph.png", KDevDesignerPartFactory::instance() ) );
p->addTo( layoutMenu );
connect( p, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
layoutMenu->insertSeparator();
basicToolBar->addSeparator();
ToolBarItem *al = new ToolBarItem( this, basicToolBar, i18n( "Align left" ),
"p align=\"left\"", BarIcon( "designer_textleft.png", KDevDesignerPartFactory::instance() ) );
al->addTo( layoutMenu );
connect( al, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *ac = new ToolBarItem( this, basicToolBar, i18n( "Align center" ),
"p align=\"center\"", BarIcon( "designer_textcenter.png", KDevDesignerPartFactory::instance() ) );
ac->addTo( layoutMenu );
connect( ac, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *ar = new ToolBarItem( this, basicToolBar, i18n( "Align right" ),
"p align=\"right\"", BarIcon( "designer_textright.png", KDevDesignerPartFactory::instance() ) );
ar->addTo( layoutMenu );
connect( ar, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *block = new ToolBarItem( this, basicToolBar, i18n( "Blockquote" ),
"blockquote", BarIcon( "designer_textjustify.png", KDevDesignerPartFactory::instance() ) );
block->addTo( layoutMenu );
connect( block, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
TQPopupMenu *fontMenu = new TQPopupMenu( this );
menuBar->insertItem( i18n( "&Font" ), fontMenu );
fontToolBar = new TQToolBar( "Fonts", this, DockTop );
TQAction *fontAction = new TQAction( this );
fontAction->setIconSet( BarIcon( "designer_textfont.png", KDevDesignerPartFactory::instance() ) );
fontAction->setText( i18n("Font" ) );
fontAction->addTo( fontToolBar );
fontAction->addTo( fontMenu );
connect( fontAction, TQT_SIGNAL( activated() ) , this, TQT_SLOT( showFontDialog() ) );
ToolBarItem *fp1 = new ToolBarItem( this, fontToolBar, i18n( "Fontsize +1" ),
"font size=\"+1\"", BarIcon( "designer_textlarger.png", KDevDesignerPartFactory::instance() ) );
connect( fp1, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *fm1 = new ToolBarItem( this, fontToolBar, i18n( "Fontsize -1" ),
"font size=\"-1\"", BarIcon( "designer_textsmaller.png", KDevDesignerPartFactory::instance() ) );
connect( fm1, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *h1 = new ToolBarItem( this, fontToolBar, i18n( "Headline 1" ),
"h1", BarIcon( "designer_texth1.png", KDevDesignerPartFactory::instance() ) );
connect( h1, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *h2 = new ToolBarItem( this, fontToolBar, i18n( "Headline 2" ),
"h2", BarIcon( "designer_texth2.png", KDevDesignerPartFactory::instance() ) );
connect( h2, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
ToolBarItem *h3 = new ToolBarItem( this, fontToolBar, i18n( "Headline 3" ),
"h3", BarIcon( "designer_texth3.png", KDevDesignerPartFactory::instance() ) );
connect( h3, TQT_SIGNAL( clicked( const TQString& ) ),
this, TQT_SLOT( insertTags( const TQString& )));
TQPopupMenu *optionsMenu = new TQPopupMenu( this );
menuBar->insertItem( i18n( "O&ptions" ), optionsMenu );
optionsToolBar = new TQToolBar( "Options", this, DockTop );
wrapAction = new TQAction( this );
wrapAction->setToggleAction( TRUE );
wrapAction->setIconSet( BarIcon( "designer_wordwrap.png", KDevDesignerPartFactory::instance() ) );
wrapAction->setText( i18n( "Word Wrapping" ) );
wrapAction->addTo( optionsToolBar );
wrapAction->addTo( optionsMenu );
connect( wrapAction, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( changeWrapMode( bool ) ) );
oldDoWrap = doWrap;
wrapAction->setOn( doWrap );
connect( helpButton, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
textEdit->document()->setFormatter( new TQTextFormatterBreakInWords );
textEdit->document()->setUseFormatCollection( FALSE );
textEdit->document()->setPreProcessor( new SyntaxHighlighter_HTML );
if ( !callStatic && ::tqqt_cast<TQTextEdit*>(editWidget) ) {
mlined = (TQTextEdit*)editWidget;
mlined->setReadOnly( TRUE );
const TQMetaProperty *wordWrap = mlined->metaObject()->property(
mlined->metaObject()->findProperty( "wordWrap", TRUE ), TRUE );
oldWrapMode = 0;
oldWrapString = "NoWrap";
if ( wordWrap ) {
oldWrapMode = mlined->property( "wordWrap" );
oldWrapString = TQString( wordWrap->valueToKey( oldWrapMode.toInt() ) );
if ( oldWrapString != "NoWrap" )
doWrap = TRUE;
}
textEdit->setAlignment( mlined->alignment() );
textEdit->setWordWrap( mlined->wordWrap() );
textEdit->setWrapColumnOrWidth( mlined->wrapColumnOrWidth() );
textEdit->setWrapPolicy( mlined->wrapPolicy() );
textEdit->setText( mlined->text() );
if ( !mlined->text().isEmpty() )
textEdit->selectAll();
} else {
textEdit->setText( text );
textEdit->selectAll();
}
} else {
textEdit->setText( text );
textEdit->selectAll();
}
textEdit->setFocus();
}
int MultiLineEditor::exec()
{
res = 1;
show();
tqApp->enter_loop();
return res;
}
void MultiLineEditor::okClicked()
{
applyClicked();
close();
}
void MultiLineEditor::applyClicked()
{
if ( !callStatic ) {
PopulateMultiLineEditCommand *cmd = new PopulateMultiLineEditCommand( i18n( "Set the Text of '%1'" ).arg( mlined->name() ),
formwindow, mlined, textEdit->text() );
cmd->execute();
formwindow->commandHistory()->addCommand( cmd );
if ( oldDoWrap != doWrap ) {
TQString pn( i18n( "Set 'wordWrap' of '%2'" ).arg( mlined->name() ) );
SetPropertyCommand *propcmd;
if ( doWrap )
propcmd = new SetPropertyCommand( pn, formwindow,
TQT_TQOBJECT(mlined), MainWindow::self->propertyeditor(),
"wordWrap", WidgetFactory::property( TQT_TQOBJECT(mlined), "wordWrap" ),
TQVariant( 1 ), "WidgetWidth", oldWrapString );
else
propcmd = new SetPropertyCommand( pn, formwindow,
TQT_TQOBJECT(mlined), MainWindow::self->propertyeditor(),
"wordWrap", WidgetFactory::property( TQT_TQOBJECT(mlined), "wordWrap" ),
TQVariant( 0 ), "NoWrap", oldWrapString );
propcmd->execute();
formwindow->commandHistory()->addCommand( propcmd, TRUE );
}
textEdit->setFocus();
}
else {
staticText = textEdit->text();
}
}
void MultiLineEditor::cancelClicked()
{
res = 0;
close();
}
void MultiLineEditor::closeEvent( TQCloseEvent *e )
{
tqApp->exit_loop();
MultiLineEditorBase::closeEvent( e );
}
void MultiLineEditor::insertTags( const TQString &tag )
{
int pfrom, pto, ifrom, ito;
TQString tagend( tag.simplifyWhiteSpace() );
tagend.remove( tagend.find( ' ', 0 ), tagend.length() );
if ( textEdit->hasSelectedText() ) {
textEdit->getSelection( &pfrom, &ifrom, &pto, &ito );
TQString buf = textEdit->selectedText();
buf = TQString( "<%1>%3</%2>" ).arg( tag ).arg( tagend ).arg( buf );
textEdit->removeSelectedText();
textEdit->insertAt( buf, pfrom, ifrom );
textEdit->setCursorPosition( pto, ito + 2 + tag.length() );
}
else {
int para, index;
textEdit->getCursorPosition( &para, &index );
textEdit->insert( TQString( "<%1></%2>" ).arg( tag ).arg( tagend ) );
index += 2 + tag.length();
textEdit->setCursorPosition( para, index );
}
}
void MultiLineEditor::insertBR()
{
textEdit->insert( "<br>" );
}
void MultiLineEditor::showFontDialog()
{
bool selText = FALSE;
int pfrom, pto, ifrom, ito;
if ( textEdit->hasSelectedText() ) {
textEdit->getSelection( &pfrom, &ifrom, &pto, &ito );
selText = TRUE;
}
RichTextFontDialog *fd = new RichTextFontDialog( this );
if ( fd->exec() == TQDialog::Accepted ) {
TQString size, font;
if ( fd->getSize() != "0" )
size = "size=\"" + fd->getSize() + "\"";
TQString color;
if ( !fd->getColor().isEmpty() && fd->getColor() != "#000000" )
color = "color=\"" + fd->getColor() + "\"";
if ( fd->getFont() != "default" )
font = "face=\"" + fd->getFont() + "\"";
TQString tag( TQString( "font %1 %2 %3" )
.arg( color ).arg( size ).arg( font ) );
if ( selText )
textEdit->setSelection( pfrom, ifrom, pto, ito );
insertTags( tag.simplifyWhiteSpace() );
}
else if ( selText )
textEdit->setSelection( pfrom, ifrom, pto, ito );
}
TQString MultiLineEditor::getStaticText()
{
return staticText.stripWhiteSpace();
}
TQString MultiLineEditor::getText( TQWidget *parent, const TQString &text, bool richtextMode, bool *useWrap )
{
MultiLineEditor medit( TRUE, richtextMode, parent, 0, 0, text );
if ( richtextMode )
medit.setUseWrapping( *useWrap );
if ( medit.exec() == TQDialog::Accepted ) {
*useWrap = medit.useWrapping();
return medit.getStaticText();
}
return TQString();
}
void MultiLineEditor::changeWrapMode( bool b )
{
doWrap = b;
if ( doWrap && !callStatic ) {
if ( oldDoWrap )
textEdit->setProperty( "wordWrap", oldWrapMode );
else
textEdit->setWordWrap( TQTextEdit::WidgetWidth );
} else {
textEdit->setWordWrap( TQTextEdit::NoWrap );
}
}
bool MultiLineEditor::useWrapping() const
{
return doWrap;
}
void MultiLineEditor::setUseWrapping( bool b )
{
doWrap = b;
wrapAction->setOn( doWrap );
}

@ -0,0 +1,32 @@
/***************************************************************************
* Copyright (C) 2004 by Alexander Dymo *
* cloudtemple@mksat.net *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "myiconloader.h"
#include "kdevdesigner_part.h"
#include <kiconloader.h>
TQPixmap BarIcon2( const TQString & name )
{
return BarIcon(name, KDevDesignerPartFactory::instance());
}
TQPixmap SmallIcon2( const TQString & name)
{
return SmallIcon(name, KDevDesignerPartFactory::instance());
}

@ -0,0 +1,414 @@
/**********************************************************************
** Copyright (C) 2000-2001 Trolltech AS. All rights reserved.
**
** This file is part of TQt Designer.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
** licenses may use this file in accordance with the TQt Commercial License
** Agreement provided with the Software.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
** information about TQt Commercial License Agreements.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#include "newformimpl.h"
#include "mainwindow.h"
#include "metadatabase.h"
#include "project.h"
#include "formwindow.h"
#include "widgetfactory.h"
#include "widgetdatabase.h"
#include "actioneditorimpl.h"
#include "hierarchyview.h"
#include "resource.h"
#include "projectsettingsimpl.h"
#include "sourcefile.h"
#include <kiconloader.h>
#include "kdevdesigner_part.h"
#include <tdelocale.h>
#include <tqiconview.h>
#include <tqlabel.h>
#include <tqfileinfo.h>
#include <tqdir.h>
#include <tqpushbutton.h>
#include <stdlib.h>
#include <tqcombobox.h>
#include <tqworkspace.h>
#include <tqmessagebox.h>
static int forms = 0;
ProjectItem::ProjectItem( TQIconView *view, const TQString &text )
: NewItem( view, text )
{
}
void ProjectItem::insert( Project * )
{
MainWindow::self->createNewProject( lang );
}
FormItem::FormItem( TQIconView *view, const TQString &text )
: NewItem( view, text )
{
}
void FormItem::insert( Project *pro )
{
TQString n = "Form" + TQString::number( ++forms );
FormWindow *fw = 0;
FormFile *ff = new FormFile( FormFile::createUnnamedFileName(), TRUE, pro );
fw = new FormWindow( ff, MainWindow::self, MainWindow::self->qWorkspace(), n );
fw->setProject( pro );
MetaDataBase::addEntry( TQT_TQOBJECT(fw) );
if ( fType == Widget ) {
TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( TQWIDGET_OBJECT_NAME_STRING ),
fw, n.latin1() );
fw->setMainContainer( w );
} else if ( fType == Dialog ) {
TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( TQDIALOG_OBJECT_NAME_STRING ), fw, n.latin1() );
fw->setMainContainer( w );
} else if ( fType == Wizard ) {
TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( TQWIZARD_OBJECT_NAME_STRING ),
fw, n.latin1() );
fw->setMainContainer( w );
} else if ( fType == MainWindow ) {
TQWidget *w = WidgetFactory::create( WidgetDatabase::idFromClassName( TQMAINWINDOW_OBJECT_NAME_STRING ),
fw, n.latin1() );
fw->setMainContainer( w );
}
fw->setCaption( n );
fw->resize( 600, 480 );
MainWindow::self->insertFormWindow( fw );
TemplateWizardInterface *iface =
MainWindow::self->templateWizardInterface( fw->mainContainer()->className() );
if ( iface ) {
iface->setup( fw->mainContainer()->className(), fw->mainContainer(),
fw->iFace(), MainWindow::self->designerInterface() );
iface->release();
}
// the wizard might have changed a lot, lets update everything
MainWindow::self->actioneditor()->setFormWindow( fw );
MainWindow::self->objectHierarchy()->setFormWindow( fw, TQT_TQOBJECT(fw) );
MainWindow::self->objectHierarchy()->formDefinitionView()->refresh();
MainWindow::self->objectHierarchy()->rebuild();
fw->killAccels( TQT_TQOBJECT(fw) );
fw->project()->setModified( TRUE );
fw->setFocus();
if ( !pro->isDummy() ) {
fw->setSavePixmapInProject( TRUE );
fw->setSavePixmapInline( FALSE );
}
}
CustomFormItem::CustomFormItem( TQIconView *view, const TQString &text )
: NewItem( view, text )
{
}
static void unifyFormName( FormWindow *fw, TQWorkspace *qworkspace )
{
TQStringList lst;
TQWidgetList windows = qworkspace->windowList();
for ( TQWidget *w =windows.first(); w; w = windows.next() ) {
if ( w == fw )
continue;
lst << w->name();
}
if ( lst.findIndex( fw->name() ) == -1 )
return;
TQString origName = fw->name();
TQString n = origName;
int i = 1;
while ( lst.findIndex( n ) != -1 ) {
n = origName + TQString::number( i++ );
}
fw->setName( n );
fw->setCaption( n );
}
void CustomFormItem::insert( Project *pro )
{
TQString filename = templateFileName();
if ( !filename.isEmpty() && TQFile::exists( filename ) ) {
Resource resource( MainWindow::self );
FormFile *ff = new FormFile( filename, TRUE, pro );
if ( !resource.load( ff ) ) {
TQMessageBox::information( MainWindow::self, i18n("Load Template"),
i18n("Could not load form description from template '%1'" ).arg( filename ) );
delete ff;
return;
}
ff->setFileName( TQString() );
if ( MainWindow::self->formWindow() ) {
MainWindow::self->formWindow()->setFileName( TQString() );
unifyFormName( MainWindow::self->formWindow(), MainWindow::self->qWorkspace() );
if ( !pro->isDummy() ) {
MainWindow::self->formWindow()->setSavePixmapInProject( TRUE );
MainWindow::self->formWindow()->setSavePixmapInline( FALSE );
}
}
}
}
SourceFileItem::SourceFileItem( TQIconView *view, const TQString &text )
: NewItem( view, text ), visible( TRUE )
{
}
void SourceFileItem::insert( Project *pro )
{
SourceFile *f = new SourceFile( SourceFile::createUnnamedFileName( ext ), TRUE, pro );
MainWindow::self->editSource( f );
}
void SourceFileItem::setProject( Project *pro )
{
TQIconView *iv = iconView();
bool v = lang == pro->language();
if ( !iv || v == visible )
return;
visible = v;
if ( !visible )
iv->takeItem( this );
else
iv->insertItem( this );
}
SourceTemplateItem::SourceTemplateItem( TQIconView *view, const TQString &text )
: NewItem( view, text ), visible( TRUE )
{
}
void SourceTemplateItem::insert( Project *pro )
{
SourceTemplateInterface *siface = MainWindow::self->sourceTemplateInterface( text() );
if ( !siface )
return;
SourceTemplateInterface::Source src = siface->create( text(), MainWindow::self->designerInterface() );
SourceFile *f = 0;
if ( src.type == SourceTemplateInterface::Source::Invalid )
return;
if ( src.type == SourceTemplateInterface::Source::FileName )
f = new SourceFile( src.filename, FALSE, pro );
else
f = new SourceFile( SourceFile::createUnnamedFileName( src.extension ), TRUE, pro );
if ( f->isAccepted()) {
f->setText( src.code );
MainWindow::self->editSource( f );
f->setModified( TRUE );
} else {
delete f;
}
}
void SourceTemplateItem::setProject( Project *pro )
{
TQIconView *iv = iconView();
bool v = !pro->isDummy() && lang == pro->language();
if ( !iv || v == visible )
return;
visible = v;
if ( !visible )
iv->takeItem( this );
else
iv->insertItem( this );
}
void NewForm::insertTemplates( TQIconView *tView,
const TQString &templatePath )
{
TQStringList::Iterator it;
TQStringList languages = MetaDataBase::languages();
if ( !MainWindow::self->singleProjectMode() ) {
for ( it = languages.begin(); it != languages.end(); ++it ) {
ProjectItem *pi = new ProjectItem( tView, i18n("%1 Project" ).arg( *it ) );
allItems.append( pi );
pi->setLanguage( *it );
pi->setPixmap( BarIcon( "designer_project.png" , KDevDesignerPartFactory::instance()) );
pi->setDragEnabled( FALSE );
}
}
TQIconViewItem *cur = 0;
FormItem *fi = new FormItem( tView,i18n( "Dialog" ) );
allItems.append( fi );
fi->setFormType( FormItem::Dialog );
fi->setPixmap( BarIcon( "designer_newform.png" , KDevDesignerPartFactory::instance()) );
fi->setDragEnabled( FALSE );
cur = fi;
if ( !MainWindow::self->singleProjectMode() ) {
fi = new FormItem( tView,i18n( "Wizard" ) );
allItems.append( fi );
fi->setFormType( FormItem::Wizard );
fi->setPixmap( BarIcon( "designer_newform.png" , KDevDesignerPartFactory::instance()) );
fi->setDragEnabled( FALSE );
fi = new FormItem( tView, i18n( "Widget" ) );
allItems.append( fi );
fi->setFormType( FormItem::Widget );
fi->setPixmap( BarIcon( "designer_newform.png" , KDevDesignerPartFactory::instance()) );
fi->setDragEnabled( FALSE );
fi = new FormItem( tView, i18n( "Main Window" ) );
allItems.append( fi );
fi->setFormType( FormItem::MainWindow );
fi->setPixmap( BarIcon( "designer_newform.png" , KDevDesignerPartFactory::instance()) );
fi->setDragEnabled( FALSE );
TQString templPath = templatePath;
TQStringList templRoots;
const char *qtdir = getenv( "QTDIR" );
if(qtdir)
templRoots << qtdir;
templRoots << tqInstallPathData();
if(qtdir) //try the tools/designer directory last!
templRoots << (TQString(qtdir) + "/tools/designer");
for ( TQStringList::Iterator it = templRoots.begin(); it != templRoots.end(); ++it ) {
TQString path = (*it) + "/templates";
if ( TQFile::exists( path )) {
templPath = path;
break;
}
}
if ( !templPath.isEmpty() ) {
TQDir dir( templPath );
const TQFileInfoList *filist = dir.entryInfoList( TQDir::DefaultFilter, TQDir::DirsFirst | TQDir::Name );
if ( filist ) {
TQFileInfoListIterator it( *filist );
TQFileInfo *fi;
while ( ( fi = it.current() ) != 0 ) {
++it;
if ( !fi->isFile() || fi->extension() != "ui" )
continue;
TQString name = fi->baseName();
name = name.replace( '_', ' ' );
CustomFormItem *ci = new CustomFormItem( tView, name );
allItems.append( ci );
ci->setDragEnabled( FALSE );
ci->setPixmap( BarIcon( "designer_newform.png" , KDevDesignerPartFactory::instance()) );
ci->setTemplateFile( fi->absFilePath() );
}
}
}
}
for ( it = languages.begin(); it != languages.end(); ++it ) {
LanguageInterface *iface = MetaDataBase::languageInterface( *it );
if ( iface ) {
TQMap<TQString, TQString> extensionMap;
iface->preferedExtensions( extensionMap );
for ( TQMap<TQString, TQString>::Iterator eit = extensionMap.begin();
eit != extensionMap.end(); ++eit ) {
SourceFileItem * si = new SourceFileItem( tView, *eit );
allItems.append( si );
si->setExtension( eit.key() );
si->setLanguage( *it );
si->setPixmap( BarIcon( "designer_filenew.png", KDevDesignerPartFactory::instance() ) );
si->setDragEnabled( FALSE );
}
iface->release();
}
}
if ( !MainWindow::self->singleProjectMode() ) {
TQStringList sourceTemplates = MainWindow::self->sourceTemplates();
for ( TQStringList::Iterator sit = sourceTemplates.begin(); sit != sourceTemplates.end(); ++sit ) {
SourceTemplateInterface *siface = MainWindow::self->sourceTemplateInterface( *sit );
if ( !siface )
continue;
SourceTemplateItem * si = new SourceTemplateItem( tView, *sit );
allItems.append( si );
si->setTemplate( *sit );
si->setLanguage( siface->language( *sit ) );
si->setPixmap( BarIcon( "designer_filenew.png", KDevDesignerPartFactory::instance() ) );
si->setDragEnabled( FALSE );
siface->release();
}
}
tView->viewport()->setFocus();
tView->setCurrentItem( cur );
if ( MainWindow::self->singleProjectMode() )
adjustSize();
}
NewForm::NewForm( TQIconView *templateView, const TQString &templatePath )
{
insertTemplates( templateView, templatePath );
projectChanged( i18n( "<No Project>" ) );
}
NewForm::NewForm( TQWidget *parent, const TQStringList& projects,
const TQString& currentProject, const TQString &templatePath )
: NewFormBase( parent, 0, TRUE )
{
connect( helpButton, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
projectCombo->insertStringList( projects );
projectCombo->setCurrentText( currentProject );
insertTemplates( templateView, templatePath );
projectChanged( projectCombo->currentText() );
}
void NewForm::accept()
{
if ( !templateView->currentItem() )
return;
Project *pro = MainWindow::self->findProject( projectCombo->currentText() );
if ( !pro )
return;
MainWindow::self->setCurrentProject( pro );
NewFormBase::accept();
( (NewItem*)templateView->currentItem() )->insert( pro );
}
void NewForm::projectChanged( const TQString &project )
{
Project *pro = MainWindow::self->findProject( project );
if ( !pro )
return;
TQIconViewItem *i;
for ( i = allItems.first(); i; i = allItems.next() )
( (NewItem*)i )->setProject( pro );
templateView->setCurrentItem( templateView->firstItem() );
templateView->arrangeItemsInGrid( TRUE );
}
void NewForm::itemChanged( TQIconViewItem *item )
{
labelProject->setEnabled( item->rtti() != NewItem::ProjectType );
projectCombo->setEnabled( item->rtti() != NewItem::ProjectType );
}
TQPtrList<TQIconViewItem> NewForm::allViewItems()
{
return allItems;
}

@ -0,0 +1,85 @@
#################################################
#
# (C) 2012 Slavek Banko
# slavek (DOT) banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
install(
FILES
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
DESTINATION ${DATA_INSTALL_DIR}/kdevdesignerpart/pics
)

@ -0,0 +1,2 @@
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

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

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

Loading…
Cancel
Save