~ubuntu-branches/ubuntu/trusty/kdepimlibs/trusty

« back to all changes in this revision

Viewing changes to akonadi/calendar/freebusymanager.cpp

  • Committer: Package Import Robot
  • Author(s): Rohan Garg, Rohan Garg, Philip Muškovac
  • Date: 2013-11-23 17:36:44 UTC
  • mfrom: (1.1.102)
  • Revision ID: package-import@ubuntu.com-20131123173644-p5ow94192ezsny8g
Tags: 4:4.11.80-0ubuntu1
[ Rohan Garg ]
* New upstream beta release
  - Bump akonadi requirement to 1.10.45
  - Update install files
  - Update symbols

[ Philip Muškovac ]
* kdepimlibs-dev/-dbg breaks/replaces kdepim-runtime/-dbg (<< 4:4.11.80)

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
 
105
105
  mData.clear();
106
106
  KIO::TransferJob *job = KIO::get( url, KIO::NoReload, KIO::HideProgressInfo );
107
 
  connect( job, SIGNAL(data(KIO::Job*,QByteArray)), this, SLOT(dataReceived(KIO::Job*, QByteArray)) );
 
107
  connect( job, SIGNAL(data(KIO::Job*,QByteArray)), this, SLOT(dataReceived(KIO::Job*,QByteArray)) );
108
108
  connect( job, SIGNAL(result(KJob*)), this, SLOT(onGetJobFinished(KJob*)) );
109
109
}
110
110
 
277
277
  // Sanity check: Don't download if it's not a correct email
278
278
  // address (this also avoids downloading for "(empty email)").
279
279
  int emailpos = email.indexOf( QLatin1Char( '@' ) );
280
 
  if( emailpos == -1 ) {
 
280
  if ( emailpos == -1 ) {
281
281
    kWarning() << "No '@' found in" << email;
282
282
    emit freeBusyUrlRetrieved( email, KUrl() );
283
283
    return;
519
519
     return;
520
520
  }
521
521
 
522
 
  if( mTimerID != 0 ) {
 
522
  if ( mTimerID != 0 ) {
523
523
    // A timer is already running, so we don't need to do anything
524
524
    return;
525
525
  }
849
849
 
850
850
    // Put target string together
851
851
    KUrl targetURL;
852
 
    if( CalendarSettings::self()->publishKolab() ) {
 
852
    if ( CalendarSettings::self()->publishKolab() ) {
853
853
      // we use Kolab
854
854
      QString server;
855
855
      if ( CalendarSettings::self()->publishKolabServer() == QLatin1String( "%SERVER%" ) ||
1012
1012
    kDebug() << "Directory" << fbd <<" does not exist!";
1013
1013
    kDebug() << "Creating directory:" << fbd;
1014
1014
 
1015
 
    if( !freeBusyDirectory.mkpath( fbd ) ) {
 
1015
    if ( !freeBusyDirectory.mkpath( fbd ) ) {
1016
1016
      kDebug() << "Could not create directory:" << fbd;
1017
1017
      return false;
1018
1018
    }
1047
1047
  publishFreeBusy();
1048
1048
}
1049
1049
 
1050
 
#include "freebusymanager.moc"
1051
 
#include "freebusymanager_p.moc"
 
1050
#include "moc_freebusymanager.cpp"
 
1051
#include "moc_freebusymanager_p.cpp"