diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
commit | b0e912c8b3d02a518fedda28c3180eb4794a7520 (patch) | |
tree | 07d344862562fab58cbe2df39d13d16f2e4d2bea /src/k9prefmencoder.cpp | |
parent | 4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff) | |
download | k9copy-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 'src/k9prefmencoder.cpp')
-rw-r--r-- | src/k9prefmencoder.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/k9prefmencoder.cpp b/src/k9prefmencoder.cpp index b8d92d8..d4594fe 100644 --- a/src/k9prefmencoder.cpp +++ b/src/k9prefmencoder.cpp @@ -12,15 +12,15 @@ #include "k9prefmencoder.h" -#include <qlistbox.h> -#include <qtextedit.h> +#include <tqlistbox.h> +#include <tqtextedit.h> #include "k9mencodercmdgen.h" #include <kpushbutton.h> #include <kiconloader.h> #include <klocale.h> -k9prefMencoder::k9prefMencoder(QWidget* parent, const char* name, WFlags fl) -: prefMencoder(parent,name,fl) +k9prefMencoder::k9prefMencoder(TQWidget* tqparent, const char* name, WFlags fl) +: prefMencoder(tqparent,name,fl) { m_update=false; load(); @@ -46,7 +46,7 @@ void k9prefMencoder::load() { } -void k9prefMencoder::lbvCodecsCurrentChanged(QListBoxItem *_item) { +void k9prefMencoder::lbvCodecsCurrentChanged(TQListBoxItem *_item) { if (_item) { int i=lbvCodecs->currentItem(); m_update=true; @@ -59,7 +59,7 @@ void k9prefMencoder::lbvCodecsCurrentChanged(QListBoxItem *_item) { } } -void k9prefMencoder::lbaCodecsCurrentChanged(QListBoxItem *_item) { +void k9prefMencoder::lbaCodecsCurrentChanged(TQListBoxItem *_item) { if (_item) { int i=lbaCodecs->currentItem(); m_update=true; @@ -77,25 +77,25 @@ void k9prefMencoder::save() } void k9prefMencoder::btnOpt1Clicked() { - QString s=teOpt1->text(); + TQString s=teOpt1->text(); if( k9MencoderCmdGen::getMencoderOptions(s)) teOpt1->setText(s); } void k9prefMencoder::btnOpt2Clicked() { - QString s=teOpt2->text(); + TQString s=teOpt2->text(); if( k9MencoderCmdGen::getMencoderOptions(s)) teOpt2->setText(s); } void k9prefMencoder::btnOpt3Clicked() { - QString s=teOpt3->text(); + TQString s=teOpt3->text(); if( k9MencoderCmdGen::getMencoderOptions(s)) teOpt3->setText(s); } void k9prefMencoder::btnOptAClicked() { - QString s=teOptA->text(); + TQString s=teOptA->text(); if( k9MencoderCmdGen::getMencoderOptions(s)) teOptA->setText(s); @@ -165,20 +165,20 @@ void k9prefMencoder::teOpt3TextChanged() { } -void k9prefMencoder::leVLabelTextChanged(const QString &_value) { +void k9prefMencoder::leVLabelTextChanged(const TQString &_value) { if (!m_update) { lbvCodecs->changeItem(_value,lbvCodecs->currentItem()); m_codecs.setCodecName(lbvCodecs->currentItem(),_value); } } -void k9prefMencoder::leALabelTextChanged(const QString &_value) { +void k9prefMencoder::leALabelTextChanged(const TQString &_value) { if (!m_update) { lbaCodecs->changeItem(_value,lbaCodecs->currentItem()); m_audioCodecs.setCodecName(lbaCodecs->currentItem(),_value); } } -void k9prefMencoder::leFourccTextChanged(const QString &_value) { +void k9prefMencoder::leFourccTextChanged(const TQString &_value) { if (!m_update) { m_codecs.setFourcc(lbvCodecs->currentItem(),_value); } |