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 /libk9copy/k9mp4dlg.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 'libk9copy/k9mp4dlg.cpp')
-rw-r--r-- | libk9copy/k9mp4dlg.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libk9copy/k9mp4dlg.cpp b/libk9copy/k9mp4dlg.cpp index d8b5bda..407d4e9 100644 --- a/libk9copy/k9mp4dlg.cpp +++ b/libk9copy/k9mp4dlg.cpp @@ -12,19 +12,19 @@ #include "k9mp4dlg.h" -#include <qlabel.h> +#include <tqlabel.h> #include <kprogress.h> -#include <qpainter.h> +#include <tqpainter.h> #include <kstandarddirs.h> -#include <qlayout.h> +#include <tqlayout.h> #include "k9drawimage.h" -k9MP4Dlg::k9MP4Dlg(QWidget* parent, const char* name) -: MP4Dlg(parent,name, true) +k9MP4Dlg::k9MP4Dlg(TQWidget* tqparent, const char* name) +: MP4Dlg(tqparent,name, true) { m_wimage=new k9DrawImage(image,0); - QGridLayout *l=new QGridLayout(image,1,1); + TQGridLayout *l=new TQGridLayout(image,1,1); l->addWidget(m_wimage,0,0); m_timer.start(); } @@ -36,20 +36,20 @@ k9MP4Dlg::~k9MP4Dlg() /*$SPECIALIZATION$*/ void k9MP4Dlg::Cancel() { - //QDialog::accept(); + //TQDialog::accept(); emit sigCancel(); } -void k9MP4Dlg::setTitleLabel(QString _titleLabel) { +void k9MP4Dlg::setTitleLabel(TQString _titleLabel) { lblTitle->setText(_titleLabel); } -void k9MP4Dlg::setfps(QString _fps) { +void k9MP4Dlg::setfps(TQString _fps) { lblfps->setText(_fps); } -void k9MP4Dlg::setremain(QString _remain) { +void k9MP4Dlg::setremain(TQString _remain) { if (m_timer.elapsed() >=1000) { lblRemain->setText(_remain); m_timer.restart(); @@ -61,16 +61,16 @@ void k9MP4Dlg::setProgress(int _progress) { } -void k9MP4Dlg::setbitrate(QString _bitrate) { +void k9MP4Dlg::setbitrate(TQString _bitrate) { lblbitrate->setText(_bitrate); } -void k9MP4Dlg::setsize( QString _size) { +void k9MP4Dlg::setsize( TQString _size) { lblsize->setText(_size); } -void k9MP4Dlg::setImage(QString _fileName) { +void k9MP4Dlg::setImage(TQString _fileName) { m_wimage->setImage(_fileName); } |