Rename a number of libraries and executables to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent f8069e2ea0
commit 1515a4f2eb

@ -65,7 +65,7 @@ option( BUILD_KPROFILEMETHOD "Build kprofilemethod" ${BUILD_ALL} )
option( BUILD_KSPY "Build kspy" ${BUILD_ALL} )
option( BUILD_KSTARTPERF "Build kstartperf" ${BUILD_ALL} )
option( BUILD_KUIVIEWER "Build kuiviewer" ${BUILD_ALL} )
option( BUILD_KUNITTEST "Build kunittest" ${BUILD_ALL} )
option( BUILD_KUNITTEST "Build tdeunittest" ${BUILD_ALL} )
option( BUILD_POXML "Build poxml" ${BUILD_ALL} )
option( BUILD_SCHECK "Build scheck" ${BUILD_ALL} )
option( BUILD_SCRIPTS "Build scripts" ${BUILD_ALL} )
@ -105,7 +105,7 @@ tde_conditional_add_subdirectory( BUILD_KPROFILEMETHOD kprofilemethod )
tde_conditional_add_subdirectory( BUILD_KSPY kspy )
tde_conditional_add_subdirectory( BUILD_KSTARTPERF kstartperf )
tde_conditional_add_subdirectory( BUILD_KUIVIEWER kuiviewer )
tde_conditional_add_subdirectory( BUILD_KUNITTEST kunittest )
tde_conditional_add_subdirectory( BUILD_KUNITTEST tdeunittest )
tde_conditional_add_subdirectory( BUILD_POXML poxml )
tde_conditional_add_subdirectory( BUILD_SCHECK scheck )
tde_conditional_add_subdirectory( BUILD_SCRIPTS scripts )

