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

« back to all changes in this revision

Viewing changes to kioslave/audiocd/plugins/vorbis/encodervorbis.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:
46
46
}
47
47
 
48
48
// these are the approx. bitrates for the current 5 Vorbis modes
49
 
static int vorbis_nominal_bitrates[] = { 128, 160, 192, 256, 350 };
50
 
static int vorbis_bitrates[] = { 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 350 };
 
49
static const int vorbis_nominal_bitrates[] = { 128, 160, 192, 256, 350 };
 
50
static const int vorbis_bitrates[] = { 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 350 };
51
51
 
52
52
class EncoderVorbis::Private {
53
53
 
82
82
 
83
83
QWidget* EncoderVorbis::getConfigureWidget(KConfigSkeleton** manager) const {
84
84
  (*manager) = Settings::self();
85
 
  KGlobal::locale()->insertCatalog("audiocd_encoder_vorbis");
 
85
  KGlobal::locale()->insertCatalog( QLatin1String( "audiocd_encoder_vorbis" ));
86
86
  EncoderVorbisConfig *config = new EncoderVorbisConfig();
87
87
  config->kcfg_vorbis_quality->setRange(0.0, 10.0, 0.2, true);
88
88
  config->vorbis_bitrate_settings->hide();
302
302
 
303
303
  if (info.get(Year).toInt() > 0) {
304
304
    QDateTime dt( QDate(info.get(Year).toInt(), 1, 1) );
305
 
    commentFields.append(CommentField("date", dt.toString(Qt::ISODate).toUtf8().data()));
 
305
    commentFields.append(CommentField("date",QLatin1String( dt.toString(Qt::ISODate).toUtf8().data() )));
306
306
  }
307
307
 
308
308
  for(QList<CommentField>::iterator it = commentFields.begin(); it != commentFields.end(); ++it) {