File indexing completed on 2025-01-19 12:45:19
0001 /* This file is part of the KDE libraries 0002 Copyright (C) 2001,2002 Rolf Magnus <ramagnus@kde.org> 0003 0004 library is free software; you can redistribute it and/or 0005 modify it under the terms of the GNU Library General Public 0006 License version 2 as published by the Free Software Foundation. 0007 0008 This library is distributed in the hope that it will be useful, 0009 but WITHOUT ANY WARRANTY; without even the implied warranty of 0010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0011 Library General Public License for more details. 0012 0013 You should have received a copy of the GNU Library General Public License 0014 along with this library; see the file COPYING.LIB. If not, write to 0015 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0016 Boston, MA 02110-1301, USA. 0017 0018 */ 0019 0020 #ifndef __KMETAPROPS_H__ 0021 #define __KMETAPROPS_H__ 0022 #include <kpropertiesdialog.h> 0023 #include <kdelibs4support_export.h> 0024 0025 class KFileMetaInfoItem; 0026 0027 /*! 0028 * 'MetaProps plugin 0029 * In this plugin you can modify meta information like id3 tags of mp3 files 0030 */ 0031 class KDELIBS4SUPPORT_DEPRECATED_EXPORT KFileMetaPropsPlugin : public KPropertiesDialogPlugin 0032 { 0033 Q_OBJECT 0034 public: 0035 KFileMetaPropsPlugin(KPropertiesDialog *_props); 0036 ~KFileMetaPropsPlugin() override; 0037 0038 void applyChanges() override; 0039 0040 /** 0041 * Tests whether the file specified by _items has a 'MetaInfo' plugin. 0042 */ 0043 static bool supports(const KFileItemList &_items); 0044 0045 private: 0046 class KFileMetaPropsPluginPrivate; 0047 KFileMetaPropsPluginPrivate *const d; 0048 0049 Q_PRIVATE_SLOT(d, void configureShownMetaData()) 0050 }; 0051 0052 #endif