summaryrefslogtreecommitdiffstats
path: root/libkcddb/cdinfoencodingwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /libkcddb/cdinfoencodingwidget.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-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 '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());