summaryrefslogtreecommitdiffstats
path: root/libkcddb/cdinfoencodingwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcddb/cdinfoencodingwidget.cpp')
-rw-r--r--libkcddb/cdinfoencodingwidget.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/libkcddb/cdinfoencodingwidget.cpp b/libkcddb/cdinfoencodingwidget.cpp
index 434d1169..42d0e506 100644
--- a/libkcddb/cdinfoencodingwidget.cpp
+++ b/libkcddb/cdinfoencodingwidget.cpp
@@ -17,10 +17,10 @@
Boston, MA 02110-1301, USA.
*/
-#include <qcombobox.h>
-#include <qlistbox.h>
-#include <qlabel.h>
-#include <qtextcodec.h>
+#include <tqcombobox.h>
+#include <tqlistbox.h>
+#include <tqlabel.h>
+#include <tqtextcodec.h>
#include <klocale.h>
#include <kglobal.h>
#include <kcharsets.h>
@@ -28,8 +28,8 @@
namespace KCDDB
{
- CDInfoEncodingWidget::CDInfoEncodingWidget(QWidget* parent, const QString& artist,
- const QString& title, const QStringList& songTitles)
+ CDInfoEncodingWidget::CDInfoEncodingWidget(TQWidget* parent, const TQString& artist,
+ const TQString& title, const TQStringList& songTitles)
: CDInfoEncodingWidgetBase(parent), m_artist(artist), m_title(title),
m_songTitles(songTitles)
{
@@ -37,25 +37,25 @@ namespace KCDDB
slotEncodingChanged(encodingCombo->currentText());
- connect(encodingCombo,SIGNAL(activated(const QString&)),
- this,SLOT(slotEncodingChanged(const QString&)));
+ connect(encodingCombo,TQT_SIGNAL(activated(const TQString&)),
+ this,TQT_SLOT(slotEncodingChanged(const TQString&)));
}
- QString CDInfoEncodingWidget::selectedEncoding()
+ TQString CDInfoEncodingWidget::selectedEncoding()
{
return encodingCombo->currentText();
}
- void CDInfoEncodingWidget::slotEncodingChanged(const QString& encoding)
+ void CDInfoEncodingWidget::slotEncodingChanged(const TQString& encoding)
{
KCharsets* charsets = KGlobal::charsets();
- QTextCodec* codec = charsets->codecForName(charsets->encodingForName(encoding));
+ TQTextCodec* codec = charsets->codecForName(charsets->encodingForName(encoding));
songsBox->clear();
- QStringList newTitles;
+ TQStringList newTitles;
- for (QStringList::const_iterator it = m_songTitles.begin();
+ for (TQStringList::const_iterator it = m_songTitles.begin();
it != m_songTitles.end(); ++it)
newTitles << codec->toUnicode((*it).latin1());