~smartboyhw/ubuntu/raring/calligra/2.6.0-0ubuntu1

« back to all changes in this revision

Viewing changes to plan/libs/kernel/kptresource.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-10-23 21:09:16 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20121023210916-m82w6zxnxhaxz7va
Tags: 1:2.5.90-0ubuntu1
* New upstream alpha release (LP: #1070436)
  - Add libkactivities-dev and libopenimageio-dev to build-depends
  - Add kubuntu_build_calligraactive.diff to build calligraactive by default
  - Add package for calligraauthor and move files that are shared between
    calligrawords and calligraauthor to calligrawords-common
* Document the patches
* Remove numbers from patches so they follow the same naming scheme as
  the rest of our patches.
* calligra-data breaks replaces krita-data (<< 1:2.5.3) (LP: #1071686)

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
    void setEmail( const QString email );
254
254
    const QString &email() const { return m_email;}
255
255
 
 
256
    /// Returns true if this resource will be allocated by default to new tasks
 
257
    bool autoAllocate() const;
 
258
    /// Set if this resource will be allocated by default to new tasks
 
259
    void setAutoAllocate( bool on );
 
260
 
256
261
    void copy( Resource *resource );
257
262
    
258
263
    void setParentGroup( ResourceGroup *parent ) { m_parent = parent; }
259
264
    ResourceGroup *parentGroup() const { return m_parent; }
260
 
    
 
265
 
261
266
    /// Set the time from when the resource is available to this project
262
267
    void setAvailableFrom( const QDateTime &af ) { m_availableFrom = af; changed();}
263
268
    /// Set the time from when the resource is available to this project
546
551
    QString m_name;
547
552
    QString m_initials;
548
553
    QString m_email;
 
554
    bool m_autoAllocate;
549
555
    DateTime m_availableFrom;
550
556
    DateTime m_availableUntil;
551
557
    QMap<QString, Appointment*> m_externalAppointments;