summaryrefslogtreecommitdiffstats
path: root/python/pykde/sip/kfile/kpropertiesdialog.sip
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit90825e2392b2d70e43c7a25b8a3752299a933894 (patch)
treee33aa27f02b74604afbfd0ea4f1cfca8833d882a /python/pykde/sip/kfile/kpropertiesdialog.sip
downloadtdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz
tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'python/pykde/sip/kfile/kpropertiesdialog.sip')
-rw-r--r--python/pykde/sip/kfile/kpropertiesdialog.sip304
1 files changed, 304 insertions, 0 deletions
diff --git a/python/pykde/sip/kfile/kpropertiesdialog.sip b/python/pykde/sip/kfile/kpropertiesdialog.sip
new file mode 100644
index 00000000..bec90ab6
--- /dev/null
+++ b/python/pykde/sip/kfile/kpropertiesdialog.sip
@@ -0,0 +1,304 @@
+//
+// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
+// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
+// may also apply
+
+
+// Generated by preSip
+// module kfile version KDE 3.5.3
+
+
+// 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 <kpropertiesdialog.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, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
+ KPropertiesDialog (const KURL&, 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);
+
+%If ( KDE_3_4_0 - )
+ static bool showDialog (KFileItem*, QWidget* /Transfer/ = 0, const char* = 0, bool = 0);
+ static bool showDialog (const KURL&, QWidget* /Transfer/ = 0, const char* = 0, bool = 0);
+ static bool showDialog (const KFileItemList&, QWidget* /Transfer/ = 0, const char* = 0, bool = 0);
+%End
+
+ 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 ();
+
+%If ( KDE_3_1_0 - )
+ void showFileSharingPage ();
+
+%If ( KDE_3_3_0 - )
+ void setFileSharingPage (QWidget*);
+%End
+
+
+%If ( KDE_3_2_0 - )
+ void setFileNameReadOnly (bool);
+%End
+
+%End
+
+
+public slots:
+ virtual void slotOk ();
+ virtual void slotCancel ();
+
+signals:
+ void propertiesClosed ();
+ void applied ();
+ void canceled ();
+
+%If ( KDE_3_2_0 - )
+ void saveAs (const KURL&, KURL&);
+%End
+
+
+protected:
+//igx virtual void virtual_hook (int, void*);
+
+}; // class KPropertiesDialog
+
+
+class KPropsDlgPlugin : QObject
+{
+%TypeHeaderCode
+#include <kpropertiesdialog.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:
+
+protected:
+//igx virtual void virtual_hook (int, void*);
+
+}; // class KPropsDlgPlugin
+
+
+class KFilePropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropertiesdialog.h>
+%End
+
+
+public:
+ KFilePropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+ void postApplyChanges ();
+
+%If ( KDE_3_2_0 - )
+ void setFileNameReadOnly (bool);
+%End
+
+
+protected slots:
+
+%If ( KDE_3_2_0 - )
+ void slotEditFileType ();
+%End
+
+ void slotCopyFinished (KIO::Job*);
+ void slotFileRenamed (KIO::Job*, const KURL&, const KURL&);
+
+%If ( KDE_3_2_0 - )
+ void slotDirSizeUpdate ();
+%End
+
+ void slotDirSizeFinished (KIO::Job*);
+ void slotFoundMountPoint (const QString&, ulong, ulong, ulong);
+ void slotSizeStop ();
+ void slotSizeDetermine ();
+
+}; // class KFilePropsPlugin
+
+
+class KFilePermissionsPropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropertiesdialog.h>
+%End
+
+
+public:
+
+%If ( KDE_3_2_0 - )
+
+ enum PermissionsMode
+ {
+ PermissionsOnlyFiles,
+ PermissionsOnlyDirs,
+ PermissionsOnlyLinks,
+ PermissionsMixed
+ };
+
+
+ enum PermissionsTarget
+ {
+ PermissionsOwner,
+ PermissionsGroup,
+ PermissionsOthers
+ };
+
+%End
+
+ KFilePermissionsPropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+}; // class KFilePermissionsPropsPlugin
+
+
+class KURLPropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropertiesdialog.h>
+%End
+
+
+public:
+ KURLPropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+}; // class KURLPropsPlugin
+
+
+class KBindingPropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropertiesdialog.h>
+%End
+
+
+public:
+ KBindingPropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+}; // class KBindingPropsPlugin
+
+
+class KDevicePropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropertiesdialog.h>
+%End
+
+
+public:
+ KDevicePropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+}; // class KDevicePropsPlugin
+
+
+%If ( KDE_3_2_0 - )
+
+class KDesktopPropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropertiesdialog.h>
+%End
+
+
+public:
+ KDesktopPropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+public slots:
+ void slotAddFiletype ();
+ void slotDelFiletype ();
+ void slotBrowseExec ();
+ void slotAdvanced ();
+ void slotSelectMimetype ();
+
+}; // class KDesktopPropsPlugin
+
+%End
+
+
+class KExecPropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropertiesdialog.h>
+%End
+
+
+public:
+ KExecPropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+public slots:
+ void slotBrowseExec ();
+
+}; // class KExecPropsPlugin
+
+
+class KApplicationPropsPlugin : KPropsDlgPlugin
+{
+%TypeHeaderCode
+#include <kpropertiesdialog.h>
+%End
+
+
+public:
+ KApplicationPropsPlugin (KPropertiesDialog*);
+ virtual void applyChanges ();
+ static bool supports (KFileItemList);
+
+public slots:
+ void slotDelExtension ();
+ void slotAddExtension ();
+
+}; // class KApplicationPropsPlugin
+