From 7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 6 Nov 2011 02:28:57 -0600 Subject: Additional kde to tde renaming --- kdeprint/slave/CMakeLists.txt | 2 +- kdeprint/slave/Makefile.am | 2 +- kdeprint/slave/kio_print.cpp | 18 +++++++++--------- kdeprint/slave/kio_print.h | 2 +- kdeprint/slave/templates/CMakeLists.txt | 6 +++--- kdeprint/slave/templates/Makefile.am | 6 +++--- kdeprint/slave/templates/class.template | 4 ++-- kdeprint/slave/templates/driver.template | 4 ++-- kdeprint/slave/templates/jobs.template | 4 ++-- kdeprint/slave/templates/printer.template | 4 ++-- kdeprint/slave/templates/pseudo.template | 4 ++-- 11 files changed, 28 insertions(+), 28 deletions(-) (limited to 'kdeprint/slave') diff --git a/kdeprint/slave/CMakeLists.txt b/kdeprint/slave/CMakeLists.txt index cfac6d998..db9162a1b 100644 --- a/kdeprint/slave/CMakeLists.txt +++ b/kdeprint/slave/CMakeLists.txt @@ -34,6 +34,6 @@ install( FILES print.protocol printdb.protocol DESTINATION ${SERVICES_INSTALL_DI tde_add_kpart( kio_print AUTOMOC SOURCES kio_print.cpp - LINK kdeprint-shared + LINK tdeprint-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kdeprint/slave/Makefile.am b/kdeprint/slave/Makefile.am index b4352d4d8..5e5e04123 100644 --- a/kdeprint/slave/Makefile.am +++ b/kdeprint/slave/Makefile.am @@ -7,7 +7,7 @@ INCLUDES= $(all_includes) kde_module_LTLIBRARIES = kio_print.la kio_print_la_SOURCES = kio_print.cpp -kio_print_la_LIBADD = $(LIB_KIO) -lkdeprint +kio_print_la_LIBADD = $(LIB_KIO) -ltdeprint kio_print_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) METASOURCES = AUTO diff --git a/kdeprint/slave/kio_print.cpp b/kdeprint/slave/kio_print.cpp index ebb6b859f..d8bb4cf6e 100644 --- a/kdeprint/slave/kio_print.cpp +++ b/kdeprint/slave/kio_print.cpp @@ -1,6 +1,6 @@ /* * This file is part of the KDE libraries - * Copyright (c) 2001 Michael Goffioul + * Copyright (c) 2001 Michael Goffioul * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -18,11 +18,11 @@ **/ #include "kio_print.h" -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include @@ -755,7 +755,7 @@ void KIO_Print::showSpecialInfo(KMPrinter *printer) bool KIO_Print::loadTemplate(const TQString& filename, TQString& buffer) { - TQFile f(locate("data", TQString::tqfromLatin1("kdeprint/template/")+filename)); + TQFile f(locate("data", TQString::tqfromLatin1("tdeprint/template/")+filename)); if (f.exists() && f.open(IO_ReadOnly)) { TQTextStream t(&f); @@ -789,12 +789,12 @@ void KIO_Print::showData(const TQString& pathname) /** * Locate a data in this order: - * - $KDEDIR/share/apps/kdeprint/template/ + * - $KDEDIR/share/apps/tdeprint/template/ * - as a desktop icon */ TQString KIO_Print::locateData(const TQString& item) { - TQString path = locate("data", "kdeprint/template/"+item); + TQString path = locate("data", "tdeprint/template/"+item); if (path.isEmpty()) path = KGlobal::iconLoader()->iconPath(item, KIcon::Desktop, true); return path; diff --git a/kdeprint/slave/kio_print.h b/kdeprint/slave/kio_print.h index 7f622cb6b..954a3045f 100644 --- a/kdeprint/slave/kio_print.h +++ b/kdeprint/slave/kio_print.h @@ -1,6 +1,6 @@ /* * This file is part of the KDE libraries - * Copyright (c) 2001 Michael Goffioul + * Copyright (c) 2001 Michael Goffioul * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public diff --git a/kdeprint/slave/templates/CMakeLists.txt b/kdeprint/slave/templates/CMakeLists.txt index 31f11cf6a..f2344a0df 100644 --- a/kdeprint/slave/templates/CMakeLists.txt +++ b/kdeprint/slave/templates/CMakeLists.txt @@ -16,10 +16,10 @@ install( FILES box-top-middle.png bar-bottom-middle.png bar-top-right.png box-bottom-right.png box-top-right.png bar-bottom-right.png - bottom-left.png box-centre-kdeprint.png + bottom-left.png box-centre-tdeprint.png top-left.png bar-middle-left.png bottom-middle.png box-middle-left.png top-middle.png bar-middle-right.png - bottom-right.png box-middle-right.png top-right-kdeprint.png + bottom-right.png box-middle-right.png top-right-tdeprint.png bar-top-left.png box-bottom-left.png box-top-left.png htmlstyles.css - DESTINATION ${DATA_INSTALL_DIR}/kdeprint/template ) + DESTINATION ${DATA_INSTALL_DIR}/tdeprint/template ) diff --git a/kdeprint/slave/templates/Makefile.am b/kdeprint/slave/templates/Makefile.am index 7fde236a2..3f23f9d2d 100644 --- a/kdeprint/slave/templates/Makefile.am +++ b/kdeprint/slave/templates/Makefile.am @@ -13,7 +13,7 @@ template_DATA = class.template \ box-top-right.png \ bar-bottom-right.png \ bottom-left.png \ - box-centre-kdeprint.png \ + box-centre-tdeprint.png \ top-left.png \ bar-middle-left.png \ bottom-middle.png \ @@ -22,10 +22,10 @@ template_DATA = class.template \ bar-middle-right.png \ bottom-right.png \ box-middle-right.png \ - top-right-kdeprint.png \ + top-right-tdeprint.png \ bar-top-left.png \ box-bottom-left.png \ box-top-left.png \ htmlstyles.css -templatedir = $(kde_datadir)/kdeprint/template +templatedir = $(kde_datadir)/tdeprint/template diff --git a/kdeprint/slave/templates/class.template b/kdeprint/slave/templates/class.template index 4cbc075ab..b6a79a1fd 100644 --- a/kdeprint/slave/templates/class.template +++ b/kdeprint/slave/templates/class.template @@ -22,7 +22,7 @@ body {margin: 0px; padding: 0px; background-color: #418ade;}
- +
@@ -88,7 +88,7 @@ body {margin: 0px; padding: 0px; background-color: #418ade;}
+ "background-image: url(box-centre-tdeprint.png); background-repeat: no-repeat; background-color: #dfe7f3; background-position: top right; margin-left: 20px; margin-right: 20px;">

 %1

diff --git a/kdeprint/slave/templates/driver.template b/kdeprint/slave/templates/driver.template index d5c8af111..8ba428e74 100644 --- a/kdeprint/slave/templates/driver.template +++ b/kdeprint/slave/templates/driver.template @@ -22,7 +22,7 @@ body {margin: 0px; padding: 0px; background-color: #418ade;}
- +
@@ -88,7 +88,7 @@ body {margin: 0px; padding: 0px; background-color: #418ade;}
+ "background-image: url(box-centre-tdeprint.png); background-repeat: no-repeat; background-color: #dfe7f3; background-position: top right; margin-left: 20px; margin-right: 20px;">

 %1

diff --git a/kdeprint/slave/templates/jobs.template b/kdeprint/slave/templates/jobs.template index 6c326feec..684899aba 100644 --- a/kdeprint/slave/templates/jobs.template +++ b/kdeprint/slave/templates/jobs.template @@ -22,7 +22,7 @@ body {margin: 0px; padding: 0px; background-color: #418ade;}
- +
@@ -88,7 +88,7 @@ body {margin: 0px; padding: 0px; background-color: #418ade;}
+ "background-image: url(box-centre-tdeprint.png); background-repeat: no-repeat; background-color: #dfe7f3; background-position: top right; margin-left: 20px; margin-right: 20px;">

 %1

diff --git a/kdeprint/slave/templates/printer.template b/kdeprint/slave/templates/printer.template index 44d6ba82b..3bdfa8665 100644 --- a/kdeprint/slave/templates/printer.template +++ b/kdeprint/slave/templates/printer.template @@ -22,7 +22,7 @@ body {margin: 0px; padding: 0px; background-color: #418ade;}
- +
@@ -88,7 +88,7 @@ body {margin: 0px; padding: 0px; background-color: #418ade;}
+ "background-image: url(box-centre-tdeprint.png); background-repeat: no-repeat; background-color: #dfe7f3; background-position: top right; margin-left: 20px; margin-right: 20px;">

 %1

diff --git a/kdeprint/slave/templates/pseudo.template b/kdeprint/slave/templates/pseudo.template index d6dec46df..a5acc24d1 100644 --- a/kdeprint/slave/templates/pseudo.template +++ b/kdeprint/slave/templates/pseudo.template @@ -22,7 +22,7 @@ body {margin: 0px; padding: 0px; background-color: #418ade;}
- +
@@ -88,7 +88,7 @@ body {margin: 0px; padding: 0px; background-color: #418ade;}
+ "background-image: url(box-centre-tdeprint.png); background-repeat: no-repeat; background-color: #dfe7f3; background-position: top right; margin-left: 20px; margin-right: 20px;">

 %1

-- cgit v1.2.1