From b529f046c9a64ac5fcfa60747af940cf972b3ebc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 6 Nov 2011 15:56:34 -0600 Subject: Actually move the kde files that were renamed in the last commit --- kdeprint/kdeprint_part/CMakeLists.txt | 37 ------------ kdeprint/kdeprint_part/Makefile.am | 24 -------- kdeprint/kdeprint_part/kdeprint_part.desktop | 85 ---------------------------- kdeprint/kdeprint_part/kdeprint_part.rc | 28 --------- kdeprint/kdeprint_part/printpart.cpp | 81 -------------------------- kdeprint/kdeprint_part/printpart.h | 59 ------------------- 6 files changed, 314 deletions(-) delete mode 100644 kdeprint/kdeprint_part/CMakeLists.txt delete mode 100644 kdeprint/kdeprint_part/Makefile.am delete mode 100644 kdeprint/kdeprint_part/kdeprint_part.desktop delete mode 100644 kdeprint/kdeprint_part/kdeprint_part.rc delete mode 100644 kdeprint/kdeprint_part/printpart.cpp delete mode 100644 kdeprint/kdeprint_part/printpart.h (limited to 'kdeprint/kdeprint_part') diff --git a/kdeprint/kdeprint_part/CMakeLists.txt b/kdeprint/kdeprint_part/CMakeLists.txt deleted file mode 100644 index 6de7ddb91..000000000 --- a/kdeprint/kdeprint_part/CMakeLists.txt +++ /dev/null @@ -1,37 +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 -# -################################################# - -add_definitions( -D_KDEPRINT_COMPILE ) - -include_directories( - ${CMAKE_CURRENT_BINARY_DIR} - ${TDE_INCLUDE_DIR} - ${TQT_INCLUDE_DIRS} -) - -link_directories( - ${TQT_LIBRARY_DIRS} -) - - -##### other data ################################ - -install( FILES tdeprint_part.rc DESTINATION ${DATA_INSTALL_DIR}/tdeprint_part ) -install( FILES tdeprint_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) - - -##### libtdeprint_part (module) ################# - -tde_add_kpart( libtdeprint_part AUTOMOC - SOURCES printpart.cpp - LINK tdeprint_management-shared kparts-shared - DESTINATION ${PLUGIN_INSTALL_DIR} -) diff --git a/kdeprint/kdeprint_part/Makefile.am b/kdeprint/kdeprint_part/Makefile.am deleted file mode 100644 index e27404a0f..000000000 --- a/kdeprint/kdeprint_part/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -AM_CPPFLAGS = -D_KDEPRINT_COMPILE - -kde_module_LTLIBRARIES = libtdeprint_part.la - -libtdeprint_part_la_SOURCES = printpart.cpp -libtdeprint_part_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined -libtdeprint_part_la_LIBADD = -ltdeprint_management $(LIB_KPARTS) - -noinst_HEADERS = printpart.h - -METASOURCES = AUTO -INCLUDES = $(all_includes) - -# service -myservice_DATA = tdeprint_part.desktop -myservicedir = $(kde_servicesdir) - -# UI file -myrcfile_DATA = tdeprint_part.rc -myrcfiledir = $(kde_datadir)/tdeprint_part - -messages: rc.cpp - $(EXTRACTRC) tdeprint_part.rc >> rc.cpp - $(XGETTEXT) *.cpp -o $(podir)/tdeprint_part.pot diff --git a/kdeprint/kdeprint_part/kdeprint_part.desktop b/kdeprint/kdeprint_part/kdeprint_part.desktop deleted file mode 100644 index 001f8ae39..000000000 --- a/kdeprint/kdeprint_part/kdeprint_part.desktop +++ /dev/null @@ -1,85 +0,0 @@ -[Desktop Entry] -Type=Service -Name=Print Management Tool -Name[af]=Drukker Bestuur Program -Name[ar]=أداة ادارة الطباعة -Name[az]=Çap Edici İdarə Vasitəsi -Name[be]=Кіраўнік друку -Name[bg]=Управление на печата -Name[bn]=মুদ্রণ ম্যানেজমেন্ট টুল -Name[br]=Ostilh mererezh moulañ -Name[bs]=Alat za upravljanje štampom -Name[ca]=Eina per a gestionar la impressió -Name[cs]=Správce tiskáren -Name[csb]=Sprôwianié wëdrëkama -Name[cy]=Erfyn Rheoli Argraffu -Name[da]=Udskriftshåndteringsværktøj -Name[de]=Druckerverwaltung -Name[el]=Εργαλείο διαχείρισης εκτυπώσεων -Name[eo]=Printadministrilo -Name[es]=Herramienta de gestión de la impresión -Name[et]=Trükkimise seadistused -Name[eu]=Inprimaketa kudeatzeko tresna -Name[fa]=ابزار مدیریت چاپ -Name[fi]=Tulostuksenhallinta -Name[fr]=Gestionnaire d'impression -Name[fy]=Helpprogramma foar printbehear -Name[ga]=Uirlis Bhainisteoireacht Priontála -Name[gl]=Ferramenta de Xestión da Impresión -Name[he]=כלי ניהול הדפסה -Name[hi]=प्रिंटर प्रबंधन औज़ार -Name[hr]=Alat za upravljanje ispisom -Name[hu]=Nyomtatáskezelő eszköz -Name[is]=Prentunartól -Name[it]=Strumento di gestione della stampa -Name[ja]=印刷マネージメントツール -Name[ka]=ბეჭდვის მართვა -Name[kk]=Басып шығаруды басқару -Name[km]=ឧបករណ៍​គ្រប់គ្រង​ការ​បោះពុម្ព -Name[ko]=휴대폰 관리 도구 -Name[lo]=ເຄື່ອງມືຈັດການພິມ -Name[lt]=Spausdinimo valdymo įrankis -Name[lv]=Drukas Menedžmenta Rīks -Name[mk]=Алатка за менаџмент на печатење -Name[mn]=Хэвлэгч удирдах хэлбэр -Name[ms]=Cetak Alat Pengurusan -Name[mt]=Għodda għall-immaniġġjar tal-printing -Name[nb]=Verktøy for utskriftsbehandling -Name[nds]=Druckers un Opgaven plegen -Name[ne]=मुद्रण व्यवस्थापन उपकरण -Name[nl]=Hulpprogramma voor printerbeheer -Name[nn]=Utskriftshandsaming -Name[nso]=Sebereka sa Taolo ya Kgatiso -Name[pa]=ਛਾਪਣ (ਪਰਿੰਟ) ਪਰਬੰਧਨ ਸੰਦ -Name[pl]=Zarządzanie wydrukiem -Name[pt]=Ferramenta de Gestão de Impressões -Name[pt_BR]=Ferramenta para Gerenciamento de Impressão -Name[ro]=Administrare tipărire -Name[ru]=Управление печатью -Name[rw]=Gucapa Igikoresho cy'Ubuyobozi -Name[se]=Čálihangieđahalli -Name[sk]=Nástroj na správu tlače -Name[sl]=Orodje za upravljanje tiskanja -Name[sr]=Алат за управљање штампом -Name[sr@Latn]=Alat za upravljanje štampom -Name[sv]=Verktyg för utskriftshantering -Name[ta]=அச்சு மேலாண்மைக் கருவி -Name[tg]=Тафсири мудирияти чоп -Name[th]=เครื่องมือจัดการงานพิมพ์ -Name[tr]=Yazdırma Yönetim Aracı -Name[tt]=Bastıru İdäneñ Qoralı -Name[uk]=Засіб керування друком -Name[uz]=Bosib chiqarishni boshqarish vositasi -Name[uz@cyrillic]=Босиб чиқаришни бошқариш воситаси -Name[ven]=Tshishumiswa tsha vhulanguli ha phirinthara -Name[vi]=Công cụ Quản lý In ấn -Name[wa]=Usteye po manaedjî l' imprimaedje -Name[xh]=Isixhobo Sophatho soshicilelo -Name[zh_CN]=打印管理工具 -Name[zh_TW]=列印管理工具 -Name[zu]=Ithuluzi Lokuphathwa Koshicilelo -MimeType=print/manager -ServiceTypes=Browser/View,KParts/ReadOnlyPart -X-KDE-Library=libtdeprint_part -Icon=printmgr -InitialPreference=12 diff --git a/kdeprint/kdeprint_part/kdeprint_part.rc b/kdeprint/kdeprint_part/kdeprint_part.rc deleted file mode 100644 index a69e76490..000000000 --- a/kdeprint/kdeprint_part/kdeprint_part.rc +++ /dev/null @@ -1,28 +0,0 @@ - - -Print Manager Toolbar - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/kdeprint/kdeprint_part/printpart.cpp b/kdeprint/kdeprint_part/printpart.cpp deleted file mode 100644 index 5d5d7b154..000000000 --- a/kdeprint/kdeprint_part/printpart.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/* - * This file is part of the KDE libraries - * 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 - * License version 2 as published by the Free Software Foundation. - * - * 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 "printpart.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -typedef KParts::GenericFactory PrintPartFactory; -K_EXPORT_COMPONENT_FACTORY( libtdeprint_part, PrintPartFactory ) - -PrintPart::PrintPart(TQWidget *parentWidget, const char * /*widgetName*/ , - TQObject *parent, const char *name, - const TQStringList & /*args*/ ) -: KParts::ReadOnlyPart(parent, name) -{ - setInstance(PrintPartFactory::instance()); - instance()->iconLoader()->addAppDir("tdeprint"); - m_extension = new PrintPartExtension(this); - - m_view = new KMMainView(parentWidget, "MainView", actionCollection()); - m_view->setFocusPolicy(TQ_ClickFocus); - m_view->enableToolbar(false); - setWidget(m_view); - - initActions(); -} - -PrintPart::~PrintPart() -{ -} - -KAboutData *PrintPart::createAboutData() -{ - return new KAboutData(I18N_NOOP("tdeprint_part"), I18N_NOOP("A Konqueror Plugin for Print Management"), "0.1"); -} - -bool PrintPart::openFile() -{ - return true; -} - -void PrintPart::initActions() -{ - setXMLFile("tdeprint_part.rc"); -} - -PrintPartExtension::PrintPartExtension(PrintPart *parent) -: KParts::BrowserExtension(parent, "PrintPartExtension") -{ -} - -PrintPartExtension::~PrintPartExtension() -{ -} - -#include "printpart.moc" diff --git a/kdeprint/kdeprint_part/printpart.h b/kdeprint/kdeprint_part/printpart.h deleted file mode 100644 index df543b210..000000000 --- a/kdeprint/kdeprint_part/printpart.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * This file is part of the KDE libraries - * 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 - * License version 2 as published by the Free Software Foundation. - * - * 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 PRINTPART_H -#define PRINTPART_H - -#include -#include - -class PrintPartExtension; -class KMMainView; -class KAboutData; - -class PrintPart : public KParts::ReadOnlyPart -{ - Q_OBJECT -public: - PrintPart(TQWidget *parentWidget, const char *widgetName, - TQObject *parent, const char *name, - const TQStringList & ); - virtual ~PrintPart(); - - static KAboutData *createAboutData(); - -protected: - bool openFile(); - void initActions(); - -private: - PrintPartExtension *m_extension; - KMMainView *m_view; -}; - -class PrintPartExtension : public KParts::BrowserExtension -{ - Q_OBJECT - friend class PrintPart; -public: - PrintPartExtension(PrintPart *parent); - virtual ~PrintPartExtension(); -}; - -#endif -- cgit v1.2.1