diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
commit | d8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch) | |
tree | f295f1c545b319963d5357af79fe08991d8141d9 /libk3b/projects/datacd/k3bisoimager.h | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip |
TQt4 port k3b
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/projects/datacd/k3bisoimager.h')
-rw-r--r-- | libk3b/projects/datacd/k3bisoimager.h | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/libk3b/projects/datacd/k3bisoimager.h b/libk3b/projects/datacd/k3bisoimager.h index 82501ba..446fef8 100644 --- a/libk3b/projects/datacd/k3bisoimager.h +++ b/libk3b/projects/datacd/k3bisoimager.h @@ -19,14 +19,14 @@ #include <k3bjob.h> #include "k3bmkisofshandler.h" -#include <qptrqueue.h> -#include <qstringlist.h> +#include <tqptrqueue.h> +#include <tqstringlist.h> class K3bDataDoc; class K3bDirItem; class K3bDataItem; class K3bFileItem; -class QTextStream; +class TQTextStream; class K3bProcess; class KProcess; class K3bDevice::Device; @@ -36,9 +36,10 @@ class KTempFile; class K3bIsoImager : public K3bJob, public K3bMkisofsHandler { Q_OBJECT + TQ_OBJECT public: - K3bIsoImager( K3bDataDoc*, K3bJobHandler*, QObject* parent = 0, const char* name = 0 ); + K3bIsoImager( K3bDataDoc*, K3bJobHandler*, TQObject* tqparent = 0, const char* name = 0 ); virtual ~K3bIsoImager(); virtual bool active() const; @@ -50,7 +51,7 @@ class K3bIsoImager : public K3bJob, public K3bMkisofsHandler /** * Get the checksum calculated during the creation of the image. */ - QCString checksum() const; + TQCString checksum() const; public slots: /** @@ -86,20 +87,20 @@ class K3bIsoImager : public K3bJob, public K3bMkisofsHandler */ void writeToFd( int fd ); - void writeToImageFile( const QString& path ); + void writeToImageFile( const TQString& path ); /** * If dev == 0 K3bIsoImager will ignore the data in the previous session. * This is usable for CD-Extra. */ - void setMultiSessionInfo( const QString&, K3bDevice::Device* dev = 0 ); + void setMultiSessionInfo( const TQString&, K3bDevice::Device* dev = 0 ); K3bDevice::Device* device() const { return m_device; } K3bDataDoc* doc() const { return m_doc; } protected: virtual void handleMkisofsProgress( int ); - virtual void handleMkisofsInfoMessage( const QString&, int ); + virtual void handleMkisofsInfoMessage( const TQString&, int ); virtual bool addMkisofsParameters( bool printSize = false ); @@ -113,7 +114,7 @@ class K3bIsoImager : public K3bJob, public K3bMkisofsHandler * * @return an empty dummy dir for use with K3bDirItems. */ - QString dummyDir( K3bDirItem* ); + TQString dummyDir( K3bDirItem* ); void outputData(); void initVariables(); @@ -129,9 +130,9 @@ class K3bIsoImager : public K3bJob, public K3bMkisofsHandler bool writeSortWeightFile(); // used by writePathSpec - virtual int writePathSpecForDir( K3bDirItem* dirItem, QTextStream& stream ); - virtual void writePathSpecForFile( K3bFileItem*, QTextStream& stream ); - QString escapeGraftPoint( const QString& str ); + virtual int writePathSpecForDir( K3bDirItem* dirItem, TQTextStream& stream ); + virtual void writePathSpecForFile( K3bFileItem*, TQTextStream& stream ); + TQString escapeGraftPoint( const TQString& str ); KTempFile* m_pathSpecFile; KTempFile* m_rrHideFile; @@ -144,12 +145,12 @@ class K3bIsoImager : public K3bJob, public K3bMkisofsHandler bool m_canceled; protected slots: - virtual void slotReceivedStderr( const QString& ); + virtual void slotReceivedStderr( const TQString& ); virtual void slotProcessExited( KProcess* ); private slots: void slotCollectMkisofsPrintSizeStderr(KProcess*, char*, int); - void slotCollectMkisofsPrintSizeStdout( const QString& ); + void slotCollectMkisofsPrintSizeStdout( const TQString& ); void slotMkisofsPrintSizeFinished(); void slotDataPreparationDone( bool success ); @@ -164,15 +165,15 @@ class K3bIsoImager : public K3bJob, public K3bMkisofsHandler bool m_noDeepDirectoryRelocation; bool m_importSession; - QString m_multiSessionInfo; + TQString m_multiSessionInfo; K3bDevice::Device* m_device; // used for mkisofs -print-size parsing - QString m_collectedMkisofsPrintSizeStdout; - QString m_collectedMkisofsPrintSizeStderr; + TQString m_collectedMkisofsPrintSizeStdout; + TQString m_collectedMkisofsPrintSizeStderr; int m_mkisofsPrintSizeResult; - QStringList m_tempFiles; + TQStringList m_tempFiles; int m_fdToWriteTo; |