• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KIO

kfilemetadataconfigurationwidget.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Copyright (C) 2009 by Peter Penz <peter.penz@gmx.at>                      *
00003  *                                                                           *
00004  * This library is free software; you can redistribute it and/or             *
00005  * modify it under the terms of the GNU Library General Public               *
00006  * License as published by the Free Software Foundation; either              *
00007  * version 2 of the License, or (at your option) any later version.          *
00008  *                                                                           *
00009  * This library is distributed in the hope that it will be useful,           *
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of            *
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU         *
00012  * Library General Public License for more details.                          *
00013  *                                                                           *
00014  * You should have received a copy of the GNU Library General Public License *
00015  * along with this library; see the file COPYING.LIB.  If not, write to      *
00016  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,      *
00017  * Boston, MA 02110-1301, USA.                                               *
00018  *****************************************************************************/
00019 
00020 #ifndef KFILEMETADATACONFIGURATIONWIDGET_H
00021 #define KFILEMETADATACONFIGURATIONWIDGET_H
00022 
00023 #include <kio/kio_export.h>
00024 #include <kfileitem.h>
00025 
00026 #include <QWidget>
00027 
00028 
00041 // TODO: A signal is required which indicates configuration changes. Otherwise
00042 // it would not be possible for an application developer to enable/disable an
00043 // "Apply" button of a dialog.
00044 class KIO_EXPORT KFileMetaDataConfigurationWidget : public QWidget
00045 {
00046     Q_OBJECT
00047 
00048 public:
00049     explicit KFileMetaDataConfigurationWidget(QWidget* parent = 0);
00050     virtual ~KFileMetaDataConfigurationWidget();
00051 
00061     void setItems(const KFileItemList& items);
00062     KFileItemList items() const;
00063 
00067     void save();
00068 
00070     virtual QSize sizeHint() const;
00071 
00072 protected:
00073     virtual bool event(QEvent* event);
00074 
00075 private:
00076     class Private;
00077     Private* const d;
00078 
00079     Q_PRIVATE_SLOT(d, void loadMetaData())
00080     Q_PRIVATE_SLOT(d, void slotLoadingFinished())
00081 };
00082 
00083 #endif

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal