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 --- libkcddb/kcmcddb/cddbconfigwidget.cpp | 30 +++++++++++++++--------------- libkcddb/kcmcddb/cddbconfigwidget.h | 2 +- libkcddb/kcmcddb/kcmcddb.cpp | 24 ++++++++++++------------ libkcddb/kcmcddb/kcmcddb.h | 2 +- 4 files changed, 29 insertions(+), 29 deletions(-) (limited to 'libkcddb/kcmcddb') diff --git a/libkcddb/kcmcddb/cddbconfigwidget.cpp b/libkcddb/kcmcddb/cddbconfigwidget.cpp index 70c5e1e9..442efd12 100644 --- a/libkcddb/kcmcddb/cddbconfigwidget.cpp +++ b/libkcddb/kcmcddb/cddbconfigwidget.cpp @@ -23,22 +23,22 @@ #include "libkcddb/sites.h" #include "libkcddb/lookup.h" -#include -#include -#include -#include +#include +#include +#include +#include #include #include #include #include #include #include -#include +#include #include -#include -#include +#include +#include -CDDBConfigWidget::CDDBConfigWidget(QWidget * parent, const char * name) +CDDBConfigWidget::CDDBConfigWidget(TQWidget * parent, const char * name) : CDDBConfigWidgetBase(parent, name) { // Connections from widgets are made in designer. @@ -56,13 +56,13 @@ void CDDBConfigWidget::showMirrorList() { KCDDB::Sites s; - QValueList sites = s.siteList(); - QMap keys; - for (QValueList::Iterator it = sites.begin(); it != sites.end(); ++it) + TQValueList sites = s.siteList(); + TQMap keys; + for (TQValueList::Iterator it = sites.begin(); it != sites.end(); ++it) if ((*it).transport == KCDDB::Lookup::CDDBP) - keys[(*it).address + "(CDDBP, " + QString::number((*it).port) + ") " + (*it).description] = *it; + keys[(*it).address + "(CDDBP, " + TQString::number((*it).port) + ") " + (*it).description] = *it; else - keys[(*it).address + "(HTTP, " + QString::number((*it).port) + ") " + (*it).description] = *it; + keys[(*it).address + "(HTTP, " + TQString::number((*it).port) + ") " + (*it).description] = *it; bool ok; @@ -72,9 +72,9 @@ void CDDBConfigWidget::showMirrorList() return; } - QStringList result = KInputDialog::getItemList(i18n("Select mirror"), + TQStringList result = KInputDialog::getItemList(i18n("Select mirror"), i18n("Select one of these mirrors"), keys.keys(), - QStringList(), false, &ok, this); + TQStringList(), false, &ok, this); if (ok && result.count() == 1) { diff --git a/libkcddb/kcmcddb/cddbconfigwidget.h b/libkcddb/kcmcddb/cddbconfigwidget.h index fafeaffa..2f0363d7 100644 --- a/libkcddb/kcmcddb/cddbconfigwidget.h +++ b/libkcddb/kcmcddb/cddbconfigwidget.h @@ -28,7 +28,7 @@ class CDDBConfigWidget : public CDDBConfigWidgetBase public: - CDDBConfigWidget(QWidget * parent = 0, const char * name = 0); + CDDBConfigWidget(TQWidget * parent = 0, const char * name = 0); protected slots: diff --git a/libkcddb/kcmcddb/kcmcddb.cpp b/libkcddb/kcmcddb/kcmcddb.cpp index 851b7cb1..3688ba6a 100644 --- a/libkcddb/kcmcddb/kcmcddb.cpp +++ b/libkcddb/kcmcddb/kcmcddb.cpp @@ -18,15 +18,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include @@ -42,10 +42,10 @@ #include "libkcddb/cache.h" #include "libkcddb/submit.h" -typedef KGenericFactory KCDDBFactory; +typedef KGenericFactory KCDDBFactory; K_EXPORT_COMPONENT_FACTORY ( kcm_cddb, KCDDBFactory( "kcmcddb" ) ) -CDDBModule::CDDBModule(QWidget *parent, const char *name, const QStringList &) +CDDBModule::CDDBModule(TQWidget *parent, const char *name, const TQStringList &) : KCModule(parent, name) { KGlobal::locale()->insertCatalogue("libkcddb"); @@ -58,7 +58,7 @@ CDDBModule::CDDBModule(QWidget *parent, const char *name, const QStringList &) addConfig(cfg, widget_); - QVBoxLayout * layout = new QVBoxLayout(this, 0); + TQVBoxLayout * layout = new TQVBoxLayout(this, 0); layout->addWidget(widget_); layout->addStretch(); diff --git a/libkcddb/kcmcddb/kcmcddb.h b/libkcddb/kcmcddb/kcmcddb.h index dd22f0a5..36d42e6f 100644 --- a/libkcddb/kcmcddb/kcmcddb.h +++ b/libkcddb/kcmcddb/kcmcddb.h @@ -33,7 +33,7 @@ class CDDBModule : public KCModule public: - CDDBModule(QWidget * parent, const char *name, const QStringList &); + CDDBModule(TQWidget * parent, const char *name, const TQStringList &); public slots: -- cgit v1.2.1