Commit 34260f5e authored by Dominik Haumann's avatar Dominik Haumann

remove LoadSaveFilterCheckPlugin, it's unused anyways

parent 19f54ed6
......@@ -26,7 +26,6 @@ set(KTEXTEDITOR_PUBLIC_HEADERS
configinterface.h
containerinterface.h
annotationinterface.h
loadsavefiltercheckplugin.h
highlightinterface.h
modeinterface.h
movinginterface.h
......@@ -80,5 +79,3 @@ install( FILES ${KTEXTEDITOR_PUBLIC_HEADERS}
DESTINATION ${INCLUDE_INSTALL_DIR}/ktexteditor COMPONENT Devel)
install( FILES ktexteditor.desktop ktexteditorplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
install( FILES ktexteditor_loadsavefiltercheckplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
......@@ -48,8 +48,6 @@
#include "annotationinterface.h"
#include "loadsavefiltercheckplugin.h"
#include "modeinterface.h"
#include <kparts/factory.h>
......@@ -251,19 +249,6 @@ VariableInterface::VariableInterface()
VariableInterface::~VariableInterface()
{}
class KTextEditor::LoadSaveFilterCheckPluginPrivate {
public:
LoadSaveFilterCheckPluginPrivate(){}
~LoadSaveFilterCheckPluginPrivate(){}
};
LoadSaveFilterCheckPlugin::LoadSaveFilterCheckPlugin(QObject *parent):
QObject(parent),
d(new LoadSaveFilterCheckPluginPrivate()) { }
LoadSaveFilterCheckPlugin::~LoadSaveFilterCheckPlugin() { delete d; }
ModeInterface::ModeInterface() {
......
[Desktop Entry]
Type=ServiceType
X-KDE-ServiceType=KTextEditor/LoadSaveFilterCheckPlugin
X-KDE-Derived=
Comment=KTextEditor load/save filter/check plugin
Comment[bg]=Приставка за KTextEditor за филтриране и проверка при зареждане и записване
Comment[bs]=Priključak za KTextEditor učitavanje/snimanje, filtirranje/provjeru
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 filtro/verificación de cargar/guardar para KTextEditor
Comment[et]=KTextEditori laadimise/salvestamise filtreerimise/kontrollimise plugin
Comment[eu]=KTextEditor kargatu/gorde iragazteko/egiaztatzeko plugina
Comment[fi]=KTextEditorin avaamisen/tallentamisen suodattamis-/tarkistusliitännäinen
Comment[fr]=Module externe KTextEditor de filtre / de vérification lors du chargement / de l'enregistrement
Comment[ga]=Breiseán scagaire luchtú/sábháil KTextEditor
Comment[gl]=Engadido de filtro/comprobación ao cargar/gardar para KTextEditor
Comment[hu]=KTextEditor betöltési/mentési/szűrési/ellenőrzési bővítmény
Comment[ia]=KTextEditor plugin per cargar/salvar filtrar/controlar
Comment[it]=Estensione KTextEditor per operazioni di caricamento/salvataggio filtraggio/controllo
Comment[kk]=KTextEditor жүктеу/сақтау сүзгілеу/тексеру плагині
Comment[km]=កម្មវិធី​ជំនួយផ្ទុក​/​រក្សាទុក​តម្រង/​ពិនិត្យមើល​របស់​ KTextEditor
Comment[ko]=KTextEditor 불러오기/저장 필터/검사 플러그인
Comment[lt]=KTextEditor įkrauti/įrašyti filtruoti/tikrinti priedas
Comment[lv]=KTextEditor ielādēšanas/saglabāšanas filtrs/pārbaudīšanas spraudnis
Comment[mr]=के-टेक्स्ट-एडिटर दाखलन/साठवण गाळणी/नियंत्रण प्लगइन
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-plug-in voor laden/opslaan filteren/controleren
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 filtrare/verificare încărcare/salvare KTextEditor
Comment[ru]=Загрузка и сохранение фильтров для KTextEditor
Comment[si]=KTextEditor පූර්ණ/සුරැකුම් පෙරනිමි/පිරික්සුම් ප්ලගිනය
Comment[sk]=KTextEditor plugin načítať/uložiť filter/kontrola
Comment[sl]=Vstavek za KTextEditor za filtriranje/preverjanje med shranjevanjem in nalaganjem
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[tg]=Плагини боркунӣ/захиракунӣ филтркунӣ/санҷишкунӣ барои KTextEditor
Comment[tr]=KTextEditor yükleme/kaydetme filtreleme/denetleme eklentisi
Comment[ug]=KTextEditor يۈكلەش/ساقلاش سۈزگۈچ/تەكشۈرۈش قىستۇرمىسى
Comment[uk]=Додаток для завантаження/збереження фільтрування/перевірки 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 載入/儲存、過濾/檢查外掛程式
/* 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
{
class LoadSaveFilterCheckPluginPrivate;
/**
* \brief Plugin for load/save filtering
* FIXME: REMOVE FOR KDE5
*/
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;
private:
class LoadSaveFilterCheckPluginPrivate* const d;
};
}
#endif
// kate: space-indent on; indent-width 2; replace-tabs on;
......@@ -56,7 +56,6 @@
#include <ktexteditor/attribute.h>
#include <ktexteditor/plugin.h>
#include <ktexteditor/loadsavefiltercheckplugin.h>
#include <kio/job.h>
#include <kio/jobuidelegate.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment