summaryrefslogtreecommitdiffstats
path: root/sip/kfile
diff options
context:
space:
mode:
Diffstat (limited to 'sip/kfile')
-rw-r--r--sip/kfile/booktoken.sip2
-rw-r--r--sip/kfile/kcombiview.sip16
-rw-r--r--sip/kfile/kcustommenueditor.sip2
-rw-r--r--sip/kfile/kdiroperator.sip56
-rw-r--r--sip/kfile/kdirselectdialog.sip6
-rw-r--r--sip/kfile/kdiskfreesp.sip12
-rw-r--r--sip/kfile/kencodingfiledialog.sip20
-rw-r--r--sip/kfile/kfile.sip10
-rw-r--r--sip/kfile/kfilebookmark.sip30
-rw-r--r--sip/kfile/kfiledetailview.sip50
-rw-r--r--sip/kfile/kfiledialog.sip78
-rw-r--r--sip/kfile/kfilefiltercombo.sip16
-rw-r--r--sip/kfile/kfileiconview.sip40
-rw-r--r--sip/kfile/kfilepreview.sip16
-rw-r--r--sip/kfile/kfilereader.sip2
-rw-r--r--sip/kfile/kfilesharedlg.sip2
-rw-r--r--sip/kfile/kfiletreebranch.sip32
-rw-r--r--sip/kfile/kfiletreeview.sip50
-rw-r--r--sip/kfile/kfiletreeviewitem.sip6
-rw-r--r--sip/kfile/kfileview.sip36
-rw-r--r--sip/kfile/kfileviewitem.sip18
-rw-r--r--sip/kfile/kicondialog.sip34
-rw-r--r--sip/kfile/kimagefilepreview.sip8
-rw-r--r--sip/kfile/knotifydialog.sip50
-rw-r--r--sip/kfile/knotifywidgetbase.sip32
-rw-r--r--sip/kfile/kopenwith.sip42
-rw-r--r--sip/kfile/kpreviewwidgetbase.sip8
-rw-r--r--sip/kfile/kpropertiesdialog.sip28
-rw-r--r--sip/kfile/kpropsdlg.sip18
-rw-r--r--sip/kfile/krecentdirs.sip6
-rw-r--r--sip/kfile/krecentdocument.sip8
-rw-r--r--sip/kfile/kurlbar.sip86
-rw-r--r--sip/kfile/kurlcombobox.sip18
-rw-r--r--sip/kfile/kurlrequester.sip26
-rw-r--r--sip/kfile/kurlrequesterdlg.sip6
35 files changed, 435 insertions, 435 deletions
diff --git a/sip/kfile/booktoken.sip b/sip/kfile/booktoken.sip
index cf5870a..182f5cd 100644
--- a/sip/kfile/booktoken.sip
+++ b/sip/kfile/booktoken.sip
@@ -50,7 +50,7 @@ class BookmarkTokenizer
public:
BookmarkTokenizer ();
void begin ();
- void write (const QString&);
+ void write (const TQString&);
void end ();
char* nextToken ();
bool hasMoreTokens ();
diff --git a/sip/kfile/kcombiview.sip b/sip/kfile/kcombiview.sip
index 43867f6..79188cb 100644
--- a/sip/kfile/kcombiview.sip
+++ b/sip/kfile/kcombiview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KCombiView : QSplitter, KFileView
+class KCombiView : TQSplitter, KFileView
{
%TypeHeaderCode
#include <kcombiview.h>
@@ -32,8 +32,8 @@ class KCombiView : QSplitter, KFileView
public:
- KCombiView (QWidget* /TransferThis/, const char*);
- virtual QWidget* widget ();
+ KCombiView (TQWidget* /TransferThis/, const char*);
+ virtual TQWidget* widget ();
virtual void clearView ();
virtual void updateView (bool);
virtual void updateView (const KFileItem*);
@@ -53,11 +53,11 @@ public:
virtual KFileItem* prevItem (const KFileItem*) const;
virtual void insertItem (KFileItem*);
virtual void clear ();
- virtual void setSorting (QDir::SortSpec);
+ virtual void setSorting (TQDir::SortSpec);
%If ( KDE_3_1_0 - )
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
%End
void ensureItemVisible (const KFileItem*);
@@ -75,12 +75,12 @@ public:
protected:
protected slots:
- void slotSortingChanged (QDir::SortSpec);
+ void slotSortingChanged (TQDir::SortSpec);
protected:
%If ( KDE_3_2_0 - )
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
void setDropOptions_impl (int);
%End
diff --git a/sip/kfile/kcustommenueditor.sip b/sip/kfile/kcustommenueditor.sip
index 1ade864..901efcb 100644
--- a/sip/kfile/kcustommenueditor.sip
+++ b/sip/kfile/kcustommenueditor.sip
@@ -34,7 +34,7 @@ class KCustomMenuEditor : KDialogBase
public:
- KCustomMenuEditor (QWidget* /TransferThis/);
+ KCustomMenuEditor (TQWidget* /TransferThis/);
void load (KConfigBase*);
void save (KConfigBase*);
diff --git a/sip/kfile/kdiroperator.sip b/sip/kfile/kdiroperator.sip
index a0073e6..4f1693c 100644
--- a/sip/kfile/kdiroperator.sip
+++ b/sip/kfile/kdiroperator.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDirOperator : QWidget
+class KDirOperator : TQWidget
{
%TypeHeaderCode
#include <kdiroperator.h>
@@ -46,7 +46,7 @@ public:
%End
- KDirOperator (const KURL& = KURL (), QWidget* /TransferThis/ = 0, const char* = 0);
+ KDirOperator (const KURL& = KURL (), TQWidget* /TransferThis/ = 0, const char* = 0);
void setShowHiddenFiles (bool);
bool showHiddenFiles () const;
void close ();
@@ -55,30 +55,30 @@ public:
virtual bool close (bool);
%End
- void setNameFilter (const QString&);
- const QString& nameFilter () const;
+ void setNameFilter (const TQString&);
+ const TQString& nameFilter () const;
%If ( KDE_3_1_2 - )
- void setMimeFilter (const QStringList&);
- QStringList mimeFilter () const;
+ void setMimeFilter (const TQStringList&);
+ TQStringList mimeFilter () const;
void clearFilter ();
%End
KURL url () const;
void setURL (const KURL&, bool);
- void setCurrentItem (const QString&);
+ void setCurrentItem (const TQString&);
void setView (KFileView*);
const KFileView* view () const;
- QWidget* viewWidget () const;
+ TQWidget* viewWidget () const;
void setView (KFile::FileView);
- void setSorting (QDir::SortSpec);
- QDir::SortSpec sorting () const;
+ 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 QWidget*);
+ void setPreviewWidget (const TQWidget*);
const KFileItemList* selectedItems () const;
bool isSelected (const KFileItem*) const;
int numDirs () const;
@@ -88,20 +88,20 @@ public:
KActionCollection* actionCollection () const;
%If ( KDE_3_1_0 - )
- void setViewConfig (KConfig*, const QString&);
+ void setViewConfig (KConfig*, const TQString&);
KConfig* viewConfig ();
- QString viewConfigGroup () const;
+ TQString viewConfigGroup () const;
%End
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
void setOnlyDoubleClickSelectsFiles (bool);
bool onlyDoubleClickSelectsFiles () const;
- bool mkdir (const QString&, bool = 1);
+ bool mkdir (const TQString&, bool = 1);
KIO::DeleteJob* del (const KFileItemList&, bool = 1, bool = 1) /PyName=del_/;
%If ( KDE_3_0_3 - )
- KIO::DeleteJob* del (const KFileItemList&, QWidget* /Transfer/, bool = 1, bool = 1) /PyName=del_/;
+ KIO::DeleteJob* del (const KFileItemList&, TQWidget* /Transfer/, bool = 1, bool = 1) /PyName=del_/;
%End
void clearHistory ();
@@ -118,7 +118,7 @@ public:
void setDropOptions (int);
%If ( KDE_3_4_0 - )
- KIO::CopyJob* trash (const KFileItemList&, QWidget* /Transfer/, bool = 1, bool = 1);
+ KIO::CopyJob* trash (const KFileItemList&, TQWidget* /Transfer/, bool = 1, bool = 1);
%End
%End
@@ -127,11 +127,11 @@ public:
protected:
- virtual KFileView* createView (QWidget* /Transfer/, KFile::FileView);
+ virtual KFileView* createView (TQWidget* /Transfer/, KFile::FileView);
void setDirLister (KDirLister*);
%If ( KDE_3_2_0 - )
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
%End
void setupActions ();
@@ -151,11 +151,11 @@ public slots:
void mkdir ();
void deleteSelected ();
void updateSelectionDependentActions ();
- QString makeCompletion (const QString&);
- QString makeDirCompletion (const QString&);
+ TQString makeCompletion (const TQString&);
+ TQString makeDirCompletion (const TQString&);
%If ( KDE_3_4_0 - )
- void trashSelected (KAction::ActivationReason, Qt::ButtonState);
+ void trashSelected (KAction::ActivationReason, TQt::ButtonState);
%End
@@ -167,19 +167,19 @@ protected slots:
void selectDir (const KFileItem*);
void selectFile (const KFileItem*);
void highlightFile (const KFileItem*);
- virtual void activatedMenu (const KFileItem*, const QPoint&);
+ virtual void activatedMenu (const KFileItem*, const TQPoint&);
void sortByName ();
void sortBySize ();
void sortByDate ();
void sortReversed ();
void toggleDirsFirst ();
void toggleIgnoreCase ();
- void slotCompletionMatch (const QString&);
+ void slotCompletionMatch (const TQString&);
signals:
void urlEntered (const KURL&);
void updateInformation (int, int);
- void completion (const QString&);
+ void completion (const TQString&);
void finishedLoading ();
void viewChanged (KFileView*);
void fileHighlighted (const KFileItem*);
@@ -187,7 +187,7 @@ signals:
void fileSelected (const KFileItem*);
%If ( KDE_3_2_0 - )
- void dropped (const KFileItem*, QDropEvent*, const KURL::List&);
+ void dropped (const KFileItem*, TQDropEvent*, const KURL::List&);
%End
@@ -197,7 +197,7 @@ protected:
protected:
%If ( - KDE_3_2_0 )
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
%End
diff --git a/sip/kfile/kdirselectdialog.sip b/sip/kfile/kdirselectdialog.sip
index da84286..d464907 100644
--- a/sip/kfile/kdirselectdialog.sip
+++ b/sip/kfile/kdirselectdialog.sip
@@ -32,14 +32,14 @@ class KDirSelectDialog : KDialogBase
public:
- KDirSelectDialog (const QString& = QString ::null , bool = 0, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
+ 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 QString& = QString ::null , bool = 0, QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ static KURL selectDirectory (const TQString& = TQString ::null , bool = 0, TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
%If ( KDE_3_1_0 - )
- QString startDir () const;
+ TQString startDir () const;
%End
diff --git a/sip/kfile/kdiskfreesp.sip b/sip/kfile/kdiskfreesp.sip
index c28a55f..4e8433b 100644
--- a/sip/kfile/kdiskfreesp.sip
+++ b/sip/kfile/kdiskfreesp.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_1_0 - )
-class KDiskFreeSp : QObject
+class KDiskFreeSp : TQObject
{
%TypeHeaderCode
#include <kdiskfreesp.h>
@@ -34,13 +34,13 @@ class KDiskFreeSp : QObject
public:
- KDiskFreeSp (QObject* /TransferThis/ = 0, const char* = 0);
- int readDF (const QString&);
- static KDiskFreeSp* findUsageInfo (const QString&);
+ KDiskFreeSp (TQObject* /TransferThis/ = 0, const char* = 0);
+ int readDF (const TQString&);
+ static KDiskFreeSp* findUsageInfo (const TQString&);
signals:
- void foundMountPoint (const QString&, ulong, ulong, ulong);
-//ig void foundMountPoint (const ulong&, const ulong&, const ulong&, const QString&);
+ void foundMountPoint (const TQString&, ulong, ulong, ulong);
+//ig void foundMountPoint (const ulong&, const ulong&, const ulong&, const TQString&);
void done ();
}; // class KDiskFreeSp
diff --git a/sip/kfile/kencodingfiledialog.sip b/sip/kfile/kencodingfiledialog.sip
index 711404a..9214b47 100644
--- a/sip/kfile/kencodingfiledialog.sip
+++ b/sip/kfile/kencodingfiledialog.sip
@@ -39,22 +39,22 @@ public:
{
public:
- QStringList fileNames;
+ TQStringList fileNames;
KURL::List URLs;
- QString encoding;
+ TQString encoding;
}; // class Result
public:
- KEncodingFileDialog (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , KFileDialog::OperationMode = KFileDialog ::Opening , QWidget* /TransferThis/ = 0, const char* = "", bool = 1);
- QString selectedEncoding () const;
- static KEncodingFileDialog::Result getOpenFileNameAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
- static KEncodingFileDialog::Result getOpenFileNamesAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
- static KEncodingFileDialog::Result getOpenURLAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
- static KEncodingFileDialog::Result getOpenURLsAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
- static KEncodingFileDialog::Result getSaveFileNameAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
- static KEncodingFileDialog::Result getSaveURLAndEncoding (const QString& = QString ::null , const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ 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*);
diff --git a/sip/kfile/kfile.sip b/sip/kfile/kfile.sip
index e383ff8..e145655 100644
--- a/sip/kfile/kfile.sip
+++ b/sip/kfile/kfile.sip
@@ -68,11 +68,11 @@ public:
NoSelection
};
- static bool isSortByName (const QDir::SortSpec&);
- static bool isSortBySize (const QDir::SortSpec&);
- static bool isSortByDate (const QDir::SortSpec&);
- static bool isSortDirsFirst (const QDir::SortSpec&);
- static bool isSortCaseInsensitive (const QDir::SortSpec&);
+ 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&);
diff --git a/sip/kfile/kfilebookmark.sip b/sip/kfile/kfilebookmark.sip
index 48d7cac..1545686 100644
--- a/sip/kfile/kfilebookmark.sip
+++ b/sip/kfile/kfilebookmark.sip
@@ -40,20 +40,20 @@ public:
};
KFileBookmark ();
- KFileBookmark (const QString&, const QString&);
+ KFileBookmark (const TQString&, const TQString&);
void clear ();
- void setText (const QString&);
- void setURL (const QString&);
+ void setText (const TQString&);
+ void setURL (const TQString&);
void setType (int);
- const QString getText ();
- const QString getURL ();
+ const TQString getText ();
+ const TQString getURL ();
int getType ();
- QPtrList<KFileBookmark>& getChildren ();
+ TQPtrList<KFileBookmark>& getChildren ();
}; // class KFileBookmark
-class KFileBookmarkManager : QObject
+class KFileBookmarkManager : TQObject
{
%TypeHeaderCode
#include <kfilebookmark.h>
@@ -62,15 +62,15 @@ class KFileBookmarkManager : QObject
public:
KFileBookmarkManager ();
- void setTitle (const QString&);
- void read (const QString&);
- void write (const QString&);
- void add (const QString&, const QString&);
+ 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 QString&);
+ void rename (int, const TQString&);
void write ();
KFileBookmark* getBookmark (int);
KFileBookmark* getRoot ();
@@ -82,7 +82,7 @@ signals:
-%MappedType QPtrList<KFileBookmark>
+%MappedType TQPtrList<KFileBookmark>
//converts a Python list of KFileBookmark
{
%TypeHeaderCode
@@ -102,7 +102,7 @@ signals:
// Get it.
- QPtrList<KFileBookmark> *cpplist = (QPtrList<KFileBookmark> *)sipCpp;
+ TQPtrList<KFileBookmark> *cpplist = (TQPtrList<KFileBookmark> *)sipCpp;
KFileBookmark *cpp;
PyObject *inst;
@@ -124,7 +124,7 @@ signals:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KFileBookmark> *cpplist = new QPtrList<KFileBookmark>;
+ TQPtrList<KFileBookmark> *cpplist = new TQPtrList<KFileBookmark>;
PyObject *elem;
KFileBookmark *cpp;
diff --git a/sip/kfile/kfiledetailview.sip b/sip/kfile/kfiledetailview.sip
index 6aa2953..e667417 100644
--- a/sip/kfile/kfiledetailview.sip
+++ b/sip/kfile/kfiledetailview.sip
@@ -32,17 +32,17 @@ class KFileListViewItem : KListViewItem
public:
- KFileListViewItem (QListView* /TransferThis/, const QString&, const QPixmap&, KFileItem*);
+ KFileListViewItem (TQListView* /TransferThis/, const TQString&, const TQPixmap&, KFileItem*);
%If ( KDE_3_0_1 - )
- KFileListViewItem (QListView* /TransferThis/, KFileItem*);
+ KFileListViewItem (TQListView* /TransferThis/, KFileItem*);
%End
- KFileListViewItem (QListView* /TransferThis/, const QString&, const QPixmap&, KFileItem*, QListViewItem*);
+ KFileListViewItem (TQListView* /TransferThis/, const TQString&, const TQPixmap&, KFileItem*, TQListViewItem*);
KFileItem* fileInfo () const;
- virtual QString key (int, bool) const;
- void setKey (const QString&);
- QRect rect () const;
+ virtual TQString key (int, bool) const;
+ void setKey (const TQString&);
+ TQRect rect () const;
%If ( KDE_3_0_1 - )
void init ();
@@ -60,8 +60,8 @@ class KFileDetailView : KListView, KFileView
public:
- KFileDetailView (QWidget* /TransferThis/, const char*);
- virtual QWidget* widget ();
+ KFileDetailView (TQWidget* /TransferThis/, const char*);
+ virtual TQWidget* widget ();
virtual void clearView ();
virtual void setAutoUpdate (bool);
virtual void setSelectionMode (KFile::SelectionMode);
@@ -80,36 +80,36 @@ public:
virtual KFileItem* nextItem (const KFileItem*) const;
virtual KFileItem* prevItem (const KFileItem*) const;
virtual void insertItem (KFileItem*);
- virtual void setSorting (QDir::SortSpec);
+ virtual void setSorting (TQDir::SortSpec);
void ensureItemVisible (const KFileItem*);
void mimeTypeDeterminationFinished ();
void determineIcon (KFileListViewItem*);
- QScrollView* scrollWidget () const;
+ TQScrollView* scrollWidget () const;
%If ( KDE_3_2_0 - )
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
%End
signals:
%If ( KDE_3_2_0 - )
- void dropped (QDropEvent*, KFileItem*);
- void dropped (QDropEvent*, const KURL::List&, const KURL&);
+ void dropped (TQDropEvent*, KFileItem*);
+ void dropped (TQDropEvent*, const KURL::List&, const KURL&);
%End
protected:
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
%If ( KDE_3_2_0 - )
- virtual QDragObject* dragObject ();
- virtual void contentsDragEnterEvent (QDragEnterEvent*);
- virtual void contentsDragMoveEvent (QDragMoveEvent*);
- virtual void contentsDragLeaveEvent (QDragLeaveEvent*);
- virtual void contentsDropEvent (QDropEvent*);
- virtual bool acceptDrag (QDropEvent*) const;
+ 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
@@ -122,10 +122,10 @@ protected:
private:
void slotSortingChanged (int);
- void selected (QListViewItem*);
- void slotDoubleClicked (QListViewItem*);
- void highlighted (QListViewItem*);
- void rightButtonPressed (QListViewItem*);
+ void selected (TQListViewItem*);
+ void slotDoubleClicked (TQListViewItem*);
+ void highlighted (TQListViewItem*);
+ void rightButtonPressed (TQListViewItem*);
//force
%ConvertToSubClassCode
diff --git a/sip/kfile/kfiledialog.sip b/sip/kfile/kfiledialog.sip
index e1e4e32..946deb1 100644
--- a/sip/kfile/kfiledialog.sip
+++ b/sip/kfile/kfiledialog.sip
@@ -40,60 +40,60 @@ public:
Saving
};
- KFileDialog (const QString&, const QString&, QWidget* /TransferThis/, const char*, bool);
+ KFileDialog (const TQString&, const TQString&, TQWidget* /TransferThis/, const char*, bool);
%If ( KDE_3_1_0 - )
- KFileDialog (const QString&, const QString&, QWidget* /TransferThis/, const char*, bool, QWidget*);
+ KFileDialog (const TQString&, const TQString&, TQWidget* /TransferThis/, const char*, bool, TQWidget*);
%End
KURL selectedURL () const;
KURL::List selectedURLs () const;
KURL baseURL () const;
- QString selectedFile () const;
- QStringList selectedFiles () const;
+ TQString selectedFile () const;
+ TQStringList selectedFiles () const;
void setURL (const KURL&, bool = 1);
- void setSelection (const QString&);
+ void setSelection (const TQString&);
void setOperationMode (KFileDialog::OperationMode);
KFileDialog::OperationMode operationMode () const;
void setKeepLocation (bool);
bool keepsLocation () const;
- void setFilter (const QString&);
- QString currentFilter () const;
- void setFilterMimeType (const QString&, const KMimeType::List&, const KMimeType::Ptr&);
+ void setFilter (const TQString&);
+ TQString currentFilter () const;
+ void setFilterMimeType (const TQString&, const KMimeType::List&, const KMimeType::Ptr&);
KMimeType::Ptr currentFilterMimeType ();
- void setMimeFilter (const QStringList&, const QString& = QString ::null );
- QString currentMimeFilter () const;
+ void setMimeFilter (const TQStringList&, const TQString& = TQString ::null );
+ TQString currentMimeFilter () const;
void clearFilter ();
- void setPreviewWidget (const QWidget*);
+ void setPreviewWidget (const TQWidget*);
void setPreviewWidget (const KPreviewWidgetBase*);
- static QString getOpenFileName (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ static TQString getOpenFileName (const TQString& = TQString ::null , const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
%If ( KDE_3_4_0 - )
- static QString getOpenFileNameWId (const QString&, const QString&, WId, const QString&);
+ static TQString getOpenFileNameWId (const TQString&, const TQString&, WId, const TQString&);
%End
- static QStringList getOpenFileNames (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
- static KURL getOpenURL (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
- static KURL::List getOpenURLs (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
- static QString getSaveFileName (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ 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 QString getSaveFileNameWId (const QString&, const QString&, WId, const QString&);
+ static TQString getSaveFileNameWId (const TQString&, const TQString&, WId, const TQString&);
%End
- static KURL getSaveURL (const QString& = QString ::null , const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
- static QString getExistingDirectory (const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ 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 QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ static KURL getExistingURL (const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
%End
- static KURL getImageOpenURL (const QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ 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 QString&);
+ void setLocationLabel (const TQString&);
KToolBar* toolBar () const;
KPushButton* okButton () const;
KPushButton* cancelButton () const;
@@ -106,7 +106,7 @@ public:
%If ( KDE_3_1_0 - )
int pathComboIndex ();
- static KURL getStartURL (const QString&, QString&);
+ static KURL getStartURL (const TQString&, TQString&);
%If ( KDE_3_2_0 - )
static void setStartDir (const KURL&);
@@ -116,33 +116,33 @@ public:
signals:
- void fileSelected (const QString&);
- void fileHighlighted (const QString&);
+ void fileSelected (const TQString&);
+ void fileHighlighted (const TQString&);
void selectionChanged ();
- void filterChanged (const QString&);
+ void filterChanged (const TQString&);
protected:
%If ( KDE_3_2_0 - )
- virtual void keyPressEvent (QKeyEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
%End
%If ( KDE_3_1_0 - )
- void init (const QString&, const QString&, QWidget*);
+ void init (const TQString&, const TQString&, TQWidget*);
%End
virtual void initGUI ();
void multiSelectionChanged ();
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
virtual void readRecentFiles (KConfig*);
virtual void saveRecentFiles (KConfig*);
- KURL::List tokenize (const QString&) const;
+ KURL::List tokenize (const TQString&) const;
%If ( KDE_3_2_0 - )
- KURL getCompleteURL (const QString&);
- QString currentFilterExtension ();
+ KURL getCompleteURL (const TQString&);
+ TQString currentFilterExtension ();
void updateAutoSelectExtension ();
%End
@@ -150,17 +150,17 @@ protected:
protected slots:
void urlEntered (const KURL&);
void enterURL (const KURL&);
- void enterURL (const QString&);
- void locationActivated (const QString&);
+ void enterURL (const TQString&);
+ void locationActivated (const TQString&);
void toolbarCallback (int);
- void pathComboChanged (const QString&);
- void dirCompletion (const QString&);
+ void pathComboChanged (const TQString&);
+ void dirCompletion (const TQString&);
void slotFilterChanged ();
void fileHighlighted (const KFileItem*);
void fileSelected (const KFileItem*);
void slotStatResult (KIO::Job*);
void slotLoadingFinished ();
- void fileCompletion (const QString&);
+ void fileCompletion (const TQString&);
%If ( KDE_3_1_0 - )
void toggleSpeedbar (bool);
diff --git a/sip/kfile/kfilefiltercombo.sip b/sip/kfile/kfilefiltercombo.sip
index 73ffa99..28f43d2 100644
--- a/sip/kfile/kfilefiltercombo.sip
+++ b/sip/kfile/kfilefiltercombo.sip
@@ -32,21 +32,21 @@ class KFileFilterCombo : KComboBox
public:
- KFileFilterCombo (QWidget* /TransferThis/ = 0, const char* = 0);
- void setFilter (const QString&);
- QString currentFilter () const;
+ KFileFilterCombo (TQWidget* /TransferThis/ = 0, const char* = 0);
+ void setFilter (const TQString&);
+ TQString currentFilter () const;
%If ( KDE_3_4_0 - )
- void setCurrentFilter (const QString&);
+ void setCurrentFilter (const TQString&);
%End
- void setMimeFilter (const QStringList&, const QString&);
+ void setMimeFilter (const TQStringList&, const TQString&);
bool showsAllTypes () const;
- void setDefaultFilter (const QString&);
- QString defaultFilter () const;
+ void setDefaultFilter (const TQString&);
+ TQString defaultFilter () const;
protected:
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
signals:
void filterChanged ();
diff --git a/sip/kfile/kfileiconview.sip b/sip/kfile/kfileiconview.sip
index 1b33a17..3a97013 100644
--- a/sip/kfile/kfileiconview.sip
+++ b/sip/kfile/kfileiconview.sip
@@ -32,10 +32,10 @@ class KFileIconViewItem : KIconViewItem
public:
- KFileIconViewItem (QIconView* /TransferThis/, const QString&, const QPixmap&, KFileItem*);
+ KFileIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPixmap&, KFileItem*);
%If ( KDE_3_0_1 - )
- KFileIconViewItem (QIconView* /TransferThis/, KFileItem*);
+ KFileIconViewItem (TQIconView* /TransferThis/, KFileItem*);
%End
KFileItem* fileInfo () const;
@@ -51,8 +51,8 @@ class KFileIconView : KIconView, KFileView
public:
- KFileIconView (QWidget* /TransferThis/, const char*);
- virtual QWidget* widget ();
+ KFileIconView (TQWidget* /TransferThis/, const char*);
+ virtual TQWidget* widget ();
virtual void clearView ();
virtual void setAutoUpdate (bool);
virtual void updateView (bool);
@@ -80,12 +80,12 @@ public:
int iconSize () const;
void ensureItemVisible (const KFileItem*);
- virtual void setSorting (QDir::SortSpec);
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void setSorting (TQDir::SortSpec);
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
void mimeTypeDeterminationFinished ();
void determineIcon (KFileIconViewItem*);
- QScrollView* scrollWidget () const;
+ TQScrollView* scrollWidget () const;
%If ( KDE_3_2_0 - )
void setAcceptDrops (bool);
@@ -107,20 +107,20 @@ public slots:
protected:
- virtual void keyPressEvent (QKeyEvent*);
- virtual void hideEvent (QHideEvent*);
- virtual void showEvent (QShowEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void hideEvent (TQHideEvent*);
+ virtual void showEvent (TQShowEvent*);
%If ( KDE_3_0_1 - )
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
%If ( KDE_3_2_0 - )
- virtual QDragObject* dragObject ();
- virtual void contentsDragEnterEvent (QDragEnterEvent*);
- virtual void contentsDragMoveEvent (QDragMoveEvent*);
- virtual void contentsDragLeaveEvent (QDragLeaveEvent*);
- virtual void contentsDropEvent (QDropEvent*);
- bool acceptDrag (QDropEvent*) const;
+ 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
@@ -129,8 +129,8 @@ protected:
signals:
%If ( KDE_3_2_0 - )
- void dropped (QDropEvent*, KFileItem*);
- void dropped (QDropEvent*, const KURL::List&, const KURL&);
+ void dropped (TQDropEvent*, KFileItem*);
+ void dropped (TQDropEvent*, const KURL::List&, const KURL&);
%End
diff --git a/sip/kfile/kfilepreview.sip b/sip/kfile/kfilepreview.sip
index 7757f98..dd8df53 100644
--- a/sip/kfile/kfilepreview.sip
+++ b/sip/kfile/kfilepreview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KFilePreview : QSplitter, KFileView
+class KFilePreview : TQSplitter, KFileView
{
%TypeHeaderCode
#include <kfilepreview.h>
@@ -32,9 +32,9 @@ class KFilePreview : QSplitter, KFileView
public:
- KFilePreview (QWidget* /TransferThis/, const char*);
- KFilePreview (KFileView*, QWidget* /TransferThis/, const char*);
- virtual QWidget* widget ();
+ KFilePreview (TQWidget* /TransferThis/, const char*);
+ KFilePreview (KFileView*, TQWidget* /TransferThis/, const char*);
+ virtual TQWidget* widget ();
virtual void clearView ();
void setFileView (KFileView*);
KFileView* fileView () const;
@@ -55,16 +55,16 @@ public:
virtual KFileItem* firstFileItem () const;
virtual KFileItem* nextItem (const KFileItem*) const;
virtual KFileItem* prevItem (const KFileItem*) const;
- virtual void setSorting (QDir::SortSpec);
+ virtual void setSorting (TQDir::SortSpec);
%If ( KDE_3_1_0 - )
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
%End
virtual KActionCollection* actionCollection () const;
void ensureItemVisible (const KFileItem*);
- void setPreviewWidget (const QWidget*, const KURL&);
+ void setPreviewWidget (const TQWidget*, const KURL&);
protected slots:
virtual void slotHighlighted (const KFileItem*);
diff --git a/sip/kfile/kfilereader.sip b/sip/kfile/kfilereader.sip
index 5313cd8..dfd4244 100644
--- a/sip/kfile/kfilereader.sip
+++ b/sip/kfile/kfilereader.sip
@@ -33,7 +33,7 @@ class KFileReader : KDirLister
public:
KFileReader ();
- KFileReader (const KURL&, const QString& = QString::null);
+ KFileReader (const KURL&, const TQString& = TQString::null);
bool isRoot () const;
bool isReadable () const;
diff --git a/sip/kfile/kfilesharedlg.sip b/sip/kfile/kfilesharedlg.sip
index 42f825b..b3d78ff 100644
--- a/sip/kfile/kfilesharedlg.sip
+++ b/sip/kfile/kfilesharedlg.sip
@@ -37,7 +37,7 @@ public:
KFileSharePropsPlugin (KPropertiesDialog*);
virtual void applyChanges ();
static bool supports (const KFileItemList&);
- QWidget* page () const;
+ TQWidget* page () const;
protected slots:
void slotConfigureFileSharing ();
diff --git a/sip/kfile/kfiletreebranch.sip b/sip/kfile/kfiletreebranch.sip
index 707c5d6..15c9d47 100644
--- a/sip/kfile/kfiletreebranch.sip
+++ b/sip/kfile/kfiletreebranch.sip
@@ -32,14 +32,14 @@ class KFileTreeBranch : KDirLister
public:
- KFileTreeBranch (KFileTreeView*, const KURL&, const QString&, const QPixmap&, bool = 0, KFileTreeViewItem* = 0);
+ KFileTreeBranch (KFileTreeView*, const KURL&, const TQString&, const TQPixmap&, bool = 0, KFileTreeViewItem* = 0);
KURL rootUrl () const;
virtual void setRoot (KFileTreeViewItem*);
KFileTreeViewItem* root ();
- QString name () const;
- virtual void setName (const QString);
- const QPixmap& pixmap ();
- const QPixmap& openPixmap ();
+ 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);
@@ -48,7 +48,7 @@ public:
public slots:
virtual bool populate (const KURL&, KFileTreeViewItem*);
virtual void setShowExtensions (bool = 1);
- void setOpenPixmap (const QPixmap&);
+ void setOpenPixmap (const TQPixmap&);
protected:
virtual KFileTreeViewItem* createTreeViewItem (KFileTreeViewItem* /Transfer/, KFileItem*);
@@ -77,16 +77,16 @@ protected:
}; // class KFileTreeBranch
-typedef QPtrList<KFileTreeBranch> KFileTreeBranchList;
-//ig typedef QPtrListIterator<KFileTreeBranch> KFileTreeBranchIterator;
+typedef TQPtrList<KFileTreeBranch> KFileTreeBranchList;
+//ig typedef TQPtrListIterator<KFileTreeBranch> KFileTreeBranchIterator;
-%MappedType QPtrList<KFileTreeViewItem>
+%MappedType TQPtrList<KFileTreeViewItem>
//converts a Python list of KFileTreeViewItem
{
%TypeHeaderCode
#include <kfiletreeviewitem.h>
-typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
+typedef TQPtrList<KFileTreeViewItem> KFileTreeViewItemList;
%End
%ConvertFromTypeCode
@@ -104,7 +104,7 @@ typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
// Get it.
- QPtrList<KFileTreeViewItem> *cList = (QPtrList<KFileTreeViewItem> *)sipCpp;
+ TQPtrList<KFileTreeViewItem> *cList = (TQPtrList<KFileTreeViewItem> *)sipCpp;
PyObject *item;
KFileTreeViewItem *ftvi;
@@ -128,7 +128,7 @@ typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KFileTreeViewItem> *cList = new QPtrList<KFileTreeViewItem>;
+ TQPtrList<KFileTreeViewItem> *cList = new TQPtrList<KFileTreeViewItem>;
PyObject *elem;
int iserr = 0;
@@ -156,12 +156,12 @@ typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
};
-%MappedType QPtrList<KFileTreeBranch>
+%MappedType TQPtrList<KFileTreeBranch>
//converts a Python list of KFileTreeBranch
{
%TypeHeaderCode
#include <kfiletreebranch.h>
-//typedef QPtrList<KFileTreeBranch> KFileTreeBList;
+//typedef TQPtrList<KFileTreeBranch> KFileTreeBList;
%End
%ConvertFromTypeCode
@@ -179,7 +179,7 @@ typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
// Get it.
- QPtrList<KFileTreeBranch> *cList = (QPtrList<KFileTreeBranch> *)sipCpp;
+ TQPtrList<KFileTreeBranch> *cList = (TQPtrList<KFileTreeBranch> *)sipCpp;
PyObject *item;
KFileTreeBranch *ftb;
@@ -203,7 +203,7 @@ typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KFileTreeBranch> *cList = new QPtrList<KFileTreeBranch>;
+ TQPtrList<KFileTreeBranch> *cList = new TQPtrList<KFileTreeBranch>;
PyObject *elem;
int iserr = 0;
diff --git a/sip/kfile/kfiletreeview.sip b/sip/kfile/kfiletreeview.sip
index 4043e1c..d89e59a 100644
--- a/sip/kfile/kfiletreeview.sip
+++ b/sip/kfile/kfiletreeview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KFileTreeViewToolTip : QToolTip
+class KFileTreeViewToolTip : TQToolTip
{
%TypeHeaderCode
#include <kfiletreeview.h>
@@ -32,10 +32,10 @@ class KFileTreeViewToolTip : QToolTip
public:
- KFileTreeViewToolTip (QListView*);
+ KFileTreeViewToolTip (TQListView*);
protected:
- virtual void maybeTip (const QPoint&);
+ virtual void maybeTip (const TQPoint&);
}; // class KFileTreeViewToolTip
@@ -48,52 +48,52 @@ class KFileTreeView : KListView
public:
- KFileTreeView (QWidget* /TransferThis/, const char* = 0);
+ KFileTreeView (TQWidget* /TransferThis/, const char* = 0);
KFileTreeViewItem* currentKFileTreeViewItem () const;
KURL currentURL () const;
- KFileTreeBranch* addBranch (const KURL&, const QString&, bool = 0);
- virtual KFileTreeBranch* addBranch (const KURL&, const QString&, const QPixmap&, bool = 0);
+ 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 QString&);
+ KFileTreeBranch* branch (const TQString&);
KFileTreeBranchList& branches ();
virtual void setDirOnlyMode (KFileTreeBranch*, bool);
- KFileTreeViewItem* findItem (KFileTreeBranch*, const QString&);
- KFileTreeViewItem* findItem (const QString&, const QString&);
+ 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 (QDropEvent*) const;
- virtual QDragObject* dragObject ();
+ virtual bool acceptDrag (TQDropEvent*) const;
+ virtual TQDragObject* dragObject ();
virtual void startAnimation (KFileTreeViewItem*, const char* = "kde", uint = 6);
virtual void stopAnimation (KFileTreeViewItem*);
- virtual void contentsDragEnterEvent (QDragEnterEvent*);
- virtual void contentsDragMoveEvent (QDragMoveEvent*);
- virtual void contentsDragLeaveEvent (QDragLeaveEvent*);
- virtual void contentsDropEvent (QDropEvent*);
+ 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 QPixmap itemIcon (KFileTreeViewItem*, int = 0) const;
+ virtual TQPixmap itemIcon (KFileTreeViewItem*, int = 0) const;
signals:
- void onItem (const QString&);
- void dropped (QWidget*, QDropEvent*);
- void dropped (QWidget*, QDropEvent*, KURL::List&);
+ 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 (QWidget*, QDropEvent*, KURL::List&, KURL&);
+ void dropped (TQWidget*, TQDropEvent*, KURL::List&, KURL&);
%End
- void dropped (QDropEvent*, QListViewItem*);
- void dropped (KFileTreeView*, QDropEvent*, QListViewItem*);
- void dropped (QDropEvent*, QListViewItem*, QListViewItem*);
- void dropped (KFileTreeView*, QDropEvent*, QListViewItem*, QListViewItem*);
+ void dropped (TQDropEvent*, TQListViewItem*);
+ void dropped (KFileTreeView*, TQDropEvent*, TQListViewItem*);
+ void dropped (TQDropEvent*, TQListViewItem*, TQListViewItem*);
+ void dropped (KFileTreeView*, TQDropEvent*, TQListViewItem*, TQListViewItem*);
protected:
@@ -102,7 +102,7 @@ protected:
//force
private:
- void slotOnItem (QListViewItem*);
+ void slotOnItem (TQListViewItem*);
//end
}; // class KFileTreeView
diff --git a/sip/kfile/kfiletreeviewitem.sip b/sip/kfile/kfiletreeviewitem.sip
index 57d99e7..1d52d86 100644
--- a/sip/kfile/kfiletreeviewitem.sip
+++ b/sip/kfile/kfiletreeviewitem.sip
@@ -36,7 +36,7 @@ public:
KFileTreeViewItem (KFileTreeView*, KFileItem*, KFileTreeBranch*);
KFileTreeBranch* branch () const;
KFileItem* fileItem () const;
- QString path () const;
+ TQString path () const;
KURL url () const;
bool isDir () const;
bool alreadyListed () const;
@@ -44,5 +44,5 @@ public:
}; // class KFileTreeViewItem
-typedef QPtrList<KFileTreeViewItem> KFileTreeViewItemList;
-//ig typedef QPtrListIterator<KFileTreeViewItem> KFileTreeViewItemListIterator;
+typedef TQPtrList<KFileTreeViewItem> KFileTreeViewItemList;
+//ig typedef TQPtrListIterator<KFileTreeViewItem> KFileTreeViewItemListIterator;
diff --git a/sip/kfile/kfileview.sip b/sip/kfile/kfileview.sip
index 9078136..f0f0979 100644
--- a/sip/kfile/kfileview.sip
+++ b/sip/kfile/kfileview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KFileViewSignaler : QObject
+class KFileViewSignaler : TQObject
{
%TypeHeaderCode
#include <kfileview.h>
@@ -34,23 +34,23 @@ class KFileViewSignaler : QObject
public:
void activate (const KFileItem*);
void highlightFile (const KFileItem*);
- void activateMenu (const KFileItem*, const QPoint&);
- void changeSorting (QDir::SortSpec);
+ void activateMenu (const KFileItem*, const TQPoint&);
+ void changeSorting (TQDir::SortSpec);
%If ( KDE_3_2_0 - )
- void dropURLs (const KFileItem*, QDropEvent*, const KURL::List&);
+ void dropURLs (const KFileItem*, TQDropEvent*, const KURL::List&);
%End
signals:
void dirActivated (const KFileItem*);
- void sortingChanged (QDir::SortSpec);
+ void sortingChanged (TQDir::SortSpec);
void fileHighlighted (const KFileItem*);
void fileSelected (const KFileItem*);
- void activatedMenu (const KFileItem*, const QPoint&);
+ void activatedMenu (const KFileItem*, const TQPoint&);
%If ( KDE_3_2_0 - )
- void dropped (const KFileItem*, QDropEvent*, const KURL::List&);
+ void dropped (const KFileItem*, TQDropEvent*, const KURL::List&);
%End
@@ -67,9 +67,9 @@ class KFileView
public:
KFileView ();
void addItemList (const KFileItemList&);
- virtual QWidget* widget () = 0;
-//ig QWidget* widget () const;
- void setCurrentItem (const QString&);
+ 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 ();
@@ -77,8 +77,8 @@ public:
virtual void updateView (const KFileItem*);
virtual void removeItem (const KFileItem*);
virtual void listingCompleted ();
- QDir::SortSpec sorting () const;
- virtual void setSorting (QDir::SortSpec);
+ TQDir::SortSpec sorting () const;
+ virtual void setSorting (TQDir::SortSpec);
bool isReversed () const;
void sortReversed ();
uint count () const;
@@ -96,8 +96,8 @@ public:
virtual void setViewMode (KFileView::ViewMode);
virtual ViewMode viewMode () const;
- QString viewName ();
- void setViewName (const QString&);
+ TQString viewName ();
+ void setViewName (const TQString&);
virtual void setParentView (KFileView* /Transfer/);
virtual void insertItem (KFileItem*);
virtual void clearView () = 0;
@@ -117,8 +117,8 @@ public:
bool updateNumbers (const KFileItem*);
virtual KActionCollection* actionCollection () const;
KFileViewSignaler* signaler () const;
- virtual void readConfig (KConfig*, const QString& = QString ::null );
- virtual void writeConfig (KConfig*, const QString& = QString ::null );
+ virtual void readConfig (KConfig*, const TQString& = TQString ::null );
+ virtual void writeConfig (KConfig*, const TQString& = TQString ::null );
%If ( KDE_3_2_0 - )
@@ -131,8 +131,8 @@ public:
int dropOptions ();
%End
- static QString sortingKey (const QString&, bool, int);
- static QString sortingKey (KIO::filesize_t, bool, int);
+ static TQString sortingKey (const TQString&, bool, int);
+ static TQString sortingKey (KIO::filesize_t, bool, int);
%If ( KDE_3_2_0 - )
static int autoOpenDelay ();
diff --git a/sip/kfile/kfileviewitem.sip b/sip/kfile/kfileviewitem.sip
index 717b22b..0ff97c1 100644
--- a/sip/kfile/kfileviewitem.sip
+++ b/sip/kfile/kfileviewitem.sip
@@ -36,23 +36,23 @@ public:
KFileViewItem (mode_t, mode_t, const KURL&, bool);
KFileViewItem (const KFileViewItem&);
bool isFile () const;
- QString urlString () const;
- QPixmap pixmap (int, int = 0) const;
- QPixmap pixmap () const;
- QString date () const;
- QString access () 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 QString dateTime (time_t);
+ static TQString dateTime (time_t);
KFileViewItem* next () const;
void setNext (KFileViewItem*);
protected:
- QString parsePermissions (mode_t) const;
+ TQString parsePermissions (mode_t) const;
}; // class KFileViewItem
-//ig typedef QList<KFileViewItem> KFileViewItemList;
-//ig typedef QListIterator<KFileViewItem> KFileViewItemListIterator;
+//ig typedef TQList<KFileViewItem> KFileViewItemList;
+//ig typedef TQListIterator<KFileViewItem> KFileViewItemListIterator;
diff --git a/sip/kfile/kicondialog.sip b/sip/kfile/kicondialog.sip
index dda1a0c..819bac2 100644
--- a/sip/kfile/kicondialog.sip
+++ b/sip/kfile/kicondialog.sip
@@ -32,15 +32,15 @@ class KIconCanvas : KIconView
public:
- KIconCanvas (QWidget* /TransferThis/ = 0, const char* = 0);
- void loadFiles (const QStringList&);
- QString getCurrent ();
+ KIconCanvas (TQWidget* /TransferThis/ = 0, const char* = 0);
+ void loadFiles (const TQStringList&);
+ TQString getCurrent ();
public slots:
void stopLoading ();
signals:
-//ig void nameChanged (QString);
+//ig void nameChanged (TQString);
void startLoading (int);
void progress (int);
void finished ();
@@ -59,36 +59,36 @@ class KIconDialog : KDialogBase
public:
- KIconDialog (QWidget* /TransferThis/ = 0, const char* = 0);
- KIconDialog (KIconLoader*, QWidget* /TransferThis/ = 0, const char* = 0);
+ 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 QString&);
+ void setCustomLocation (const TQString&);
%End
void setIconSize (int);
int iconSize () const;
- QString selectIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0);
+ 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
- QString openDialog ();
+ TQString openDialog ();
%If ( KDE_3_2_0 - )
void showDialog ();
%End
- static QString getIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0, QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ 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 QString&);
+ void newIconName (const TQString&);
%End
@@ -105,7 +105,7 @@ protected:
}; // class KIconDialog
-class KIconButton : QPushButton
+class KIconButton : TQPushButton
{
%TypeHeaderCode
#include <kicondialog.h>
@@ -113,19 +113,19 @@ class KIconButton : QPushButton
public:
- KIconButton (QWidget* /TransferThis/ = 0, const char* = 0);
- KIconButton (KIconLoader*, QWidget* /TransferThis/, const char* = 0);
+ 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 QString&);
+ void setIcon (const TQString&);
void resetIcon ();
- const QString icon ();
+ const TQString icon ();
void setIconSize (int);
int iconSize () const;
signals:
-//ig void iconChanged (QString);
+//ig void iconChanged (TQString);
}; // class KIconButton
diff --git a/sip/kfile/kimagefilepreview.sip b/sip/kfile/kimagefilepreview.sip
index 792eddb..3909afa 100644
--- a/sip/kfile/kimagefilepreview.sip
+++ b/sip/kfile/kimagefilepreview.sip
@@ -33,8 +33,8 @@ class KImageFilePreview : KPreviewWidgetBase
public:
- KImageFilePreview (QWidget* /TransferThis/);
- virtual QSize sizeHint () const;
+ KImageFilePreview (TQWidget* /TransferThis/);
+ virtual TQSize sizeHint () const;
public slots:
virtual void showPreview (const KURL&);
@@ -44,10 +44,10 @@ protected slots:
void showPreview ();
void showPreview (const KURL&, bool);
void toggleAuto (bool);
- virtual void gotPreview (const KFileItem*, const QPixmap&);
+ virtual void gotPreview (const KFileItem*, const TQPixmap&);
protected:
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
virtual KIO::PreviewJob* createJob (const KURL&, int, int);
protected:
diff --git a/sip/kfile/knotifydialog.sip b/sip/kfile/knotifydialog.sip
index 98b4fcb..f260332 100644
--- a/sip/kfile/knotifydialog.sip
+++ b/sip/kfile/knotifydialog.sip
@@ -34,9 +34,9 @@ class KNotifyDialog : KDialogBase
public:
- KNotifyDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const KAboutData* = 0);
+ KNotifyDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1, const KAboutData* = 0);
%MethodCode
-//takes parent | (QWidget = 0) | name | (char = 0) | modal | (bool = 1) | aboutData | (KAboutData = see note)
+//takes parent | (TQWidget = 0) | name | (char = 0) | modal | (bool = 1) | aboutData | (KAboutData = see note)
//doc
// The default value for aboutData in C++ is KGlobal::instance()->aboutData()
// which sip is unable to parse. Since it's the last arg in the list, it has
@@ -53,10 +53,10 @@ public:
Py_END_ALLOW_THREADS
%End
- static int configure (QWidget* /Transfer/ = 0, const char* = 0, const KAboutData* = 0);
+ static int configure (TQWidget* /Transfer/ = 0, const char* = 0, const KAboutData* = 0);
%MethodCode
//returns (int)
-//takes parent | (QWidget = 0) | name | (a Python string = "") | aboutData | (KAboutData = see note)
+//takes parent | (TQWidget = 0) | name | (a Python string = "") | aboutData | (KAboutData = see note)
//doc
// The default value for aboutData in C++ is KGlobal::instance()->aboutData()
// which sip is unable to parse. Since it's the last arg in the list, it has
@@ -74,7 +74,7 @@ public:
%End
virtual void addApplicationEvents (const char*);
- virtual void addApplicationEvents (const QString&);
+ virtual void addApplicationEvents (const TQString&);
virtual void clearApplicationEvents ();
}; // class KNotifyDialog
@@ -85,9 +85,9 @@ public:
%If ( KDE_3_1_0 - )
namespace KNotify
{
-typedef QPtrList<KNotify::Event> EventList;
-//ig typedef QPtrListIterator<KNotify::Application> ApplicationListIterator;
-//ig typedef QPtrListIterator<KNotify::Event> EventListIterator;
+typedef TQPtrList<KNotify::Event> EventList;
+//ig typedef TQPtrListIterator<KNotify::Application> ApplicationListIterator;
+//ig typedef TQPtrListIterator<KNotify::Event> EventListIterator;
class Application
{
@@ -97,13 +97,13 @@ class Application
public:
- Application (const QString&);
- QString text () const;
- QString icon () const;
+ Application (const TQString&);
+ TQString text () const;
+ TQString icon () const;
const KNotify::EventList& eventList ();
void reloadEvents (bool = 0);
void save ();
- QString appName () const;
+ TQString appName () const;
}; // class Application
@@ -123,12 +123,12 @@ class Event
public:
- QString text () const;
+ TQString text () const;
int presentation;
int dontShow;
- QString logfile;
- QString soundfile;
- QString commandline;
+ TQString logfile;
+ TQString soundfile;
+ TQString commandline;
const KNotify::Application* application () const;
private:
@@ -137,7 +137,7 @@ private:
}; // class Event
-//ig class ListViewItem : QListViewItem;
+//ig class ListViewItem : TQListViewItem;
%If ( - KDE_3_2_0 )
@@ -151,10 +151,10 @@ class KNotifyWidget : KNotifyWidgetBase
public:
- KNotifyWidget (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
+ KNotifyWidget (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
KListView* eventsView ();
void addVisibleApp (KNotify::Application*);
- KNotify::Application* addApplicationEvents (const QString&);
+ KNotify::Application* addApplicationEvents (const TQString&);
void resetDefaults (bool);
void sort (bool = 1);
@@ -170,7 +170,7 @@ signals:
protected:
KNotify::Event* currentEvent ();
- virtual void showEvent (QShowEvent*);
+ virtual void showEvent (TQShowEvent*);
virtual void enableAll (int, bool);
void reload (bool = 0);
@@ -181,7 +181,7 @@ public:
SIP_PYLIST visibleApps ();
%MethodCode
//returns (a Python list of KNotify.Application)
- QPtrList<KNotify::Application> applist;
+ TQPtrList<KNotify::Application> applist;
Py_BEGIN_ALLOW_THREADS
applist = sipCpp->visibleApps ();
@@ -200,7 +200,7 @@ public:
SIP_PYLIST allApps ();
%MethodCode
//returns (a Python list of KNotify.Application)
- QPtrList<KNotify::Application> applist;
+ TQPtrList<KNotify::Application> applist;
Py_BEGIN_ALLOW_THREADS
applist = sipCpp->allApps ();
@@ -240,7 +240,7 @@ class ApplicationList
%If (KDE_3_1_0 - )
-%MappedType QPtrList<KNotify::Event>
+%MappedType TQPtrList<KNotify::Event>
//converts a Python list of KNotify.Event
{
%TypeHeaderCode
@@ -261,7 +261,7 @@ class ApplicationList
// Get it.
- QPtrList<KNotify::Event> *cpplist = (QPtrList<KNotify::Event> *)sipCpp;
+ TQPtrList<KNotify::Event> *cpplist = (TQPtrList<KNotify::Event> *)sipCpp;
KNotify::Event *cpp;
PyObject *inst;
@@ -283,7 +283,7 @@ class ApplicationList
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KNotify::Event> *cpplist = new QPtrList<KNotify::Event>;
+ TQPtrList<KNotify::Event> *cpplist = new TQPtrList<KNotify::Event>;
PyObject *elem;
KNotify::Event *cpp;
diff --git a/sip/kfile/knotifywidgetbase.sip b/sip/kfile/knotifywidgetbase.sip
index 98f8238..f83b853 100644
--- a/sip/kfile/knotifywidgetbase.sip
+++ b/sip/kfile/knotifywidgetbase.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_1_0 - KDE_3_2_0 )
-class KNotifyWidgetBase : QWidget
+class KNotifyWidgetBase : TQWidget
{
%TypeHeaderCode
#include <knotifywidgetbase.h>
@@ -34,27 +34,27 @@ class KNotifyWidgetBase : QWidget
public:
- KNotifyWidgetBase (QWidget*/TransferThis/ = 0, const char* = 0, WFlags = 0);
+ KNotifyWidgetBase (TQWidget*/TransferThis/ = 0, const char* = 0, WFlags = 0);
KListView* m_listview;
- QGroupBox* m_actionsBox;
+ TQGroupBox* m_actionsBox;
KURLRequester* m_logfilePath;
KURLRequester* m_soundPath;
- QCheckBox* m_logToFile;
+ TQCheckBox* m_logToFile;
KURLRequester* m_executePath;
- QCheckBox* m_playSound;
- QPushButton* m_playButton;
- QCheckBox* m_execute;
- QCheckBox* m_messageBox;
- QCheckBox* m_passivePopup;
- QCheckBox* m_stderr;
- QGroupBox* m_controlsBox;
- QCheckBox* m_affectAllApps;
- QPushButton* m_buttonDisable;
- QPushButton* m_buttonEnable;
+ 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;
- QPushButton* m_extension;
- QPushButton* m_playerButton;
+ TQPushButton* m_extension;
+ TQPushButton* m_playerButton;
protected:
diff --git a/sip/kfile/kopenwith.sip b/sip/kfile/kopenwith.sip
index 2a8f2f9..4d83a21 100644
--- a/sip/kfile/kopenwith.sip
+++ b/sip/kfile/kopenwith.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KOpenWithDlg : QDialog
+class KOpenWithDlg : TQDialog
{
%TypeHeaderCode
#include <kopenwith.h>
@@ -32,15 +32,15 @@ class KOpenWithDlg : QDialog
public:
- KOpenWithDlg (const KURL::List&, QWidget* /TransferThis/ = 0);
- KOpenWithDlg (const KURL::List&, const QString&, const QString&, QWidget* /TransferThis/ = 0);
- KOpenWithDlg (const QString&, const QString&, QWidget* /TransferThis/ = 0);
+ 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 (QWidget* /TransferThis/ = 0);
+ KOpenWithDlg (TQWidget* /TransferThis/ = 0);
%End
- QString text ();
+ TQString text ();
%If ( KDE_3_2_0 - )
void hideNoCloseOnExit ();
@@ -56,8 +56,8 @@ public:
public slots:
void slotClear ();
- void slotSelected (const QString&, const QString&);
- void slotHighlighted (const QString&, const QString&);
+ void slotSelected (const TQString&, const TQString&);
+ void slotHighlighted (const TQString&, const TQString&);
void slotTextChanged ();
void slotTerminalToggled (bool);
void slotDbClick ();
@@ -68,7 +68,7 @@ protected slots:
protected:
void setServiceType (const KURL::List&);
- void init (const QString&, const QString&);
+ void init (const TQString&, const TQString&);
}; // class KOpenWithDlg
@@ -89,7 +89,7 @@ public:
%If ( - KDE_3_1_0 )
-class KAppTreeListItem : QListViewItem
+class KAppTreeListItem : TQListViewItem
{
%TypeHeaderCode
#include <kopenwith.h>
@@ -97,12 +97,12 @@ class KAppTreeListItem : QListViewItem
protected:
- QString key (int, bool) const;
- void init (const QPixmap&, bool, bool, QString, QString);
+ TQString key (int, bool) const;
+ void init (const TQPixmap&, bool, bool, TQString, TQString);
public:
- KAppTreeListItem (KListView* /TransferThis/, const QString&, const QPixmap&, bool, bool, QString, QString);
- KAppTreeListItem (QListViewItem* /TransferThis/, const QString&, const QPixmap&, bool, bool, QString, QString);
+ 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:
@@ -124,21 +124,21 @@ class KApplicationTree : KListView
public:
- KApplicationTree (QWidget* /TransferThis/);
- void addDesktopGroup (QString, KAppTreeListItem* = 0);
+ KApplicationTree (TQWidget* /TransferThis/);
+ void addDesktopGroup (TQString, KAppTreeListItem* = 0);
KAppTreeListItem* it;
bool isDirSel ();
protected:
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
public slots:
- void slotItemHighlighted (QListViewItem*);
- void slotSelectionChanged (QListViewItem*);
+ void slotItemHighlighted (TQListViewItem*);
+ void slotSelectionChanged (TQListViewItem*);
signals:
- void selected (const QString&, const QString&);
- void highlighted (const QString&, const QString&);
+ void selected (const TQString&, const TQString&);
+ void highlighted (const TQString&, const TQString&);
}; // class KApplicationTree
diff --git a/sip/kfile/kpreviewwidgetbase.sip b/sip/kfile/kpreviewwidgetbase.sip
index 7c967bf..cb44f70 100644
--- a/sip/kfile/kpreviewwidgetbase.sip
+++ b/sip/kfile/kpreviewwidgetbase.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KPreviewWidgetBase : QWidget
+class KPreviewWidgetBase : TQWidget
{
%TypeHeaderCode
#include <kpreviewwidgetbase.h>
@@ -32,21 +32,21 @@ class KPreviewWidgetBase : QWidget
public:
- KPreviewWidgetBase (QWidget* /TransferThis/, const char* = 0);
+ KPreviewWidgetBase (TQWidget* /TransferThis/, const char* = 0);
public slots:
virtual void showPreview (const KURL&) = 0;
virtual void clearPreview () = 0;
%If ( KDE_3_2_0 - )
- QStringList supportedMimeTypes () const;
+ TQStringList supportedMimeTypes () const;
%End
protected:
%If ( KDE_3_2_0 - )
- void setSupportedMimeTypes (const QStringList&);
+ void setSupportedMimeTypes (const TQStringList&);
%End
diff --git a/sip/kfile/kpropertiesdialog.sip b/sip/kfile/kpropertiesdialog.sip
index 09246a6..6f6df9c 100644
--- a/sip/kfile/kpropertiesdialog.sip
+++ b/sip/kfile/kpropertiesdialog.sip
@@ -33,17 +33,17 @@ class KPropertiesDialog : KDialogBase
public:
static bool canDisplay (KFileItemList);
- KPropertiesDialog (KFileItem*, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
- KPropertiesDialog (KFileItemList, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
- KPropertiesDialog (const KURL&, mode_t, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
- KPropertiesDialog (const KURL&, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
- KPropertiesDialog (const KURL&, const KURL&, const QString&, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
- KPropertiesDialog (const QString&, QWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
+ 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*, QWidget* /Transfer/ = 0, const char* = 0, bool = 0);
- static bool showDialog (const KURL&, QWidget* /Transfer/ = 0, const char* = 0, bool = 0);
- static bool showDialog (const KFileItemList&, QWidget* /Transfer/ = 0, const char* = 0, bool = 0);
+ 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*);
@@ -52,16 +52,16 @@ public:
KFileItemList items () const;
KDialogBase* dialog ();
const KURL& currentDir () const;
- const QString& defaultName () const;
+ const TQString& defaultName () const;
void updateUrl (const KURL&);
- void rename (const QString&);
+ void rename (const TQString&);
void abortApplying ();
%If ( KDE_3_1_0 - )
void showFileSharingPage ();
%If ( KDE_3_3_0 - )
- void setFileSharingPage (QWidget*);
+ void setFileSharingPage (TQWidget*);
%End
@@ -92,7 +92,7 @@ protected:
}; // class KPropertiesDialog
-class KPropsDlgPlugin : QObject
+class KPropsDlgPlugin : TQObject
{
%TypeHeaderCode
#include <kpropertiesdialog.h>
@@ -152,7 +152,7 @@ protected slots:
%End
void slotDirSizeFinished (KIO::Job*);
- void slotFoundMountPoint (const QString&, ulong, ulong, ulong);
+ void slotFoundMountPoint (const TQString&, ulong, ulong, ulong);
void slotSizeStop ();
void slotSizeDetermine ();
diff --git a/sip/kfile/kpropsdlg.sip b/sip/kfile/kpropsdlg.sip
index d435f14..661a9cf 100644
--- a/sip/kfile/kpropsdlg.sip
+++ b/sip/kfile/kpropsdlg.sip
@@ -33,20 +33,20 @@ class KPropertiesDialog : KDialogBase
public:
static bool canDisplay (KFileItemList);
- KPropertiesDialog (KFileItem*, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
- KPropertiesDialog (KFileItemList, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
- KPropertiesDialog (const KURL&, mode_t = -1, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
- KPropertiesDialog (const KURL&, const KURL&, const QString&, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0, bool = 1);
- KPropertiesDialog (const QString&, QWidget*/TransferThis/ = 0, const char* = 0, bool = 0);
+ 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 QString& defaultName () const;
+ const TQString& defaultName () const;
void updateUrl (const KURL&);
- void rename (const QString&);
+ void rename (const TQString&);
void abortApplying ();
public slots:
@@ -61,7 +61,7 @@ signals:
}; // class KPropertiesDialog
-class KPropsDlgPlugin : QObject
+class KPropsDlgPlugin : TQObject
{
%TypeHeaderCode
#include <kpropsdlg.h>
@@ -103,7 +103,7 @@ protected slots:
void slotCopyFinished (KIO::Job*);
void slotFileRenamed (KIO::Job*, const KURL&, const KURL&);
void slotDirSizeFinished (KIO::Job*);
- void slotFoundMountPoint (const QString&, ulong, ulong, ulong);
+ void slotFoundMountPoint (const TQString&, ulong, ulong, ulong);
void slotSizeStop ();
void slotSizeDetermine ();
diff --git a/sip/kfile/krecentdirs.sip b/sip/kfile/krecentdirs.sip
index 2cc0b16..31fed75 100644
--- a/sip/kfile/krecentdirs.sip
+++ b/sip/kfile/krecentdirs.sip
@@ -32,9 +32,9 @@ class KRecentDirs
public:
- static QStringList list (const QString&);
- static QString dir (const QString&);
- static void add (const QString&, const QString&);
+ 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
index af6ab70..7e4c8cc 100644
--- a/sip/kfile/krecentdocument.sip
+++ b/sip/kfile/krecentdocument.sip
@@ -32,13 +32,13 @@ class KRecentDocument
public:
- static QStringList recentDocuments ();
+ static TQStringList recentDocuments ();
static void add (const KURL&);
- static void add (const KURL&, const QString&);
- static void add (const QString&, bool = 0);
+ static void add (const KURL&, const TQString&);
+ static void add (const TQString&, bool = 0);
static void clear ();
static int maximumItems ();
- static QString recentDocumentDirectory ();
+ static TQString recentDocumentDirectory ();
}; // class KRecentDocument
diff --git a/sip/kfile/kurlbar.sip b/sip/kfile/kurlbar.sip
index c826de3..b8582d8 100644
--- a/sip/kfile/kurlbar.sip
+++ b/sip/kfile/kurlbar.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KURLBarItem : QListBoxPixmap
+class KURLBarItem : TQListBoxPixmap
{
%TypeHeaderCode
#include <kurlbar.h>
@@ -34,27 +34,27 @@ class KURLBarItem : QListBoxPixmap
public:
%If ( KDE_3_2_0 - )
- KURLBarItem (KURLBar* /TransferThis/, const KURL&, bool, const QString& = QString ::null , const QString& = QString ::null , KIcon::Group = KIcon ::Panel );
+ 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 QString& = QString ::null , const QString& = QString ::null , KIcon::Group = KIcon ::Panel );
+ KURLBarItem (KURLBar* /TransferThis/, const KURL&, const TQString& = TQString ::null , const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel );
void setURL (const KURL&);
- void setIcon (const QString&, KIcon::Group = KIcon ::Panel );
- void setDescription (const QString&);
- void setToolTip (const QString&);
+ void setIcon (const TQString&, KIcon::Group = KIcon ::Panel );
+ void setDescription (const TQString&);
+ void setToolTip (const TQString&);
%If ( KDE_3_0_1 - )
- QSize sizeHint () const;
+ TQSize sizeHint () const;
%End
- virtual int width (const QListBox*) const;
- virtual int height (const QListBox*) const;
+ virtual int width (const TQListBox*) const;
+ virtual int height (const TQListBox*) const;
const KURL& url () const;
- const QString& description () const;
- const QString& icon () const;
- QString toolTip () const;
+ const TQString& description () const;
+ const TQString& icon () const;
+ TQString toolTip () const;
KIcon::Group iconGroup () const;
- virtual const QPixmap* pixmap () const;
+ virtual const TQPixmap* pixmap () const;
void setApplicationLocal (bool);
bool applicationLocal () const;
@@ -64,7 +64,7 @@ public:
protected:
- virtual void paint (QPainter*);
+ virtual void paint (TQPainter*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -72,7 +72,7 @@ protected:
}; // class KURLBarItem
-class KURLBar : QFrame
+class KURLBar : TQFrame
{
%TypeHeaderCode
#include <kurlbar.h>
@@ -80,24 +80,24 @@ class KURLBar : QFrame
public:
- KURLBar (bool, QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0);
- virtual KURLBarItem* insertItem (const KURL&, const QString&, bool = 1, const QString& = QString ::null , KIcon::Group = KIcon ::Panel );
+ 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 QString&, const QString& = QString ::null , KIcon::Group = KIcon ::Panel );
+ virtual KURLBarItem* insertDynamicItem (const KURL&, const TQString&, const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel );
%End
- virtual void setOrientation (Qt::Orientation);
- Qt::Orientation orientation () const;
+ 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 QSize sizeHint () const;
- virtual QSize minimumSizeHint () const;
- virtual void readConfig (KConfig*, const QString&);
- virtual void writeConfig (KConfig*, const QString&);
+ virtual TQSize sizeHint () const;
+ virtual TQSize minimumSizeHint () const;
+ virtual void readConfig (KConfig*, const TQString&);
+ virtual void writeConfig (KConfig*, const TQString&);
virtual void readItem (int, KConfig*, bool);
virtual void writeItem (KURLBarItem*, int, KConfig*, bool);
KURLBarItem* currentItem () const;
@@ -123,17 +123,17 @@ signals:
protected:
virtual bool addNewItem ();
virtual bool editItem (KURLBarItem*);
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
%If ( KDE_3_4_0 - )
- virtual void paletteChange (const QPalette&);
+ virtual void paletteChange (const TQPalette&);
%End
protected slots:
- virtual void slotContextMenuRequested (QListBoxItem*, const QPoint&);
- virtual void slotSelected (QListBoxItem*);
- virtual void slotDropped (QDropEvent*);
+ virtual void slotContextMenuRequested (TQListBoxItem*, const TQPoint&);
+ virtual void slotSelected (TQListBoxItem*);
+ virtual void slotDropped (TQDropEvent*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -156,9 +156,9 @@ class KURLBarListBox : KListBox
public:
- KURLBarListBox (QWidget* /TransferThis/ = 0, const char* = 0);
- virtual void setOrientation (Qt::Orientation);
- Qt::Orientation orientation () const;
+ KURLBarListBox (TQWidget* /TransferThis/ = 0, const char* = 0);
+ virtual void setOrientation (TQt::Orientation);
+ TQt::Orientation orientation () const;
%If ( KDE_3_0_1 - )
bool isVertical () const;
@@ -166,18 +166,18 @@ public:
signals:
- void dropped (QDropEvent*);
+ void dropped (TQDropEvent*);
protected:
- virtual QDragObject* dragObject ();
- virtual void contentsDragEnterEvent (QDragEnterEvent*);
- virtual void contentsDropEvent (QDropEvent*);
+ virtual TQDragObject* dragObject ();
+ virtual void contentsDragEnterEvent (TQDragEnterEvent*);
+ virtual void contentsDropEvent (TQDropEvent*);
%If ( KDE_3_2_0 - )
- virtual void contextMenuEvent (QContextMenuEvent*);
+ virtual void contextMenuEvent (TQContextMenuEvent*);
%If ( KDE_3_4_0 - )
- virtual void paintEvent (QPaintEvent*);
+ virtual void paintEvent (TQPaintEvent*);
%End
%End
@@ -197,17 +197,17 @@ class KURLBarItemDialog : KDialogBase
public:
- static bool getInformation (bool, KURL&, QString&, QString&, bool&, int, QWidget* /Transfer/ = 0);
- KURLBarItemDialog (bool, const KURL&, const QString&, QString, bool = 1, int = KIcon ::SizeMedium , QWidget* /TransferThis/ = 0, const char* = 0);
+ 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;
- QString description () const;
- QString icon () const;
+ TQString description () const;
+ TQString icon () const;
bool applicationLocal () const;
protected:
public slots:
- void urlChanged (const QString&);
+ void urlChanged (const TQString&);
}; // class KURLBarItemDialog
diff --git a/sip/kfile/kurlcombobox.sip b/sip/kfile/kurlcombobox.sip
index f696ef8..09e36a5 100644
--- a/sip/kfile/kurlcombobox.sip
+++ b/sip/kfile/kurlcombobox.sip
@@ -47,16 +47,16 @@ public:
RemoveBottom
};
- KURLComboBox (KURLComboBox::Mode, QWidget* /TransferThis/ = 0, const char* = 0);
- KURLComboBox (KURLComboBox::Mode, bool, QWidget* /TransferThis/ = 0, const char* = 0);
+ 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 (QStringList);
- void setURLs (QStringList, KURLComboBox::OverLoadResolving);
- QStringList urls () const;
+ void setURLs (TQStringList);
+ void setURLs (TQStringList, KURLComboBox::OverLoadResolving);
+ TQStringList urls () const;
void setMaxItems (int);
int maxItems () const;
- void addDefaultURL (const KURL&, const QString& = QString ::null );
- void addDefaultURL (const KURL&, const QPixmap&, const QString& = QString ::null );
+ 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);
@@ -73,8 +73,8 @@ protected:
//ig typedef KURLComboBox::_KURLComboItem KURLComboItem;
void init (KURLComboBox::Mode);
//ig void insertURLItem (const KURLComboBox::KURLComboItem*);
- QPixmap getPixmap (const KURL&) const;
-//ig void updateItem (const KURLComboBox::KURLComboItem*, int, const QPixmap&);
+ 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
index c6103b6..9d44788 100644
--- a/sip/kfile/kurlrequester.sip
+++ b/sip/kfile/kurlrequester.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KURLRequester : QHBox
+class KURLRequester : TQHBox
{
%TypeHeaderCode
#include <kurlrequester.h>
@@ -32,10 +32,10 @@ class KURLRequester : QHBox
public:
- KURLRequester (QWidget* /TransferThis/ = 0, const char* = 0);
- KURLRequester (const QString&, QWidget* /TransferThis/ = 0, const char* = 0);
- KURLRequester (QWidget*, QWidget* /TransferThis/, const char* = 0);
- QString url () const;
+ 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);
@@ -43,10 +43,10 @@ public:
uint mode () const;
%End
- void setFilter (const QString&);
+ void setFilter (const TQString&);
%If ( KDE_3_3_0 - )
- QString filter () const;
+ TQString filter () const;
%End
bool showLocalProtocol () const;
@@ -62,7 +62,7 @@ public:
public slots:
- void setURL (const QString&);
+ void setURL (const TQString&);
%If ( KDE_3_4_0 - )
void setKURL (const KURL&);
@@ -70,17 +70,17 @@ public slots:
%If ( KDE_3_1_0 - )
- virtual void setCaption (const QString&);
+ virtual void setCaption (const TQString&);
%End
void clear ();
signals:
- void textChanged (const QString&);
+ void textChanged (const TQString&);
void returnPressed ();
- void returnPressed (const QString&);
+ void returnPressed (const TQString&);
void openFileDialog (KURLRequester*);
- void urlSelected (const QString&);
+ void urlSelected (const TQString&);
protected:
void init ();
@@ -104,7 +104,7 @@ class KURLComboRequester : KURLRequester
public:
- KURLComboRequester (QWidget* /TransferThis/ = 0, const char* = 0);
+ KURLComboRequester (TQWidget* /TransferThis/ = 0, const char* = 0);
}; // class KURLComboRequester
diff --git a/sip/kfile/kurlrequesterdlg.sip b/sip/kfile/kurlrequesterdlg.sip
index a61408d..d58e786 100644
--- a/sip/kfile/kurlrequesterdlg.sip
+++ b/sip/kfile/kurlrequesterdlg.sip
@@ -32,10 +32,10 @@ class KURLRequesterDlg : KDialogBase
public:
- KURLRequesterDlg (const QString&, QWidget* /TransferThis/, const char*, bool = 1);
- KURLRequesterDlg (const QString&, const QString&, QWidget* /TransferThis/, const char*, bool = 1);
+ 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 QString& = QString ::null , QWidget* /Transfer/ = 0, const QString& = QString ::null );
+ static KURL getURL (const TQString& = TQString ::null , TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
KFileDialog* fileDialog ();
KURLRequester* urlRequester ();