summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9dvdauthor.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/k9dvdauthor.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/k9dvdauthor.h')
-rwxr-xr-xlibk9copy/k9dvdauthor.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/libk9copy/k9dvdauthor.h b/libk9copy/k9dvdauthor.h
index 83a5265..60fdd26 100755
--- a/libk9copy/k9dvdauthor.h
+++ b/libk9copy/k9dvdauthor.h
@@ -24,37 +24,38 @@
#include "k9dvd.h"
#include "k9progress.h"
-#include <qdom.h>
+#include <tqdom.h>
#include "k9process.h"
-#include <qdatastream.h>
-#include <qprogressdialog.h>
+#include <tqdatastream.h>
+#include <tqprogressdialog.h>
#include <klocale.h>
#include <ktempfile.h>
/**
*@author
*/
-class k9DVDAuthor : public QObject {
+class k9DVDAuthor : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- k9DVDAuthor(QObject *DVDStruct,const char* name=0,const QStringList& args=0) ;
+ k9DVDAuthor(TQObject *DVDStruct,const char* name=0,const TQStringList& args=0) ;
~k9DVDAuthor();
- virtual void setworkDir( const QString& _newVal);
- virtual const QString& getworkDir();
+ virtual void setworkDir( const TQString& _newVal);
+ virtual const TQString& getworkDir();
virtual bool getError();
virtual void author();
virtual void setburnDVD( const bool& _newVal);
virtual const bool& getburnDVD();
- virtual QWidget *getDialog(){return progress;};
+ virtual TQWidget *getDialog(){return progress;};
private: // Private attributes
/** */
- QTime *time;
+ TQTime *time;
k9DVD* DVD;
double factor;
- QDomDocument *xml;
- QString lastMsg,totSize,inject;
+ TQDomDocument *xml;
+ TQString lastMsg,totSize,inject;
k9Process *proc;
- QString workDir;
+ TQString workDir;
k9Progress *progress;
bool cancelled;
bool error;
@@ -65,11 +66,11 @@ private: // Private attributes
uint32_t m_copied,m_lastPos;
uint64_t m_totalPartSize;
KTempFile *m_xml,*m_inject;
- QPtrList <KTempFile> files;
+ TQPtrList <KTempFile> files;
void createXML();
- void addTitle(QDomElement &root, k9DVDTitle *title);
+ void addTitle(TQDomElement &root, k9DVDTitle *title);
void createMenus(bool preview);
- void addMenus(QDomElement &titleSet);
+ void addMenus(TQDomElement &titleSet);
void processMenu();
void spumux();
private slots: // Private slots