~ubuntu-branches/ubuntu/natty/kdemultimedia/natty-proposed

« back to all changes in this revision

Viewing changes to libkcddb/kcmcddb/kcmcddb.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Debian Qt/KDE Maintainers
  • Date: 2011-05-26 02:41:36 UTC
  • mfrom: (0.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 108.
  • Revision ID: james.westby@ubuntu.com-20110526024136-jjwsigfy402jhupm
Tags: upstream-4.6.3
ImportĀ upstreamĀ versionĀ 4.6.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#include <QCheckBox>
29
29
#include <qradiobutton.h>
30
 
#include <q3listbox.h>
31
 
#include <q3buttongroup.h>
32
30
#include <QVBoxLayout>
33
31
 
34
32
#include <kconfig.h>
45
43
CDDBModule::CDDBModule(QWidget *parent, const QVariantList &)
46
44
  : KCModule(KCDDBFactory::componentData(), parent)
47
45
{
48
 
  KGlobal::locale()->insertCatalog("libkcddb");
 
46
  KGlobal::locale()->insertCatalog( QLatin1String( "libkcddb" ));
49
47
  setButtons(Default | Apply | Help);
50
48
 
51
49
  widget_ = new CDDBConfigWidget(this);
81
79
  config.readConfig();
82
80
 
83
81
  if (config.smtpHostname().isEmpty() || config.emailAddress().isEmpty()
84
 
      || !config.emailAddress().contains("@") ||
85
 
      (!config.replyTo().isEmpty() && !config.replyTo().contains("@")))
86
 
      
 
82
      || !config.emailAddress().contains(QLatin1String( "@" )) ||
 
83
      (!config.replyTo().isEmpty() && !config.replyTo().contains(QLatin1String( "@" ))))
 
84
 
87
85
  {
88
86
    if (config.freedbSubmitTransport() == KCDDB::Submit::SMTP)
89
87
    {