@ -102,7 +102,7 @@ tde_add_kpart( libcervisiapart AUTOMOC
updateview_visitors.cpp entry.cpp entry_status.cpp stringmatcher.cpp
cvsinitdlg.cpp ignorelistbase.cpp dirignorelist.cpp
globalignorelist.cpp editwithmenu.cpp logmessageedit.cpp
LINK cervisia-static cvsservice-shared kutils-shared
LINK cervisia-static cvsservice-shared tdeutils-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
@ -112,7 +112,7 @@ tde_add_kpart( libcervisiapart AUTOMOC
tde_add_tdeinit_executable( cervisia AUTOMOC
SOURCES
main.cpp cervisiashell.cpp
LINK cervisia-static cvsservice-shared kutils-shared
LINK cervisia-static cvsservice-shared tdeutils-shared
)

@ -61,7 +61,7 @@ messages: rc.cpp
$(XGETTEXT) -C *.cpp *.h -o $(podir)/cervisia.pot
srcdoc:
$(kde_bindir)/kdoc -a -p -d classdocs -n 'Cervisia' *.h -lqt -ltdecore -ltdeui -lkparts
$(kde_bindir)/kdoc -a -p -d classdocs -n 'Cervisia' *.h -lqt -ltdecore -ltdeui -ltdeparts
cervisia.1: $(srcdir)/cervisia.1.in
sed -e 's%_KDEHTMLDIR_%'${kde_htmldir}'%g;' \

@ -22,10 +22,10 @@
#ifndef CERVISIAPART_H
#define CERVISIAPART_H
#include <kparts/part.h>
#include <kparts/browserextension.h>
#include <kparts/genericfactory.h>
#include <kparts/statusbarextension.h>
#include <tdeparts/part.h>
#include <tdeparts/browserextension.h>
#include <tdeparts/genericfactory.h>
#include <tdeparts/statusbarextension.h>
#include "addremovedlg.h"
#include "commitdlg.h"

@ -22,7 +22,7 @@
#ifndef CERVISIASHELL_H
#define CERVISIASHELL_H
#include <kparts/mainwindow.h>
#include <tdeparts/mainwindow.h>
class KRecentFilesAction;

@ -924,7 +924,7 @@ translating to. Below are the items to consider setting:</para>
Here you choose the encoding for your text. This option is passed
to the spellchecker, and is used as the encoding for your words
dictionary.
See the <ulink url="help:/kspell">kspell</ulink> documentation for
See the <ulink url="help:/tdespell">tdespell</ulink> documentation for
more details.
</para>
<note><para>

@ -116,7 +116,7 @@ May-30-2000 - Kurt Granroth (v0.6.2)
Mar-14-2000 - Kurt Granroth (v0.6.1)
o Added toolbar editor
o Changed sample html code to reflect khtml changes
o Changed sample html code to reflect tdehtml changes
Feb-26-2000 - Kurt Granroth (v0.6)
o Converted to use the new XML UI framework (big change!)

@ -4,7 +4,7 @@ cat << EOF > $LOCATION_ROOT/$APP_NAME_LC/${APP_NAME_LC}view.h
#define ${APP_NAME_UC}VIEW_H
#include <tqwidget.h>
#include <kparts/part.h>
#include <tdeparts/part.h>
#include <${APP_NAME_LC}iface.h>
class TQPainter;

@ -8,7 +8,7 @@ cat << EOF > $LOCATION_ROOT/$APP_NAME_LC/${APP_NAME_LC}.h
#endif
#include <kapplication.h>
#include <kparts/mainwindow.h>
#include <tdeparts/mainwindow.h>
/**
* This is the application "Shell". It has a menubar, toolbar, and

@ -8,7 +8,7 @@ cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}_part.cpp
#include <kaction.h>
#include <kstdaction.h>
#include <kfiledialog.h>
#include <kparts/genericfactory.h>
#include <tdeparts/genericfactory.h>
#include <tqfile.h>
#include <tqtextstream.h>

@ -3,7 +3,7 @@ cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}_part.h
#ifndef ${APP_NAME_UC}PART_H
#define ${APP_NAME_UC}PART_H
#include <kparts/part.h>
#include <tdeparts/part.h>
class TQWidget;
class TQPainter;

@ -16,5 +16,5 @@ lib${APP_NAME_LC}plugin_la_LDFLAGS = -module \$(KDE_PLUGIN) \$(all_libraries)
# Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart)
pluginsdir = \$(kde_datadir)/khtml/kpartplugins
pluginsdir = \$(kde_datadir)/tdehtml/kpartplugins
plugins_DATA = plugin_${APP_NAME_LC}.rc

@ -2,7 +2,7 @@ echo "Creating $LOCATION_ROOT/$APP_NAME_LC/plugin_${APP_NAME_LC}.cpp...";
cat << EOF > $LOCATION_ROOT/$APP_NAME_LC/plugin_${APP_NAME_LC}.cpp
#include "plugin_${APP_NAME_LC}.h"
#include <khtml_part.h>
#include <tdehtml_part.h>
#include <kaction.h>
#include <kinstance.h>
#include <kmessagebox.h>

@ -3,7 +3,7 @@ cat << EOF > $LOCATION_ROOT/$APP_NAME_LC/plugin_${APP_NAME_LC}.h
#ifndef PLUGIN_${APP_NAME_UC}_H
#define PLUGIN_${APP_NAME_UC}_H
#include <kparts/plugin.h>
#include <tdeparts/plugin.h>
class Plugin${APP_NAME} : public KParts::Plugin
{

@ -49,7 +49,7 @@ Credits:
and useful feature requests
- Thomas Diehl for many useful hints to the GUI design and the
behaviour of KBabel
- Wolfram Diestel for fixing kspell and many useful hints.
- Wolfram Diestel for fixing tdespell and many useful hints.
- Stephan Kulow for helping keeping KBabel in sync with
the frequently changing KDE api and for often giving me a helping hand.
- Andrea Rizzi for writing the dictionary plugin for searching in a database

@ -27,14 +27,14 @@ libcatalogmanager_la_SOURCES = catalogmanageriface.skel \
libcatalogmanager_la_LIBADD = ../commonui/libkbabelcommonui.la \
../kbabeldict/libkbabeldict.la ./libcvs/libcatalogmanagercvs.la \
./libsvn/libcatalogmanagersvn.la $(LIB_KIO)
libcatalogmanager_la_LDFLAGS = $(all_libraries) -no-undefined $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor $(LIB_KPARTS)
libcatalogmanager_la_LDFLAGS = $(all_libraries) -no-undefined $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KPARTS)
catalogmanager_SOURCES = main.cpp
# the libraries to link against.
catalogmanager_LDADD = libcatalogmanager.la
catalogmanager_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor $(LIB_KPARTS)
catalogmanager_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KPARTS)
# these are the headers for your project
noinst_HEADERS = catalogmanageriface.h catalogmanager.h \

@ -41,7 +41,7 @@
#include <kconfig.h>
#include <kglobal.h>
#include <klocale.h>
#include <kparts/componentfactory.h>
#include <tdeparts/componentfactory.h>
#include <kregexpeditorinterface.h>
#include "markpatterndialog.h"

@ -42,7 +42,7 @@
#include <klocale.h>
#include <kmessagebox.h>
#include <kmimetype.h>
#include <kspell.h>
#include <tdespell.h>
namespace KBabel
{

@ -40,7 +40,7 @@
#include <klocale.h>
#include <kstandarddirs.h>
#include <kspell.h>
#include <tdespell.h>
TQString KBabel::Defaults::Spellcheck::ignoreURL()
{

@ -19,7 +19,7 @@ libkbabelcommonui_la_SOURCES = klisteditor.ui context.cpp kactionselector.cpp \
cmdedit.cpp \
diffpreferences.ui
libkbabelcommonui_la_LIBADD = $(LIB_KIO) -lktexteditor ../common/libkbabelcommon.la ../kbabeldict/libkbabeldict.la
libkbabelcommonui_la_LIBADD = $(LIB_KIO) -ltdetexteditor ../common/libkbabelcommon.la ../kbabeldict/libkbabeldict.la
libkbabelcommonui_la_LDFLAGS = $(all_libraries)

@ -57,10 +57,10 @@
#include <klibloader.h>
#include <ktrader.h>
#include <ktexteditor/document.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/selectioninterface.h>
#include <ktexteditor/viewcursorinterface.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/selectioninterface.h>
#include <tdetexteditor/viewcursorinterface.h>
SourceContext::SourceContext(TQWidget *parent, KBabel::Project::Ptr project): TQWidget(parent)
, m_parent( parent )

@ -36,8 +36,8 @@
#include <tqvaluelist.h>
#include <tqwidget.h>
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/view.h>
#include <kbproject.h>

@ -47,7 +47,7 @@
#include <kconfig.h>
#include <kglobal.h>
#include <klocale.h>
#include <kparts/componentfactory.h>
#include <tdeparts/componentfactory.h>
#include <kregexpeditorinterface.h>
using namespace KBabel;

@ -52,7 +52,7 @@
#include <kurlcompletion.h>
#include <kfontdialog.h>
#include <kcolorbutton.h>
#include <kparts/componentfactory.h>
#include <tdeparts/componentfactory.h>
#include <kregexpeditorinterface.h>
#include <ksconfig.h>
#include <kurldrag.h>

@ -44,7 +44,7 @@ tde_add_executable( kbabel
main.cpp
LINK
kbabel-static kbabelcommonui-static kbabeldict-static
kbabelcommon-shared kbabeldictplugin-shared ktexteditor-shared
kbabelcommon-shared kbabeldictplugin-shared tdetexteditor-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -38,14 +38,14 @@ libkbabel_la_SOURCES = kbbookmarkhandler.cpp \
kde_kcfg_DATA=kbabel.kcfg
libkbabel_la_LIBADD = ../commonui/libkbabelcommonui.la ../kbabeldict/libkbabeldict.la $(LIB_KIO) $(LIB_KSPELL)
libkbabel_la_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor $(LIB_KPARTS)
libkbabel_la_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KPARTS)
kbabel_SOURCES = main.cpp
# the libraries to link against.
kbabel_LDADD = libkbabel.la
kbabel_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor $(LIB_KPARTS)
kbabel_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KPARTS)
# these are the headers for your project
noinst_HEADERS = kbabel.h kbabelview.h \

@ -79,7 +79,7 @@
#include <twin.h>
#include <kaction.h>
#include <kstdaction.h>
#include <kspelldlg.h>
#include <tdespelldlg.h>
#include <ksqueezedtextlabel.h>
#include <kurldrag.h>

@ -44,7 +44,7 @@
#include <kdockwidget.h>
#include <tqstringlist.h>
#include <tqptrlist.h>
#include <kmdimainfrm.h>
#include <tdemdimainfrm.h>
#include "kbabelview.h"
#include "kbproject.h"

@ -73,7 +73,7 @@
#include <kio/netaccess.h>
#include <knotifyclient.h>
#include <ktempfile.h>
#include <kspell.h>
#include <tdespell.h>
#include <twin.h>
#include <kstdaccel.h>
#include <kurldrag.h>
@ -172,7 +172,7 @@ KBabelView::KBabelView(KBCatalog* catalog,KBabelMW *parent, Project::Ptr project
spell.posDict.setAutoDelete(true);
spell.active=false;
spell2.kspell = 0;
spell2.tdespell = 0;
spell2.config = 0;
setAcceptDrops(true);
@ -293,9 +293,9 @@ KBabelView::~KBabelView()
delete _argExtractor;
delete _tagExtractor;
if( spell2.kspell )
if( spell2.tdespell )
{
spell2.kspell = 0;
spell2.tdespell = 0;
delete spell2.config;
spell2.config = 0;
}
@ -389,7 +389,7 @@ of the currently displayed entry.</p></qt>"));
if( pf < 1 )
pf = 1;
msgstrEdit = new HidingMsgEdit( pf,this,spell2.kspell,tempWidget,"msgstrEdit");
msgstrEdit = new HidingMsgEdit( pf,this,spell2.tdespell,tempWidget,"msgstrEdit");
msgstrEdit->installEventFilter(this);
KCursor::setAutoHideCursor(msgstrEdit,true);
@ -751,16 +751,16 @@ void KBabelView::readProject(Project::Ptr project)
{
// if there is a spellchecker already, free it
if( spell2.kspell )
if( spell2.tdespell )
{
// ensure the spellchecker is not used anymore
msgstrEdit->setSpellChecker(0L);
// free it
spell2.kspell->cleanUp();
spell2.tdespell->cleanUp();
delete spell2.kspell;
spell2.kspell = 0;
delete spell2.tdespell;
spell2.tdespell = 0;
}
spell2.config = new KSpellConfig(0L, "tempSpellConfig");
@ -770,18 +770,18 @@ void KBabelView::readProject(Project::Ptr project)
spell2.config->setEncoding(_spellcheckSettings.spellEncoding);
spell2.config->setDictionary(_spellcheckSettings.spellDict);
spell2.kspell= new KSpell(this, "", TQT_TQOBJECT(this), TQT_SLOT(dummy(KSpell *)),
spell2.tdespell= new KSpell(this, "", TQT_TQOBJECT(this), TQT_SLOT(dummy(KSpell *)),
spell2.config, false, false);
if(spell2.kspell->status() == KSpell::Error)
if(spell2.tdespell->status() == KSpell::Error)
kdWarning(KBABEL) << "Something's wrong with KSpell, can't start on-the-fly checking" << endl;
else
{
kdDebug() << "On the fly spellchecker: "
<< spell2.kspell << endl;
msgstrEdit->setSpellChecker(spell2.kspell);
<< spell2.tdespell << endl;
msgstrEdit->setSpellChecker(spell2.tdespell);
}
// spell2.kspell->setAutoDelete(true); // let KSpell handle delete
// spell2.tdespell->setAutoDelete(true); // let KSpell handle delete
//on-the-fly spellcheck end
}
else
@ -3942,31 +3942,31 @@ void KBabelView::spellcheck()
spell.active=true;
_dontBeep=true;
spell.kspell= new KSpell (this, i18n("Spellcheck"),
spell.tdespell= new KSpell (this, i18n("Spellcheck"),
TQT_TQOBJECT(this), TQT_SLOT(spellStart(KSpell *)), spell.config, true, true);
if( spell.kspell->status() == KSpell::Error )
if( spell.tdespell->status() == KSpell::Error )
{
KMessageBox::error( this, i18n("KBabel cannot start spell checker. "
"Please check your TDE installation.") );
return;
}
connect(spell.kspell, TQT_SIGNAL(death()),this, TQT_SLOT(spellCleanDone()));
connect(spell.tdespell, TQT_SIGNAL(death()),this, TQT_SLOT(spellCleanDone()));
connect(spell.kspell, TQT_SIGNAL(misspelling(const TQString &, const TQStringList &
connect(spell.tdespell, TQT_SIGNAL(misspelling(const TQString &, const TQStringList &
, unsigned int)), this
, TQT_SLOT(spellMisspelled(const TQString &, const TQStringList &, unsigned int)));
connect(spell.kspell, TQT_SIGNAL(corrected(const TQString &, const TQString &, unsigned int))
connect(spell.tdespell, TQT_SIGNAL(corrected(const TQString &, const TQString &, unsigned int))
, this, TQT_SLOT(spellCorrected(const TQString &, const TQString &, unsigned int)));
connect(spell.kspell,TQT_SIGNAL(ignoreall(const TQString &))
connect(spell.tdespell,TQT_SIGNAL(ignoreall(const TQString &))
, this, TQT_SLOT(spellAddIgnore(const TQString &)));
connect(spell.kspell, TQT_SIGNAL(done(bool))
connect(spell.tdespell, TQT_SIGNAL(done(bool))
, this, TQT_SLOT(spellResult(bool)));
spell.kspell->setAutoDelete(true); // let KSpell handle delete
spell.tdespell->setAutoDelete(true); // let KSpell handle delete
}
else
{
@ -4034,14 +4034,14 @@ void KBabelView::spellStart(KSpell *)
kapp->processEvents(100);
}
spell.kspell->ignore(*it);
spell.tdespell->ignore(*it);
}
emit signalClearProgressBar();
}
}
spell.kspell->checkList(&spell.wordList);
spell.tdespell->checkList(&spell.wordList);
}
@ -4364,8 +4364,8 @@ void KBabelView::spellResult(bool flag)
undo();
}
int s=spell.kspell->dlgResult();
spell.kspell->cleanUp();
int s=spell.tdespell->dlgResult();
spell.tdespell->cleanUp();
emit signalSpellcheckDone(s);
TQTimer::singleShot(0,this,TQT_SLOT(cleanUpSpellStruct()));
@ -4377,9 +4377,9 @@ void KBabelView::spellCleanDone()
kdDebug(KBABEL) << "spellCleanDone" << endl;
// if the pointer is cleared, you have finished correcly
if( !spell.kspell ) return;
if( !spell.tdespell ) return;
KSpell::spellStatus status = spell.kspell->status();
KSpell::spellStatus status = spell.tdespell->status();
if(status == KSpell::Error || status == KSpell::Crashed)
{
@ -4401,8 +4401,8 @@ void KBabelView::spellCleanDone()
void KBabelView::cleanUpSpellStruct()
{
kdDebug(KBABEL) << "Cleaning structure" << endl;
// spell.kspell is set to be autodeleted
spell.kspell = 0;
// spell.tdespell is set to be autodeleted
spell.tdespell = 0;
delete spell.config;
spell.config=0;
spell.wordList.clear();

@ -623,7 +623,7 @@ private:
struct
{
KSpell *kspell;
KSpell *tdespell;
KSpellConfig* config;
TQStringList wordList;
bool active;
@ -648,7 +648,7 @@ private:
} spell;
struct {
KSpell *kspell;
KSpell *tdespell;
KSpellConfig* config;
} spell2; // on-the-fly spellchecking

@ -44,7 +44,7 @@
#include <kglobal.h>
#include <kglobalsettings.h>
#include <kbabelsettings.h>
#include <kspell.h>
#include <tdespell.h>
#include "kbhighlighting.h"
#include "resources.h"
@ -255,7 +255,7 @@ bool KBabelHighlighter::isMisspelled(const TQString& wordRaw)
kdDebug(KBABEL) << "isMisspelled: checking: " << word << endl;
// Normally isMisspelled would look up a dictionary and return
// true or false, but kspell is asynchronous and slow so things
// true or false, but tdespell is asynchronous and slow so things
// get tricky...
// "dict" is used as a cache to store the results of KSpell
@ -277,7 +277,7 @@ void KBabelHighlighter::slotMisspelling(const TQString & originalword,
kdDebug(KBABEL) << "Misspelled " << originalword << ", " << suggestions << endl;
dict.replace( originalword, NotOkay );
// this is slow but since kspell is async this will have to do for now
// this is slow but since tdespell is async this will have to do for now
highlight();
}

@ -19,20 +19,20 @@ INCLUDES = -I$(srcdir)/../common -I$(top_builddir)/kbabel/common $(all_i
lib_LTLIBRARIES = libkbabeldictplugin.la
libkbabeldictplugin_la_SOURCES = searchengine.cpp
libkbabeldictplugin_la_LIBADD = $(LIB_TDECORE)
libkbabeldictplugin_la_LDFLAGS = -version-info 3:0:2 $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
libkbabeldictplugin_la_LDFLAGS = -version-info 3:0:2 $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
libkbabeldict_la_SOURCES = kbabeldictbox.cpp \
kbabeldictiface.skel dictionarymenu.cpp dictchooser.cpp \
aboutmoduledlg.cpp
libkbabeldict_la_LIBADD = ../common/libkbabelcommon.la libkbabeldictplugin.la $(LIB_TDEUI)
libkbabeldict_la_LDFLAGS = $(all_libraries) -no-undefined $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
libkbabeldict_la_LDFLAGS = $(all_libraries) -no-undefined $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kbabeldict_SOURCES = main.cpp kbabeldictview.cpp kbabeldict.cpp kbabelsplash.cpp
# the libraries to link against.
kbabeldict_LDADD = libkbabeldict.la $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kbabeldict_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kbabeldict_LDADD = libkbabeldict.la $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kbabeldict_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
# these are the headers for your project
noinst_HEADERS = kbabeldict.h kbabeldictview.h kbabelsplash.h aboutmoduledlg.h

@ -12,7 +12,7 @@
add_subdirectory( backend )
add_subdirectory( gui )
add_subdirectory( pics )
tde_conditional_add_subdirectory( WITH_KCAL kresources )
tde_conditional_add_subdirectory( WITH_KCAL tderesources )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
@ -39,6 +39,6 @@ tde_add_executable( kbugbuster
SOURCES main.cpp
LINK
kbbmainwindow-static kbbbackend_nopic-static
kutils-shared kio-shared khtml-shared
tdeutils-shared kio-shared tdehtml-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -1,5 +1,5 @@
if include_kcalresource
KRESOURCES_SUBDIR = kresources
KRESOURCES_SUBDIR = tderesources
LIBKCAL_INCLUDES= $(KDE_INCLUDES)/libkcal
endif
@ -10,9 +10,9 @@ SUBDIRS = backend gui pics $(KRESOURCES_SUBDIR)
bin_PROGRAMS = kbugbuster
kbugbuster_SOURCES = main.cpp
kbugbuster_LDADD = -lkutils gui/libkbbmainwindow.la \
kbugbuster_LDADD = -ltdeutils gui/libkbbmainwindow.la \
backend/libkbbbackend.la $(LIB_KHTML) $(LIB_KIO) -ltdefx $(LIB_KUTILS)
kbugbuster_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor $(LIB_KUTILS)
kbugbuster_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KUTILS)
xdg_apps_DATA = kbugbuster.desktop

@ -131,7 +131,7 @@ TQValueList<BugDetails::Attachment> BugDetails::extractAttachments( const TQStri
#ifdef DEBUG_EXTRACT
kdDebug() << "Line: " << *it << endl;
#endif
if ( (*it).startsWith( " Content-Type" ) ) // ## leading space comes from khtml
if ( (*it).startsWith( " Content-Type" ) ) // ## leading space comes from tdehtml
{
#ifdef DEBUG_EXTRACT
//kdDebug() << "BugDetails::extractAttachments going back, looking for empty or boundary=" << boundary << endl;

@ -24,8 +24,8 @@
#include "bugsystem.h"
#include "bugserver.h"
#include <khtml_part.h>
#include <khtmlview.h>
#include <tdehtml_part.h>
#include <tdehtmlview.h>
#include <kdebug.h>
#include <kglobal.h>
#include <krun.h>

@ -22,7 +22,7 @@
#include <tqwidget.h>
#include <kparts/browserextension.h>
#include <tdeparts/browserextension.h>
class KHTMLPart;

@ -29,7 +29,7 @@ link_directories(
install( FILES
bugzilla.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/kcal )
##### kcal_bugzilla (module) ####################
@ -38,6 +38,6 @@ tde_add_kpart( kcal_bugzilla AUTOMOC
SOURCES
kcalresource.cpp kcalresourceconfig.cpp
kcalresource_plugin.cpp resourceprefs.kcfgc
LINK kbbbackend_pic-static tdecore-shared kio-shared kabc kcal kresources
LINK kbbbackend_pic-static tdecore-shared kio-shared kabc kcal tderesources
DESTINATION ${PLUGIN_INSTALL_DIR}
)

@ -11,7 +11,7 @@ kcal_bugzilla_la_SOURCES = kcalresource.cpp kcalresourceconfig.cpp \
kcal_bugzilla_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kcal_bugzilla_la_LIBADD = ../backend/libkbbbackend.la -lkcal
servicedir = $(kde_servicesdir)/kresources/kcal
servicedir = $(kde_servicesdir)/tderesources/kcal
service_DATA = bugzilla.desktop
METASOURCES = AUTO

@ -44,7 +44,7 @@
#include <kabc/locknull.h>
#include <kresources/configwidget.h>
#include <tderesources/configwidget.h>
#include "bugsystem.h"
#include "bugserver.h"
@ -119,7 +119,7 @@ void KCalResource::writeConfig( TDEConfig *config )
TQString KCalResource::cacheFile()
{
TQString file = locateLocal( "cache", "kcal/kresources/" + identifier() );
TQString file = locateLocal( "cache", "kcal/tderesources/" + identifier() );
kdDebug() << "KCalResource::cacheFile(): " << file << endl;
return file;
}

@ -21,8 +21,8 @@
#ifndef KCALRESOURCECONFIG_H
#define KCALRESOURCECONFIG_H
#include <kresources/resource.h>
#include <kresources/configwidget.h>
#include <tderesources/resource.h>
#include <tderesources/configwidget.h>
class KLineEdit;

@ -1,5 +1,5 @@
# Code generation options for kconfig_compiler
File=kresources_kcal_bugzilla.kcfg
File=tderesources_kcal_bugzilla.kcfg
ClassName=ResourcePrefs
NameSpace=KBB
Singleton=false

@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name="kresources_kcal_bugzillarc"/>
<kcfgfile name="tderesources_kcal_bugzillarc"/>
<group name="General">
<entry type="String" name="Server">

@ -1,4 +1,4 @@
#INCLUDES= -I$(top_srcdir)/kwallet/client $(all_includes)
#INCLUDES= -I$(top_srcdir)/tdewallet/client $(all_includes)
INCLUDES= $(all_includes)
kde_module_LTLIBRARIES = kded_ksvnd.la
@ -6,7 +6,7 @@ kde_module_LTLIBRARIES = kded_ksvnd.la
kded_ksvnd_la_SOURCES = commitdlg.ui ksvnd.cpp ksvnd.skel
kded_ksvnd_la_METASOURCES = AUTO
kded_ksvnd_la_LDFLAGS = $(all_libraries) -module -avoid-version
#kded_ksvnd_la_LIBADD = $(top_builddir)/kwallet/client/libkwalletclient.la $(LIB_KIO)
#kded_ksvnd_la_LIBADD = $(top_builddir)/tdewallet/client/libtdewalletclient.la $(LIB_KIO)
kded_ksvnd_la_LIBADD = $(LIB_KIO)
kded_DATA = ksvnd.desktop

@ -23,13 +23,13 @@ INCLUDES = $(all_includes)
bin_PROGRAMS = kmtrace demangle kmmatch
kmtrace_SOURCES = kmtrace.cpp
kmtrace_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kmtrace_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
demangle_SOURCES = demangle.cpp
demangle_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
demangle_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kmmatch_SOURCES = match.cpp
kmmatch_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kmmatch_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
bin_SCRIPTS = kminspector

@ -50,6 +50,6 @@ tde_add_executable( kompare AUTOMOC
main.cpp kompare_shell.cpp kompareurldialog.cpp
LINK
dialogpages-static kompareinterface-shared kio-shared
kparts-shared ktexteditor-shared
tdeparts-shared tdetexteditor-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -26,11 +26,11 @@ bin_PROGRAMS = kompare
# the application source, library search path, and link libraries
kompare_SOURCES = main.cpp kompare_shell.cpp kompareurldialog.cpp
kompare_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kompare_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kompare_LDADD = $(LIB_KPARTS) \
$(top_builddir)/kompare/interfaces/libkompareinterface.la \
$(top_builddir)/kompare/libdialogpages/libdialogpages.la \
-lktexteditor
-ltdetexteditor
# this is where the desktop file will go
xdg_apps_DATA = kompare.desktop

@ -17,9 +17,9 @@
**
***************************************************************************/
#include <ktexteditor/document.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/view.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/view.h>
#include <kdebug.h>
#include <kedittoolbar.h>
#include <kencodingfiledialog.h>
@ -28,7 +28,7 @@
#include <klibloader.h>
#include <klocale.h>
#include <kmessagebox.h>
#include <kparts/componentfactory.h>
#include <tdeparts/componentfactory.h>
#include <ksqueezedtextlabel.h>
#include <kstatusbar.h>
#include <kstdaction.h>

@ -21,7 +21,7 @@
#define KOMPARESHELL_H
#include <kapplication.h>
#include <kparts/dockmainwindow.h>
#include <tdeparts/dockmainwindow.h>
#include "kompare.h"

@ -31,6 +31,6 @@ install( FILES komparenavtreepart.desktop
tde_add_kpart( libkomparenavtreepart AUTOMOC
SOURCES komparenavtreepart.cpp
LINK diff2-static kparts-shared
LINK diff2-static tdeparts-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)

@ -25,8 +25,8 @@
#include <tqsplitter.h>
#include <tqlistview.h>
#include <kparts/factory.h>
#include <kparts/part.h>
#include <tdeparts/factory.h>
#include <tdeparts/part.h>
#include "kompare.h"
#include "diffmodellist.h"

@ -41,6 +41,6 @@ tde_add_kpart( libkomparepart AUTOMOC
komparesaveoptionswidget.cpp
LINK
dialogpages-static diff2-static kompareinterface-shared
kparts-shared
tdeparts-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)

@ -34,7 +34,7 @@
#include <kstdaction.h>
#include <kinstance.h>
#include <ktempfile.h>
#include <kparts/genericfactory.h>
#include <tdeparts/genericfactory.h>
//#include <ktempdir.h>
#include <kio/netaccess.h>

@ -22,8 +22,8 @@
#ifndef KOMPAREPART_H
#define KOMPAREPART_H
#include <kparts/factory.h>
#include <kparts/part.h>
#include <tdeparts/factory.h>
#include <tdeparts/part.h>
#include "kompare.h"

@ -35,7 +35,7 @@
#include <kurlcombobox.h>
#include <kurlrequester.h>
#include <kparts/componentfactory.h>
#include <tdeparts/componentfactory.h>
#include <kregexpeditorinterface.h>
#include "diffsettings.h"

@ -93,7 +93,7 @@ Index: README
! turns out that it is not necessary to have a native Vim.
!
!
! I use QXembed, a widget which can embed any X application if it knows its X Window Id, using some X feature. The patch I provide will make vim displays its window id on stdout when the window is mapped. GVim 6.0 then provides a way to send commands to a Vim window from another process. If you look at the VimWidget source, you will see that 70% of the code is there to handle the communication process. The rest uses the communication channel to send the vim commands needed by kpart and ktexteditor.
! I use QXembed, a widget which can embed any X application if it knows its X Window Id, using some X feature. The patch I provide will make vim displays its window id on stdout when the window is mapped. GVim 6.0 then provides a way to send commands to a Vim window from another process. If you look at the VimWidget source, you will see that 70% of the code is there to handle the communication process. The rest uses the communication channel to send the vim commands needed by kpart and tdetexteditor.
!
! As far as I can tell, the part is race-condition free. If you issue many sendNormalCmd and many evalExpr, they are guaranted to be executed sequentially. This has caused me enough problems when it wasn't the case!
!

@ -87,7 +87,7 @@ Index: README
< turns out that it is not necessary to have a native Vim.
<
<
< I use QXembed, a widget which can embed any X application if it knows its X Window Id, using some X feature. The patch I provide will make vim displays its window id on stdout when the window is mapped. GVim 6.0 then provides a way to send commands to a Vim window from another process. If you look at the VimWidget source, you will see that 70% of the code is there to handle the communication process. The rest uses the communication channel to send the vim commands needed by kpart and ktexteditor.
< I use QXembed, a widget which can embed any X application if it knows its X Window Id, using some X feature. The patch I provide will make vim displays its window id on stdout when the window is mapped. GVim 6.0 then provides a way to send commands to a Vim window from another process. If you look at the VimWidget source, you will see that 70% of the code is there to handle the communication process. The rest uses the communication channel to send the vim commands needed by kpart and tdetexteditor.
<
< As far as I can tell, the part is race-condition free. If you issue many sendNormalCmd and many evalExpr, they are guaranted to be executed sequentially. This has caused me enough problems when it wasn't the case!
<

@ -90,7 +90,7 @@ Index: README
-turns out that it is not necessary to have a native Vim.
-
-
-I use QXembed, a widget which can embed any X application if it knows its X Window Id, using some X feature. The patch I provide will make vim displays its window id on stdout when the window is mapped. GVim 6.0 then provides a way to send commands to a Vim window from another process. If you look at the VimWidget source, you will see that 70% of the code is there to handle the communication process. The rest uses the communication channel to send the vim commands needed by kpart and ktexteditor.
-I use QXembed, a widget which can embed any X application if it knows its X Window Id, using some X feature. The patch I provide will make vim displays its window id on stdout when the window is mapped. GVim 6.0 then provides a way to send commands to a Vim window from another process. If you look at the VimWidget source, you will see that 70% of the code is there to handle the communication process. The rest uses the communication channel to send the vim commands needed by kpart and tdetexteditor.
-
-As far as I can tell, the part is race-condition free. If you issue many sendNormalCmd and many evalExpr, they are guaranted to be executed sequentially. This has caused me enough problems when it wasn't the case!
-

@ -46,7 +46,7 @@ install( FILES
tde_add_kpart( libkuiviewerpart AUTOMOC
SOURCES kuiviewer_part.cpp
LINK ktexteditor-shared ${TQTQUI_LIBRARIES}
LINK tdetexteditor-shared ${TQTQUI_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
@ -64,6 +64,6 @@ tde_add_kpart( quithumbnail
tde_add_executable( kuiviewer AUTOMOC
SOURCES main.cpp kuiviewer.cpp
LINK ktexteditor-shared
LINK tdetexteditor-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -25,7 +25,7 @@ bin_PROGRAMS = kuiviewer
# the application source, library search path, and link libraries
kuiviewer_SOURCES = main.cpp kuiviewer.cpp
kuiviewer_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kuiviewer_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kuiviewer_LDADD = $(LIB_KPARTS)
xdg_apps_DATA =kuiviewer.desktop

@ -28,7 +28,7 @@
#endif
#include <kapplication.h>
#include <kparts/mainwindow.h>
#include <tdeparts/mainwindow.h>
class KToggleAction;
class KListView;

@ -31,7 +31,7 @@
#include <kinstance.h>
#include <kio/netaccess.h>
#include <klistview.h>
#include <kparts/genericfactory.h>
#include <tdeparts/genericfactory.h>
#include <kstdaction.h>
#include <kstyle.h>
#include <tqmetaobject.h>

@ -23,7 +23,7 @@
#define KUIVIEWERPART_H
#include <tqguardedptr.h>
#include <kparts/part.h>
#include <tdeparts/part.h>
class TQWidget;
class KURL;

@ -1,21 +0,0 @@
SUBDIRS = example
INCLUDES = $(all_includes)
METASOURCES = AUTO
lib_LTLIBRARIES = libkunittestgui.la
libkunittestgui_la_SOURCES = testerwidget.ui runnergui.cpp dcopinterface.skel
libkunittestgui_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor -lkunittest
libkunittestgui_la_LIBADD = -lkunittest $(LIB_TDECORE)
runnergui.lo : testerwidget.h
bin_PROGRAMS = kunittestguimodrunner
kunittestguimodrunner_SOURCES = guimodrunner.cpp
kunittestguimodrunner_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor -lkunittest
kunittestguimodrunner_LDADD = libkunittestgui.la $(LIB_TDECORE) $(LIB_KIO)
noinst_HEADERS = dcopinterface.h
libkunittestinclude_HEADERS = runnergui.h
libkunittestincludedir = $(includedir)/kunittest
bin_SCRIPTS = kunittest kunittestmod kunittest_debughelper

@ -1,20 +0,0 @@
INCLUDES = -I$(top_srcdir)/include $(all_includes)
METASOURCES = AUTO
noinst_HEADERS = samplemodule.h sampleextra.h sampletests.h
check_LTLIBRARIES = kunittest_samplemodule.la kunittest_samplemodule2.la
kunittest_samplemodule_la_SOURCES = samplemodule.cpp sampletests.cpp sampleextra.cpp
kunittest_samplemodule_la_LIBADD = -lkunittest
kunittest_samplemodule_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries)
kunittest_samplemodule2_la_SOURCES = samplemodule2.cpp
kunittest_samplemodule2_la_LIBADD = -lkunittest
kunittest_samplemodule2_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries)
check-local:
kunittestmodrunner
guicheck:
$(srcdir)/../../kunittestmod $(PWD)

@ -7,23 +7,23 @@ KDE_CXXFLAGS = $(USE_EXCEPTIONS)
SUBDIRS = antlr
split2po_SOURCES = split.cpp parser.cpp
split2po_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
split2po_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
split2po_LDADD = $(LIB_QT)
xml2pot_SOURCES = xml2pot.cpp parser.cpp
xml2pot_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
xml2pot_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
xml2pot_LDADD = $(LIB_QT)
po2xml_SOURCES = GettextLexer.cpp GettextParser.cpp po2xml.cpp parser.cpp
po2xml_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
po2xml_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
po2xml_LDADD = antlr/src/libantlr.la $(LIB_QT)
swappo_SOURCES = GettextLexer.cpp GettextParser.cpp swappo.cpp parser.cpp
swappo_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
swappo_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
swappo_LDADD = antlr/src/libantlr.la $(LIB_QT)
transxx_SOURCES = GettextLexer.cpp GettextParser.cpp transxx.cpp parser.cpp
transxx_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
transxx_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
transxx_LDADD = antlr/src/libantlr.la $(LIB_QT)
parser:

@ -954,7 +954,7 @@ klicking clicking
knowlege knowledge
Konquerer Konqueror
konstants constants
kscreensave kscreensaver
kscreensave tdescreensaver
labelling labeling
Labelling Labeling
lauching launching

@ -4242,7 +4242,7 @@ eval
# Do some necessary adjusting. Right now this is used for supporting
# the command-line option shortcut to where you can enter e.g.
# tdelibs/khtml, and the script will only try to update that part of
# tdelibs/tdehtml, and the script will only try to update that part of
# the module.
munge_lists();

@ -71,7 +71,7 @@ global
# the per-module "prefix" option. Note that when doing this you need to
# set TDEDIRS, PATH and LD_LIBRARY_PATH to point to both directories,
# and that you should use separate test users or TDEHOME values to separate
# the ksycoca databases. Only set prefix if you know what you're doing.
# the tdesycoca databases. Only set prefix if you know what you're doing.
# If you would like install TDE to the system (DO NOT INSTALL *over* a prior
# installation!), then you'll probably need to use sudo to install everything.

@ -44,7 +44,7 @@ INCLUDES= $(all_includes)
METASOURCES = AUTO
# the library search path.
tdecachegrind_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
tdecachegrind_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
rcdir = $(kde_datadir)/tdecachegrind
rc_DATA = tdecachegrindui.rc

@ -24,27 +24,27 @@ link_directories(
install( FILES
runnergui.h
DESTINATION ${INCLUDE_INSTALL_DIR}/kunittest )
DESTINATION ${INCLUDE_INSTALL_DIR}/tdeunittest )
install( PROGRAMS
kunittest kunittestmod kunittest_debughelper
tdeunittest tdeunittestmod tdeunittest_debughelper
DESTINATION ${BIN_INSTALL_DIR} )
##### kunittestgui (shared) #####################
##### tdeunittestgui (shared) #####################
tde_add_library( kunittestgui SHARED AUTOMOC
tde_add_library( tdeunittestgui SHARED AUTOMOC
SOURCES testerwidget.ui runnergui.cpp dcopinterface.skel
VERSION 0.0.0
LINK kunittest-shared
LINK tdeunittest-shared
DESTINATION ${LIB_INSTALL_DIR}
)
##### kunittestguimodrunner (executable) ########
##### tdeunittestguimodrunner (executable) ########
tde_add_executable( kunittestguimodrunner
tde_add_executable( tdeunittestguimodrunner
SOURCES guimodrunner.cpp
LINK kunittestgui-shared
LINK tdeunittestgui-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -0,0 +1,21 @@
SUBDIRS = example
INCLUDES = $(all_includes)
METASOURCES = AUTO
lib_LTLIBRARIES = libtdeunittestgui.la
libtdeunittestgui_la_SOURCES = testerwidget.ui runnergui.cpp dcopinterface.skel
libtdeunittestgui_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor -ltdeunittest
libtdeunittestgui_la_LIBADD = -ltdeunittest $(LIB_TDECORE)
runnergui.lo : testerwidget.h
bin_PROGRAMS = tdeunittestguimodrunner
tdeunittestguimodrunner_SOURCES = guimodrunner.cpp
tdeunittestguimodrunner_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor -ltdeunittest
tdeunittestguimodrunner_LDADD = libtdeunittestgui.la $(LIB_TDECORE) $(LIB_KIO)
noinst_HEADERS = dcopinterface.h
libtdeunittestinclude_HEADERS = runnergui.h
libtdeunittestincludedir = $(includedir)/tdeunittest
bin_SCRIPTS = tdeunittest tdeunittestmod tdeunittest_debughelper

@ -0,0 +1,20 @@
INCLUDES = -I$(top_srcdir)/include $(all_includes)
METASOURCES = AUTO
noinst_HEADERS = samplemodule.h sampleextra.h sampletests.h
check_LTLIBRARIES = tdeunittest_samplemodule.la tdeunittest_samplemodule2.la
tdeunittest_samplemodule_la_SOURCES = samplemodule.cpp sampletests.cpp sampleextra.cpp
tdeunittest_samplemodule_la_LIBADD = -ltdeunittest
tdeunittest_samplemodule_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries)
tdeunittest_samplemodule2_la_SOURCES = samplemodule2.cpp
tdeunittest_samplemodule2_la_LIBADD = -ltdeunittest
tdeunittest_samplemodule2_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries)
check-local:
tdeunittestmodrunner
guicheck:
$(srcdir)/../../tdeunittestmod $(PWD)

@ -24,7 +24,7 @@
*/
#include <kdebug.h>
#include <kunittest/tester.h>
#include <tdeunittest/tester.h>
#include "sampleextra.h"

@ -26,7 +26,7 @@
#ifndef _SAMPLEEXTRA_H_
#define _SAMPLEEXTRA_H_
#include <kunittest/tester.h>
#include <tdeunittest/tester.h>
class SomeExtraTester : public KUnitTest::Tester
{

@ -23,15 +23,15 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <kunittest/runner.h>
#include <kunittest/module.h>
#include <tdeunittest/runner.h>
#include <tdeunittest/module.h>
#include "sampletests.h"
#include "sampleextra.h"
using namespace KUnitTest;
KUNITTEST_MODULE( kunittest_samplemodule, "Suite1" )
KUNITTEST_MODULE( tdeunittest_samplemodule, "Suite1" )
KUNITTEST_MODULE_REGISTER_TESTER( SlotSampleTester )
KUNITTEST_MODULE_REGISTER_TESTER( SomeSampleTester )
KUNITTEST_MODULE_REGISTER_TESTER( SomeExtraTester )

@ -26,7 +26,7 @@
#ifndef SAMPLETESTMODULE_H
#define SAMPLETESTMODULE_H
#include <kunittest/tester.h>
#include <tdeunittest/tester.h>
class SimpleSampleTester : public KUnitTest::Tester
{

@ -26,14 +26,14 @@
#include <tqstringlist.h>
#include <kdebug.h>
#include <kunittest/runner.h>
#include <kunittest/module.h>
#include <tdeunittest/runner.h>
#include <tdeunittest/module.h>
#include "samplemodule.h"
using namespace KUnitTest;
KUNITTEST_MODULE( kunittest_samplemodule2, "Suite2::Sub" )
KUNITTEST_MODULE( tdeunittest_samplemodule2, "Suite2::Sub" )
KUNITTEST_MODULE_REGISTER_TESTER( SimpleSampleTester )
KUNITTEST_MODULE_REGISTER_TESTER( SomeSampleTester )

@ -26,7 +26,7 @@
#ifndef SAMPLETESTMODULE_H
#define SAMPLETESTMODULE_H
#include <kunittest/tester.h>
#include <tdeunittest/tester.h>
class SimpleSampleTester : public KUnitTest::Tester
{

@ -26,8 +26,8 @@
#include <tqstringlist.h>
#include <kdebug.h>
#include <kunittest/runner.h>
#include <kunittest/module.h>
#include <tdeunittest/runner.h>
#include <tdeunittest/module.h>
#include "sampletests.h"
#include "sampleextra.h"

@ -26,7 +26,7 @@
#ifndef SAMPLETESTMODULE_H
#define SAMPLETESTMODULE_H
#include <kunittest/tester.h>
#include <tdeunittest/tester.h>
class SlotSampleTester : public KUnitTest::SlotTester
{

@ -4,19 +4,19 @@ METASOURCES = AUTO
check_PROGRAMS = sampletests sampletestsgui
sampletests_SOURCES = main.cpp sampletest.cpp
sampletests_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
sampletests_LDADD = -lkunittest
sampletests_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
sampletests_LDADD = -ltdeunittest
sampletestsgui_SOURCES = maingui.cpp sampletest.cpp
sampletestsgui_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
# Normally you would write -lkunittestgui here, but since the examples
sampletestsgui_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
# Normally you would write -ltdeunittestgui here, but since the examples
# are bundled with the library source code itself we don't want to
# have you install the libraries before you can compile the examples.
sampletestsgui_LDADD = ../../libkunittestgui.la
sampletestsgui_LDADD = ../../libtdeunittestgui.la
noinst_HEADERS = sampletest.h
TESTS = sampletests
guicheck: sampletestsgui
kunittest ./sampletestsgui SampleTests
tdeunittest ./sampletestsgui SampleTests

@ -23,7 +23,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "kunittest/runner.h"
#include "tdeunittest/runner.h"
int main( int /*argc*/, char** /*argv*/ )
{

@ -28,7 +28,7 @@
#include <kcmdlineargs.h>
#include <klocale.h>
#include "kunittest/runnergui.h"
#include "tdeunittest/runnergui.h"
static const char description[] =
I18N_NOOP("A simple sample.");

@ -26,7 +26,7 @@
#include <tqstringlist.h>
#include <kdebug.h>
#include <kunittest/runner.h>
#include <tdeunittest/runner.h>
#include "sampletest.h"

@ -26,7 +26,7 @@
#ifndef SAMPLETEST_H
#define SAMPLETEST_H
#include <kunittest/tester.h>
#include <tdeunittest/tester.h>
class SimpleSampleTester : public KUnitTest::Tester
{

@ -40,7 +40,7 @@ static const char version[] = "0.1";
static KCmdLineOptions options[] =
{
{"query [regexp]", I18N_NOOP("Only run modules which filename match the regexp."), "^kunittest_.*\\.la$"},
{"query [regexp]", I18N_NOOP("Only run modules which filename match the regexp."), "^tdeunittest_.*\\.la$"},
{"folder [folder]", I18N_NOOP("Only run tests modules which are found in the folder. Use the query option to select modules."), "."},
{ "enable-dbgcap", I18N_NOOP("Enables debug capturing. You typically use this option when you use the GUI."), 0},
KCmdLineLastOption

@ -37,7 +37,7 @@
#include <kdebug.h>
#include <kmessagebox.h>
#include <kunittest/tester.h>
#include <tdeunittest/tester.h>
#include "dcopinterface.h"
#include "runnergui.h"

@ -29,8 +29,8 @@
#include <tqlistview.h>
#include <tqhbox.h>
#include <kunittest/runner.h>
#include <kunittest/tester.h>
#include <tdeunittest/runner.h>
#include <tdeunittest/tester.h>
#include <kdemacros.h>

@ -9,10 +9,10 @@ then
exit 1;
fi
DEBUGHELPER=`which kunittest_debughelper`
DEBUGHELPER=`which tdeunittest_debughelper`
if [ -z $DEBUGHELPER ]
then
kdialog --error "Sorry, couldn't find the kunittest_debughelper script."
kdialog --error "Sorry, couldn't find the tdeunittest_debughelper script."
exit 3
fi

@ -19,17 +19,17 @@ do
shift
done
APP=`which kunittestguimodrunner`
APP=`which tdeunittestguimodrunner`
if [ ! -x $APP ]
then
kdialog --error "Sorry, $APP is not a valid executable file."
exit 1;
fi
DEBUGHELPER=`which kunittest_debughelper`
DEBUGHELPER=`which tdeunittest_debughelper`
if [ -z $DEBUGHELPER ]
then
kdialog --error "Sorry, couldn't find the kunittest_debughelper script."
kdialog --error "Sorry, couldn't find the tdeunittest_debughelper script."
exit 3
fi

@ -2,7 +2,7 @@ INCLUDES = -I$(srcdir)/.. -I$(top_srcdir)/umbrello/docgenerators -I../../../umbr
METASOURCES = AUTO
bin_PROGRAMS = umbodoc
AM_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
AM_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
umbodoc_COMPILE_FIRST = version.h
umbodoc_SOURCES = main.cpp
umbodoc_LDADD = $(LIB_TDECORE) $(LIBXSLT_LIBS) $(LIBXML_LIBS)

Loading…
Cancel
Save