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/k3btocfilewriter.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/k3btocfilewriter.h')
-rw-r--r-- | libk3b/projects/k3btocfilewriter.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libk3b/projects/k3btocfilewriter.h b/libk3b/projects/k3btocfilewriter.h index 1c1da47..3127fca 100644 --- a/libk3b/projects/k3btocfilewriter.h +++ b/libk3b/projects/k3btocfilewriter.h @@ -16,8 +16,8 @@ #ifndef _K3B_TOC_FILE_WRITER_H_ #define _K3B_TOC_FILE_WRITER_H_ -#include <qtextstream.h> -#include <qstringlist.h> +#include <tqtextstream.h> +#include <tqstringlist.h> #include <k3btoc.h> #include <k3bcdtext.h> @@ -31,12 +31,12 @@ class K3bTocFileWriter public: K3bTocFileWriter(); - bool save( QTextStream& ); - bool save( const QString& filename ); + bool save( TQTextStream& ); + bool save( const TQString& filename ); void setData( const K3bDevice::Toc& toc ) { m_toc = toc; } void setCdText( const K3bDevice::CdText& text ) { m_cdText = text; } - void setFilenames( const QStringList& names ) { m_filenames = names; } + void setFilenames( const TQStringList& names ) { m_filenames = names; } void setHideFirstTrack( bool b ) { m_hideFirstTrack = b; } /** @@ -45,16 +45,16 @@ class K3bTocFileWriter void setSession( int s ) { m_sessionToWrite = s; } private: - void writeHeader( QTextStream& t ); - void writeGlobalCdText( QTextStream& t ); - void writeTrackCdText( const K3bDevice::TrackCdText& track, QTextStream& t ); - void writeTrack( unsigned int index, const K3b::Msf& offset, QTextStream& t ); - void writeDataSource( unsigned int trackNumber, QTextStream& t ); + void writeHeader( TQTextStream& t ); + void writeGlobalCdText( TQTextStream& t ); + void writeTrackCdText( const K3bDevice::TrackCdText& track, TQTextStream& t ); + void writeTrack( unsigned int index, const K3b::Msf& offset, TQTextStream& t ); + void writeDataSource( unsigned int trackNumber, TQTextStream& t ); bool readFromStdin() const; K3bDevice::Toc m_toc; K3bDevice::CdText m_cdText; - QStringList m_filenames; + TQStringList m_filenames; bool m_hideFirstTrack; int m_sessionToWrite; }; |