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/videocd/k3bvcddoc.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/videocd/k3bvcddoc.h')
-rw-r--r-- | libk3b/projects/videocd/k3bvcddoc.h | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/libk3b/projects/videocd/k3bvcddoc.h b/libk3b/projects/videocd/k3bvcddoc.h index 8b10837..4f24200 100644 --- a/libk3b/projects/videocd/k3bvcddoc.h +++ b/libk3b/projects/videocd/k3bvcddoc.h @@ -16,14 +16,14 @@ #ifndef K3BVCDDOC_H #define K3BVCDDOC_H -// Qt Includes -#include <qptrqueue.h> -#include <qfile.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qdatetime.h> -#include <qtextstream.h> -#include <qimage.h> +// TQt Includes +#include <tqptrqueue.h> +#include <tqfile.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqdatetime.h> +#include <tqtextstream.h> +#include <tqimage.h> // Kde Includes #include <kurl.h> @@ -37,10 +37,10 @@ class K3bApp; class K3bVcdTrack; class K3bVcdJob; //class K3bView; -class QWidget; -class QTimer; -class QDomDocument; -class QDomElement; +class TQWidget; +class TQTimer; +class TQDomDocument; +class TQDomElement; class KConfig; @@ -48,16 +48,17 @@ class KConfig; class LIBK3B_EXPORT K3bVcdDoc : public K3bDoc { Q_OBJECT + TQ_OBJECT public: - K3bVcdDoc( QObject* ); + K3bVcdDoc( TQObject* ); ~K3bVcdDoc(); int type() const { return VCD; } - QString name() const; + TQString name() const; - enum vcdTypes { VCD11, VCD20, SVCD10, HQVCD, NONE}; + enum vcdTypes { VCD11, VCD20, SVCD10, HTQVCD, NONE}; bool newDocument(); int numOfTracks() const @@ -65,11 +66,11 @@ class LIBK3B_EXPORT K3bVcdDoc : public K3bDoc return m_tracks->count(); } - const QString& vcdImage() const + const TQString& vcdImage() const { return m_vcdImage; } - void setVcdImage( const QString& s ) + void setVcdImage( const TQString& s ) { m_vcdImage = s; } @@ -99,7 +100,7 @@ class LIBK3B_EXPORT K3bVcdDoc : public K3bDoc return m_tracks->take( i ); } - const QPtrList<K3bVcdTrack>* tracks() const + const TQPtrList<K3bVcdTrack>* tracks() const { return m_tracks; } @@ -108,7 +109,7 @@ class LIBK3B_EXPORT K3bVcdDoc : public K3bDoc KIO::filesize_t size() const; K3b::Msf length() const; - K3bBurnJob* newBurnJob( K3bJobHandler* hdl, QObject* parent ); + K3bBurnJob* newBurnJob( K3bJobHandler* hdl, TQObject* tqparent ); K3bVcdOptions* vcdOptions() const { return m_vcdOptions; @@ -149,18 +150,18 @@ class LIBK3B_EXPORT K3bVcdDoc : public K3bDoc protected: /** reimplemented from K3bDoc */ - bool loadDocumentData( QDomElement* root ); + bool loadDocumentData( TQDomElement* root ); /** reimplemented from K3bDoc */ - bool saveDocumentData( QDomElement* ); + bool saveDocumentData( TQDomElement* ); - QString typeString() const; + TQString typeString() const; private: K3bVcdTrack* createTrack( const KURL& url ); void informAboutNotFoundFiles(); - QStringList m_notFoundFiles; - QString m_vcdImage; + TQStringList m_notFoundFiles; + TQString m_vcdImage; class PrivateUrlToAdd { @@ -173,10 +174,10 @@ class LIBK3B_EXPORT K3bVcdDoc : public K3bDoc }; /** Holds all the urls that have to be added to the list of tracks. **/ - QPtrQueue<PrivateUrlToAdd> urlsToAdd; - QTimer* m_urlAddingTimer; + TQPtrQueue<PrivateUrlToAdd> urlsToAdd; + TQTimer* m_urlAddingTimer; - QPtrList<K3bVcdTrack>* m_tracks; + TQPtrList<K3bVcdTrack>* m_tracks; KIO::filesize_t calcTotalSize() const; KIO::filesize_t ISOsize() const; |