~ubuntu-branches/ubuntu/saucy/kdepimlibs/saucy-proposed

« back to all changes in this revision

Viewing changes to kalarmcal/kaevent.cpp

  • Committer: Package Import Robot
  • Author(s): Howard Chan, Michał Zając, Howard Chan
  • Date: 2013-06-28 18:10:55 UTC
  • mfrom: (1.1.96)
  • Revision ID: package-import@ubuntu.com-20130628181055-29pjwkdofe2mqdc4
Tags: 4:4.10.90-0ubuntu1
[ Michał Zając ]
* New upstream beta release

[ Howard Chan ]
* Add symbols to libkalarmcal2 and
  libakonadi-calendar4
* Add lintian warning overrides to
  libkabc4 and libakonadi-kcal4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1747
1747
                case KAEvent::AUDIO:
1748
1748
                    setAudioAlarm(alarm);
1749
1749
                    if (mRepeatSoundPause >= 0)
 
1750
                    {
1750
1751
                        alltypes += SOUND_REPEAT_TYPE;
 
1752
                        if (type == MAIN_ALARM)
 
1753
                            alltypes += QString::number(mRepeatSoundPause);
 
1754
                    }
1751
1755
                    break;
1752
1756
            }
1753
1757
            if (display)
4414
4418
        else if (type == KAEventPrivate::POST_ACTION_TYPE  &&  data.action == KAAlarm::COMMAND)
4415
4419
            data.type = POST_ACTION_ALARM;
4416
4420
        else if (type == KAEventPrivate::SOUND_REPEAT_TYPE  &&  data.action == KAAlarm::AUDIO)
 
4421
        {
4417
4422
            repeatSound = true;
 
4423
            if (i + 1 < end)
 
4424
            {
 
4425
                bool ok;
 
4426
                uint n = types[i + 1].toUInt(&ok);
 
4427
                if (ok)
 
4428
                {
 
4429
                    data.repeatSoundPause = n;
 
4430
                    ++i;
 
4431
                }
 
4432
            }
 
4433
        }
4418
4434
    }
4419
4435
    if (repeatSound && data.repeatSoundPause < 0)
4420
4436
        data.repeatSoundPause = 0;