From 2b286a9f04268c56333d334af54beb8039992273 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 4 Mar 2010 16:24:20 +0000 Subject: Rename NfoTranslator to KNfoTranslator, so that KMetaDataWidget can be moved to kdelibs for KDE SC 4.5 (some interfaces of KMetaDataWidget need to be cleaned up first). KNfoTranslator is marked as private class, as it is not clear yet whether it should be used by other classes like KFileMetaInfo. svn path=/trunk/KDE/kdebase/apps/; revision=1098897 --- src/panels/information/nfotranslator.h | 47 ---------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 src/panels/information/nfotranslator.h (limited to 'src/panels/information/nfotranslator.h') diff --git a/src/panels/information/nfotranslator.h b/src/panels/information/nfotranslator.h deleted file mode 100644 index 4a51c60f3..000000000 --- a/src/panels/information/nfotranslator.h +++ /dev/null @@ -1,47 +0,0 @@ -/***************************************************************************** - * Copyright (C) 2010 by Peter Penz * - * * - * 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 NFOTRANSLATOR_H -#define NFOTRANSLATOR_H - -#include -#include - -class QUrl; - -/** - * @brief Returns translations for Nepomuk File Ontology URIs. - * - * See http://www.semanticdesktop.org/ontologies/nfo/. - */ -class NfoTranslator -{ -public: - static NfoTranslator& instance(); - QString translation(const QUrl& uri) const; - -protected: - NfoTranslator(); - virtual ~NfoTranslator(); - friend class NfoTranslatorSingleton; - -private: - QHash m_hash; -}; - -#endif // NFO_TRANSLATOR_H -- cgit v1.3.1