interfaces: remove unused KTextEditor::LoadSaveFilterCheckPlugin class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-07-29 02:51:49 +03:00
parent d02d2b3fa4
commit f97608216a
4 changed files with 0 additions and 154 deletions

View file

@ -78,7 +78,6 @@ install(
configinterface.h
containerinterface.h
annotationinterface.h
loadsavefiltercheckplugin.h
highlightinterface.h
modeinterface.h
movinginterface.h
@ -100,6 +99,5 @@ install(
FILES
ktexteditor.desktop
ktexteditorplugin.desktop
ktexteditor_loadsavefiltercheckplugin.desktop
DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR}
)

View file

@ -53,9 +53,6 @@
#include "annotationinterface.h"
#include "moc_annotationinterface.cpp"
#include "loadsavefiltercheckplugin.h"
#include "moc_loadsavefiltercheckplugin.cpp"
#include "modeinterface.h"
#include <kparts/factory.h>
@ -292,15 +289,6 @@ VariableInterface::~VariableInterface()
{
}
LoadSaveFilterCheckPlugin::LoadSaveFilterCheckPlugin(QObject *parent):
QObject(parent)
{
}
LoadSaveFilterCheckPlugin::~LoadSaveFilterCheckPlugin()
{
}
CoordinatesToCursorInterface::~CoordinatesToCursorInterface() {
}

View file

@ -1,80 +0,0 @@
[Desktop Entry]
Type=ServiceType
X-KDE-ServiceType=KTextEditor/LoadSaveFilterCheckPlugin
X-KDE-Derived=
Comment=KTextEditor load/save filter/check plugin
Comment[ar]=ملحق KTextEditor لتحميل/حفظ تدقيق/ترشيح
Comment[as]=KTextEditor load/save filter/check -
Comment[ast]=Complementu de peñera/comprobación p'abrir/guardar de KTextEditor
Comment[be@latin]=Plugin adčynieńnia/zapisu filtra/pravierki dla słužby KTextEditor
Comment[bg]=Приставка за KTextEditor за филтриране и проверка при зареждане и записване
Comment[bn]=--ি load/save filter/check -
Comment[bs]=Priključak za filtriranje i provjeravanje na učitavanju i upisivanju za KTextEditor
Comment[ca]=Connector del KTextEditor de filtratge/comprovació de càrrega/desat
Comment[ca@valencia]=Connector del KTextEditor de filtratge/comprovació de càrrega/guardat
Comment[cs]=Modul načtení/uložení filtrování/kontroly KTextEditoru
Comment[da]=KTextEditor-plugin til at filtrere/tjekke ved indlæsning/gemning
Comment[de]=KTextEditor-Modul zu Filtern/Prüfen beim Laden/Speichern
Comment[el]=Φίλτρο φόρτωσης/αποθήκευσης πρόσθετο ελέγχου του KTextEditor
Comment[en_GB]=KTextEditor load/save filter/check plugin
Comment[es]=Complemento de filtrado/comprobación para abrir/guardar de KTextEditor
Comment[et]=KTextEditori laadimise/salvestamise filtreerimise/kontrollimise plugin
Comment[eu]=KTextEditor-en ireki/gorde iragazi/egiaztatu plugina-a
Comment[fi]=KTextEditorin avaamisen/tallentamisen suodattamis-/tarkistusliitännäinen
Comment[fr]=Module externe de chargement / enregistrement et filtrage / vérification pour KTextEditor
Comment[fy]=KTextEditor-plugin foar laden/bewarjen en filterje/kontrôle
Comment[ga]=Breiseán scagaire luchtú/sábháil KTextEditor
Comment[gl]=Complemento de filtrado/comprobación ao cargar/gardar para KTextEditor
Comment[gu]=KTextEditor / /
Comment[he]=תוסף לשמירה וטעינה או בדיקה של תוסף עבור KTextEditor
Comment[hne]=-- / ि/
Comment[hr]=KTextEditor priključak za učitavanje/spremanje i filtriranje/provjeru
Comment[hsb]=KTextEditor plugin za wočinjenje/zawěsćenje
Comment[hu]=KTextEditor betöltési/mentési/szűrési/ellenőrzési bővítmény
Comment[hy]=KTextEditor-ի load/save filter/check հարմարանք
Comment[ia]=KTextEditor plugin per cargar/salvar filtrar/controlar
Comment[id]=Plugin muat/simpan filter/cek KTextEditor
Comment[is]=KTextEditor hlaða/vista sía/prófa íforrit
Comment[it]=Estensione carica/salva, filtra/controlla per KTextEditor
Comment[ja]=KTextEditor //
Comment[kk]=KTextEditor жүктеу/сақтау сүзгілеу/тексеру плагині
Comment[km]=/ / KTextEditor
Comment[kn]= ಿ ಿ/ಿ ಿ/ಿಿಿ ಿಿ (ಿ)
Comment[ko]=KTextEditor / /
Comment[ku]=KEdîtoraNivîsê pêveka barbike/tomarbike parzûnbike/kontrolbike
Comment[lt]=KTextEditor įkėlimo/įrašymo filtro/tikrinimo priedas
Comment[lv]=KTextEditor ielādēšanas/saglabāšanas filtrs/pārbaudīšanas spraudnis
Comment[mai]=KTextEditor / ि/
Comment[ml]=ി /ി ി/ിി ി
Comment[mr]=--ि / /ि
Comment[ms]=Plugin muat/simpan tapis/periksa KTextEditor
Comment[nb]=KTextEditor programtillegg for laste/lagre filter/sjekk
Comment[nds]=KTextEditor-Moduul för't Filtern/Pröven bi't Laden un Sekern
Comment[nl]=KTextEditor-plugin voor laden/opslaan filteren/controleren
Comment[nn]=Tillegg for lasting, lagring, filtrering og sjekk til KTextEditor
Comment[pa]=KTextEditor / ਿ/
Comment[pl]=Wtyczka edytora tekstu do wczytywania/zapisywania filtrów i sprawdzania
Comment[pt]='Plugin' de filtragem/verificação do carregamento/gravação do KTextEditor
Comment[pt_BR]=Plugin de carregamento/gravação e filtro/verificação do KTextEditor
Comment[ro]=Modul de încărcare/salvare filtrare/verificare pentru KTextEditor
Comment[ru]=Загрузка и сохранение фильтров для KTextEditor
Comment[se]=KDE-čállinprográmma raba/vurke sillen/iskan-lassemodula
Comment[sk]=Modul načítania/uloženia filtrovania/kontroly textového editora
Comment[sl]=Vstavek KTextEditor za nalaganje/shranjevanje in filtriranje/preverjanje
Comment[sr]=Прикључак за филтрирање и проверавање на учитавању и уписивању за KTextEditor
Comment[sr@ijekavian]=Прикључак за филтрирање и провјеравање на учитавању и уписивању за KTextEditor
Comment[sr@ijekavianlatin]=Priključak za filtriranje i provjeravanje na učitavanju i upisivanju za KTextEditor
Comment[sr@latin]=Priključak za filtriranje i proveravanje na učitavanju i upisivanju za KTextEditor
Comment[sv]=Texteditor-insticksprogram för ladda/spara filter/kontrollera
Comment[ta]=KTextEditor load/save filter/check ி
Comment[tg]=Васлкунаки KTextEditor барои баркунӣ/захиракунӣ, филтр/санҷиш
Comment[th]= KTextEditor / /
Comment[tr]=KTextEditor yükleme/kaydetme filtreleme/denetleme eklentisi
Comment[tt]=KTextEditor өчен сөзгечләрне җибәрү һәм истә калдыру
Comment[ug]=KTextEditor يۈكلەش/ساقلاش سۈزگۈچ/تەكشۈرۈش قىستۇرمىسى
Comment[uk]=Додаток для завантаження/збереження фільтрування/перевірки KTextEditor
Comment[vi]=Phn b sung np/lưu lc/kim tra KTextEditor
Comment[wa]=Tchôke-divins di KTexteditor po tcherdjî/schaper passer al passete/verifyî
Comment[x-test]=xxKTextEditor load/save filter/check pluginxx
Comment[zh_CN]=KTextEditor /
Comment[zh_TW]=KTextEditor //

View file

@ -1,60 +0,0 @@
/* This file is part of the KDE libraries
Copyright (C) 2001,2006 Joseph Wenninger <jowenn@kde.org>
[katedocument.cpp, LGPL v2 only]
================RELICENSED=================
This file is part of the KDE libraries
Copyright (C) 2008 Joseph Wenninger <jowenn@kde.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 KDELIBS_KTEXTEDITOR_LOADSAVEFILTERCHECKPLUGIN_H
#define KDELIBS_KTEXTEDITOR_LOADSAVEFILTERCHECKPLUGIN_H
//BEGIN includes
#include <ktexteditor/document.h>
#include <QtCore/QObject>
//END includes
namespace KTextEditor
{
/**
* \brief Plugin for load/save filtering
*/
class KTEXTEDITOR_EXPORT LoadSaveFilterCheckPlugin:public QObject {
Q_OBJECT
public:
LoadSaveFilterCheckPlugin(QObject *parent); //expect parent to be 0
virtual ~LoadSaveFilterCheckPlugin();
/*this one is called once everything is set up for saving (especially the encoding has been determind (example: used for checking python source encoding headers))
return true if saving should continue, false to abort
*/
virtual bool preSavePostDialogFilterCheck(KTextEditor::Document *document) =0;
/*this one is called after the file has been saved
return true if following plugins should be handled*/
virtual bool postSaveFilterCheck(KTextEditor::Document *document, bool saveas) =0;
/*this one is called once the document has been completely loaded and configured (encoding,highlighting, ...))*/
virtual void postLoadFilter(KTextEditor::Document *document) =0;
};
}
#endif
// kate: space-indent on; indent-width 2; replace-tabs on;