From b0e912c8b3d02a518fedda28c3180eb4794a7520 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 27 May 2011 23:37:00 +0000 Subject: 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 --- libk9copy/k9titleencopt.h | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'libk9copy/k9titleencopt.h') diff --git a/libk9copy/k9titleencopt.h b/libk9copy/k9titleencopt.h index cb4cde3..faf72c1 100644 --- a/libk9copy/k9titleencopt.h +++ b/libk9copy/k9titleencopt.h @@ -12,7 +12,7 @@ #ifndef K9TITLEENCOPT_H #define K9TITLEENCOPT_H -#include +#include /** @@ -21,13 +21,14 @@ class k9DVDTitle; -class k9TitleEncOpt : public QObject +class k9TitleEncOpt : public TQObject { Q_OBJECT + TQ_OBJECT public: - k9TitleEncOpt(k9DVDTitle *parent ); + k9TitleEncOpt(k9DVDTitle *tqparent ); ~k9TitleEncOpt(); - k9DVDTitle *getTitle() { return (k9DVDTitle*)parent();}; + k9DVDTitle *getTitle() { return (k9DVDTitle*)tqparent();}; public: int getMaxSize(); @@ -39,17 +40,17 @@ public: int getAudioGain(); void setAudioGain(int); - const QString & getWidth(); - void setWidth(QString); + const TQString & getWidth(); + void setWidth(TQString); - const QString & getHeight(); - void setHeight(QString); + const TQString & getHeight(); + void setHeight(TQString); - const QString & getAudioBr(); - void setAudioBr(QString); + const TQString & getAudioBr(); + void setAudioBr(TQString); - const QString & getVideoBr(); - void setVideoBr(QString); + const TQString & getVideoBr(); + void setVideoBr(TQString); bool getKeepAspectRatio(); void setKeepAspectRatio(bool); @@ -70,11 +71,11 @@ public: private: int m_maxSize; int m_numParts; - QString m_width; - QString m_height; + TQString m_width; + TQString m_height; bool m_keepAspectRatio; bool m_2Passes; - QString m_audioBr,m_videoBr; + TQString m_audioBr,m_videoBr; int m_codec,m_audioCodec; int m_audioGain; bool m_useCache; -- cgit v1.2.1