summaryrefslogtreecommitdiffstats
path: root/src/k9play.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 23:37:00 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 23:37:00 +0000
commitb0e912c8b3d02a518fedda28c3180eb4794a7520 (patch)
tree07d344862562fab58cbe2df39d13d16f2e4d2bea /src/k9play.h
parent4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff)
downloadk9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz
k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/k9play.h')
-rw-r--r--src/k9play.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/k9play.h b/src/k9play.h
index 8a9232a..c291151 100644
--- a/src/k9play.h
+++ b/src/k9play.h
@@ -14,7 +14,7 @@
#include "k9common.h"
#include "k9dvdtitle.h"
-#include <qfile.h>
+#include <tqfile.h>
/**
@author Jean-Michel PETIT <k9copy@free.fr>
*/
@@ -37,9 +37,9 @@ private:
int m_title;
k9DVD *m_dvd;
k9DVDTitle *m_dvdTitle;
- QString m_device;
- QFile *m_output;
- QFile m_stderr;
+ TQString m_device;
+ TQFile *m_output;
+ TQFile m_stderr;
uint32_t m_totalBytes;
uint32_t m_startSector,m_endSector;
uint32_t m_pos,m_length;
@@ -55,16 +55,16 @@ private:
bool m_firstPass;
bool m_forcedFactor;
bool m_useCache;
- QString m_inject;
- QStringList m_audioFilter;
- QStringList m_subpictureFilter;
- QStringList m_chapterList;
- void kdebug(QString const & _msg);
+ TQString m_inject;
+ TQStringList m_audioFilter;
+ TQStringList m_subpictureFilter;
+ TQStringList m_chapterList;
+ void kdebug(TQString const & _msg);
bool readNavPack (k9DVDFile *fh, dsi_t *dsi,int sector, uchar *_buffer);
void insert_dummy_pack (int8_t *buf);
void insert_nav_pack (int8_t *buf);
- void saveStatus(k9play_st _status);
- void readStatus(k9play_st &_status);
+ void savetqStatus(k9play_st _status);
+ void readtqStatus(k9play_st &_status);
void flush(k9SaveImage &_saveImage);
public:
k9play();
@@ -72,26 +72,26 @@ public:
~k9play();
void execute();
void play();
- void writeOutput(QString const & _msg);
+ void writeOutput(TQString const & _msg);
void setTitle(int _value) {m_title = _value;};
- void setDevice(const QString& _value) {m_device = _value;};
+ void setDevice(const TQString& _value) {m_device = _value;};
- void setstartSector(QString _value);
- void setendSector(QString _value);
- void setaudioFilter(QString _value);
- void setsubpictureFilter(QString _value);
- void setchapterList(QString _value);
- void setvampsFactor(QString _value);
- void setinputSize(QString _value);
- void settotalSize(QString _value);
- void setchapter(QString _value);
- void setcell(QString _value);
- void setinject(QString _value);
- void setdvdSize(QString _value);
- void setchapterSize(QString _value);
- void setinitStatus(bool _value);
+ void setstartSector(TQString _value);
+ void setendSector(TQString _value);
+ void setaudioFilter(TQString _value);
+ void setsubpictureFilter(TQString _value);
+ void setchapterList(TQString _value);
+ void setvampsFactor(TQString _value);
+ void setinputSize(TQString _value);
+ void settotalSize(TQString _value);
+ void setchapter(TQString _value);
+ void setcell(TQString _value);
+ void setinject(TQString _value);
+ void setdvdSize(TQString _value);
+ void setchapterSize(TQString _value);
+ void setinittqStatus(bool _value);
void setcontinue (bool _value);
void setfirstPass (bool _value);
void setforcedFactor(bool _value);