summaryrefslogtreecommitdiffstats
path: root/kscd/configWidget.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 /kscd/configWidget.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 'kscd/configWidget.cpp')
-rw-r--r--kscd/configWidget.cpp22
1 files changed, 11 insertions, 11 deletions
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 <klineedit.h>
#include <dcopref.h>
#include <kurlrequester.h>
-#include <qcheckbox.h>
+#include <tqcheckbox.h>
#include <kcombobox.h>
-#include <qlayout.h>
+#include <tqlayout.h>
#include <config.h>
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;