From 82072ef281de2d5948a42fb69ae800d47e0800be Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 26 Jan 2013 13:18:40 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- kommander/editor/Makefile.am | 4 ++-- kommander/editor/assoctexteditorimpl.cpp | 18 +++++++++--------- kommander/editor/mainwindow.cpp | 2 +- kommander/editor/mainwindow.h | 2 +- kommander/editor/mainwindowactions.cpp | 6 +++--- kommander/examples/current/editor-poc.kmdr | 14 +++++++------- kommander/executor/Makefile.am | 4 ++-- kommander/part/Makefile.am | 2 +- kommander/part/kommander_part.cpp | 2 +- kommander/part/kommander_part.h | 4 ++-- kommander/pluginmanager/Makefile.am | 2 +- kommander/widgets/Makefile.am | 2 +- kommander/working/plugintemplate/widget.h | 2 +- 13 files changed, 32 insertions(+), 32 deletions(-) (limited to 'kommander') diff --git a/kommander/editor/Makefile.am b/kommander/editor/Makefile.am index 65ea192b..8e03b205 100644 --- a/kommander/editor/Makefile.am +++ b/kommander/editor/Makefile.am @@ -7,13 +7,13 @@ bin_PROGRAMS = kmdr-editor AM_CPPFLAGS = -I$(top_srcdir)/kommander/widget -I$(top_srcdir)/kommander/widgets -I$(top_srcdir)/kommander/plugin -I$(top_srcdir)/kommander/factory -Ishared -Iinterfaces -Ipics $(all_includes) # the library search path. -kmdr_editor_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor $(LIB_KPARTS) +kmdr_editor_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KPARTS) # the libraries to link against. kmdr_editor_LDADD = $(top_builddir)/kommander/factory/libkommanderfactory.la \ $(top_builddir)/kommander/widget/libkommanderwidget.la \ $(top_builddir)/kommander/widgets/libkommanderwidgets.la \ - $(top_builddir)/kommander/plugin/libkommanderplugin.la -lktexteditor + $(top_builddir)/kommander/plugin/libkommanderplugin.la -ltdetexteditor # which sources should be compiled for kmdr_editor kmdr_editor_SOURCES = actiondnd.cpp actioneditorimpl.cpp \ diff --git a/kommander/editor/assoctexteditorimpl.cpp b/kommander/editor/assoctexteditorimpl.cpp index 334fa177..4cbaeb08 100644 --- a/kommander/editor/assoctexteditorimpl.cpp +++ b/kommander/editor/assoctexteditorimpl.cpp @@ -28,15 +28,15 @@ #include #include -#include -#include -#include -#include -#include -#include -#include - -#include +#include +#include +#include +#include +#include +#include +#include + +#include /* QT INCLUDES */ #include diff --git a/kommander/editor/mainwindow.cpp b/kommander/editor/mainwindow.cpp index 36d23b04..608049ed 100644 --- a/kommander/editor/mainwindow.cpp +++ b/kommander/editor/mainwindow.cpp @@ -85,7 +85,7 @@ #include #include #include -#include +#include #include extern TQMap *qwf_functions; diff --git a/kommander/editor/mainwindow.h b/kommander/editor/mainwindow.h index 17d04063..790f33b1 100644 --- a/kommander/editor/mainwindow.h +++ b/kommander/editor/mainwindow.h @@ -22,7 +22,7 @@ #include "metadatabase.h" -#include +#include #include #include diff --git a/kommander/editor/mainwindowactions.cpp b/kommander/editor/mainwindowactions.cpp index 8be705a8..749f5d3b 100644 --- a/kommander/editor/mainwindowactions.cpp +++ b/kommander/editor/mainwindowactions.cpp @@ -74,9 +74,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include diff --git a/kommander/examples/current/editor-poc.kmdr b/kommander/examples/current/editor-poc.kmdr index 12cfe3c2..7e9c9b03 100755 --- a/kommander/examples/current/editor-poc.kmdr +++ b/kommander/examples/current/editor-poc.kmdr @@ -181,8 +181,8 @@ while chrs < maxc do inlink = true lb = str_toint(str_find(a, "\"", ch)+1) le = str_toint(str_find(a, "\"", lb)) - linkscript = str_mid(a, lb, le-lb) - //debug("link data - "+lb+" "+le+" "+linkscript) + lintdescript = str_mid(a, lb, le-lb) + //debug("link data - "+lb+" "+le+" "+lintdescript) elseif str_mid(a, ch, 3) == "<p>" then lc = lc + 1 cc = 0 @@ -199,11 +199,11 @@ while chrs < maxc do if inlink == true then //debug("examining link at row"+lc+" between col "+cp+" and col "+cc) if (Self.Item(0) == lc &&Self.Item(1) >= cp && Self.Item(1) <= cc) then - debug("call "+linkscript) - if widgetExists(linkscript) then - linkscript.execute(Self.Item(0),Self.Item(1)) - elseif str_left(linkscript, 4) == "http" then - exec("konqueror --profile webbrowsing "+linkscript) + debug("call "+lintdescript) + if widgetExists(lintdescript) then + lintdescript.execute(Self.Item(0),Self.Item(1)) + elseif str_left(lintdescript, 4) == "http" then + exec("konqueror --profile webbrowsing "+lintdescript) endif break endif diff --git a/kommander/executor/Makefile.am b/kommander/executor/Makefile.am index 5e12cf0d..2f05c16e 100644 --- a/kommander/executor/Makefile.am +++ b/kommander/executor/Makefile.am @@ -3,7 +3,7 @@ bin_PROGRAMS = kmdr-executor noinst_LTLIBRARIES = libinstance.la libinstance_la_SOURCES = instance.cpp dcopkommanderif.skel -libinstance_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -no-undefined $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor +libinstance_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -no-undefined $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor kmdr_executor_SOURCES = main.cpp @@ -20,6 +20,6 @@ AM_CPPFLAGS = -I$(top_srcdir)/kommander/plugin -I$(top_srcdir)/kommander/widgets METASOURCES = AUTO # the library search path. -kmdr_executor_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor +kmdr_executor_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor noinst_HEADERS = dcopkommanderif.h diff --git a/kommander/part/Makefile.am b/kommander/part/Makefile.am index 6d44bc04..4259b3fd 100644 --- a/kommander/part/Makefile.am +++ b/kommander/part/Makefile.am @@ -1,7 +1,7 @@ INCLUDES = -I$(top_srcdir)/kommander/executor -I$(top_srcdir)/kommander/factory $(all_includes) METASOURCES = AUTO kde_module_LTLIBRARIES = libkommander_part.la -libkommander_part_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -lDCOP -L../../kommander/plugin/.libs -lkommanderplugin +libkommander_part_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP -L../../kommander/plugin/.libs -lkommanderplugin libkommander_part_la_LIBADD = $(top_builddir)/kommander/executor/libinstance.la $(top_builddir)/kommander/widget/libkommanderwidget.la $(LIB_KFILE) $(LIB_KPARTS) $(LIB_KHTML) kde_services_DATA = kommander_part.desktop libkommander_part_la_SOURCES = kommander_part.cpp diff --git a/kommander/part/kommander_part.cpp b/kommander/part/kommander_part.cpp index fe4d7199..49857c12 100644 --- a/kommander/part/kommander_part.cpp +++ b/kommander/part/kommander_part.cpp @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include diff --git a/kommander/part/kommander_part.h b/kommander/part/kommander_part.h index 017e4b35..aca36b89 100644 --- a/kommander/part/kommander_part.h +++ b/kommander/part/kommander_part.h @@ -15,8 +15,8 @@ #ifndef KOMMANDERPART_H #define KOMMANDERPART_H -#include -#include +#include +#include class Instance; class TQGridLayout; diff --git a/kommander/pluginmanager/Makefile.am b/kommander/pluginmanager/Makefile.am index 18ec698a..1c43b4fd 100644 --- a/kommander/pluginmanager/Makefile.am +++ b/kommander/pluginmanager/Makefile.am @@ -13,6 +13,6 @@ INCLUDES = -I$(top_srcdir)/kommander/factory $(all_includes) METASOURCES = AUTO # the library search path. -kmdr_plugins_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor +kmdr_plugins_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor noinst_HEADERS = mainwindow.h pluginmanager.h diff --git a/kommander/widgets/Makefile.am b/kommander/widgets/Makefile.am index b07890f7..d54c107e 100644 --- a/kommander/widgets/Makefile.am +++ b/kommander/widgets/Makefile.am @@ -4,7 +4,7 @@ lib_LTLIBRARIES = libkommanderwidgets.la INCLUDES = -I$(top_srcdir)/kommander/widget -I$(top_srcdir)/kommander/factory -I$(top_srcdir)/kommander/plugin $(all_includes) # the library search path. -#widgets_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor +#widgets_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor libkommanderwidgets_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -no-undefined # the libraries to link against. diff --git a/kommander/working/plugintemplate/widget.h b/kommander/working/plugintemplate/widget.h index bb9fb448..c07c78cf 100644 --- a/kommander/working/plugintemplate/widget.h +++ b/kommander/working/plugintemplate/widget.h @@ -5,7 +5,7 @@ #include #include -#include +#include #include -- cgit v1.2.1