diff options
Diffstat (limited to 'kplato/kptcommand.h')
-rw-r--r-- | kplato/kptcommand.h | 238 |
1 files changed, 119 insertions, 119 deletions
diff --git a/kplato/kptcommand.h b/kplato/kptcommand.h index a61da649..4c94e978 100644 --- a/kplato/kptcommand.h +++ b/kplato/kptcommand.h @@ -28,7 +28,7 @@ #include "kptpart.h" #include "kpttask.h" -class QString; +class TQString; namespace KPlato { @@ -50,7 +50,7 @@ class StandardWorktime; class NamedCommand : public KNamedCommand { public: - NamedCommand(Part *part, QString name) + NamedCommand(Part *part, TQString name) : KNamedCommand(name), m_part(part) {} @@ -64,7 +64,7 @@ protected: void addSchScheduled(Schedule *sch); void addSchDeleted(Schedule *sch); - QMap<Schedule*, bool> m_schedules; + TQMap<Schedule*, bool> m_schedules; private: Part *m_part; }; @@ -72,7 +72,7 @@ private: class CalendarAddCmd : public NamedCommand { public: - CalendarAddCmd(Part *part, Project *project, Calendar *cal, QString name=0); + CalendarAddCmd(Part *part, Project *project, Calendar *cal, TQString name=0); void execute(); void unexecute(); @@ -85,7 +85,7 @@ private: class CalendarDeleteCmd : public NamedCommand { public: - CalendarDeleteCmd(Part *part, Calendar *cal, QString name=0); + CalendarDeleteCmd(Part *part, Calendar *cal, TQString name=0); void execute(); void unexecute(); @@ -96,20 +96,20 @@ private: class CalendarModifyNameCmd : public NamedCommand { public: - CalendarModifyNameCmd(Part *part, Calendar *cal, QString newvalue, QString name=0); + CalendarModifyNameCmd(Part *part, Calendar *cal, TQString newvalue, TQString name=0); void execute(); void unexecute(); private: Calendar *m_cal; - QString m_newvalue; - QString m_oldvalue; + TQString m_newvalue; + TQString m_oldvalue; }; class CalendarModifyParentCmd : public NamedCommand { public: - CalendarModifyParentCmd(Part *part, Calendar *cal, Calendar *newvalue, QString name=0); + CalendarModifyParentCmd(Part *part, Calendar *cal, Calendar *newvalue, TQString name=0); void execute(); void unexecute(); @@ -122,7 +122,7 @@ private: class CalendarAddDayCmd : public NamedCommand { public: - CalendarAddDayCmd(Part *part, Calendar *cal, CalendarDay *newvalue, QString name=0); + CalendarAddDayCmd(Part *part, Calendar *cal, CalendarDay *newvalue, TQString name=0); ~CalendarAddDayCmd(); void execute(); void unexecute(); @@ -136,7 +136,7 @@ protected: class CalendarRemoveDayCmd : public NamedCommand { public: - CalendarRemoveDayCmd(Part *part, Calendar *cal, const QDate &day, QString name=0); + CalendarRemoveDayCmd(Part *part, Calendar *cal, const TQDate &day, TQString name=0); void execute(); void unexecute(); @@ -149,7 +149,7 @@ protected: class CalendarModifyDayCmd : public NamedCommand { public: - CalendarModifyDayCmd(Part *part, Calendar *cal, CalendarDay *value, QString name=0); + CalendarModifyDayCmd(Part *part, Calendar *cal, CalendarDay *value, TQString name=0); ~CalendarModifyDayCmd(); void execute(); void unexecute(); @@ -164,7 +164,7 @@ private: class CalendarModifyWeekdayCmd : public NamedCommand { public: - CalendarModifyWeekdayCmd(Part *part, Calendar *cal, int weekday, CalendarDay *value, QString name=0); + CalendarModifyWeekdayCmd(Part *part, Calendar *cal, int weekday, CalendarDay *value, TQString name=0); ~CalendarModifyWeekdayCmd(); void execute(); void unexecute(); @@ -180,7 +180,7 @@ private: class NodeDeleteCmd : public NamedCommand { public: - NodeDeleteCmd(Part *part, Node *node, QString name=0); + NodeDeleteCmd(Part *part, Node *node, TQString name=0); ~NodeDeleteCmd(); void execute(); void unexecute(); @@ -191,14 +191,14 @@ private: Project *m_project; int m_index; bool m_mine; - QPtrList<Appointment> m_appointments; + TQPtrList<Appointment> m_appointments; }; class TaskAddCmd : public NamedCommand { public: - TaskAddCmd(Part *part, Project *project, Node *node, Node *after, QString name=0); + TaskAddCmd(Part *part, Project *project, Node *node, Node *after, TQString name=0); ~TaskAddCmd(); void execute(); void unexecute(); @@ -213,7 +213,7 @@ private: class SubtaskAddCmd : public NamedCommand { public: - SubtaskAddCmd(Part *part, Project *project, Node *node, Node *parent, QString name=0); + SubtaskAddCmd(Part *part, Project *project, Node *node, Node *tqparent, TQString name=0); ~SubtaskAddCmd(); void execute(); void unexecute(); @@ -229,46 +229,46 @@ private: class NodeModifyNameCmd : public NamedCommand { public: - NodeModifyNameCmd(Part *part, Node &node, QString nodename, QString name=0); + NodeModifyNameCmd(Part *part, Node &node, TQString nodename, TQString name=0); void execute(); void unexecute(); private: Node &m_node; - QString newName; - QString oldName; + TQString newName; + TQString oldName; }; class NodeModifyLeaderCmd : public NamedCommand { public: - NodeModifyLeaderCmd(Part *part, Node &node, QString leader, QString name=0); + NodeModifyLeaderCmd(Part *part, Node &node, TQString leader, TQString name=0); void execute(); void unexecute(); private: Node &m_node; - QString newLeader; - QString oldLeader; + TQString newLeader; + TQString oldLeader; }; class NodeModifyDescriptionCmd : public NamedCommand { public: - NodeModifyDescriptionCmd(Part *part, Node &node, QString description, QString name=0); + NodeModifyDescriptionCmd(Part *part, Node &node, TQString description, TQString name=0); void execute(); void unexecute(); private: Node &m_node; - QString newDescription; - QString oldDescription; + TQString newDescription; + TQString oldDescription; }; class NodeModifyConstraintCmd : public NamedCommand { public: - NodeModifyConstraintCmd(Part *part, Node &node, Node::ConstraintType c, QString name=0); + NodeModifyConstraintCmd(Part *part, Node &node, Node::ConstraintType c, TQString name=0); void execute(); void unexecute(); @@ -282,96 +282,96 @@ private: class NodeModifyConstraintStartTimeCmd : public NamedCommand { public: - NodeModifyConstraintStartTimeCmd(Part *part, Node &node, QDateTime dt, QString name=0); + NodeModifyConstraintStartTimeCmd(Part *part, Node &node, TQDateTime dt, TQString name=0); void execute(); void unexecute(); private: Node &m_node; - QDateTime newTime; - QDateTime oldTime; + TQDateTime newTime; + TQDateTime oldTime; }; class NodeModifyConstraintEndTimeCmd : public NamedCommand { public: - NodeModifyConstraintEndTimeCmd(Part *part, Node &node, QDateTime dt, QString name=0); + NodeModifyConstraintEndTimeCmd(Part *part, Node &node, TQDateTime dt, TQString name=0); void execute(); void unexecute(); private: Node &m_node; - QDateTime newTime; - QDateTime oldTime; + TQDateTime newTime; + TQDateTime oldTime; }; class NodeModifyStartTimeCmd : public NamedCommand { public: - NodeModifyStartTimeCmd(Part *part, Node &node, QDateTime dt, QString name=0); + NodeModifyStartTimeCmd(Part *part, Node &node, TQDateTime dt, TQString name=0); void execute(); void unexecute(); private: Node &m_node; - QDateTime newTime; - QDateTime oldTime; + TQDateTime newTime; + TQDateTime oldTime; }; class NodeModifyEndTimeCmd : public NamedCommand { public: - NodeModifyEndTimeCmd(Part *part, Node &node, QDateTime dt, QString name=0); + NodeModifyEndTimeCmd(Part *part, Node &node, TQDateTime dt, TQString name=0); void execute(); void unexecute(); private: Node &m_node; - QDateTime newTime; - QDateTime oldTime; + TQDateTime newTime; + TQDateTime oldTime; }; class NodeModifyIdCmd : public NamedCommand { public: - NodeModifyIdCmd(Part *part, Node &node, QString id, QString name=0); + NodeModifyIdCmd(Part *part, Node &node, TQString id, TQString name=0); void execute(); void unexecute(); private: Node &m_node; - QString newId; - QString oldId; + TQString newId; + TQString oldId; }; class NodeIndentCmd : public NamedCommand { public: - NodeIndentCmd(Part *part, Node &node, QString name=0); + NodeIndentCmd(Part *part, Node &node, TQString name=0); void execute(); void unexecute(); private: Node &m_node; - Node *m_oldparent, *m_newparent; + Node *m_oldtqparent, *m_newtqparent; int m_oldindex, m_newindex; }; class NodeUnindentCmd : public NamedCommand { public: - NodeUnindentCmd(Part *part, Node &node, QString name=0); + NodeUnindentCmd(Part *part, Node &node, TQString name=0); void execute(); void unexecute(); private: Node &m_node; - Node *m_oldparent, *m_newparent; + Node *m_oldtqparent, *m_newtqparent; int m_oldindex, m_newindex; }; class NodeMoveUpCmd : public NamedCommand { public: - NodeMoveUpCmd(Part *part, Node &node, QString name=0); + NodeMoveUpCmd(Part *part, Node &node, TQString name=0); void execute(); void unexecute(); @@ -384,7 +384,7 @@ private: class NodeMoveDownCmd : public NamedCommand { public: - NodeMoveDownCmd(Part *part, Node &node, QString name=0); + NodeMoveDownCmd(Part *part, Node &node, TQString name=0); void execute(); void unexecute(); @@ -397,7 +397,7 @@ private: class AddRelationCmd : public NamedCommand { public: - AddRelationCmd(Part *part, Relation *rel, QString name=0); + AddRelationCmd(Part *part, Relation *rel, TQString name=0); ~AddRelationCmd(); void execute(); void unexecute(); @@ -411,7 +411,7 @@ private: class DeleteRelationCmd : public NamedCommand { public: - DeleteRelationCmd(Part *part, Relation *rel, QString name=0); + DeleteRelationCmd(Part *part, Relation *rel, TQString name=0); ~DeleteRelationCmd(); void execute(); void unexecute(); @@ -425,7 +425,7 @@ private: class ModifyRelationTypeCmd : public NamedCommand { public: - ModifyRelationTypeCmd(Part *part, Relation *rel, Relation::Type type, QString name=0); + ModifyRelationTypeCmd(Part *part, Relation *rel, Relation::Type type, TQString name=0); void execute(); void unexecute(); @@ -439,7 +439,7 @@ private: class ModifyRelationLagCmd : public NamedCommand { public: - ModifyRelationLagCmd(Part *part, Relation *rel, Duration lag, QString name=0); + ModifyRelationLagCmd(Part *part, Relation *rel, Duration lag, TQString name=0); void execute(); void unexecute(); @@ -453,7 +453,7 @@ private: class AddResourceRequestCmd : public NamedCommand { public: - AddResourceRequestCmd(Part *part, ResourceGroupRequest *group, ResourceRequest *request, QString name=0); + AddResourceRequestCmd(Part *part, ResourceGroupRequest *group, ResourceRequest *request, TQString name=0); ~AddResourceRequestCmd(); void execute(); void unexecute(); @@ -468,7 +468,7 @@ private: class RemoveResourceRequestCmd : public NamedCommand { public: - RemoveResourceRequestCmd(Part *part, ResourceGroupRequest *group, ResourceRequest *request, QString name=0); + RemoveResourceRequestCmd(Part *part, ResourceGroupRequest *group, ResourceRequest *request, TQString name=0); ~RemoveResourceRequestCmd(); void execute(); void unexecute(); @@ -483,7 +483,7 @@ private: class ModifyEffortCmd : public NamedCommand { public: - ModifyEffortCmd(Part *part, Node &node, Duration oldvalue, Duration newvalue, QString name=0); + ModifyEffortCmd(Part *part, Node &node, Duration oldvalue, Duration newvalue, TQString name=0); void execute(); void unexecute(); @@ -496,7 +496,7 @@ private: class EffortModifyOptimisticRatioCmd : public NamedCommand { public: - EffortModifyOptimisticRatioCmd(Part *part, Node &node, int oldvalue, int newvalue, QString name=0); + EffortModifyOptimisticRatioCmd(Part *part, Node &node, int oldvalue, int newvalue, TQString name=0); void execute(); void unexecute(); @@ -509,7 +509,7 @@ private: class EffortModifyPessimisticRatioCmd : public NamedCommand { public: - EffortModifyPessimisticRatioCmd(Part *part, Node &node, int oldvalue, int newvalue, QString name=0); + EffortModifyPessimisticRatioCmd(Part *part, Node &node, int oldvalue, int newvalue, TQString name=0); void execute(); void unexecute(); @@ -522,7 +522,7 @@ private: class ModifyEffortTypeCmd : public NamedCommand { public: - ModifyEffortTypeCmd(Part *part, Node &node, int oldvalue, int newvalue, QString name=0); + ModifyEffortTypeCmd(Part *part, Node &node, int oldvalue, int newvalue, TQString name=0); void execute(); void unexecute(); @@ -535,7 +535,7 @@ private: class EffortModifyRiskCmd : public NamedCommand { public: - EffortModifyRiskCmd(Part *part, Node &node, int oldvalue, int newvalue, QString name=0); + EffortModifyRiskCmd(Part *part, Node &node, int oldvalue, int newvalue, TQString name=0); void execute(); void unexecute(); @@ -548,7 +548,7 @@ private: class AddResourceGroupRequestCmd : public NamedCommand { public: - AddResourceGroupRequestCmd(Part *part, Task &task, ResourceGroupRequest *request, QString name=0); + AddResourceGroupRequestCmd(Part *part, Task &task, ResourceGroupRequest *request, TQString name=0); void execute(); void unexecute(); @@ -561,8 +561,8 @@ private: class RemoveResourceGroupRequestCmd : public NamedCommand { public: - RemoveResourceGroupRequestCmd(Part *part, ResourceGroupRequest *request, QString name=0); - RemoveResourceGroupRequestCmd(Part *part, Task &task, ResourceGroupRequest *request, QString name=0); + RemoveResourceGroupRequestCmd(Part *part, ResourceGroupRequest *request, TQString name=0); + RemoveResourceGroupRequestCmd(Part *part, Task &task, ResourceGroupRequest *request, TQString name=0); void execute(); void unexecute(); @@ -575,7 +575,7 @@ private: class AddResourceCmd : public NamedCommand { public: - AddResourceCmd(Part *part, ResourceGroup *group, Resource *resource, QString name=0); + AddResourceCmd(Part *part, ResourceGroup *group, Resource *resource, TQString name=0); ~AddResourceCmd(); void execute(); void unexecute(); @@ -590,57 +590,57 @@ protected: class RemoveResourceCmd : public AddResourceCmd { public: - RemoveResourceCmd(Part *part, ResourceGroup *group, Resource *resource, QString name=0); + RemoveResourceCmd(Part *part, ResourceGroup *group, Resource *resource, TQString name=0); ~RemoveResourceCmd(); void execute(); void unexecute(); private: - QPtrList<ResourceRequest> m_requests; - QPtrList<Appointment> m_appointments; + TQPtrList<ResourceRequest> m_requests; + TQPtrList<Appointment> m_appointments; }; class ModifyResourceNameCmd : public NamedCommand { public: - ModifyResourceNameCmd(Part *part, Resource *resource, QString value, QString name=0); + ModifyResourceNameCmd(Part *part, Resource *resource, TQString value, TQString name=0); void execute(); void unexecute(); private: Resource *m_resource; - QString m_newvalue; - QString m_oldvalue; + TQString m_newvalue; + TQString m_oldvalue; }; class ModifyResourceInitialsCmd : public NamedCommand { public: - ModifyResourceInitialsCmd(Part *part, Resource *resource, QString value, QString name=0); + ModifyResourceInitialsCmd(Part *part, Resource *resource, TQString value, TQString name=0); void execute(); void unexecute(); private: Resource *m_resource; - QString m_newvalue; - QString m_oldvalue; + TQString m_newvalue; + TQString m_oldvalue; }; class ModifyResourceEmailCmd : public NamedCommand { public: - ModifyResourceEmailCmd(Part *part, Resource *resource, QString value, QString name=0); + ModifyResourceEmailCmd(Part *part, Resource *resource, TQString value, TQString name=0); void execute(); void unexecute(); private: Resource *m_resource; - QString m_newvalue; - QString m_oldvalue; + TQString m_newvalue; + TQString m_oldvalue; }; class ModifyResourceTypeCmd : public NamedCommand { public: - ModifyResourceTypeCmd(Part *part, Resource *resource, int value, QString name=0); + ModifyResourceTypeCmd(Part *part, Resource *resource, int value, TQString name=0); void execute(); void unexecute(); @@ -653,7 +653,7 @@ private: class ModifyResourceUnitsCmd : public NamedCommand { public: - ModifyResourceUnitsCmd(Part *part, Resource *resource, int value, QString name=0); + ModifyResourceUnitsCmd(Part *part, Resource *resource, int value, TQString name=0); void execute(); void unexecute(); @@ -666,7 +666,7 @@ private: class ModifyResourceAvailableFromCmd : public NamedCommand { public: - ModifyResourceAvailableFromCmd(Part *part, Resource *resource, DateTime value, QString name=0); + ModifyResourceAvailableFromCmd(Part *part, Resource *resource, DateTime value, TQString name=0); void execute(); void unexecute(); @@ -678,7 +678,7 @@ private: class ModifyResourceAvailableUntilCmd : public NamedCommand { public: - ModifyResourceAvailableUntilCmd(Part *part, Resource *resource, DateTime value, QString name=0); + ModifyResourceAvailableUntilCmd(Part *part, Resource *resource, DateTime value, TQString name=0); void execute(); void unexecute(); @@ -691,7 +691,7 @@ private: class ModifyResourceNormalRateCmd : public NamedCommand { public: - ModifyResourceNormalRateCmd(Part *part, Resource *resource, double value, QString name=0); + ModifyResourceNormalRateCmd(Part *part, Resource *resource, double value, TQString name=0); void execute(); void unexecute(); @@ -703,7 +703,7 @@ private: class ModifyResourceOvertimeRateCmd : public NamedCommand { public: - ModifyResourceOvertimeRateCmd(Part *part, Resource *resource, double value, QString name=0); + ModifyResourceOvertimeRateCmd(Part *part, Resource *resource, double value, TQString name=0); void execute(); void unexecute(); @@ -715,7 +715,7 @@ private: class ModifyResourceCalendarCmd : public NamedCommand { public: - ModifyResourceCalendarCmd(Part *part, Resource *resource, Calendar *value, QString name=0); + ModifyResourceCalendarCmd(Part *part, Resource *resource, Calendar *value, TQString name=0); void execute(); void unexecute(); @@ -728,7 +728,7 @@ private: class RemoveResourceGroupCmd : public NamedCommand { public: - RemoveResourceGroupCmd(Part *part, ResourceGroup *group, QString name=0); + RemoveResourceGroupCmd(Part *part, ResourceGroup *group, TQString name=0); ~RemoveResourceGroupCmd(); void execute(); void unexecute(); @@ -742,7 +742,7 @@ protected: class AddResourceGroupCmd : public RemoveResourceGroupCmd { public: - AddResourceGroupCmd(Part *part, ResourceGroup *group, QString name=0); + AddResourceGroupCmd(Part *part, ResourceGroup *group, TQString name=0); void execute(); void unexecute(); }; @@ -750,20 +750,20 @@ public: class ModifyResourceGroupNameCmd : public NamedCommand { public: - ModifyResourceGroupNameCmd(Part *part, ResourceGroup *group, QString value, QString name=0); + ModifyResourceGroupNameCmd(Part *part, ResourceGroup *group, TQString value, TQString name=0); void execute(); void unexecute(); private: ResourceGroup *m_group; - QString m_newvalue; - QString m_oldvalue; + TQString m_newvalue; + TQString m_oldvalue; }; class TaskModifyProgressCmd : public NamedCommand { public: - TaskModifyProgressCmd(Part *part, Task &task, struct Task::Progress &value, QString name=0); + TaskModifyProgressCmd(Part *part, Task &task, struct Task::Progress &value, TQString name=0); void execute(); void unexecute(); @@ -776,7 +776,7 @@ private: class ProjectModifyBaselineCmd : public NamedCommand { public: - ProjectModifyBaselineCmd(Part *part, Project &project, bool value, QString name=0); + ProjectModifyBaselineCmd(Part *part, Project &project, bool value, TQString name=0); void execute(); void unexecute(); @@ -789,8 +789,8 @@ private: class AddAccountCmd : public NamedCommand { public: - AddAccountCmd(Part *part, Project &project, Account *account, Account *parent=0, QString name=0); - AddAccountCmd(Part *part, Project &project, Account *account, QString parent, QString name=0); + AddAccountCmd(Part *part, Project &project, Account *account, Account *tqparent=0, TQString name=0); + AddAccountCmd(Part *part, Project &project, Account *account, TQString tqparent, TQString name=0); ~AddAccountCmd(); void execute(); void unexecute(); @@ -802,13 +802,13 @@ private: Project &m_project; Account *m_account; Account *m_parent; - QString m_parentName; + TQString m_parentName; }; class RemoveAccountCmd : public NamedCommand { public: - RemoveAccountCmd(Part *part, Project &project, Account *account, QString name=0); + RemoveAccountCmd(Part *part, Project &project, Account *account, TQString name=0); ~RemoveAccountCmd(); void execute(); void unexecute(); @@ -824,33 +824,33 @@ private: class RenameAccountCmd : public NamedCommand { public: - RenameAccountCmd(Part *part, Account *account, QString value, QString name=0); + RenameAccountCmd(Part *part, Account *account, TQString value, TQString name=0); void execute(); void unexecute(); private: Account *m_account; - QString m_oldvalue; - QString m_newvalue; + TQString m_oldvalue; + TQString m_newvalue; }; class ModifyAccountDescriptionCmd : public NamedCommand { public: - ModifyAccountDescriptionCmd(Part *part, Account *account, QString value, QString name=0); + ModifyAccountDescriptionCmd(Part *part, Account *account, TQString value, TQString name=0); void execute(); void unexecute(); private: Account *m_account; - QString m_oldvalue; - QString m_newvalue; + TQString m_oldvalue; + TQString m_newvalue; }; class NodeModifyStartupCostCmd : public NamedCommand { public: - NodeModifyStartupCostCmd(Part *part, Node &node, double value, QString name=0); + NodeModifyStartupCostCmd(Part *part, Node &node, double value, TQString name=0); void execute(); void unexecute(); @@ -863,7 +863,7 @@ private: class NodeModifyShutdownCostCmd : public NamedCommand { public: - NodeModifyShutdownCostCmd(Part *part, Node &node, double value, QString name=0); + NodeModifyShutdownCostCmd(Part *part, Node &node, double value, TQString name=0); void execute(); void unexecute(); @@ -876,7 +876,7 @@ private: class NodeModifyRunningAccountCmd : public NamedCommand { public: - NodeModifyRunningAccountCmd(Part *part, Node &node, Account *oldvalue, Account *newvalue, QString name=0); + NodeModifyRunningAccountCmd(Part *part, Node &node, Account *oldvalue, Account *newvalue, TQString name=0); void execute(); void unexecute(); @@ -889,7 +889,7 @@ private: class NodeModifyStartupAccountCmd : public NamedCommand { public: - NodeModifyStartupAccountCmd(Part *part, Node &node, Account *oldvalue, Account *newvalue, QString name=0); + NodeModifyStartupAccountCmd(Part *part, Node &node, Account *oldvalue, Account *newvalue, TQString name=0); void execute(); void unexecute(); @@ -902,7 +902,7 @@ private: class NodeModifyShutdownAccountCmd : public NamedCommand { public: - NodeModifyShutdownAccountCmd(Part *part, Node &node, Account *oldvalue, Account *newvalue, QString name=0); + NodeModifyShutdownAccountCmd(Part *part, Node &node, Account *oldvalue, Account *newvalue, TQString name=0); void execute(); void unexecute(); @@ -915,7 +915,7 @@ private: class ModifyDefaultAccountCmd : public NamedCommand { public: - ModifyDefaultAccountCmd(Part *part, Accounts &acc, Account *oldvalue, Account *newvalue, QString name=0); + ModifyDefaultAccountCmd(Part *part, Accounts &acc, Account *oldvalue, Account *newvalue, TQString name=0); void execute(); void unexecute(); @@ -928,7 +928,7 @@ private: class ProjectModifyConstraintCmd : public NamedCommand { public: - ProjectModifyConstraintCmd(Part *part, Project &node, Node::ConstraintType c, QString name=0); + ProjectModifyConstraintCmd(Part *part, Project &node, Node::ConstraintType c, TQString name=0); void execute(); void unexecute(); @@ -942,28 +942,28 @@ private: class ProjectModifyStartTimeCmd : public NamedCommand { public: - ProjectModifyStartTimeCmd(Part *part, Project &node, QDateTime dt, QString name=0); + ProjectModifyStartTimeCmd(Part *part, Project &node, TQDateTime dt, TQString name=0); void execute(); void unexecute(); private: Project &m_node; - QDateTime newTime; - QDateTime oldTime; + TQDateTime newTime; + TQDateTime oldTime; }; class ProjectModifyEndTimeCmd : public NamedCommand { public: - ProjectModifyEndTimeCmd(Part *part, Project &project, QDateTime dt, QString name=0); + ProjectModifyEndTimeCmd(Part *part, Project &project, TQDateTime dt, TQString name=0); void execute(); void unexecute(); private: Project &m_node; - QDateTime newTime; - QDateTime oldTime; + TQDateTime newTime; + TQDateTime oldTime; }; @@ -971,13 +971,13 @@ private: class CalculateProjectCmd : public NamedCommand { public: - CalculateProjectCmd(Part *part, Project &project, QString tname, int type, QString name=0); + CalculateProjectCmd(Part *part, Project &project, TQString tname, int type, TQString name=0); void execute(); void unexecute(); private: Project &m_node; - QString m_typename; + TQString m_typename; int m_type; Schedule *newSchedule; Schedule *oldCurrent; @@ -986,7 +986,7 @@ private: class RecalculateProjectCmd : public NamedCommand { public: - RecalculateProjectCmd(Part *part, Project &project, Schedule &sch, QString name=0); + RecalculateProjectCmd(Part *part, Project &project, Schedule &sch, TQString name=0); void execute(); void unexecute(); @@ -1001,7 +1001,7 @@ private: class ModifyStandardWorktimeYearCmd : public NamedCommand { public: - ModifyStandardWorktimeYearCmd(Part *part, StandardWorktime *wt, double oldvalue, double newvalue, QString name=0); + ModifyStandardWorktimeYearCmd(Part *part, StandardWorktime *wt, double oldvalue, double newvalue, TQString name=0); void execute(); void unexecute(); private: @@ -1013,7 +1013,7 @@ private: class ModifyStandardWorktimeMonthCmd : public NamedCommand { public: - ModifyStandardWorktimeMonthCmd(Part *part, StandardWorktime *wt, double oldvalue, double newvalue, QString name=0); + ModifyStandardWorktimeMonthCmd(Part *part, StandardWorktime *wt, double oldvalue, double newvalue, TQString name=0); void execute(); void unexecute(); private: @@ -1025,7 +1025,7 @@ private: class ModifyStandardWorktimeWeekCmd : public NamedCommand { public: - ModifyStandardWorktimeWeekCmd(Part *part, StandardWorktime *wt, double oldvalue, double newvalue, QString name=0); + ModifyStandardWorktimeWeekCmd(Part *part, StandardWorktime *wt, double oldvalue, double newvalue, TQString name=0); void execute(); void unexecute(); private: @@ -1037,7 +1037,7 @@ private: class ModifyStandardWorktimeDayCmd : public NamedCommand { public: - ModifyStandardWorktimeDayCmd(Part *part, StandardWorktime *wt, double oldvalue, double newvalue, QString name=0); + ModifyStandardWorktimeDayCmd(Part *part, StandardWorktime *wt, double oldvalue, double newvalue, TQString name=0); void execute(); void unexecute(); private: |