summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9dvd.h
diff options
context:
space:
mode:
Diffstat (limited to 'libk9copy/k9dvd.h')
-rwxr-xr-xlibk9copy/k9dvd.h77
1 files changed, 39 insertions, 38 deletions
diff --git a/libk9copy/k9dvd.h b/libk9copy/k9dvd.h
index 55182df..94ca07c 100755
--- a/libk9copy/k9dvd.h
+++ b/libk9copy/k9dvd.h
@@ -21,9 +21,9 @@
#define K9DVD_H
#include "k9common.h"
#include "k9dvdread.h"
-#include <qstringlist.h>
-#include <qdatetime.h>
-#include <qvaluelist.h>
+#include <tqstringlist.h>
+#include <tqdatetime.h>
+#include <tqvaluelist.h>
struct streamSize {
@@ -48,39 +48,40 @@ class k9DVDTitleset;
*@author
*/
-class k9DVD : public QObject {
-Q_OBJECT
+class k9DVD : public TQObject {
+Q_OBJECT
+TQ_OBJECT
private:
- QObjectList m_titles;
- QPtrList<k9DVDTitleset> m_titlesets;
- QString m_title;
+ TQObjectList m_titles;
+ TQPtrList<k9DVDTitleset> m_titlesets;
+ TQString m_title;
int m_titleCount;
k9DVDTitle *m_longestTitle;
- QStringList m_lvideoFormat;
- QStringList m_laspectRatio;
- QStringList m_lquantization;
- QStringList m_lmpegVersion;
- QStringList m_lvideoHeight;
- QStringList m_lvideoWidth;
- QStringList m_lpermittedDf;
- QStringList m_laudioFormat;
- QStringList m_lsampleFreq;
- QStringList m_laudioType;
- QStringList m_lsubpType;
- QStringList m_langCode;
- QStringList m_langName;
+ TQStringList m_lvideoFormat;
+ TQStringList m_laspectRatio;
+ TQStringList m_lquantization;
+ TQStringList m_lmpegVersion;
+ TQStringList m_lvideoHeight;
+ TQStringList m_lvideoWidth;
+ TQStringList m_lpermittedDf;
+ TQStringList m_laudioFormat;
+ TQStringList m_lsampleFreq;
+ TQStringList m_laudioType;
+ TQStringList m_lsubpType;
+ TQStringList m_langCode;
+ TQStringList m_langName;
double m_frames_per_s[4];
uint m_menuSize;
k9DVDProgress *m_progressDlg;
- QString m_Device;
+ TQString m_Device;
bool m_error;
- QString m_errMsg;
+ TQString m_errMsg;
bool m_opened;
- QString m_format;
+ TQString m_format;
k9DVDTitle* m_start;
int m_titlesetCount;
public:
- k9DVD(QObject *parent=0,const char *name=0,const QStringList args=0) ;
+ k9DVD(TQObject *tqparent=0,const char *name=0,const TQStringList args=0) ;
~k9DVD();
/**
@@ -88,19 +89,19 @@ public:
* @param device input device
* @return return code (0=ok)
*/
- virtual int scandvd (const QString & device,bool _quickScan);
+ virtual int scandvd (const TQString & device,bool _quickScan);
/**
* gets the title of the DVD
* @return DVD title
*/
- virtual const QString& getDVDTitle();
+ virtual const TQString& getDVDTitle();
/**
* set the title of the DVD
* @param _newVal the new DVD title
*/
- virtual void setDVDTitle(const QString &_newVal);
+ virtual void setDVDTitle(const TQString &_newVal);
/**
*
@@ -130,12 +131,12 @@ public:
virtual k9DVDTitle* gettitleByNum(int num);
virtual k9DVDTitle *getlongestTitle();
virtual float getfactor(bool withMenus,bool _streams,bool _useDvdAuthor);
- virtual const QString& getDevice();
+ virtual const TQString& getDevice();
virtual const bool& geterror();
- virtual const QString& geterrMsg();
+ virtual const TQString& geterrMsg();
virtual const bool& getopened();
virtual uint64_t getsizeSelected(bool _streams);
- virtual QString &getFormat();
+ virtual TQString &getFormat();
virtual k9DVDTitle* getstart();
virtual void setstart(k9DVDTitle* title);
virtual int getnewTitleNum(k9DVDTitle *title);
@@ -143,7 +144,7 @@ public:
virtual void close();
virtual k9DVDTitleset *gettitleset(int num);
virtual k9DVDRead * getdvd() {return &m_dvd;}
- static QString lang_name(const QString & code,const QString & name);
+ static TQString lang_name(const TQString & code,const TQString & name);
private: // Private methods
k9DVDRead m_dvd;
k9DVDTitle* addTitle(k9DVDTitleset *titleset,int id,int num,int _VTS,int _pgc,uint32_t _startSector, bool _indexed);
@@ -153,22 +154,22 @@ private: // Private methods
int dvdtime2msec(dvd_time_t *dt);
int get_title_name(const char* dvd_device, char* title);
void calcStreamSize(k9DVDTitle & title);
- void setError(const QString &err);
+ void setError(const TQString &err);
int getVampsID(int type);
int calcNumTitle(ifo_handle_t *ifo,int _vts,int _ttn);
public slots: // Public slots
void slotVobProgress(unsigned int position,unsigned int total);
void slotTitleProgress(unsigned int position,unsigned int total);
- void slotTitleText(QString &text);
- void slotTotalText(QString &text);
+ void slotTitleText(TQString &text);
+ void slotTotalText(TQString &text);
signals: // Signals
void sigVobProgress(unsigned int position,unsigned int total);
void sigTitleProgress(unsigned int position,unsigned int total);
- void sigTitleText(QString &text);
- void sigTotalText(QString &text);
+ void sigTitleText(TQString &text);
+ void sigTotalText(TQString &text);
};
-typedef struct lng { char code[3]; QString name;};
+typedef struct lng { char code[3]; TQString name;};
#endif