diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/trash/kio_trash.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/trash/kio_trash.h')
-rw-r--r-- | kioslave/trash/kio_trash.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kioslave/trash/kio_trash.h b/kioslave/trash/kio_trash.h index 726db431e..37ea1944f 100644 --- a/kioslave/trash/kio_trash.h +++ b/kioslave/trash/kio_trash.h @@ -27,11 +27,11 @@ namespace KIO { class Job; } typedef TrashImpl::TrashedFileInfo TrashedFileInfo; typedef TrashImpl::TrashedFileInfoList TrashedFileInfoList; -class TrashProtocol : public QObject, public KIO::SlaveBase +class TrashProtocol : public TQObject, public KIO::SlaveBase { Q_OBJECT public: - TrashProtocol( const QCString& protocol, const QCString &pool, const QCString &app); + TrashProtocol( const TQCString& protocol, const TQCString &pool, const TQCString &app); virtual ~TrashProtocol(); virtual void stat(const KURL& url); virtual void listDir(const KURL& url); @@ -47,25 +47,25 @@ public: * 2 : migrate old (pre-kde-3.4) trash contents * 3 : restore a file to its original location. Args: KURL trashURL. */ - virtual void special( const QByteArray & data ); + virtual void special( const TQByteArray & data ); private slots: - void slotData( KIO::Job*, const QByteArray& ); - void slotMimetype( KIO::Job*, const QString& ); + void slotData( KIO::Job*, const TQByteArray& ); + void slotMimetype( KIO::Job*, const TQString& ); void jobFinished( KIO::Job* job ); private: typedef enum CopyOrMove { Copy, Move }; void copyOrMove( const KURL& src, const KURL& dest, bool overwrite, CopyOrMove action ); void createTopLevelDirEntry(KIO::UDSEntry& entry); - bool createUDSEntry( const QString& physicalPath, const QString& fileName, const QString& url, + bool createUDSEntry( const TQString& physicalPath, const TQString& fileName, const TQString& url, KIO::UDSEntry& entry, const TrashedFileInfo& info ); void listRoot(); void restore( const KURL& trashURL ); TrashImpl impl; - QString m_userName; - QString m_groupName; + TQString m_userName; + TQString m_groupName; }; #endif |