summaryrefslogtreecommitdiffstats
path: root/python/pykde/sip/kfile/kpropsdlg.sip
diff options
context:
space:
mode:
Diffstat (limited to 'python/pykde/sip/kfile/kpropsdlg.sip')
-rw-r--r--python/pykde/sip/kfile/kpropsdlg.sip208
1 files changed, 208 insertions, 0 deletions
diff --git a/python/pykde/sip/kfile/kpropsdlg.sip b/python/pykde/sip/kfile/kpropsdlg.sip
new file mode 100644
index 00000000..2ec6275a
--- /dev/null
+++ b/python/pykde/sip/kfile/kpropsdlg.sip
@@ -0,0 +1,208 @@
+//
+// Copyright 2003 Jim Bublitz <jbublitz@nwinternet.com>
+// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson
+// may also apply
+
+
+// Generated by preSip
+// module kfile version KDE_3_1_1
+
+
+// This software is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as
+// published by the Free Software Foundation; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This software 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public
+// License along with this library; see the file COPYING.
+// If not, write to the Free Software Foundation, Inc.,
+// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+class KPropertiesDialog : KDialogBase
+{
+%TypeHeaderCode
+#include <kpropsdlg.h>
+%End
+
+
+public:
+ static bool canDisplay (KFileItemList);
+ KPropertiesDialog (KFileItem*, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (KFileItemList, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (const KURL&, mode_t = -1, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (const KURL&, const KURL&, const QString&, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (const QString&, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0);
+ void insertPlugin (KPropsDlgPlugin*);
+ const KURL& kurl () const;
+ KFileItem* item ();
+ KFileItemList items () const;
+ KDialogBase* dialog ();
+ const KURL& currentDir () const;
+ const QString& defaultName () const;
+ void updateUrl (const KURL&);
+ void rename (const QString&);
+ void abortApplying ();
+
+public slots:
+ virtual void slotOk ();
+ virtual void slotCancel ();
+
+signals:
+ void propertiesClosed ();
+ void applied ();
+ void canceled ();
+
+}; // class KPropertiesDialog
+
+
+class KPropsDlgPlugin : QObject
+{
+%TypeHeaderCode
+#include <kpropsdlg.h>
+%End
+
+
+public:
+ KPropsDlgPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool isDesktopFile (KFileItem*);
+ void setDirty (bool);
+ bool isDirty () const;
+
+public slots:
+ void setDirty ();
+
+signals:
+ void changed ();
+
+protected:
+
+}; // class KPropsDlgPlugin
+
+
+class KFilePropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropsdlg.h>
+%End
+
+
+public:
+ KFilePropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+ void postApplyChanges ();
+
+protected slots:
+ void slotCopyFinished (KIO::Job*);
+ void slotFileRenamed (KIO::Job*, const KURL&, const KURL&);
+ void slotDirSizeFinished (KIO::Job*);
+ void slotFoundMountPoint (const QString&, ulong, ulong, ulong);
+ void slotSizeStop ();
+ void slotSizeDetermine ();
+
+}; // class KFilePropsPlugin
+
+
+class KFilePermissionsPropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropsdlg.h>
+%End
+
+
+public:
+ KFilePermissionsPropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+}; // class KFilePermissionsPropsPlugin
+
+
+class KExecPropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropsdlg.h>
+%End
+
+
+public:
+ KExecPropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+public slots:
+ void slotBrowseExec ();
+
+}; // class KExecPropsPlugin
+
+
+class KURLPropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropsdlg.h>
+%End
+
+
+public:
+ KURLPropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+}; // class KURLPropsPlugin
+
+
+class KApplicationPropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropsdlg.h>
+%End
+
+
+public:
+ KApplicationPropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+public slots:
+ void slotDelExtension ();
+ void slotAddExtension ();
+
+}; // class KApplicationPropsPlugin
+
+
+class KBindingPropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropsdlg.h>
+%End
+
+
+public:
+ KBindingPropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+}; // class KBindingPropsPlugin
+
+
+class KDevicePropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropsdlg.h>
+%End
+
+
+public:
+ KDevicePropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+}; // class KDevicePropsPlugin
+