• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kio/kfile
 

kio/kfile

  • kio
  • kfile
kmetaprops.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2001,2002 Rolf Magnus <ramagnus@kde.org>
3 
4  library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 
18  */
19 
20 #ifndef __KMETAPROPS_H__
21 #define __KMETAPROPS_H__
22 #include <kpropertiesdialog.h>
23 
24 
25 class KFileMetaInfoItem;
26 
31 class KIO_EXPORT KFileMetaPropsPlugin : public KPropsDlgPlugin
32 {
33  Q_OBJECT
34 public:
38  KFileMetaPropsPlugin( KPropertiesDialog *_props );
39  virtual ~KFileMetaPropsPlugin();
40 
41  virtual void applyChanges();
42 
46  static bool supports( KFileItemList _items );
47 
48 private:
49  void createLayout();
50 
51  TQWidget* makeBoolWidget(const KFileMetaInfoItem& item, TQWidget* parent);
52  TQWidget* makeIntWidget(const KFileMetaInfoItem& item, TQWidget* parent,
53  TQString& valClass);
54  TQWidget* makeStringWidget(const KFileMetaInfoItem& item, TQWidget* parent,
55  TQString& valClass);
56  TQWidget* makeDateTimeWidget(const KFileMetaInfoItem& item, TQWidget* parent,
57  TQString& valClass);
58 
59 private slots:
60  // Code disabled until the "Add" button is implemented
61 // void slotAdd();
62 
63 private:
64 
65  class KFileMetaPropsPluginPrivate;
66  KFileMetaPropsPluginPrivate *d;
67 };
68 
69 #endif
KFileMetaPropsPlugin
Definition: kmetaprops.h:32
KPropertiesDialog
The main properties dialog class.
Definition: kpropertiesdialog.h:71
KPropsDlgPlugin
A Plugin in the Properties dialog This is an abstract class.
Definition: kpropertiesdialog.h:438
KPropsDlgPlugin::applyChanges
virtual void applyChanges()
Applies all changes to the file.
Definition: kpropertiesdialog.cpp:665

kio/kfile

Skip menu "kio/kfile"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kio/kfile

Skip menu "kio/kfile"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/kfile by doxygen 1.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |