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

« back to all changes in this revision

Viewing changes to plan/libs/kernel/kptcommand.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:
912
912
    QString m_newvalue;
913
913
    QString m_oldvalue;
914
914
};
 
915
class KPLATOKERNEL_EXPORT ModifyResourceAutoAllocateCmd : public NamedCommand
 
916
{
 
917
public:
 
918
    ModifyResourceAutoAllocateCmd( Resource *resource, bool value, const QString& name = QString() );
 
919
    void execute();
 
920
    void unexecute();
 
921
 
 
922
private:
 
923
    Resource *m_resource;
 
924
    bool m_newvalue;
 
925
    bool m_oldvalue;
 
926
};
915
927
class KPLATOKERNEL_EXPORT ModifyResourceTypeCmd : public NamedCommand
916
928
{
917
929
public:
1630
1642
    int oldvalue, newvalue;
1631
1643
};
1632
1644
 
 
1645
class KPLATOKERNEL_EXPORT ModifyScheduleManagerSchedulingGranularityCmd : public NamedCommand
 
1646
{
 
1647
public:
 
1648
    ModifyScheduleManagerSchedulingGranularityCmd( ScheduleManager &sm, int value, const QString& name = QString() );
 
1649
    void execute();
 
1650
    void unexecute();
 
1651
 
 
1652
private:
 
1653
    ScheduleManager &m_sm;
 
1654
    int oldvalue, newvalue;
 
1655
};
 
1656
 
1633
1657
class KPLATOKERNEL_EXPORT ModifyStandardWorktimeYearCmd : public NamedCommand
1634
1658
{
1635
1659
public: