diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 00:59:37 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 00:59:37 -0600 |
commit | f050f7c84cccf297921968acd454e6a462e30857 (patch) | |
tree | d2dbec79b7ecb12d9dd28b20e491a454b18ecb52 /sip/kfile | |
parent | 6b87edd9b7b08ca0030e5633e8a9653576f73a32 (diff) | |
download | pytde-f050f7c84cccf297921968acd454e6a462e30857.tar.gz pytde-f050f7c84cccf297921968acd454e6a462e30857.zip |
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'sip/kfile')
58 files changed, 0 insertions, 4334 deletions
diff --git a/sip/kfile/booktoken.sip b/sip/kfile/booktoken.sip deleted file mode 100644 index 182f5cd..0000000 --- a/sip/kfile/booktoken.sip +++ /dev/null @@ -1,66 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class BMToken -{ -%TypeHeaderCode -#include <booktoken.h> -%End - - -public: - BMToken (const char*, int); - char* token (); - BMToken* next (); - void setNext (BMToken*); - -}; // class BMToken - - -class BookmarkTokenizer -{ -%TypeHeaderCode -#include <booktoken.h> -%End - - -public: - BookmarkTokenizer (); - void begin (); - void write (const TQString&); - void end (); - char* nextToken (); - bool hasMoreTokens (); - void first (); - -protected: - void reset (); - void appendToken (const char*, int); - -protected: - -}; // class BookmarkTokenizer - diff --git a/sip/kfile/kcombiview.sip b/sip/kfile/kcombiview.sip deleted file mode 100644 index 6e44ab4..0000000 --- a/sip/kfile/kcombiview.sip +++ /dev/null @@ -1,90 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KCombiView : TQSplitter, KFileView -{ -%TypeHeaderCode -#include <kcombiview.h> -%End - - -public: - KCombiView (TQWidget* /TransferThis/, const char*); - virtual TQWidget* widget (); - virtual void clearView (); - virtual void updateView (bool); - virtual void updateView (const KFileItem*); - virtual void removeItem (const KFileItem*); - virtual void listingCompleted (); - void setRight (KFileView*); - virtual void setSelectionMode (KFile::SelectionMode); - virtual void setSelected (const KFileItem*, bool); - virtual bool isSelected (const KFileItem*) const; - virtual void clearSelection (); - virtual void selectAll (); - virtual void invertSelection (); - virtual void setCurrentItem (const KFileItem*); - virtual KFileItem* currentFileItem () const; - virtual KFileItem* firstFileItem () const; - virtual KFileItem* nextItem (const KFileItem*) const; - virtual KFileItem* prevItem (const KFileItem*) const; - virtual void insertItem (KFileItem*); - virtual void clear (); - virtual void setSorting (TQDir::SortSpec); - -%If ( KDE_3_1_0 - ) - virtual void readConfig (TDEConfig*, const TQString& = TQString ::null ); - virtual void writeConfig (TDEConfig*, const TQString& = TQString ::null ); -%End - - void ensureItemVisible (const KFileItem*); - -%If ( KDE_3_1_0 - ) - virtual KActionCollection* actionCollection () const; - -%If ( KDE_3_2_0 - ) - virtual void setAcceptDrops (bool); -%End - -%End - - -protected: - -protected slots: - void slotSortingChanged (TQDir::SortSpec); - -protected: - -%If ( KDE_3_2_0 - ) - virtual bool eventFilter (TQObject*, TQEvent*); - void setDropOptions_impl (int); -%End - -//igx virtual void virtual_hook (int, void*); - -}; // class KCombiView - diff --git a/sip/kfile/kcustommenueditor.sip b/sip/kfile/kcustommenueditor.sip deleted file mode 100644 index 733d7bd..0000000 --- a/sip/kfile/kcustommenueditor.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KCustomMenuEditor : KDialogBase -{ -%TypeHeaderCode -#include <kcustommenueditor.h> -%End - - -public: - KCustomMenuEditor (TQWidget* /TransferThis/); - void load (TDEConfigBase*); - void save (TDEConfigBase*); - -public slots: - void slotNewItem (); - void slotRemoveItem (); - void slotMoveUp (); - void slotMoveDown (); - -%If ( KDE_3_2_0 - ) - void refreshButton (); -%End - - -protected: - -}; // class KCustomMenuEditor - -%End - diff --git a/sip/kfile/kdiroperator.sip b/sip/kfile/kdiroperator.sip deleted file mode 100644 index 31ac0e2..0000000 --- a/sip/kfile/kdiroperator.sip +++ /dev/null @@ -1,205 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDirOperator : TQWidget -{ -%TypeHeaderCode -#include <kdiroperator.h> -%End - - -public: - -%If ( KDE_3_1_0 - ) - - enum ActionTypes - { - SortActions, - ViewActions, - NavActions, - FileActions, - AllActions - }; - -%End - - KDirOperator (const KURL& = KURL (), TQWidget* /TransferThis/ = 0, const char* = 0); - void setShowHiddenFiles (bool); - bool showHiddenFiles () const; - void close (); - -%If ( KDE_3_4_0 - ) - virtual bool close (bool); -%End - - void setNameFilter (const TQString&); - const TQString& nameFilter () const; - -%If ( KDE_3_1_2 - ) - void setMimeFilter (const TQStringList&); - TQStringList mimeFilter () const; - void clearFilter (); -%End - - KURL url () const; - void setURL (const KURL&, bool); - void setCurrentItem (const TQString&); - void setView (KFileView*); - const KFileView* view () const; - TQWidget* viewWidget () const; - void setView (KFile::FileView); - void setSorting (TQDir::SortSpec); - TQDir::SortSpec sorting () const; - bool isRoot () const; - KDirLister* dirLister () const; - KProgress* progressBar () const; - void setMode (KFile::Mode); - KFile::Mode mode () const; - void setPreviewWidget (const TQWidget*); - const KFileItemList* selectedItems () const; - bool isSelected (const KFileItem*) const; - int numDirs () const; - int numFiles () const; - KCompletion* completionObject () const; - KCompletion* dirCompletionObject () const; - KActionCollection* actionCollection () const; - -%If ( KDE_3_1_0 - ) - void setViewConfig (TDEConfig*, const TQString&); - TDEConfig* viewConfig (); - TQString viewConfigGroup () const; -%End - - virtual void readConfig (TDEConfig*, const TQString& = TQString ::null ); - virtual void writeConfig (TDEConfig*, const TQString& = TQString ::null ); - void setOnlyDoubleClickSelectsFiles (bool); - bool onlyDoubleClickSelectsFiles () const; - bool mkdir (const TQString&, bool = 1); - TDEIO::DeleteJob* del (const KFileItemList&, bool = 1, bool = 1) /PyName=del_/; - -%If ( KDE_3_0_3 - ) - TDEIO::DeleteJob* del (const KFileItemList&, TQWidget* /Transfer/, bool = 1, bool = 1) /PyName=del_/; -%End - - void clearHistory (); - void setEnableDirHighlighting (bool); - bool dirHighlighting () const; - bool dirOnlyMode () const; - static bool dirOnlyMode (uint); - -%If ( KDE_3_1_0 - ) - void setupMenu (int); - -%If ( KDE_3_2_0 - ) - virtual void setAcceptDrops (bool); - void setDropOptions (int); - -%If ( KDE_3_4_0 - ) - TDEIO::CopyJob* trash (const KFileItemList&, TQWidget* /Transfer/, bool = 1, bool = 1); -%End - -%End - -%End - - -protected: - virtual KFileView* createView (TQWidget* /Transfer/, KFile::FileView); - void setDirLister (KDirLister*); - -%If ( KDE_3_2_0 - ) - virtual void resizeEvent (TQResizeEvent*); -%End - - void setupActions (); - void updateSortActions (); - void updateViewActions (); - void setupMenu (); - void prepareCompletionObjects (); - bool checkPreviewSupport (); - -public slots: - void back (); - void forward (); - void home (); - void cdUp (); - void updateDir (); - void rereadDir (); - void mkdir (); - void deleteSelected (); - void updateSelectionDependentActions (); - TQString makeCompletion (const TQString&); - TQString makeDirCompletion (const TQString&); - -%If ( KDE_3_4_0 - ) - void trashSelected (KAction::ActivationReason, TQt::ButtonState); -%End - - -protected slots: - void resetCursor (); - void pathChanged (); - void insertNewFiles (const KFileItemList&); - void itemDeleted (KFileItem*); - void selectDir (const KFileItem*); - void selectFile (const KFileItem*); - void highlightFile (const KFileItem*); - virtual void activatedMenu (const KFileItem*, const TQPoint&); - void sortByName (); - void sortBySize (); - void sortByDate (); - void sortReversed (); - void toggleDirsFirst (); - void toggleIgnoreCase (); - void slotCompletionMatch (const TQString&); - -signals: - void urlEntered (const KURL&); - void updateInformation (int, int); - void completion (const TQString&); - void finishedLoading (); - void viewChanged (KFileView*); - void fileHighlighted (const KFileItem*); - void dirActivated (const KFileItem*); - void fileSelected (const KFileItem*); - -%If ( KDE_3_2_0 - ) - void dropped (const KFileItem*, TQDropEvent*, const KURL::List&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_2_0 ) - void resizeEvent (TQResizeEvent*); -%End - - -}; // class KDirOperator - diff --git a/sip/kfile/kdirselectdialog.sip b/sip/kfile/kdirselectdialog.sip deleted file mode 100644 index d464907..0000000 --- a/sip/kfile/kdirselectdialog.sip +++ /dev/null @@ -1,71 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDirSelectDialog : KDialogBase -{ -%TypeHeaderCode -#include <kdirselectdialog.h> -%End - - -public: - KDirSelectDialog (const TQString& = TQString ::null , bool = 0, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - KURL url () const; - KFileTreeView* view () const; - bool localOnly () const; - static KURL selectDirectory (const TQString& = TQString ::null , bool = 0, TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - -%If ( KDE_3_1_0 - ) - TQString startDir () const; -%End - - -public slots: - -%If ( KDE_3_1_0 - ) - void setCurrentURL (const KURL&); -%End - - -protected slots: - -%If ( KDE_3_5_0 - ) - virtual void slotUser1 (); -%End - - -protected: - -%If ( KDE_3_1_0 - ) - virtual void accept (); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KDirSelectDialog - diff --git a/sip/kfile/kdirsize.sip b/sip/kfile/kdirsize.sip deleted file mode 100644 index 2f0a553..0000000 --- a/sip/kfile/kdirsize.sip +++ /dev/null @@ -1,85 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KDirSize : TDEIO::Job -{ -%TypeHeaderCode -#include <kdirsize.h> -%End - - -protected: - KDirSize (const KURL&); - KDirSize (const KFileItemList&); - ~KDirSize (); - -public: - TDEIO::filesize_t totalSize () const; - -%If ( KDE_3_3_0 - ) - TDEIO::filesize_t totalFiles () const; - TDEIO::filesize_t totalSubdirs () const; -%End - - static KDirSize* dirSizeJob (const KURL&); - static KDirSize* dirSizeJob (const KFileItemList&); - -%If ( KDE_3_1_2 - ) - static TDEIO::filesize_t dirSize (const KURL&); -%End - - -protected: - void setSync (); - void startNextJob (const KURL&); - -protected slots: - virtual void slotResult (TDEIO::Job*); - void slotEntries (TDEIO::Job*, const TDEIO::UDSEntryList&); - void processList (); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_0_1 ) -//ig longlong totalSize64 (); -%End - - -%If ( - KDE_3_1_2 ) - static ulong dirSize (const KURL&); - -%If ( - KDE_3_0_1 ) -//ig static longlong dirSize64 (const KURL&); -%End - -%End - - -}; // class KDirSize - diff --git a/sip/kfile/kdiskfreesp.sip b/sip/kfile/kdiskfreesp.sip deleted file mode 100644 index 4e8433b..0000000 --- a/sip/kfile/kdiskfreesp.sip +++ /dev/null @@ -1,49 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KDiskFreeSp : TQObject -{ -%TypeHeaderCode -#include <kdiskfreesp.h> -%End - - -public: - KDiskFreeSp (TQObject* /TransferThis/ = 0, const char* = 0); - int readDF (const TQString&); - static KDiskFreeSp* findUsageInfo (const TQString&); - -signals: - void foundMountPoint (const TQString&, ulong, ulong, ulong); -//ig void foundMountPoint (const ulong&, const ulong&, const ulong&, const TQString&); - void done (); - -}; // class KDiskFreeSp - -%End - diff --git a/sip/kfile/kencodingfiledialog.sip b/sip/kfile/kencodingfiledialog.sip deleted file mode 100644 index 9214b47..0000000 --- a/sip/kfile/kencodingfiledialog.sip +++ /dev/null @@ -1,65 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_2_0 - ) - -class KEncodingFileDialog : KFileDialog -{ -%TypeHeaderCode -#include <kencodingfiledialog.h> -%End - - -public: - - class Result - { - - public: - TQStringList fileNames; - KURL::List URLs; - TQString encoding; - - }; // class Result - - -public: - KEncodingFileDialog (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , KFileDialog::OperationMode = KFileDialog ::Opening , TQWidget* /TransferThis/ = 0, const char* = "", bool = 1); - TQString selectedEncoding () const; - static KEncodingFileDialog::Result getOpenFileNameAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - static KEncodingFileDialog::Result getOpenFileNamesAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - static KEncodingFileDialog::Result getOpenURLAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - static KEncodingFileDialog::Result getOpenURLsAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - static KEncodingFileDialog::Result getSaveFileNameAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - static KEncodingFileDialog::Result getSaveURLAndEncoding (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - -protected: - virtual void virtual_hook (int, void*); - -}; // class KEncodingFileDialog - -%End - diff --git a/sip/kfile/kfile-kde310.diff b/sip/kfile/kfile-kde310.diff deleted file mode 100644 index ddad6d6..0000000 --- a/sip/kfile/kfile-kde310.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/sip/kfile/kfile-kde311.diff b/sip/kfile/kfile-kde311.diff deleted file mode 100644 index ddad6d6..0000000 --- a/sip/kfile/kfile-kde311.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/sip/kfile/kfile-kde312.diff b/sip/kfile/kfile-kde312.diff deleted file mode 100644 index ddad6d6..0000000 --- a/sip/kfile/kfile-kde312.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/sip/kfile/kfile-kde313.diff b/sip/kfile/kfile-kde313.diff deleted file mode 100644 index ddad6d6..0000000 --- a/sip/kfile/kfile-kde313.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/sip/kfile/kfile-kde314.diff b/sip/kfile/kfile-kde314.diff deleted file mode 100644 index ddad6d6..0000000 --- a/sip/kfile/kfile-kde314.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/sip/kfile/kfile-kde315.diff b/sip/kfile/kfile-kde315.diff deleted file mode 100644 index ddad6d6..0000000 --- a/sip/kfile/kfile-kde315.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip diff --git a/sip/kfile/kfile-kde320.diff b/sip/kfile/kfile-kde320.diff deleted file mode 100644 index f5ab9bd..0000000 --- a/sip/kfile/kfile-kde320.diff +++ /dev/null @@ -1,6 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip -+ %Include knotifywidgetbase.sip
\ No newline at end of file diff --git a/sip/kfile/kfile-kde321.diff b/sip/kfile/kfile-kde321.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde321.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde322.diff b/sip/kfile/kfile-kde322.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde322.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde323.diff b/sip/kfile/kfile-kde323.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde323.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde330.diff b/sip/kfile/kfile-kde330.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde330.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde331.diff b/sip/kfile/kfile-kde331.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde331.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde332.diff b/sip/kfile/kfile-kde332.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde332.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde340.diff b/sip/kfile/kfile-kde340.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde340.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde341.diff b/sip/kfile/kfile-kde341.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde341.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde342.diff b/sip/kfile/kfile-kde342.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde342.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde343.diff b/sip/kfile/kfile-kde343.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde343.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde350.diff b/sip/kfile/kfile-kde350.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde350.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde351.diff b/sip/kfile/kfile-kde351.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde351.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde352.diff b/sip/kfile/kfile-kde352.diff deleted file mode 100644 index 81a0603..0000000 --- a/sip/kfile/kfile-kde352.diff +++ /dev/null @@ -1,6 +0,0 @@ -- %Include krecentdirs.sip -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile-kde353.diff b/sip/kfile/kfile-kde353.diff deleted file mode 100644 index 2545aae..0000000 --- a/sip/kfile/kfile-kde353.diff +++ /dev/null @@ -1,5 +0,0 @@ -+ %Include kcustommenueditor.sip -+ %Include kdiskfreesp.sip -+ %Include kencodingfiledialog.sip -+ %Include kfilesharedlg.sip -+ %Include knotifydialog.sip diff --git a/sip/kfile/kfile.sip b/sip/kfile/kfile.sip deleted file mode 100644 index e145655..0000000 --- a/sip/kfile/kfile.sip +++ /dev/null @@ -1,115 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFile -{ -%TypeHeaderCode -#include <kfile.h> -%End - - -public: - -%If ( KDE_3_3_0 - ) - - enum Mode - { - File, - Directory, - Files, - ExistingOnly, - LocalOnly, - ModeMax - }; - - - enum FileView - { - Default, - Simple, - Detail, - SeparateDirs, - PreviewContents, - PreviewInfo, - FileViewMax - }; - -%End - - - enum SelectionMode - { - Single, - Multi, - Extended, - NoSelection - }; - - static bool isSortByName (const TQDir::SortSpec&); - static bool isSortBySize (const TQDir::SortSpec&); - static bool isSortByDate (const TQDir::SortSpec&); - static bool isSortDirsFirst (const TQDir::SortSpec&); - static bool isSortCaseInsensitive (const TQDir::SortSpec&); - static bool isDefaultView (const KFile::FileView&); - static bool isSimpleView (const KFile::FileView&); - static bool isDetailView (const KFile::FileView&); - static bool isSeparateDirs (const KFile::FileView&); - static bool isPreviewContents (const KFile::FileView&); - -%If ( KDE_3_1_0 - ) - static bool isPreviewInfo (const KFile::FileView&); -%End - - -public: - -%If ( - KDE_3_3_0 ) - - enum Mode - { - File, - Directory, - Files, - ExistingOnly, - LocalOnly - }; - - - enum FileView - { - Default, - Simple, - Detail, - SeparateDirs, - PreviewContents, - PreviewInfo - }; - -%End - - -}; // class KFile - diff --git a/sip/kfile/kfilebookmark.sip b/sip/kfile/kfilebookmark.sip deleted file mode 100644 index 59315ab..0000000 --- a/sip/kfile/kfilebookmark.sip +++ /dev/null @@ -1,154 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileBookmark -{ -%TypeHeaderCode -#include <kfilebookmark.h> -%End - - -public: - - enum - { - URL, - Folder - }; - - KFileBookmark (); - KFileBookmark (const TQString&, const TQString&); - void clear (); - void setText (const TQString&); - void setURL (const TQString&); - void setType (int); - const TQString getText (); - const TQString getURL (); - int getType (); - TQPtrList<KFileBookmark>& getChildren (); - -}; // class KFileBookmark - - -class KFileBookmarkManager : TQObject -{ -%TypeHeaderCode -#include <kfilebookmark.h> -%End - - -public: - KFileBookmarkManager (); - void setTitle (const TQString&); - void read (const TQString&); - void write (const TQString&); - void add (const TQString&, const TQString&); - bool remove (int); - bool moveUp (int); - bool moveDown (int); - void reread (); - void rename (int, const TQString&); - void write (); - KFileBookmark* getBookmark (int); - KFileBookmark* getRoot (); - -signals: - void changed (); - -}; // class KFileBookmarkManager - - - -%MappedType TQPtrList<KFileBookmark> -//converts a Python list of KFileBookmark -{ -%TypeHeaderCode -#include <tqptrlist.h> -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - TQPtrList<KFileBookmark> *cpplist = (TQPtrList<KFileBookmark> *)sipCpp; - KFileBookmark *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KFileBookmark, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - TQPtrList<KFileBookmark> *cpplist = new TQPtrList<KFileBookmark>; - - PyObject *elem; - KFileBookmark *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KFileBookmark *)sipForceConvertToType(elem, sipType_KFileBookmark, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; - - diff --git a/sip/kfile/kfiledetailview.sip b/sip/kfile/kfiledetailview.sip deleted file mode 100644 index 0b7e13e..0000000 --- a/sip/kfile/kfiledetailview.sip +++ /dev/null @@ -1,207 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileListViewItem : KListViewItem -{ -%TypeHeaderCode -#include <kfiledetailview.h> -%End - - -public: - KFileListViewItem (TQListView* /TransferThis/, const TQString&, const TQPixmap&, KFileItem*); - -%If ( KDE_3_0_1 - ) - KFileListViewItem (TQListView* /TransferThis/, KFileItem*); -%End - - KFileListViewItem (TQListView* /TransferThis/, const TQString&, const TQPixmap&, KFileItem*, TQListViewItem*); - KFileItem* fileInfo () const; - virtual TQString key (int, bool) const; - void setKey (const TQString&); - TQRect rect () const; - -%If ( KDE_3_0_1 - ) - void init (); -%End - - -}; // class KFileListViewItem - - -class KFileDetailView : KListView, KFileView -{ -%TypeHeaderCode -#include <kfiledetailview.h> -%End - - -public: - KFileDetailView (TQWidget* /TransferThis/, const char*); - virtual TQWidget* widget (); - virtual void clearView (); - virtual void setAutoUpdate (bool); - virtual void setSelectionMode (KFile::SelectionMode); - virtual void updateView (bool); - virtual void updateView (const KFileItem*); - virtual void removeItem (const KFileItem*); - virtual void listingCompleted (); - virtual void setSelected (const KFileItem*, bool); - virtual bool isSelected (const KFileItem*) const; - virtual void clearSelection (); - virtual void selectAll (); - virtual void invertSelection (); - virtual void setCurrentItem (const KFileItem*); - virtual KFileItem* currentFileItem () const; - virtual KFileItem* firstFileItem () const; - virtual KFileItem* nextItem (const KFileItem*) const; - virtual KFileItem* prevItem (const KFileItem*) const; - virtual void insertItem (KFileItem*); - virtual void setSorting (TQDir::SortSpec); - void ensureItemVisible (const KFileItem*); - void mimeTypeDeterminationFinished (); - void determineIcon (KFileListViewItem*); - TQScrollView* scrollWidget () const; - -%If ( KDE_3_2_0 - ) - virtual void readConfig (TDEConfig*, const TQString& = TQString ::null ); - virtual void writeConfig (TDEConfig*, const TQString& = TQString ::null ); -%End - - -signals: - -%If ( KDE_3_2_0 - ) - void dropped (TQDropEvent*, KFileItem*); - void dropped (TQDropEvent*, const KURL::List&, const KURL&); -%End - - -protected: - virtual void keyPressEvent (TQKeyEvent*); - -%If ( KDE_3_2_0 - ) - virtual TQDragObject* dragObject (); - virtual void contentsDragEnterEvent (TQDragEnterEvent*); - virtual void contentsDragMoveEvent (TQDragMoveEvent*); - virtual void contentsDragLeaveEvent (TQDragLeaveEvent*); - virtual void contentsDropEvent (TQDropEvent*); - virtual bool acceptDrag (TQDropEvent*) const; -%End - - -protected slots: - void slotSelectionChanged (); - -protected: -//igx virtual void virtual_hook (int, void*); -//force - -private: - void slotSortingChanged (int); - void selected (TQListViewItem*); - void slotDoubleClicked (TQListViewItem*); - void highlighted (TQListViewItem*); - void rightButtonPressed (TQListViewItem*); - -//force -%ConvertToSubClassCode - // The table of Python class objects indexed by their names. The table - // must be sorted by name. - - static sipStringTypeClassMap map[] = { - {sipName_TDEApplicationPropsPlugin, &sipClass_TDEApplicationPropsPlugin}, - {sipName_TDEApplicationPropsPlugin, &sipClass_TDEApplicationPropsPlugin}, -#if TDE_VERSION < 310 -// {sipName_TDEApplicationTree, &sipClass_TDEApplicationTree}, -#endif - {sipName_KBindingPropsPlugin, &sipClass_KBindingPropsPlugin}, - {sipName_KBindingPropsPlugin, &sipClass_KBindingPropsPlugin}, - {sipName_KCombiView, &sipClass_KCombiView}, -#if TDE_VERSION >= 0x030100 - {sipName_KCustomMenuEditor, &sipClass_KCustomMenuEditor}, -#endif - {sipName_KDevicePropsPlugin, &sipClass_KDevicePropsPlugin}, - {sipName_KDevicePropsPlugin, &sipClass_KDevicePropsPlugin}, - {sipName_KDirOperator, &sipClass_KDirOperator}, - {sipName_KDirSelectDialog, &sipClass_KDirSelectDialog}, - {sipName_KDirSize, &sipClass_KDirSize}, -#if TDE_VERSION >= 0x030100 - {sipName_KDiskFreeSp, &sipClass_KDiskFreeSp}, -#endif - {sipName_KExecPropsPlugin, &sipClass_KExecPropsPlugin}, - {sipName_KExecPropsPlugin, &sipClass_KExecPropsPlugin}, - {sipName_KFileDetailView, &sipClass_KFileDetailView}, - {sipName_KFileDialog, &sipClass_KFileDialog}, - {sipName_KFileFilterCombo, &sipClass_KFileFilterCombo}, - {sipName_KFileIconView, &sipClass_KFileIconView}, - {sipName_KFilePermissionsPropsPlugin,&sipClass_KFilePermissionsPropsPlugin}, - {sipName_KFilePermissionsPropsPlugin,&sipClass_KFilePermissionsPropsPlugin}, - {sipName_KFilePreview, &sipClass_KFilePreview}, - {sipName_KFilePropsPlugin, &sipClass_KFilePropsPlugin}, - {sipName_KFilePropsPlugin, &sipClass_KFilePropsPlugin}, -#if TDE_VERSION >= 0x030100 - {sipName_KFileSharePropsPlugin, &sipClass_KFileSharePropsPlugin}, -#endif - {sipName_KFileTreeBranch, &sipClass_KFileTreeBranch}, - {sipName_KFileTreeView, &sipClass_KFileTreeView}, - {sipName_KFileTreeViewToolTip, &sipClass_KFileTreeViewToolTip}, - {sipName_KFileViewSignaler, &sipClass_KFileViewSignaler}, - {sipName_KIconButton, &sipClass_KIconButton}, - {sipName_KIconCanvas, &sipClass_KIconCanvas}, - {sipName_KIconDialog, &sipClass_KIconDialog}, - {sipName_KImageFilePreview, &sipClass_KImageFilePreview}, -#if TDE_VERSION >= 0x030100 - {sipName_KNotifyDialog, &sipClass_KNotifyDialog}, - {sipName_KNotifyWidget, &sipClass_KNotify_KNotifyWidget}, -#if TDE_VERSION < 0x030200 - {sipName_KNotifyWidgetBase, &sipClass_KNotifyWidgetBase}, -#endif -#endif - {sipName_KOpenWithDlg, &sipClass_KOpenWithDlg}, - {sipName_KPreviewWidgetBase, &sipClass_KPreviewWidgetBase}, - {sipName_KPropertiesDialog, &sipClass_KPropertiesDialog}, - {sipName_KPropertiesDialog, &sipClass_KPropertiesDialog}, - {sipName_KPropsDlgPlugin, &sipClass_KPropsDlgPlugin}, - {sipName_KPropsDlgPlugin, &sipClass_KPropsDlgPlugin}, - {sipName_KURLBar, &sipClass_KURLBar}, - {sipName_KURLBarItem, &sipClass_KURLBarItem}, - {sipName_KURLBarItemDialog, &sipClass_KURLBarItemDialog}, - {sipName_KURLBarListBox, &sipClass_KURLBarListBox}, - {sipName_KURLComboBox, &sipClass_KURLComboBox}, - {sipName_KURLPropsPlugin, &sipClass_KURLPropsPlugin}, - {sipName_KURLPropsPlugin, &sipClass_KURLPropsPlugin}, - {sipName_KURLRequester, &sipClass_KURLRequester}, - {sipName_KURLRequesterDlg, &sipClass_KURLRequesterDlg}, - }; - - sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end -//end - -}; // class KFileDetailView - diff --git a/sip/kfile/kfiledialog.sip b/sip/kfile/kfiledialog.sip deleted file mode 100644 index 9b68e13..0000000 --- a/sip/kfile/kfiledialog.sip +++ /dev/null @@ -1,207 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileDialog : KDialogBase -{ -%TypeHeaderCode -#include <kfiledialog.h> -%End - - -public: - - enum OperationMode - { - Other, - Opening, - Saving - }; - - KFileDialog (const TQString&, const TQString&, TQWidget* /TransferThis/, const char*, bool); - -%If ( KDE_3_1_0 - ) - KFileDialog (const TQString&, const TQString&, TQWidget* /TransferThis/, const char*, bool, TQWidget*); -%End - - KURL selectedURL () const; - KURL::List selectedURLs () const; - KURL baseURL () const; - TQString selectedFile () const; - TQStringList selectedFiles () const; - void setURL (const KURL&, bool = 1); - void setSelection (const TQString&); - void setOperationMode (KFileDialog::OperationMode); - KFileDialog::OperationMode operationMode () const; - void setKeepLocation (bool); - bool keepsLocation () const; - void setFilter (const TQString&); - TQString currentFilter () const; - void setFilterMimeType (const TQString&, const KMimeType::List&, const KMimeType::Ptr&); - KMimeType::Ptr currentFilterMimeType (); - void setMimeFilter (const TQStringList&, const TQString& = TQString ::null ); - TQString currentMimeFilter () const; - void clearFilter (); - void setPreviewWidget (const TQWidget*); - void setPreviewWidget (const KPreviewWidgetBase*); - static TQString getOpenFileName (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - -%If ( KDE_3_4_0 - ) - static TQString getOpenFileNameWId (const TQString&, const TQString&, WId, const TQString&); -%End - - static TQStringList getOpenFileNames (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - static KURL getOpenURL (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - static KURL::List getOpenURLs (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - static TQString getSaveFileName (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - -%If ( KDE_3_4_0 - ) - static TQString getSaveFileNameWId (const TQString&, const TQString&, WId, const TQString&); -%End - - static KURL getSaveURL (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - static TQString getExistingDirectory (const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - -%If ( KDE_3_1_0 - ) - static KURL getExistingURL (const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); -%End - - static KURL getImageOpenURL (const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - virtual void show (); - void setMode (KFile::Mode /Constrained/); - void setMode (uint); - KFile::Mode mode () const; - void setLocationLabel (const TQString&); - KToolBar* toolBar () const; - KPushButton* okButton () const; - KPushButton* cancelButton () const; - -%If ( KDE_3_2_0 - ) - KURLBar* speedBar (); -%End - - KActionCollection* actionCollection () const; - -%If ( KDE_3_1_0 - ) - int pathComboIndex (); - static KURL getStartURL (const TQString&, TQString&); - -%If ( KDE_3_2_0 - ) - static void setStartDir (const KURL&); -%End - -%End - - -signals: - void fileSelected (const TQString&); - void fileHighlighted (const TQString&); - void selectionChanged (); - void filterChanged (const TQString&); - -protected: - -%If ( KDE_3_2_0 - ) - virtual void keyPressEvent (TQKeyEvent*); -%End - - -%If ( KDE_3_1_0 - ) - void init (const TQString&, const TQString&, TQWidget*); -%End - - virtual void initGUI (); - void multiSelectionChanged (); - virtual void readConfig (TDEConfig*, const TQString& = TQString ::null ); - virtual void writeConfig (TDEConfig*, const TQString& = TQString ::null ); - virtual void readRecentFiles (TDEConfig*); - virtual void saveRecentFiles (TDEConfig*); - KURL::List tokenize (const TQString&) const; - -%If ( KDE_3_2_0 - ) - KURL getCompleteURL (const TQString&); - TQString currentFilterExtension (); - void updateAutoSelectExtension (); -%End - - -protected slots: - void urlEntered (const KURL&); - void enterURL (const KURL&); - void enterURL (const TQString&); - void locationActivated (const TQString&); - void toolbarCallback (int); - void pathComboChanged (const TQString&); - void dirCompletion (const TQString&); - void slotFilterChanged (); - void fileHighlighted (const KFileItem*); - void fileSelected (const KFileItem*); - void slotStatResult (TDEIO::Job*); - void slotLoadingFinished (); - void fileCompletion (const TQString&); - -%If ( KDE_3_1_0 - ) - void toggleSpeedbar (bool); - -%If ( KDE_3_4_0 - ) - void toggleBookmarks (bool); -%End - -%End - - virtual void updateStatusLine (int, int); - virtual void slotOk (); - virtual void accept (); - virtual void slotCancel (); - -%If ( KDE_3_2_0 - ) - void slotAutoSelectExtClicked (); -%End - - void addToRecentDocuments (); - -%If ( KDE_3_1_0 - ) - void initSpeedbar (); -%End - - -private: - KFileDialog (const KFileDialog&); - -protected: - KURL::List& parseSelectedURLs () const; - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_2_0 ) -//ig void addDirEntry (KFileItem*, bool); -%End - - -}; // class KFileDialog - diff --git a/sip/kfile/kfilefiltercombo.sip b/sip/kfile/kfilefiltercombo.sip deleted file mode 100644 index 28f43d2..0000000 --- a/sip/kfile/kfilefiltercombo.sip +++ /dev/null @@ -1,58 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileFilterCombo : KComboBox -{ -%TypeHeaderCode -#include <kfilefiltercombo.h> -%End - - -public: - KFileFilterCombo (TQWidget* /TransferThis/ = 0, const char* = 0); - void setFilter (const TQString&); - TQString currentFilter () const; - -%If ( KDE_3_4_0 - ) - void setCurrentFilter (const TQString&); -%End - - void setMimeFilter (const TQStringList&, const TQString&); - bool showsAllTypes () const; - void setDefaultFilter (const TQString&); - TQString defaultFilter () const; - -protected: - virtual bool eventFilter (TQObject*, TQEvent*); - -signals: - void filterChanged (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFileFilterCombo - diff --git a/sip/kfile/kfileiconview.sip b/sip/kfile/kfileiconview.sip deleted file mode 100644 index e7717ae..0000000 --- a/sip/kfile/kfileiconview.sip +++ /dev/null @@ -1,141 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileIconViewItem : KIconViewItem -{ -%TypeHeaderCode -#include <kfileiconview.h> -%End - - -public: - KFileIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPixmap&, KFileItem*); - -%If ( KDE_3_0_1 - ) - KFileIconViewItem (TQIconView* /TransferThis/, KFileItem*); -%End - - KFileItem* fileInfo () const; - -}; // class KFileIconViewItem - - -class KFileIconView : KIconView, KFileView -{ -%TypeHeaderCode -#include <kfileiconview.h> -%End - - -public: - KFileIconView (TQWidget* /TransferThis/, const char*); - virtual TQWidget* widget (); - virtual void clearView (); - virtual void setAutoUpdate (bool); - virtual void updateView (bool); - virtual void updateView (const KFileItem*); - virtual void removeItem (const KFileItem*); - virtual void listingCompleted (); - virtual void insertItem (KFileItem*); - virtual void setSelectionMode (KFile::SelectionMode); - virtual void setSelected (const KFileItem*, bool); - virtual bool isSelected (const KFileItem*) const; - virtual void clearSelection (); - virtual void selectAll (); - virtual void invertSelection (); - virtual void setCurrentItem (const KFileItem*); - virtual KFileItem* currentFileItem () const; - virtual KFileItem* firstFileItem () const; - virtual KFileItem* nextItem (const KFileItem*) const; - virtual KFileItem* prevItem (const KFileItem*) const; - void setIconSize (int); - void setPreviewSize (int); - -%If ( KDE_3_4_0 - ) - void setIgnoreMaximumSize (bool = 1); -%End - - int iconSize () const; - void ensureItemVisible (const KFileItem*); - virtual void setSorting (TQDir::SortSpec); - virtual void readConfig (TDEConfig*, const TQString& = TQString ::null ); - virtual void writeConfig (TDEConfig*, const TQString& = TQString ::null ); - void mimeTypeDeterminationFinished (); - void determineIcon (KFileIconViewItem*); - TQScrollView* scrollWidget () const; - -%If ( KDE_3_2_0 - ) - void setAcceptDrops (bool); -%End - - -public slots: - void showPreviews (); - -%If ( KDE_3_2_0 - ) - void zoomIn (); - void zoomOut (); -%End - - -%If ( KDE_3_1_0 - ) - virtual void arrangeItemsInGrid (bool = 1); -%End - - -protected: - virtual void keyPressEvent (TQKeyEvent*); - virtual void hideEvent (TQHideEvent*); - virtual void showEvent (TQShowEvent*); - -%If ( KDE_3_0_1 - ) - virtual bool eventFilter (TQObject*, TQEvent*); - -%If ( KDE_3_2_0 - ) - virtual TQDragObject* dragObject (); - virtual void contentsDragEnterEvent (TQDragEnterEvent*); - virtual void contentsDragMoveEvent (TQDragMoveEvent*); - virtual void contentsDragLeaveEvent (TQDragLeaveEvent*); - virtual void contentsDropEvent (TQDropEvent*); - bool acceptDrag (TQDropEvent*) const; -%End - -%End - - -signals: - -%If ( KDE_3_2_0 - ) - void dropped (TQDropEvent*, KFileItem*); - void dropped (TQDropEvent*, const KURL::List&, const KURL&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFileIconView - diff --git a/sip/kfile/kfilemod.sip.in b/sip/kfile/kfilemod.sip.in deleted file mode 100644 index 34e1179..0000000 --- a/sip/kfile/kfilemod.sip.in +++ /dev/null @@ -1,63 +0,0 @@ -// -// 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_2 - -%Copying - - 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., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -%End - -%Module kfile - -%Import qt/qtmod.sip -%Import qtxml/qtxmlmod.sip -%Import dcopmod.sip -%Import tdecoremod.sip -%Import tdefxmod.sip -%Import tdeuimod.sip -%Import kiomod.sip - -%Include kcombiview.sip -%Include kdiroperator.sip -%Include kdirselectdialog.sip -%Include kdirsize.sip -%Include kfile.sip -%Include kfiledetailview.sip -%Include kfiledialog.sip -%Include kfilefiltercombo.sip -%Include kfileiconview.sip -%Include kfilepreview.sip -%Include kfiletreebranch.sip -%Include kfiletreeview.sip -%Include kfiletreeviewitem.sip -%Include kfileview.sip -%Include kicondialog.sip -%Include kimagefilepreview.sip -%Include kopenwith.sip -%Include kpreviewwidgetbase.sip -%Include kpropertiesdialog.sip -%Include krecentdocument.sip -%Include kurlbar.sip -%Include kurlcombobox.sip -%Include kurlrequester.sip -%Include kurlrequesterdlg.sip -@mark@ diff --git a/sip/kfile/kfilepreview.sip b/sip/kfile/kfilepreview.sip deleted file mode 100644 index 6d2095e..0000000 --- a/sip/kfile/kfilepreview.sip +++ /dev/null @@ -1,80 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFilePreview : TQSplitter, KFileView -{ -%TypeHeaderCode -#include <kfilepreview.h> -%End - - -public: - KFilePreview (TQWidget* /TransferThis/, const char*); - KFilePreview (KFileView*, TQWidget* /TransferThis/, const char*); - virtual TQWidget* widget (); - virtual void clearView (); - void setFileView (KFileView*); - KFileView* fileView () const; - virtual void updateView (bool); - virtual void updateView (const KFileItem*); - virtual void removeItem (const KFileItem*); - virtual void listingCompleted (); - virtual void setSelectionMode (KFile::SelectionMode); - virtual void setSelected (const KFileItem*, bool); - virtual bool isSelected (const KFileItem*) const; - virtual void clearSelection (); - virtual void selectAll (); - virtual void invertSelection (); - virtual void insertItem (KFileItem*); - virtual void clear (); - virtual void setCurrentItem (const KFileItem*); - virtual KFileItem* currentFileItem () const; - virtual KFileItem* firstFileItem () const; - virtual KFileItem* nextItem (const KFileItem*) const; - virtual KFileItem* prevItem (const KFileItem*) const; - virtual void setSorting (TQDir::SortSpec); - -%If ( KDE_3_1_0 - ) - virtual void readConfig (TDEConfig*, const TQString& = TQString ::null ); - virtual void writeConfig (TDEConfig*, const TQString& = TQString ::null ); -%End - - virtual KActionCollection* actionCollection () const; - void ensureItemVisible (const KFileItem*); - void setPreviewWidget (const TQWidget*, const KURL&); - -protected slots: - virtual void slotHighlighted (const KFileItem*); - -signals: - void showPreview (const KURL&); - void clearPreview (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KFilePreview - diff --git a/sip/kfile/kfilereader.sip b/sip/kfile/kfilereader.sip deleted file mode 100644 index 8f4a5d6..0000000 --- a/sip/kfile/kfilereader.sip +++ /dev/null @@ -1,47 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileReader : KDirLister -{ -%TypeHeaderCode -#include <kfilereader.h> -%End - - -public: - KFileReader (); - KFileReader (const KURL&, const TQString& = TQString::null); - bool isRoot () const; - bool isReadable () const; - -protected: - virtual KFileItem* createFileItem (const TDEIO::UDSEntry&, const KURL&, bool); - -private: - KFileReader (const KFileReader&); - -}; // class KFileReader - diff --git a/sip/kfile/kfilesharedlg.sip b/sip/kfile/kfilesharedlg.sip deleted file mode 100644 index b3d78ff..0000000 --- a/sip/kfile/kfilesharedlg.sip +++ /dev/null @@ -1,53 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KFileSharePropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include <kfilesharedlg.h> -%End - - -public: - KFileSharePropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (const KFileItemList&); - TQWidget* page () const; - -protected slots: - void slotConfigureFileSharing (); - -%If ( KDE_3_4_0 - ) - void slotConfigureFileSharingDone (); -%End - - -}; // class KFileSharePropsPlugin - -%End - diff --git a/sip/kfile/kfiletreebranch.sip b/sip/kfile/kfiletreebranch.sip deleted file mode 100644 index 15c9d47..0000000 --- a/sip/kfile/kfiletreebranch.sip +++ /dev/null @@ -1,233 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileTreeBranch : KDirLister -{ -%TypeHeaderCode -#include <kfiletreebranch.h> -%End - - -public: - KFileTreeBranch (KFileTreeView*, const KURL&, const TQString&, const TQPixmap&, bool = 0, KFileTreeViewItem* = 0); - KURL rootUrl () const; - virtual void setRoot (KFileTreeViewItem*); - KFileTreeViewItem* root (); - TQString name () const; - virtual void setName (const TQString); - const TQPixmap& pixmap (); - const TQPixmap& openPixmap (); - bool showExtensions () const; - void setOpen (bool = 1); - void setChildRecurse (bool = 1); - bool childRecurse (); - -public slots: - virtual bool populate (const KURL&, KFileTreeViewItem*); - virtual void setShowExtensions (bool = 1); - void setOpenPixmap (const TQPixmap&); - -protected: - virtual KFileTreeViewItem* createTreeViewItem (KFileTreeViewItem* /Transfer/, KFileItem*); - -public: - -%If ( KDE_3_1_0 - ) - virtual KFileTreeViewItem* findTVIByURL (const KURL&); -%End - - -signals: - void populateFinished (KFileTreeViewItem*); - void newTreeViewItems (KFileTreeBranch*, KFileTreeViewItemList&); - void directoryChildCount (KFileTreeViewItem*, int); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_1_0 ) - virtual KFileTreeViewItem* findTVIByURL (const KURL&); -%End - - -}; // class KFileTreeBranch - -typedef TQPtrList<KFileTreeBranch> KFileTreeBranchList; -//ig typedef TQPtrListIterator<KFileTreeBranch> KFileTreeBranchIterator; - - -%MappedType TQPtrList<KFileTreeViewItem> -//converts a Python list of KFileTreeViewItem -{ -%TypeHeaderCode -#include <kfiletreeviewitem.h> -typedef TQPtrList<KFileTreeViewItem> KFileTreeViewItemList; -%End - -%ConvertFromTypeCode - // Convert to a Python list of KFileTreeViewItem - - if (!sipCpp) - return PyList_New(0); - - PyObject *ftvilist; - - // Create the list - - if ((ftvilist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - TQPtrList<KFileTreeViewItem> *cList = (TQPtrList<KFileTreeViewItem> *)sipCpp; - PyObject *item; - KFileTreeViewItem *ftvi; - - for( ftvi = cList->first(); ftvi; ftvi = cList->next ()) - { - item = sipConvertFromInstance (ftvi, sipClass_KFileTreeViewItem, sipTransferObj); - if ((item == NULL) || (PyList_Append (ftvilist, item) < 0)) - { - Py_XDECREF (item); - Py_DECREF (ftvilist); - return NULL; - } - } - - return ftvilist; -%End - -%ConvertToTypeCode - // Convert a Python list to a KFileTreeViewItemList on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - TQPtrList<KFileTreeViewItem> *cList = new TQPtrList<KFileTreeViewItem>; - - PyObject *elem; - int iserr = 0; - KFileTreeViewItem *ftvi; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - ftvi = (KFileTreeViewItem *)sipForceConvertToType(elem, sipType_KFileTreeViewItem, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cList; - return 0; - } - - cList->append (ftvi); - } - - *sipCppPtr = cList; - - return 1; -%End -}; - - -%MappedType TQPtrList<KFileTreeBranch> -//converts a Python list of KFileTreeBranch -{ -%TypeHeaderCode -#include <kfiletreebranch.h> -//typedef TQPtrList<KFileTreeBranch> KFileTreeBList; -%End - -%ConvertFromTypeCode - // Convert to a Python list of KFileTreeBranch - - if (!sipCpp) - return PyList_New(0); - - PyObject *ftblist; - - // Create the list - - if ((ftblist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - TQPtrList<KFileTreeBranch> *cList = (TQPtrList<KFileTreeBranch> *)sipCpp; - PyObject *item; - KFileTreeBranch *ftb; - - for( ftb = cList->first(); ftb; ftb = cList->next ()) - { - item = sipConvertFromInstance (ftb, sipClass_KFileTreeBranch, sipTransferObj); - if ((item == NULL) || (PyList_Append (ftblist, item) < 0)) - { - Py_XDECREF (item); - Py_DECREF (ftblist); - return NULL; - } - } - - return ftblist; -%End - -%ConvertToTypeCode - // Convert a Python list to a KFileTreeBranchList on the heap. - - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - TQPtrList<KFileTreeBranch> *cList = new TQPtrList<KFileTreeBranch>; - - PyObject *elem; - int iserr = 0; - KFileTreeBranch *ftb; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - ftb = (KFileTreeBranch *)sipForceConvertToType(elem, sipType_KFileTreeBranch, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cList; - return 0; - } - - cList->append (ftb); - } - - *sipCppPtr = cList; - - return 1; -%End -}; - - diff --git a/sip/kfile/kfiletreeview.sip b/sip/kfile/kfiletreeview.sip deleted file mode 100644 index d89e59a..0000000 --- a/sip/kfile/kfiletreeview.sip +++ /dev/null @@ -1,109 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileTreeViewToolTip : TQToolTip -{ -%TypeHeaderCode -#include <kfiletreeview.h> -%End - - -public: - KFileTreeViewToolTip (TQListView*); - -protected: - virtual void maybeTip (const TQPoint&); - -}; // class KFileTreeViewToolTip - - -class KFileTreeView : KListView -{ -%TypeHeaderCode -#include <kfiletreeview.h> -%End - - -public: - KFileTreeView (TQWidget* /TransferThis/, const char* = 0); - KFileTreeViewItem* currentKFileTreeViewItem () const; - KURL currentURL () const; - KFileTreeBranch* addBranch (const KURL&, const TQString&, bool = 0); - virtual KFileTreeBranch* addBranch (const KURL&, const TQString&, const TQPixmap&, bool = 0); - virtual KFileTreeBranch* addBranch (KFileTreeBranch*); - virtual bool removeBranch (KFileTreeBranch*); - KFileTreeBranch* branch (const TQString&); - KFileTreeBranchList& branches (); - virtual void setDirOnlyMode (KFileTreeBranch*, bool); - KFileTreeViewItem* findItem (KFileTreeBranch*, const TQString&); - KFileTreeViewItem* findItem (const TQString&, const TQString&); - bool showFolderOpenPixmap () const; - -public slots: - virtual void setShowFolderOpenPixmap (bool = 1); - -protected: - virtual bool acceptDrag (TQDropEvent*) const; - virtual TQDragObject* dragObject (); - virtual void startAnimation (KFileTreeViewItem*, const char* = "kde", uint = 6); - virtual void stopAnimation (KFileTreeViewItem*); - virtual void contentsDragEnterEvent (TQDragEnterEvent*); - virtual void contentsDragMoveEvent (TQDragMoveEvent*); - virtual void contentsDragLeaveEvent (TQDragLeaveEvent*); - virtual void contentsDropEvent (TQDropEvent*); - -protected slots: - virtual void slotNewTreeViewItems (KFileTreeBranch*, KFileTreeViewItemList&); - virtual void slotSetNextUrlToSelect (const KURL&); - virtual TQPixmap itemIcon (KFileTreeViewItem*, int = 0) const; - -signals: - void onItem (const TQString&); - void dropped (TQWidget*, TQDropEvent*); - void dropped (TQWidget*, TQDropEvent*, KURL::List&); - void dropped (KURL::List&, KURL&); - -%If ( KDE_3_2_0 - ) - void dropped (TQWidget*, TQDropEvent*, KURL::List&, KURL&); -%End - - void dropped (TQDropEvent*, TQListViewItem*); - void dropped (KFileTreeView*, TQDropEvent*, TQListViewItem*); - void dropped (TQDropEvent*, TQListViewItem*, TQListViewItem*); - void dropped (KFileTreeView*, TQDropEvent*, TQListViewItem*, TQListViewItem*); - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); -//force - -private: - void slotOnItem (TQListViewItem*); -//end - -}; // class KFileTreeView - diff --git a/sip/kfile/kfiletreeviewitem.sip b/sip/kfile/kfiletreeviewitem.sip deleted file mode 100644 index 1d52d86..0000000 --- a/sip/kfile/kfiletreeviewitem.sip +++ /dev/null @@ -1,48 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileTreeViewItem : KListViewItem -{ -%TypeHeaderCode -#include <kfiletreeviewitem.h> -%End - - -public: - KFileTreeViewItem (KFileTreeViewItem*, KFileItem*, KFileTreeBranch*); - KFileTreeViewItem (KFileTreeView*, KFileItem*, KFileTreeBranch*); - KFileTreeBranch* branch () const; - KFileItem* fileItem () const; - TQString path () const; - KURL url () const; - bool isDir () const; - bool alreadyListed () const; - void setListed (bool); - -}; // class KFileTreeViewItem - -typedef TQPtrList<KFileTreeViewItem> KFileTreeViewItemList; -//ig typedef TQPtrListIterator<KFileTreeViewItem> KFileTreeViewItemListIterator; diff --git a/sip/kfile/kfileview.sip b/sip/kfile/kfileview.sip deleted file mode 100644 index b29fe7e..0000000 --- a/sip/kfile/kfileview.sip +++ /dev/null @@ -1,153 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileViewSignaler : TQObject -{ -%TypeHeaderCode -#include <kfileview.h> -%End - - -public: - void activate (const KFileItem*); - void highlightFile (const KFileItem*); - void activateMenu (const KFileItem*, const TQPoint&); - void changeSorting (TQDir::SortSpec); - -%If ( KDE_3_2_0 - ) - void dropURLs (const KFileItem*, TQDropEvent*, const KURL::List&); -%End - - -signals: - void dirActivated (const KFileItem*); - void sortingChanged (TQDir::SortSpec); - void fileHighlighted (const KFileItem*); - void fileSelected (const KFileItem*); - void activatedMenu (const KFileItem*, const TQPoint&); - -%If ( KDE_3_2_0 - ) - void dropped (const KFileItem*, TQDropEvent*, const KURL::List&); -%End - - -}; // class KFileViewSignaler - - -class KFileView -{ -%TypeHeaderCode -#include <kfileview.h> -%End - - -public: - KFileView (); - void addItemList (const KFileItemList&); - virtual TQWidget* widget () = 0; -//ig TQWidget* widget () const; - void setCurrentItem (const TQString&); - virtual void setCurrentItem (const KFileItem*) = 0; - virtual KFileItem* currentFileItem () const = 0; - virtual void clear (); - virtual void updateView (bool = 1); - virtual void updateView (const KFileItem*); - virtual void removeItem (const KFileItem*); - virtual void listingCompleted (); - TQDir::SortSpec sorting () const; - virtual void setSorting (TQDir::SortSpec); - bool isReversed () const; - void sortReversed (); - uint count () const; - uint numFiles () const; - uint numDirs () const; - virtual void setSelectionMode (KFile::SelectionMode); - virtual KFile::SelectionMode selectionMode () const; - - enum ViewMode - { - Files, - Directories, - All - }; - - virtual void setViewMode (KFileView::ViewMode); - virtual ViewMode viewMode () const; - TQString viewName (); - void setViewName (const TQString&); - virtual void setParentView (KFileView* /Transfer/); - virtual void insertItem (KFileItem*); - virtual void clearView () = 0; - virtual void ensureItemVisible (const KFileItem*) = 0; - virtual void clearSelection () = 0; - virtual void selectAll (); - virtual void invertSelection (); - virtual void setSelected (const KFileItem*, bool) = 0; - virtual bool isSelected (const KFileItem*) const = 0; - const KFileItemList* selectedItems () const; - const KFileItemList* items () const; - virtual KFileItem* firstFileItem () const = 0; - virtual KFileItem* nextItem (const KFileItem*) const = 0; - virtual KFileItem* prevItem (const KFileItem*) const = 0; - void setOnlyDoubleClickSelectsFiles (bool); - bool onlyDoubleClickSelectsFiles () const; - bool updateNumbers (const KFileItem*); - virtual KActionCollection* actionCollection () const; - KFileViewSignaler* signaler () const; - virtual void readConfig (TDEConfig*, const TQString& = TQString ::null ); - virtual void writeConfig (TDEConfig*, const TQString& = TQString ::null ); - -%If ( KDE_3_2_0 - ) - - enum DropOptions - { - AutoOpenDirs - }; - - void setDropOptions (int); - int dropOptions (); -%End - - static TQString sortingKey (const TQString&, bool, int); - static TQString sortingKey (TDEIO::filesize_t, bool, int); - -%If ( KDE_3_2_0 - ) - static int autoOpenDelay (); -%End - - -protected: - -protected: -//igx virtual void virtual_hook (int, void*); - -%If ( KDE_3_2_0 - ) - void setDropOptions_impl (int); -%End - - -}; // class KFileView - diff --git a/sip/kfile/kfileviewitem.sip b/sip/kfile/kfileviewitem.sip deleted file mode 100644 index 4193b3a..0000000 --- a/sip/kfile/kfileviewitem.sip +++ /dev/null @@ -1,58 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KFileViewItem : KFileItem -{ -%TypeHeaderCode -#include <kfileviewitem.h> -%End - - -public: - KFileViewItem (const KURL&, const TDEIO::UDSEntry&); - KFileViewItem (mode_t, mode_t, const KURL&, bool); - KFileViewItem (const KFileViewItem&); - bool isFile () const; - TQString urlString () const; - TQPixmap pixmap (int, int = 0) const; - TQPixmap pixmap () const; - TQString date () const; - TQString access () const; - void setViewItem (const KFileView*, const void*); -//ig const void* viewItem (const KFileView*) const; - static TQString dateTime (time_t); - KFileViewItem* next () const; - void setNext (KFileViewItem*); - -protected: - TQString parsePermissions (mode_t) const; - -}; // class KFileViewItem - -//ig typedef TQList<KFileViewItem> KFileViewItemList; -//ig typedef TQListIterator<KFileViewItem> KFileViewItemListIterator; - - diff --git a/sip/kfile/kicondialog.sip b/sip/kfile/kicondialog.sip deleted file mode 100644 index 819bac2..0000000 --- a/sip/kfile/kicondialog.sip +++ /dev/null @@ -1,131 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KIconCanvas : KIconView -{ -%TypeHeaderCode -#include <kicondialog.h> -%End - - -public: - KIconCanvas (TQWidget* /TransferThis/ = 0, const char* = 0); - void loadFiles (const TQStringList&); - TQString getCurrent (); - -public slots: - void stopLoading (); - -signals: -//ig void nameChanged (TQString); - void startLoading (int); - void progress (int); - void finished (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KIconCanvas - - -class KIconDialog : KDialogBase -{ -%TypeHeaderCode -#include <kicondialog.h> -%End - - -public: - KIconDialog (TQWidget* /TransferThis/ = 0, const char* = 0); - KIconDialog (KIconLoader*, TQWidget* /TransferThis/ = 0, const char* = 0); - void setStrictIconSize (bool); - bool strictIconSize () const; - -%If ( KDE_3_1_0 - ) - void setCustomLocation (const TQString&); -%End - - void setIconSize (int); - int iconSize () const; - TQString selectIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0); - void setup (KIcon::Group, KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0); - -%If ( KDE_3_3_0 - ) - void setup (KIcon::Group, KIcon::Context, bool, int, bool, bool, bool); -%End - - TQString openDialog (); - -%If ( KDE_3_2_0 - ) - void showDialog (); -%End - - static TQString getIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0, TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - -signals: - -%If ( KDE_3_2_0 - ) - void newIconName (const TQString&); -%End - - -protected slots: - -%If ( KDE_3_2_0 - ) - void slotOk (); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KIconDialog - - -class KIconButton : TQPushButton -{ -%TypeHeaderCode -#include <kicondialog.h> -%End - - -public: - KIconButton (TQWidget* /TransferThis/ = 0, const char* = 0); - KIconButton (KIconLoader*, TQWidget* /TransferThis/, const char* = 0); - void setStrictIconSize (bool); - bool strictIconSize () const; - void setIconType (KIcon::Group, KIcon::Context, bool = 0); - void setIcon (const TQString&); - void resetIcon (); - const TQString icon (); - void setIconSize (int); - int iconSize () const; - -signals: -//ig void iconChanged (TQString); - -}; // class KIconButton - diff --git a/sip/kfile/kimagefilepreview.sip b/sip/kfile/kimagefilepreview.sip deleted file mode 100644 index 808b307..0000000 --- a/sip/kfile/kimagefilepreview.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KImageFilePreview : KPreviewWidgetBase -{ -%TypeHeaderCode -#include <jobclasses.h> -#include <kimagefilepreview.h> -%End - - -public: - KImageFilePreview (TQWidget* /TransferThis/); - virtual TQSize sizeHint () const; - -public slots: - virtual void showPreview (const KURL&); - virtual void clearPreview (); - -protected slots: - void showPreview (); - void showPreview (const KURL&, bool); - void toggleAuto (bool); - virtual void gotPreview (const KFileItem*, const TQPixmap&); - -protected: - virtual void resizeEvent (TQResizeEvent*); - virtual TDEIO::PreviewJob* createJob (const KURL&, int, int); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KImageFilePreview - diff --git a/sip/kfile/knotifydialog.sip b/sip/kfile/knotifydialog.sip deleted file mode 100644 index ad16340..0000000 --- a/sip/kfile/knotifydialog.sip +++ /dev/null @@ -1,314 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - ) - -class KNotifyDialog : KDialogBase -{ -%TypeHeaderCode -#include <knotifydialog.h> -%End - - -public: - KNotifyDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const TDEAboutData* = 0); -%MethodCode -//takes parent | (TQWidget = 0) | name | (char = 0) | modal | (bool = 1) | aboutData | (TDEAboutData = see note) -//doc -// The default value for aboutData in C++ is TDEGlobal::instance()->aboutData() -// which sip is unable to parse. Since it's the last arg in the list, it has -// to have a default value, and since the C++ code will fail if the default -// value really is zero, the sip code silently substitutes the real default -// value for a default value of 0 supplied from Python. -//end - - if (a3 == 0) - a3 = (TDEAboutData *)TDEGlobal::instance ()->aboutData (); - - Py_BEGIN_ALLOW_THREADS - sipCpp = new sipKNotifyDialog (a0, a1, a2, a3); - Py_END_ALLOW_THREADS -%End - - static int configure (TQWidget* /Transfer/ = 0, const char* = 0, const TDEAboutData* = 0); -%MethodCode -//returns (int) -//takes parent | (TQWidget = 0) | name | (a Python string = "") | aboutData | (TDEAboutData = see note) -//doc -// The default value for aboutData in C++ is TDEGlobal::instance()->aboutData() -// which sip is unable to parse. Since it's the last arg in the list, it has -// to have a default value, and since the C++ code will fail if the default -// value really is zero, the sip code silently substitutes the real default -// value for a default value of 0 supplied from Python. -//end - - if (a2 == 0) - a2 = (TDEAboutData *)TDEGlobal::instance ()->aboutData (); - - Py_BEGIN_ALLOW_THREADS - sipRes = KNotifyDialog::configure (a0, a1, a2); - Py_END_ALLOW_THREADS -%End - - virtual void addApplicationEvents (const char*); - virtual void addApplicationEvents (const TQString&); - virtual void clearApplicationEvents (); - -}; // class KNotifyDialog - -%End - - -%If ( KDE_3_1_0 - ) -namespace KNotify -{ -typedef TQPtrList<KNotify::Event> EventList; -//ig typedef TQPtrListIterator<KNotify::Application> ApplicationListIterator; -//ig typedef TQPtrListIterator<KNotify::Event> EventListIterator; - -class Application -{ -%TypeHeaderCode -#include <knotifydialog.h> -%End - - -public: - Application (const TQString&); - TQString text () const; - TQString icon () const; - const KNotify::EventList& eventList (); - void reloadEvents (bool = 0); - void save (); - TQString appName () const; - -}; // class Application - - -%If ( KDE_3_2_0 - ) - -//ig class KNotifyWidget : KNotifyWidgetBase; - -%End - - -class Event -{ -%TypeHeaderCode -#include <knotifydialog.h> -%End - - -public: - TQString text () const; - int presentation; - int dontShow; - TQString logfile; - TQString soundfile; - TQString commandline; - const KNotify::Application* application () const; - -private: - Event (const KNotify::Application*); - -}; // class Event - - -//ig class ListViewItem : TQListViewItem; - - -%If ( - KDE_3_2_0 ) - -class KNotifyWidget : KNotifyWidgetBase -{ -%TypeHeaderCode -#include <knotifywidgetbase.h> -#include <knotifydialog.h> -%End - - -public: - KNotifyWidget (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - KListView* eventsView (); - void addVisibleApp (KNotify::Application*); - KNotify::Application* addApplicationEvents (const TQString&); - void resetDefaults (bool); - void sort (bool = 1); - -public slots: - virtual void clear (); - virtual void clearVisible (); - virtual void save (); - virtual void showAdvanced (bool); - void toggleAdvanced (); - -signals: - void changed (bool); - -protected: - KNotify::Event* currentEvent (); - virtual void showEvent (TQShowEvent*); - virtual void enableAll (int, bool); - void reload (bool = 0); - -protected slots: - void playSound (); - -public: - SIP_PYLIST visibleApps (); -%MethodCode -//returns (a Python list of KNotify.Application) - TQPtrList<KNotify::Application> applist; - - Py_BEGIN_ALLOW_THREADS - applist = sipCpp->visibleApps (); - Py_END_ALLOW_THREADS - - KNotify::Application *app; - PyObject *inst; - - for (app = applist.first (); app != 0; app = applist.next () ) - { - inst = sipConvertFromInstance (app, sipClass_KNotify_Application, NULL); - PyList_Append (sipRes, inst); - } -%End - - SIP_PYLIST allApps (); -%MethodCode -//returns (a Python list of KNotify.Application) - TQPtrList<KNotify::Application> applist; - - Py_BEGIN_ALLOW_THREADS - applist = sipCpp->allApps (); - Py_END_ALLOW_THREADS - - KNotify::Application *app; - PyObject *inst; - - for(app = applist.first (); app != 0; app = applist.next () ) - { - inst = sipConvertFromInstance (app, sipClass_KNotify_Application, NULL); - PyList_Append (sipRes, inst); - } -%End - - -}; // class KNotifyWidget - -%End - -//force - -class ApplicationList -{ -%TypeHeaderCode -#include <knotifydialog.h> -%End - - -}; // class ApplicationList - -//end -}; // namespace KNotify - -%End - - - -%If (KDE_3_1_0 - ) -%MappedType TQPtrList<KNotify::Event> -//converts a Python list of KNotify.Event -{ -%TypeHeaderCode -#include <tqptrlist.h> -#include <knotifydialog.h> -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New (0); - - PyObject *pylist; - - // Create the list - - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - // Get it. - - TQPtrList<KNotify::Event> *cpplist = (TQPtrList<KNotify::Event> *)sipCpp; - KNotify::Event *cpp; - PyObject *inst; - - // the loop depends on the type of iterator the tmeplate makes available - for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) - { - if (((inst = sipConvertFromInstance (cpp, sipClass_KNotify_Event, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - TQPtrList<KNotify::Event> *cpplist = new TQPtrList<KNotify::Event>; - - PyObject *elem; - KNotify::Event *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KNotify::Event *)sipForceConvertToType(elem, sipType_KNotify_Event, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/sip/kfile/knotifywidgetbase.sip b/sip/kfile/knotifywidgetbase.sip deleted file mode 100644 index f83b853..0000000 --- a/sip/kfile/knotifywidgetbase.sip +++ /dev/null @@ -1,64 +0,0 @@ -// -// 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_4 - - -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -%If ( KDE_3_1_0 - KDE_3_2_0 ) - -class KNotifyWidgetBase : TQWidget -{ -%TypeHeaderCode -#include <knotifywidgetbase.h> -%End - - -public: - KNotifyWidgetBase (TQWidget*/TransferThis/ = 0, const char* = 0, WFlags = 0); - KListView* m_listview; - TQGroupBox* m_actionsBox; - KURLRequester* m_logfilePath; - KURLRequester* m_soundPath; - TQCheckBox* m_logToFile; - KURLRequester* m_executePath; - TQCheckBox* m_playSound; - TQPushButton* m_playButton; - TQCheckBox* m_execute; - TQCheckBox* m_messageBox; - TQCheckBox* m_passivePopup; - TQCheckBox* m_stderr; - TQGroupBox* m_controlsBox; - TQCheckBox* m_affectAllApps; - TQPushButton* m_buttonDisable; - TQPushButton* m_buttonEnable; - KComboBox* m_comboEnable; - KComboBox* m_comboDisable; - TQPushButton* m_extension; - TQPushButton* m_playerButton; - -protected: - -}; // class KNotifyWidgetBase - -%End - diff --git a/sip/kfile/kopenwith.sip b/sip/kfile/kopenwith.sip deleted file mode 100644 index 840186d..0000000 --- a/sip/kfile/kopenwith.sip +++ /dev/null @@ -1,146 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KOpenWithDlg : TQDialog -{ -%TypeHeaderCode -#include <kopenwith.h> -%End - - -public: - KOpenWithDlg (const KURL::List&, TQWidget* /TransferThis/ = 0); - KOpenWithDlg (const KURL::List&, const TQString&, const TQString&, TQWidget* /TransferThis/ = 0); - KOpenWithDlg (const TQString&, const TQString&, TQWidget* /TransferThis/ = 0); - -%If ( KDE_3_1_0 - ) - KOpenWithDlg (TQWidget* /TransferThis/ = 0); -%End - - TQString text (); - -%If ( KDE_3_2_0 - ) - void hideNoCloseOnExit (); - void hideRunInTerminal (); -%End - - KService::Ptr service (); - -%If ( KDE_3_2_0 - ) - void setSaveNewApplications (bool); -%End - - -public slots: - void slotClear (); - void slotSelected (const TQString&, const TQString&); - void slotHighlighted (const TQString&, const TQString&); - void slotTextChanged (); - void slotTerminalToggled (bool); - void slotDbClick (); - void slotOK (); - -protected slots: - virtual void accept (); - -protected: - void setServiceType (const KURL::List&); - void init (const TQString&, const TQString&); - -}; // class KOpenWithDlg - - -class KFileOpenWithHandler : KOpenWithHandler -{ -%TypeHeaderCode -#include <kopenwith.h> -%End - - -public: - KFileOpenWithHandler (); - virtual bool displayOpenWithDialog (const KURL::List&); - -}; // class KFileOpenWithHandler - - -%If ( - KDE_3_1_0 ) - -class KAppTreeListItem : TQListViewItem -{ -%TypeHeaderCode -#include <kopenwith.h> -%End - - -protected: - TQString key (int, bool) const; - void init (const TQPixmap&, bool, bool, TQString, TQString); - -public: - KAppTreeListItem (KListView* /TransferThis/, const TQString&, const TQPixmap&, bool, bool, TQString, TQString); - KAppTreeListItem (TQListViewItem* /TransferThis/, const TQString&, const TQPixmap&, bool, bool, TQString, TQString); - bool isDirectory (); - -protected: - virtual void activate (); - virtual void setOpen (bool); - -}; // class KAppTreeListItem - -%End - - -%If ( - KDE_3_1_0 ) - -class TDEApplicationTree : KListView -{ -%TypeHeaderCode -#include <kopenwith.h> -%End - - -public: - TDEApplicationTree (TQWidget* /TransferThis/); - void addDesktopGroup (TQString, KAppTreeListItem* = 0); - KAppTreeListItem* it; - bool isDirSel (); - -protected: - void resizeEvent (TQResizeEvent*); - -public slots: - void slotItemHighlighted (TQListViewItem*); - void slotSelectionChanged (TQListViewItem*); - -signals: - void selected (const TQString&, const TQString&); - void highlighted (const TQString&, const TQString&); - -}; // class TDEApplicationTree - -%End - diff --git a/sip/kfile/kpreviewwidgetbase.sip b/sip/kfile/kpreviewwidgetbase.sip deleted file mode 100644 index cb44f70..0000000 --- a/sip/kfile/kpreviewwidgetbase.sip +++ /dev/null @@ -1,57 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPreviewWidgetBase : TQWidget -{ -%TypeHeaderCode -#include <kpreviewwidgetbase.h> -%End - - -public: - KPreviewWidgetBase (TQWidget* /TransferThis/, const char* = 0); - -public slots: - virtual void showPreview (const KURL&) = 0; - virtual void clearPreview () = 0; - -%If ( KDE_3_2_0 - ) - TQStringList supportedMimeTypes () const; -%End - - -protected: - -%If ( KDE_3_2_0 - ) - void setSupportedMimeTypes (const TQStringList&); -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KPreviewWidgetBase - diff --git a/sip/kfile/kpropertiesdialog.sip b/sip/kfile/kpropertiesdialog.sip deleted file mode 100644 index 5229058..0000000 --- a/sip/kfile/kpropertiesdialog.sip +++ /dev/null @@ -1,304 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPropertiesDialog : KDialogBase -{ -%TypeHeaderCode -#include <kpropertiesdialog.h> -%End - - -public: - static bool canDisplay (KFileItemList); - KPropertiesDialog (KFileItem*, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (KFileItemList, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const KURL&, mode_t, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const KURL&, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const KURL&, const KURL&, const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - -%If ( KDE_3_4_0 - ) - static bool showDialog (KFileItem*, TQWidget* /Transfer/ = 0, const char* = 0, bool = 0); - static bool showDialog (const KURL&, TQWidget* /Transfer/ = 0, const char* = 0, bool = 0); - static bool showDialog (const KFileItemList&, TQWidget* /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 TQString& defaultName () const; - void updateUrl (const KURL&); - void rename (const TQString&); - void abortApplying (); - -%If ( KDE_3_1_0 - ) - void showFileSharingPage (); - -%If ( KDE_3_3_0 - ) - void setFileSharingPage (TQWidget*); -%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 : TQObject -{ -%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 (TDEIO::Job*); - void slotFileRenamed (TDEIO::Job*, const KURL&, const KURL&); - -%If ( KDE_3_2_0 - ) - void slotDirSizeUpdate (); -%End - - void slotDirSizeFinished (TDEIO::Job*); - void slotFoundMountPoint (const TQString&, 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 TDEApplicationPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include <kpropertiesdialog.h> -%End - - -public: - TDEApplicationPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -public slots: - void slotDelExtension (); - void slotAddExtension (); - -}; // class TDEApplicationPropsPlugin - diff --git a/sip/kfile/kpropsdlg.sip b/sip/kfile/kpropsdlg.sip deleted file mode 100644 index 81d697f..0000000 --- a/sip/kfile/kpropsdlg.sip +++ /dev/null @@ -1,208 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KPropertiesDialog : KDialogBase -{ -%TypeHeaderCode -#include <kpropsdlg.h> -%End - - -public: - static bool canDisplay (KFileItemList); - KPropertiesDialog (KFileItem*, TQWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (KFileItemList, TQWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const KURL&, mode_t = -1, TQWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const KURL&, const KURL&, const TQString&, TQWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1); - KPropertiesDialog (const TQString&, TQWidget*/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 TQString& defaultName () const; - void updateUrl (const KURL&); - void rename (const TQString&); - void abortApplying (); - -public slots: - virtual void slotOk (); - virtual void slotCancel (); - -signals: - void propertiesClosed (); - void applied (); - void canceled (); - -}; // class KPropertiesDialog - - -class KPropsDlgPlugin : TQObject -{ -%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 (TDEIO::Job*); - void slotFileRenamed (TDEIO::Job*, const KURL&, const KURL&); - void slotDirSizeFinished (TDEIO::Job*); - void slotFoundMountPoint (const TQString&, 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 TDEApplicationPropsPlugin : KPropsDlgPlugin -{ -%TypeHeaderCode -#include <kpropsdlg.h> -%End - - -public: - TDEApplicationPropsPlugin (KPropertiesDialog*); - virtual void applyChanges (); - static bool supports (KFileItemList); - -public slots: - void slotDelExtension (); - void slotAddExtension (); - -}; // class TDEApplicationPropsPlugin - - -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 - diff --git a/sip/kfile/krecentdirs.sip b/sip/kfile/krecentdirs.sip deleted file mode 100644 index 31fed75..0000000 --- a/sip/kfile/krecentdirs.sip +++ /dev/null @@ -1,40 +0,0 @@ -// -// 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_0 - - -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRecentDirs -{ -%TypeHeaderCode -#include <krecentdirs.h> -%End - - -public: - static TQStringList list (const TQString&); - static TQString dir (const TQString&); - static void add (const TQString&, const TQString&); - -}; // class KRecentDirs - diff --git a/sip/kfile/krecentdocument.sip b/sip/kfile/krecentdocument.sip deleted file mode 100644 index 7e4c8cc..0000000 --- a/sip/kfile/krecentdocument.sip +++ /dev/null @@ -1,44 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KRecentDocument -{ -%TypeHeaderCode -#include <krecentdocument.h> -%End - - -public: - static TQStringList recentDocuments (); - static void add (const KURL&); - static void add (const KURL&, const TQString&); - static void add (const TQString&, bool = 0); - static void clear (); - static int maximumItems (); - static TQString recentDocumentDirectory (); - -}; // class KRecentDocument - diff --git a/sip/kfile/kurlbar.sip b/sip/kfile/kurlbar.sip deleted file mode 100644 index d6e92f9..0000000 --- a/sip/kfile/kurlbar.sip +++ /dev/null @@ -1,213 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURLBarItem : TQListBoxPixmap -{ -%TypeHeaderCode -#include <kurlbar.h> -%End - - -public: - -%If ( KDE_3_2_0 - ) - KURLBarItem (KURLBar* /TransferThis/, const KURL&, bool, const TQString& = TQString ::null , const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); -%End - - KURLBarItem (KURLBar* /TransferThis/, const KURL&, const TQString& = TQString ::null , const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); - void setURL (const KURL&); - void setIcon (const TQString&, KIcon::Group = KIcon ::Panel ); - void setDescription (const TQString&); - void setToolTip (const TQString&); - -%If ( KDE_3_0_1 - ) - TQSize sizeHint () const; -%End - - virtual int width (const TQListBox*) const; - virtual int height (const TQListBox*) const; - const KURL& url () const; - const TQString& description () const; - const TQString& icon () const; - TQString toolTip () const; - KIcon::Group iconGroup () const; - virtual const TQPixmap* pixmap () const; - void setApplicationLocal (bool); - bool applicationLocal () const; - -%If ( KDE_3_2_0 - ) - bool isPersistent () const; -%End - - -protected: - virtual void paint (TQPainter*); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KURLBarItem - - -class KURLBar : TQFrame -{ -%TypeHeaderCode -#include <kurlbar.h> -%End - - -public: - KURLBar (bool, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - virtual KURLBarItem* insertItem (const KURL&, const TQString&, bool = 1, const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); - -%If ( KDE_3_2_0 - ) - virtual KURLBarItem* insertDynamicItem (const KURL&, const TQString&, const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); -%End - - virtual void setOrientation (TQt::Orientation); - TQt::Orientation orientation () const; - virtual void setListBox (KURLBarListBox*); - KURLBarListBox* listBox () const; - virtual void setIconSize (int); - int iconSize () const; - virtual void clear (); - virtual TQSize sizeHint () const; - virtual TQSize minimumSizeHint () const; - virtual void readConfig (TDEConfig*, const TQString&); - virtual void writeConfig (TDEConfig*, const TQString&); - virtual void readItem (int, TDEConfig*, bool); - virtual void writeItem (KURLBarItem*, int, TDEConfig*, bool); - KURLBarItem* currentItem () const; - KURL currentURL () const; - bool isModified () const; - -%If ( KDE_3_1_1 - ) - bool isImmutable () const; -%End - - -%If ( KDE_3_0_1 - ) - bool isVertical () const; -%End - - -public slots: - virtual void setCurrentItem (const KURL&); - -signals: - void activated (const KURL&); - -protected: - virtual bool addNewItem (); - virtual bool editItem (KURLBarItem*); - virtual void resizeEvent (TQResizeEvent*); - -%If ( KDE_3_4_0 - ) - virtual void paletteChange (const TQPalette&); -%End - - -protected slots: - virtual void slotContextMenuRequested (TQListBoxItem*, const TQPoint&); - virtual void slotSelected (TQListBoxItem*); - virtual void slotDropped (TQDropEvent*); - -protected: -//igx virtual void virtual_hook (int, void*); - -protected: - -%If ( - KDE_3_0_1 ) - bool isVertical () const; -%End - - -}; // class KURLBar - - -class KURLBarListBox : KListBox -{ -%TypeHeaderCode -#include <kurlbar.h> -%End - - -public: - KURLBarListBox (TQWidget* /TransferThis/ = 0, const char* = 0); - virtual void setOrientation (TQt::Orientation); - TQt::Orientation orientation () const; - -%If ( KDE_3_0_1 - ) - bool isVertical () const; -%End - - -signals: - void dropped (TQDropEvent*); - -protected: - virtual TQDragObject* dragObject (); - virtual void contentsDragEnterEvent (TQDragEnterEvent*); - virtual void contentsDropEvent (TQDropEvent*); - -%If ( KDE_3_2_0 - ) - virtual void contextMenuEvent (TQContextMenuEvent*); - -%If ( KDE_3_4_0 - ) - virtual void paintEvent (TQPaintEvent*); -%End - -%End - - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KURLBarListBox - - -class KURLBarItemDialog : KDialogBase -{ -%TypeHeaderCode -#include <kurlbar.h> -%End - - -public: - static bool getInformation (bool, KURL&, TQString&, TQString&, bool&, int, TQWidget* /Transfer/ = 0); - KURLBarItemDialog (bool, const KURL&, const TQString&, TQString, bool = 1, int = KIcon ::SizeMedium , TQWidget* /TransferThis/ = 0, const char* = 0); - KURL url () const; - TQString description () const; - TQString icon () const; - bool applicationLocal () const; - -protected: - -public slots: - void urlChanged (const TQString&); - -}; // class KURLBarItemDialog - diff --git a/sip/kfile/kurlcombobox.sip b/sip/kfile/kurlcombobox.sip deleted file mode 100644 index 09e36a5..0000000 --- a/sip/kfile/kurlcombobox.sip +++ /dev/null @@ -1,80 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURLComboBox : KComboBox -{ -%TypeHeaderCode -#include <kurlcombobox.h> -%End - - -public: - - enum Mode - { - Files, - Directories, - Both - }; - - - enum OverLoadResolving - { - RemoveTop, - RemoveBottom - }; - - KURLComboBox (KURLComboBox::Mode, TQWidget* /TransferThis/ = 0, const char* = 0); - KURLComboBox (KURLComboBox::Mode, bool, TQWidget* /TransferThis/ = 0, const char* = 0); - void setURL (const KURL&); - void setURLs (TQStringList); - void setURLs (TQStringList, KURLComboBox::OverLoadResolving); - TQStringList urls () const; - void setMaxItems (int); - int maxItems () const; - void addDefaultURL (const KURL&, const TQString& = TQString ::null ); - void addDefaultURL (const KURL&, const TQPixmap&, const TQString& = TQString ::null ); - void setDefaults (); - void removeURL (const KURL&, bool = 1); - -signals: - void urlActivated (const KURL&); - -protected slots: - void slotActivated (int); - -protected: - -//ig class _KURLComboItem; - -//ig typedef KURLComboBox::_KURLComboItem KURLComboItem; - void init (KURLComboBox::Mode); -//ig void insertURLItem (const KURLComboBox::KURLComboItem*); - TQPixmap getPixmap (const KURL&) const; -//ig void updateItem (const KURLComboBox::KURLComboItem*, int, const TQPixmap&); - -}; // class KURLComboBox - diff --git a/sip/kfile/kurlrequester.sip b/sip/kfile/kurlrequester.sip deleted file mode 100644 index 9d44788..0000000 --- a/sip/kfile/kurlrequester.sip +++ /dev/null @@ -1,112 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURLRequester : TQHBox -{ -%TypeHeaderCode -#include <kurlrequester.h> -%End - - -public: - KURLRequester (TQWidget* /TransferThis/ = 0, const char* = 0); - KURLRequester (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0); - KURLRequester (TQWidget*, TQWidget* /TransferThis/, const char* = 0); - TQString url () const; - void setShowLocalProtocol (bool); - void setMode (uint); - -%If ( KDE_3_3_0 - ) - uint mode () const; -%End - - void setFilter (const TQString&); - -%If ( KDE_3_3_0 - ) - TQString filter () const; -%End - - bool showLocalProtocol () const; - virtual KFileDialog* fileDialog () const; - KLineEdit* lineEdit () const; - KComboBox* comboBox () const; - KPushButton* button () const; - KURLCompletion* completionObject () const; - -%If ( KDE_3_1_0 - ) - KEditListBox::CustomEditor customEditor (); -%End - - -public slots: - void setURL (const TQString&); - -%If ( KDE_3_4_0 - ) - void setKURL (const KURL&); -%End - - -%If ( KDE_3_1_0 - ) - virtual void setCaption (const TQString&); -%End - - void clear (); - -signals: - void textChanged (const TQString&); - void returnPressed (); - void returnPressed (const TQString&); - void openFileDialog (KURLRequester*); - void urlSelected (const TQString&); - -protected: - void init (); - -protected slots: - void slotOpenDialog (); - -protected: -//igx virtual void virtual_hook (int, void*); - -}; // class KURLRequester - - -%If ( KDE_3_2_0 - ) - -class KURLComboRequester : KURLRequester -{ -%TypeHeaderCode -#include <kurlrequester.h> -%End - - -public: - KURLComboRequester (TQWidget* /TransferThis/ = 0, const char* = 0); - -}; // class KURLComboRequester - -%End - diff --git a/sip/kfile/kurlrequesterdlg.sip b/sip/kfile/kurlrequesterdlg.sip deleted file mode 100644 index d58e786..0000000 --- a/sip/kfile/kurlrequesterdlg.sip +++ /dev/null @@ -1,43 +0,0 @@ -// -// 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., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KURLRequesterDlg : KDialogBase -{ -%TypeHeaderCode -#include <kurlrequesterdlg.h> -%End - - -public: - KURLRequesterDlg (const TQString&, TQWidget* /TransferThis/, const char*, bool = 1); - KURLRequesterDlg (const TQString&, const TQString&, TQWidget* /TransferThis/, const char*, bool = 1); - KURL selectedURL () const; - static KURL getURL (const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); - KFileDialog* fileDialog (); - KURLRequester* urlRequester (); - -}; // class KURLRequesterDlg - |