summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9dvdbackup.h
diff options
context:
space:
mode:
Diffstat (limited to 'libk9copy/k9dvdbackup.h')
-rwxr-xr-xlibk9copy/k9dvdbackup.h46
1 files changed, 24 insertions, 22 deletions
diff --git a/libk9copy/k9dvdbackup.h b/libk9copy/k9dvdbackup.h
index 36349ef..1b56e17 100755
--- a/libk9copy/k9dvdbackup.h
+++ b/libk9copy/k9dvdbackup.h
@@ -24,9 +24,9 @@
#include "k9cell.h"
#include "k9cellcopylist.h"
#include "k9dvdread.h"
-#include <qptrqueue.h>
-#include <qmutex.h>
-#include <qfile.h>
+#include <tqptrqueue.h>
+#include <tqmutex.h>
+#include <tqfile.h>
/**
@author Jean-Michel Petit
*/
@@ -34,8 +34,9 @@
class k9BackupDlg;
class k9Ifo2;
-class k9TitleSet : public QObject {
+class k9TitleSet : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
k9TitleSet(int _VTS);
~k9TitleSet();
@@ -50,37 +51,38 @@ public:
private:
};
-class k9TitleSetList:public QPtrList <k9TitleSet> {
+class k9TitleSetList:public TQPtrList <k9TitleSet> {
protected:
- int compareItems ( QPtrCollection::Item item1, QPtrCollection::Item item2 );
+ int compareItems ( TQPtrCollection::Item item1, TQPtrCollection::Item item2 );
};
-class k9CadtList:public QPtrList<cell_adr_t> {
+class k9CadtList:public TQPtrList<cell_adr_t> {
protected:
- int compareItems(QPtrCollection::Item item1,QPtrCollection::Item item2);
+ int compareItems(TQPtrCollection::Item item1,TQPtrCollection::Item item2);
};
class k9vamps;
-class k9DVDBackup : public QObject {
+class k9DVDBackup : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- k9DVDBackup(QObject *_dvd,const char* name=0,const QStringList& args=0) ;
+ k9DVDBackup(TQObject *_dvd,const char* name=0,const TQStringList& args=0) ;
~k9DVDBackup();
- virtual void setDevice(QString _device);
- virtual void setOutput(QString _output);
- virtual QString getErrMsg();
+ virtual void setDevice(TQString _device);
+ virtual void setOutput(TQString _output);
+ virtual TQString getErrMsg();
virtual void execute();
virtual bool geterror();
virtual void setWithMenus(bool _value);
- virtual QWidget *getDialog() {return (QWidget*)backupDlg;};
+ virtual TQWidget *getDialog() {return (TQWidget*)backupDlg;};
public slots:
void getOutput(uchar *buffer,uint32_t size);
protected:
- QString device;
- QString output;
+ TQString device;
+ TQString output;
bool wrote;
private:
k9DVDRead *m_dvdread;
@@ -88,9 +90,9 @@ private:
bool m_withMenu;
bool m_forcedFactor;
k9DVD *DVD;
- QString errMsg;
- QString vampsMsg;
- QFile* outputFile;
+ TQString errMsg;
+ TQString vampsMsg;
+ TQFile* outputFile;
long cellSize;
long currVTS;
k9TitleSet *currTS;
@@ -129,10 +131,10 @@ private:
void calcFactor();
void forceFactor(double _factor);
bool error;
- void seterror(const QString &_msg);
+ void seterror(const TQString &_msg);
k9vamps *vamps;
- QPtrQueue <k9Vobu> vobuQueue;
- QMutex mutex;
+ TQPtrQueue <k9Vobu> vobuQueue;
+ TQMutex mutex;
};