diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /sip/kio/kfileitem.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/kio/kfileitem.sip')
-rw-r--r-- | sip/kio/kfileitem.sip | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/sip/kio/kfileitem.sip b/sip/kio/kfileitem.sip index 3bba31c..985efdf 100644 --- a/sip/kio/kfileitem.sip +++ b/sip/kio/kfileitem.sip @@ -40,7 +40,7 @@ public: KFileItem (const KIO::UDSEntry&, const KURL&, bool = 0, bool = 0); KFileItem (mode_t, mode_t, const KURL&, bool = 0); - KFileItem (const KURL&, const QString&, mode_t); + KFileItem (const KURL&, const TQString&, mode_t); KFileItem (const KFileItem&); void refresh (); void refreshMimeType (); @@ -48,11 +48,11 @@ public: void setURL (const KURL&); %If ( KDE_3_2_0 - ) - void setName (const QString&); + void setName (const TQString&); %End mode_t permissions () const; - QString permissionsString () const; + TQString permissionsString () const; %If ( KDE_3_5_0 - ) bool hasExtendedACL () const; @@ -61,8 +61,8 @@ public: %End mode_t mode () const; - QString user () const; - QString group () const; + TQString user () const; + TQString group () const; bool isLink () const; bool isDir () const; bool isFile () const; @@ -77,10 +77,10 @@ public: bool isHidden () const; %End - QString linkDest () const; + TQString linkDest () const; %If ( KDE_3_4_0 - ) - QString localPath () const; + TQString localPath () const; %End KIO::filesize_t size () const; @@ -95,20 +95,20 @@ public: time_t time (uint, bool& /Out/) const /PyName=timeAndHasTime/; %End - QString timeString (uint = KIO ::UDS_MODIFICATION_TIME ) const; + TQString timeString (uint = KIO ::UDS_MODIFICATION_TIME ) const; bool isLocalFile () const; - const QString& text () const; - const QString& name (bool = 0) const; - QString mimetype () const; + const TQString& text () const; + const TQString& name (bool = 0) const; + TQString mimetype () const; KMimeType::Ptr determineMimeType (); KMimeType::Ptr mimeTypePtr (); bool isMimeTypeKnown () const; - QString mimeComment (); - QString iconName (); - QPixmap pixmap (int, int = 0) const; + TQString mimeComment (); + TQString iconName (); + TQPixmap pixmap (int, int = 0) const; int overlays () const; - QString getStatusBarInfo (); - QString getToolTipText (int = 6); + TQString getStatusBarInfo (); + TQString getToolTipText (int = 6); bool acceptsDrops (); void run (); const KIO::UDSEntry& entry () const; @@ -123,7 +123,7 @@ public: %If ( KDE_3_5_0 - ) void setFileMode (mode_t); - void setMimeType (const QString&); + void setMimeType (const TQString&); %End const KFileMetaInfo& metaInfo (bool = 1, int = KFileMetaInfo ::Fastest ) const; @@ -146,26 +146,26 @@ protected: void readUDSEntry (bool); %End - QString parsePermissions (mode_t) const; + TQString parsePermissions (mode_t) const; protected: //igx virtual void virtual_hook (int, void*); }; // class KFileItem -typedef QPtrList<KFileItem> KFileItemList; +typedef TQPtrList<KFileItem> KFileItemList; %If ( KDE_3_1_4 - ) -//ig typedef QPtrListIterator<KFileItem> KFileItemListIterator; +//ig typedef TQPtrListIterator<KFileItem> KFileItemListIterator; %If ( KDE_3_2_0 - ) -//igx QDataStream& operator << (QDataStream&, const KFileItem&); -//igx QDataStream& operator >> (QDataStream&, KFileItem&); +//igx TQDataStream& operator << (TQDataStream&, const KFileItem&); +//igx TQDataStream& operator >> (TQDataStream&, KFileItem&); %End %End %If ( - KDE_3_1_4 ) -//ig typedef QListIterator<KFileItem> KFileItemListIterator; +//ig typedef TQListIterator<KFileItem> KFileItemListIterator; %End |