diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /juk/filerenameroptions.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/filerenameroptions.cpp')
-rw-r--r-- | juk/filerenameroptions.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/juk/filerenameroptions.cpp b/juk/filerenameroptions.cpp index 2813be4b..d40fd81c 100644 --- a/juk/filerenameroptions.cpp +++ b/juk/filerenameroptions.cpp @@ -17,15 +17,15 @@ #include <kdebug.h> #include <knuminput.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qradiobutton.h> -#include <qlineedit.h> -#include <qbuttongroup.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqradiobutton.h> +#include <tqlineedit.h> +#include <tqbuttongroup.h> #include "filerenameroptions.h" -FileRenamerTagOptions::FileRenamerTagOptions(QWidget *parent, +FileRenamerTagOptions::FileRenamerTagOptions(TQWidget *parent, const TagRenamerOptions &options) : FileRenamerTagOptionsBase(parent), m_options(options) { @@ -44,7 +44,7 @@ FileRenamerTagOptions::FileRenamerTagOptions(QWidget *parent, if(m_options.category() != Track) m_trackGroup->hide(); - QString tagText = m_options.tagTypeText(); + TQString tagText = m_options.tagTypeText(); setCaption(caption().arg(tagText)); m_tagFormatGroup->setTitle(m_tagFormatGroup->title().arg(tagText)); @@ -68,7 +68,7 @@ FileRenamerTagOptions::FileRenamerTagOptions(QWidget *parent, void FileRenamerTagOptions::slotBracketsChanged() { - QString tag = m_options.tagTypeText(); + TQString tag = m_options.tagTypeText(); m_options.setPrefix(m_prefixText->text()); m_options.setSuffix(m_suffixText->text()); @@ -82,19 +82,19 @@ void FileRenamerTagOptions::slotTrackWidthChanged() m_options.setTrackWidth(width); - QString singleDigitText = m_singleDigit->text(); + TQString singleDigitText = m_singleDigit->text(); singleDigitText.remove(" ->"); - QString doubleDigitText = m_doubleDigit->text(); + TQString doubleDigitText = m_doubleDigit->text(); doubleDigitText.remove(" ->"); if(singleDigitText.length() < width) { - QString p; + TQString p; p.fill('0', width - singleDigitText.length()); singleDigitText.prepend(p); } if(doubleDigitText.length() < width) { - QString p; + TQString p; p.fill('0', width - doubleDigitText.length()); doubleDigitText.prepend(p); } @@ -115,7 +115,7 @@ void FileRenamerTagOptions::slotEmptyActionChanged() m_options.setEmptyAction(TagRenamerOptions::ForceEmptyInclude); } -TagOptionsDialog::TagOptionsDialog(QWidget *parent, +TagOptionsDialog::TagOptionsDialog(TQWidget *parent, const TagRenamerOptions &options, unsigned categoryNumber) : KDialogBase(parent, 0, true, i18n("File Renamer"), Ok | Cancel), |