diff options
Diffstat (limited to 'libkcddb/kcmcddb/kcmcddb.cpp')
-rw-r--r-- | libkcddb/kcmcddb/kcmcddb.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libkcddb/kcmcddb/kcmcddb.cpp b/libkcddb/kcmcddb/kcmcddb.cpp index 3688ba6a..fa10bc4a 100644 --- a/libkcddb/kcmcddb/kcmcddb.cpp +++ b/libkcddb/kcmcddb/kcmcddb.cpp @@ -45,8 +45,8 @@ typedef KGenericFactory<CDDBModule, TQWidget> KCDDBFactory; K_EXPORT_COMPONENT_FACTORY ( kcm_cddb, KCDDBFactory( "kcmcddb" ) ) -CDDBModule::CDDBModule(TQWidget *parent, const char *name, const TQStringList &) - : KCModule(parent, name) +CDDBModule::CDDBModule(TQWidget *tqparent, const char *name, const TQStringList &) + : KCModule(tqparent, name) { KGlobal::locale()->insertCatalogue("libkcddb"); setButtons(Default | Apply); @@ -58,10 +58,10 @@ CDDBModule::CDDBModule(TQWidget *parent, const char *name, const TQStringList &) addConfig(cfg, widget_); - TQVBoxLayout * layout = new TQVBoxLayout(this, 0); + TQVBoxLayout * tqlayout = new TQVBoxLayout(this, 0); - layout->addWidget(widget_); - layout->addStretch(); + tqlayout->addWidget(widget_); + tqlayout->addStretch(); setQuickHelp(i18n("CDDB is used to get information like artist, title and song-names in CD's")); @@ -84,8 +84,8 @@ CDDBModule::checkSettings() const config.readConfig(); if (config.smtpHostname().isEmpty() || config.emailAddress().isEmpty() - || !config.emailAddress().contains("@") || - (!config.replyTo().isEmpty() && !config.replyTo().contains("@"))) + || !config.emailAddress().tqcontains("@") || + (!config.replyTo().isEmpty() && !config.replyTo().tqcontains("@"))) { if (config.submitTransport() == KCDDB::Submit::SMTP) |