tdeio/tdefile
kmetaprops.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __KMETAPROPS_H__
00021 #define __KMETAPROPS_H__
00022 #include <kpropertiesdialog.h>
00023
00024
00025 class KFileMetaInfoItem;
00026
00031 class TDEIO_EXPORT KFileMetaPropsPlugin : public KPropsDlgPlugin
00032 {
00033 Q_OBJECT
00034 public:
00038 KFileMetaPropsPlugin( KPropertiesDialog *_props );
00039 virtual ~KFileMetaPropsPlugin();
00040
00041 virtual void applyChanges();
00042
00046 static bool supports( KFileItemList _items );
00047
00048 private:
00049 void createLayout();
00050
00051 TQWidget* makeBoolWidget(const KFileMetaInfoItem& item, TQWidget* parent);
00052 TQWidget* makeIntWidget(const KFileMetaInfoItem& item, TQWidget* parent,
00053 TQString& valClass);
00054 TQWidget* makeStringWidget(const KFileMetaInfoItem& item, TQWidget* parent,
00055 TQString& valClass);
00056 TQWidget* makeDateTimeWidget(const KFileMetaInfoItem& item, TQWidget* parent,
00057 TQString& valClass);
00058
00059 private slots:
00060
00061
00062
00063 private:
00064
00065 class KFileMetaPropsPluginPrivate;
00066 KFileMetaPropsPluginPrivate *d;
00067 };
00068
00069 #endif