summaryrefslogtreecommitdiffstats
path: root/juk/filerenameroptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/filerenameroptions.cpp')
-rw-r--r--juk/filerenameroptions.cpp26
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),