summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9burndvd.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 /libk9copy/k9burndvd.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 'libk9copy/k9burndvd.h')
-rw-r--r--libk9copy/k9burndvd.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/libk9copy/k9burndvd.h b/libk9copy/k9burndvd.h
index 6d9948c..e075bc1 100644
--- a/libk9copy/k9burndvd.h
+++ b/libk9copy/k9burndvd.h
@@ -29,36 +29,37 @@
/**
@author Jean-Michel PETIT
*/
-class k9BurnDVD: public QObject
+class k9BurnDVD: public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
k9BurnDVD();
~k9BurnDVD();
- virtual void setburnDevice( const QString& _newVal);
- virtual const QString& getburnDevice();
- virtual QWidget* getDialog() {return progress;};
- void setworkDir( const QString& _newVal);
- void setvolId(QString _newVal);
+ virtual void setburnDevice( const TQString& _newVal);
+ virtual const TQString& getburnDevice();
+ virtual TQWidget* getDialog() {return progress;};
+ void setworkDir( const TQString& _newVal);
+ void setvolId(TQString _newVal);
void setUseK3b(bool _newVal);
void setAutoBurn (bool _newVal);
void burn();
- void makeIso(QString _filename);
+ void makeIso(TQString _filename);
- void setSpeed(const QString& _value) { m_speed = _value;}
+ void setSpeed(const TQString& _value) { m_speed = _value;}
private:
- QTime *time;
+ TQTime *time;
k9Progress *progress;
k9Process *proc;
k9Process *proc2;
- QString volId;
+ TQString volId;
float burnSpeed;
- QString burnDevice;
- QString lastMsg;
- QString workDir;
- QString m_filename;
+ TQString burnDevice;
+ TQString lastMsg;
+ TQString workDir;
+ TQString m_filename;
bool cancelled;
bool useK3b;
bool autoBurn;
@@ -66,13 +67,13 @@ private:
bool m_cdrkit;
void burnWithGrowisofs();
void burnWithGenisoimage();
- void getGenisoimageCmd(k9Process *proc,QString _fileName,bool _printSize);
+ void getGenisoimageCmd(k9Process *proc,TQString _fileName,bool _printSize);
void getWodimCmd(k9Process *proc);
void burnWithK3b();
- const QString &getImageSize();
- QString imageSize;
- QString m_speed;
+ const TQString &getImageSize();
+ TQString imageSize;
+ TQString m_speed;
private slots: // Private slots
void growisoStderr(KProcess *proc, char *buffer, int buflen);
void growisoStdout(KProcess *proc, char *buffer, int buflen);