From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kscd/configWidget.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kscd/configWidget.cpp') diff --git a/kscd/configWidget.cpp b/kscd/configWidget.cpp index 0865c5ad..bae787e9 100644 --- a/kscd/configWidget.cpp +++ b/kscd/configWidget.cpp @@ -26,9 +26,9 @@ #include #include #include -#include +#include #include -#include +#include #include extern "C" { @@ -45,14 +45,14 @@ extern "C" { class SpecialComboBox : public KComboBox { public: - SpecialComboBox(QWidget* parent, const char* name) + SpecialComboBox(TQWidget* parent, const char* name) : KComboBox(parent, name) {} - // QComboBox::setCurrentText replaces the current text if + // TQComboBox::setCurrentText replaces the current text if // the list doesn't contain text, while // KComboBox::setCurrentItem doesn't - void setCurrentText(const QString& text) + void setCurrentText(const TQString& text) { setCurrentItem(text); } @@ -65,7 +65,7 @@ public: * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */ -configWidget::configWidget(KSCD* player, QWidget* parent, const char* name) +configWidget::configWidget(KSCD* player, TQWidget* parent, const char* name) : configWidgetUI(parent, name), mPlayer(player) { @@ -78,7 +78,7 @@ configWidget::configWidget(KSCD* player, QWidget* parent, const char* name) kcfg_cdDevice->comboBox()->insertItem(DEFAULT_CD_DEVICE); getMediaDevices(); - (new QVBoxLayout(audioSystemFrame))->setAutoAdd(true); + (new TQVBoxLayout(audioSystemFrame))->setAutoAdd(true); kcfg_AudioSystem = new SpecialComboBox(audioSystemFrame, "kcfg_AudioSystem"); textLabel4->setBuddy(kcfg_AudioSystem); @@ -115,14 +115,14 @@ void configWidget::getMediaDevices() if (!rep.isValid()) { return; } - QStringList list = rep; - QStringList::const_iterator it = list.begin(); - QStringList::const_iterator itEnd = list.end(); + TQStringList list = rep; + TQStringList::const_iterator it = list.begin(); + TQStringList::const_iterator itEnd = list.end(); // it would be much better if libmediacommon was in kdelibs while (it != itEnd) { it++; if (it == itEnd) break; - QString url="media:/"+(*it); // is it always right? ervin? + TQString url="media:/"+(*it); // is it always right? ervin? kdDebug() << "checking " << url << endl; for (int i=0;i<9;i++) ++it; // go to mimetype (MIME_TYPE-NAME from medium.h) kdDebug() << "Mime: " << *it << endl; -- cgit v1.2.1