diff options
Diffstat (limited to 'kplato/kptganttview.cpp')
-rw-r--r-- | kplato/kptganttview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kplato/kptganttview.cpp b/kplato/kptganttview.cpp index 63a1383d..40dfbf75 100644 --- a/kplato/kptganttview.cpp +++ b/kplato/kptganttview.cpp @@ -124,13 +124,13 @@ GanttView::GanttView(TQWidget *parent, bool readWrite, const char* name) setReadWriteMode(readWrite); - connect(m_gantt, TQT_SIGNAL(lvContextMenuRequested ( KDGanttViewItem *, const TQPoint &, int )), - this, TQT_SLOT (popupMenuRequested(KDGanttViewItem *, const TQPoint &, int))); + connect(m_gantt, TQ_SIGNAL(lvContextMenuRequested ( KDGanttViewItem *, const TQPoint &, int )), + this, TQ_SLOT (popupMenuRequested(KDGanttViewItem *, const TQPoint &, int))); - connect(m_gantt, TQT_SIGNAL(lvCurrentChanged(KDGanttViewItem*)), this, TQT_SLOT (currentItemChanged(KDGanttViewItem*))); + connect(m_gantt, TQ_SIGNAL(lvCurrentChanged(KDGanttViewItem*)), this, TQ_SLOT (currentItemChanged(KDGanttViewItem*))); // HACK: kdgantt emits 2 signals for each *double* click, so we go direct to listview - connect(lv, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), this, TQT_SLOT (slotItemDoubleClicked(TQListViewItem*))); + connect(lv, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), this, TQ_SLOT (slotItemDoubleClicked(TQListViewItem*))); m_taskLinks.setAutoDelete(true); @@ -1214,14 +1214,14 @@ void GanttView::getContextClosedNodes(Context::Ganttview &context, KDGanttViewIt void GanttView::setReadWriteMode(bool on) { m_readWrite = on; - disconnect(m_gantt, TQT_SIGNAL(linkItems(KDGanttViewItem*, KDGanttViewItem*, int)), this, TQT_SLOT(slotLinkItems(KDGanttViewItem*, KDGanttViewItem*, int))); - disconnect(m_gantt, TQT_SIGNAL(taskLinkDoubleClicked(KDGanttViewTaskLink*)), this, TQT_SLOT(slotModifyLink(KDGanttViewTaskLink*))); + disconnect(m_gantt, TQ_SIGNAL(linkItems(KDGanttViewItem*, KDGanttViewItem*, int)), this, TQ_SLOT(slotLinkItems(KDGanttViewItem*, KDGanttViewItem*, int))); + disconnect(m_gantt, TQ_SIGNAL(taskLinkDoubleClicked(KDGanttViewTaskLink*)), this, TQ_SLOT(slotModifyLink(KDGanttViewTaskLink*))); m_gantt->setLinkItemsEnabled(on); if (on) { - connect(m_gantt, TQT_SIGNAL(linkItems(KDGanttViewItem*, KDGanttViewItem*, int)), TQT_SLOT(slotLinkItems(KDGanttViewItem*, KDGanttViewItem*, int))); + connect(m_gantt, TQ_SIGNAL(linkItems(KDGanttViewItem*, KDGanttViewItem*, int)), TQ_SLOT(slotLinkItems(KDGanttViewItem*, KDGanttViewItem*, int))); - connect(m_gantt, TQT_SIGNAL(taskLinkDoubleClicked(KDGanttViewTaskLink*)), TQT_SLOT(slotModifyLink(KDGanttViewTaskLink*))); + connect(m_gantt, TQ_SIGNAL(taskLinkDoubleClicked(KDGanttViewTaskLink*)), TQ_SLOT(slotModifyLink(KDGanttViewTaskLink*))); } setRenameEnabled(m_gantt->firstChild(), on); } |