diff options
| author | Peter Penz <[email protected]> | 2010-03-22 22:23:02 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-03-22 22:23:02 +0000 |
| commit | caf017c2fefa8280046b02cfd071a118f2909ced (patch) | |
| tree | a17f5bd569830806d679c7aedf103861ff9b2507 /src/panels/information/knfotranslator_p.h | |
| parent | 622acabf23b6c8c3badab6a8c2e93e0ae8963f1b (diff) | |
Use KFileMetaDataWidget from kdelibs. Still open: Provide dialog which wraps KFileMetaDataConfigurationWidget.
svn path=/trunk/KDE/kdebase/apps/; revision=1106465
Diffstat (limited to 'src/panels/information/knfotranslator_p.h')
| -rw-r--r-- | src/panels/information/knfotranslator_p.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/panels/information/knfotranslator_p.h b/src/panels/information/knfotranslator_p.h deleted file mode 100644 index def13f7c4..000000000 --- a/src/panels/information/knfotranslator_p.h +++ /dev/null @@ -1,47 +0,0 @@ -/***************************************************************************** - * Copyright (C) 2010 by Peter Penz <[email protected]> * - * * - * 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 KNFOTRANSLATOR_H -#define KNFOTRANSLATOR_H - -#include <QHash> -#include <QString> - -class KUrl; - -/** - * @brief Returns translations for Nepomuk File Ontology URIs. - * - * See http://www.semanticdesktop.org/ontologies/nfo/. - */ -class KNfoTranslator -{ -public: - static KNfoTranslator& instance(); - QString translation(const KUrl& uri) const; - -protected: - KNfoTranslator(); - virtual ~KNfoTranslator(); - friend class KNfoTranslatorSingleton; - -private: - QHash<QString, QString> m_hash; -}; - -#endif // KNFO_TRANSLATOR_H |
