diff options
Diffstat (limited to 'libkcddb/kcmcddb')
-rw-r--r-- | libkcddb/kcmcddb/cddbconfigwidget.cpp | 30 | ||||
-rw-r--r-- | libkcddb/kcmcddb/cddbconfigwidget.h | 2 | ||||
-rw-r--r-- | libkcddb/kcmcddb/kcmcddb.cpp | 24 | ||||
-rw-r--r-- | libkcddb/kcmcddb/kcmcddb.h | 2 |
4 files changed, 29 insertions, 29 deletions
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 <qlistbox.h> -#include <qcombobox.h> -#include <qspinbox.h> -#include <qlineedit.h> +#include <tqlistbox.h> +#include <tqcombobox.h> +#include <tqspinbox.h> +#include <tqlineedit.h> #include <kfiledialog.h> #include <kapplication.h> #include <klocale.h> #include <kinputdialog.h> #include <kmessagebox.h> #include <keditlistbox.h> -#include <qwidgetstack.h> +#include <tqwidgetstack.h> #include <kurlrequester.h> -#include <qbuttongroup.h> -#include <qcheckbox.h> +#include <tqbuttongroup.h> +#include <tqcheckbox.h> -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<KCDDB::Mirror> sites = s.siteList(); - QMap<QString, KCDDB::Mirror> keys; - for (QValueList<KCDDB::Mirror>::Iterator it = sites.begin(); it != sites.end(); ++it) + TQValueList<KCDDB::Mirror> sites = s.siteList(); + TQMap<TQString, KCDDB::Mirror> keys; + for (TQValueList<KCDDB::Mirror>::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 <qlayout.h> -#include <qcheckbox.h> -#include <qcombobox.h> -#include <qspinbox.h> -#include <qlineedit.h> -#include <qradiobutton.h> -#include <qlistbox.h> -#include <qlabel.h> -#include <qbuttongroup.h> +#include <tqlayout.h> +#include <tqcheckbox.h> +#include <tqcombobox.h> +#include <tqspinbox.h> +#include <tqlineedit.h> +#include <tqradiobutton.h> +#include <tqlistbox.h> +#include <tqlabel.h> +#include <tqbuttongroup.h> #include <kconfig.h> #include <klocale.h> @@ -42,10 +42,10 @@ #include "libkcddb/cache.h" #include "libkcddb/submit.h" -typedef KGenericFactory<CDDBModule, QWidget> KCDDBFactory; +typedef KGenericFactory<CDDBModule, TQWidget> 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: |