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

« back to all changes in this revision

Viewing changes to akonadi/item.h

  • 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:
296
296
    QString mimeType() const;
297
297
 
298
298
    /**
 
299
     * Sets the @p gid of the entity.
 
300
     *
 
301
     * @since 4.12
 
302
     */
 
303
    void setGid( const QString &gid );
 
304
 
 
305
    /**
 
306
     * Returns the gid of the entity.
 
307
     *
 
308
     * @since 4.12
 
309
     */
 
310
    QString gid() const;
 
311
 
 
312
    /**
299
313
     * Returns a list of metatype-ids, describing the different
300
314
     * variants of payload that are currently contained in this item.
301
315
     *
491
505
    AKONADI_DECLARE_PRIVATE( Item )
492
506
};
493
507
 
494
 
 
495
508
template <typename T>
496
509
T Item::payload() const
497
510
{
564
577
          std::auto_ptr<PayloadBase> npb( new Payload<T>( nt ) );
565
578
          addPayloadBaseVariant( PayloadType::sharedPointerId, metaTypeId, npb  );
566
579
          // and return it
567
 
          if ( ret ) *ret = nt;
 
580
          if ( ret ) {
 
581
            *ret = nt;
 
582
          }
568
583
          return true;
569
584
      }
570
585
  }