summaryrefslogtreecommitdiffstats
path: root/kplato
diff options
context:
space:
mode:
Diffstat (limited to 'kplato')
-rw-r--r--kplato/kptaccountsdialog.cpp2
-rw-r--r--kplato/kptaccountspanel.cpp20
-rw-r--r--kplato/kptaccountsview.cpp4
-rw-r--r--kplato/kptaccountsviewconfigdialog.cpp8
-rw-r--r--kplato/kptcalendaredit.cpp14
-rw-r--r--kplato/kptcalendarlistdialog.cpp26
-rw-r--r--kplato/kptcalendarpanel.cpp38
-rw-r--r--kplato/kptconfigdialog.cpp4
-rw-r--r--kplato/kptdatetable.cpp4
-rw-r--r--kplato/kptdoublelistviewbase.cpp8
-rw-r--r--kplato/kptganttview.cpp16
-rw-r--r--kplato/kptintervaledit.cpp6
-rw-r--r--kplato/kptmainprojectdialog.cpp2
-rw-r--r--kplato/kptmainprojectpanel.cpp30
-rw-r--r--kplato/kptmilestoneprogressdialog.cpp2
-rw-r--r--kplato/kptmilestoneprogresspanel.cpp6
-rw-r--r--kplato/kptpart.cpp8
-rw-r--r--kplato/kptpertview.cpp8
-rw-r--r--kplato/kptprojectdialog.cpp14
-rw-r--r--kplato/kptrelationdialog.cpp4
-rw-r--r--kplato/kptreportview.cpp12
-rw-r--r--kplato/kptrequestresourcespanel.cpp6
-rw-r--r--kplato/kptresourcedialog.cpp40
-rw-r--r--kplato/kptresourcesdialog.cpp2
-rw-r--r--kplato/kptresourcespanel.cpp28
-rw-r--r--kplato/kptresourceview.cpp8
-rw-r--r--kplato/kptstandardworktimedialog.cpp20
-rw-r--r--kplato/kptsummarytaskdialog.cpp2
-rw-r--r--kplato/kptsummarytaskgeneralpanel.cpp10
-rw-r--r--kplato/kpttaskcostpanel.cpp10
-rw-r--r--kplato/kpttaskdefaultpanel.cpp24
-rw-r--r--kplato/kpttaskdialog.cpp6
-rw-r--r--kplato/kpttaskgeneralpanel.cpp30
-rw-r--r--kplato/kpttaskprogressdialog.cpp2
-rw-r--r--kplato/kpttaskprogresspanel.cpp16
-rw-r--r--kplato/kptview.cpp144
-rw-r--r--kplato/kptwbsdefinitiondialog.cpp2
-rw-r--r--kplato/kptwbsdefinitionpanel.cpp16
38 files changed, 301 insertions, 301 deletions
diff --git a/kplato/kptaccountsdialog.cpp b/kplato/kptaccountsdialog.cpp
index 7ecc7bf1..febc4034 100644
--- a/kplato/kptaccountsdialog.cpp
+++ b/kplato/kptaccountsdialog.cpp
@@ -33,7 +33,7 @@ AccountsDialog::AccountsDialog(Accounts &acc, TQWidget *p, const char *n)
setMainWidget(m_panel);
enableButtonOK(false);
- connect(m_panel, TQT_SIGNAL(changed(bool)), TQT_SLOT(enableButtonOK(bool)));
+ connect(m_panel, TQ_SIGNAL(changed(bool)), TQ_SLOT(enableButtonOK(bool)));
}
KCommand *AccountsDialog::buildCommand(Part *part) {
diff --git a/kplato/kptaccountspanel.cpp b/kplato/kptaccountspanel.cpp
index 3a6015d8..ad4c1603 100644
--- a/kplato/kptaccountspanel.cpp
+++ b/kplato/kptaccountspanel.cpp
@@ -99,21 +99,21 @@ AccountsPanel::AccountsPanel(Accounts &acc, TQWidget *p, const char *n)
slotSelectionChanged();
- connect(accountList, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged()));
- connect(accountList, TQT_SIGNAL(itemRenamed(TQListViewItem*, int)), TQT_SLOT(slotItemRenamed(TQListViewItem*, int)));
- connect(accountList, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint &, int)), TQT_SLOT(slotListDoubleClicked(TQListViewItem*, const TQPoint &, int)));
+ connect(accountList, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChanged()));
+ connect(accountList, TQ_SIGNAL(itemRenamed(TQListViewItem*, int)), TQ_SLOT(slotItemRenamed(TQListViewItem*, int)));
+ connect(accountList, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint &, int)), TQ_SLOT(slotListDoubleClicked(TQListViewItem*, const TQPoint &, int)));
- connect(removeBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveBtn()));
- connect(newBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotNewBtn()));
- connect(subBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotSubBtn()));
+ connect(removeBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotRemoveBtn()));
+ connect(newBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotNewBtn()));
+ connect(subBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotSubBtn()));
- connect(accountsComboBox, TQT_SIGNAL(activated(int)), TQT_SLOT(slotActivated(int)));
+ connect(accountsComboBox, TQ_SIGNAL(activated(int)), TQ_SLOT(slotActivated(int)));
// Internal hacks, to get renaming to behave along with unique names
// Uses signals to not get in the way of TQListView
- connect(this, TQT_SIGNAL(renameStarted(TQListViewItem*, int)), TQT_SLOT(slotRenameStarted(TQListViewItem*, int)));
- connect(this, TQT_SIGNAL(startRename(TQListViewItem*, int)), TQT_SLOT(slotStartRename(TQListViewItem*, int)));
- connect(this, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged()));
+ connect(this, TQ_SIGNAL(renameStarted(TQListViewItem*, int)), TQ_SLOT(slotRenameStarted(TQListViewItem*, int)));
+ connect(this, TQ_SIGNAL(startRename(TQListViewItem*, int)), TQ_SLOT(slotStartRename(TQListViewItem*, int)));
+ connect(this, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChanged()));
}
void AccountsPanel::addItems(TQListView *lv, Accounts &acc) {
diff --git a/kplato/kptaccountsview.cpp b/kplato/kptaccountsview.cpp
index 3352a87d..6e599f2e 100644
--- a/kplato/kptaccountsview.cpp
+++ b/kplato/kptaccountsview.cpp
@@ -124,8 +124,8 @@ AccountsView::AccountsView(Project &project, View *view, TQWidget *parent)
lay1->addWidget(m_dlv);
- connect(this, TQT_SIGNAL(update()), TQT_SLOT(slotUpdate()));
- connect(m_changeBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotConfigure()));
+ connect(this, TQ_SIGNAL(update()), TQ_SLOT(slotUpdate()));
+ connect(m_changeBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotConfigure()));
TQValueList<int> list = m_dlv->sizes();
int tot = list[0] + list[1];
diff --git a/kplato/kptaccountsviewconfigdialog.cpp b/kplato/kptaccountsviewconfigdialog.cpp
index 18e63fb6..4fb19fc8 100644
--- a/kplato/kptaccountsviewconfigdialog.cpp
+++ b/kplato/kptaccountsviewconfigdialog.cpp
@@ -45,7 +45,7 @@ AccountsviewConfigDialog::AccountsviewConfigDialog(const TQDate &date, int perio
enableButtonOK(false);
- connect(m_panel, TQT_SIGNAL(changed(bool)), TQT_SLOT( enableButtonOK(bool)));
+ connect(m_panel, TQ_SIGNAL(changed(bool)), TQ_SLOT( enableButtonOK(bool)));
}
@@ -70,9 +70,9 @@ bool AccountsviewConfigDialog::isCumulative() {
AccountsviewConfigPanel::AccountsviewConfigPanel(TQWidget *parent)
: AccountsviewConfigurePanelBase(parent) {
- connect(dateEdit, TQT_SIGNAL(changed(TQDate)), TQT_SLOT(slotChanged()));
- connect(periodBox, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged()));
- connect(cumulative, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged()));
+ connect(dateEdit, TQ_SIGNAL(changed(TQDate)), TQ_SLOT(slotChanged()));
+ connect(periodBox, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged()));
+ connect(cumulative, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged()));
}
void AccountsviewConfigPanel::slotChanged() {
diff --git a/kplato/kptcalendaredit.cpp b/kplato/kptcalendaredit.cpp
index 427645d7..46c05230 100644
--- a/kplato/kptcalendaredit.cpp
+++ b/kplato/kptcalendaredit.cpp
@@ -59,15 +59,15 @@ CalendarEdit::CalendarEdit (TQWidget *parent, const char */*name*/)
intervalList->setShowSortIndicator(true);
intervalList->setSorting(0);
- connect (calendarPanel, TQT_SIGNAL(dateChanged(TQDate)), TQT_SLOT(slotDateSelected(TQDate)));
- connect (calendarPanel, TQT_SIGNAL(weekdaySelected(int)), TQT_SLOT(slotWeekdaySelected(int)));
- connect(calendarPanel, TQT_SIGNAL(selectionCleared()), TQT_SLOT(slotSelectionCleared()));
+ connect (calendarPanel, TQ_SIGNAL(dateChanged(TQDate)), TQ_SLOT(slotDateSelected(TQDate)));
+ connect (calendarPanel, TQ_SIGNAL(weekdaySelected(int)), TQ_SLOT(slotWeekdaySelected(int)));
+ connect(calendarPanel, TQ_SIGNAL(selectionCleared()), TQ_SLOT(slotSelectionCleared()));
- connect (state, TQT_SIGNAL(activated(int)), TQT_SLOT(slotStateActivated(int)));
- connect (bClear, TQT_SIGNAL(clicked()), TQT_SLOT(slotClearClicked()));
- connect (bAddInterval, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddIntervalClicked()));
+ connect (state, TQ_SIGNAL(activated(int)), TQ_SLOT(slotStateActivated(int)));
+ connect (bClear, TQ_SIGNAL(clicked()), TQ_SLOT(slotClearClicked()));
+ connect (bAddInterval, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddIntervalClicked()));
- connect (bApply, TQT_SIGNAL(clicked()), TQT_SLOT(slotApplyClicked()));
+ connect (bApply, TQ_SIGNAL(clicked()), TQ_SLOT(slotApplyClicked()));
}
void CalendarEdit::slotStateActivated(int id) {
diff --git a/kplato/kptcalendarlistdialog.cpp b/kplato/kptcalendarlistdialog.cpp
index 496cc786..4df39d2e 100644
--- a/kplato/kptcalendarlistdialog.cpp
+++ b/kplato/kptcalendarlistdialog.cpp
@@ -188,7 +188,7 @@ CalendarListDialog::CalendarListDialog(Project &p, TQWidget *parent, const char
setMainWidget(dia);
enableButtonOK(false);
- connect(dia, TQT_SIGNAL(enableButtonOk(bool)), TQT_SLOT(enableButtonOK(bool)));
+ connect(dia, TQ_SIGNAL(enableButtonOk(bool)), TQ_SLOT(enableButtonOK(bool)));
}
KCommand *CalendarListDialog::buildCommand(Part *part) {
@@ -239,23 +239,23 @@ CalendarListDialogImpl::CalendarListDialogImpl (Project &p, TQWidget *parent)
slotSelectionChanged();
- connect(calendar, TQT_SIGNAL(obligatedFieldsFilled(bool)), TQT_SLOT(slotEnableButtonOk(bool)));
- connect(calendar, TQT_SIGNAL(applyClicked()), TQT_SLOT(slotCalendarModified()));
+ connect(calendar, TQ_SIGNAL(obligatedFieldsFilled(bool)), TQ_SLOT(slotEnableButtonOk(bool)));
+ connect(calendar, TQ_SIGNAL(applyClicked()), TQ_SLOT(slotCalendarModified()));
- connect(bDelete, TQT_SIGNAL(clicked()), TQT_SLOT(slotDeleteClicked()));
- connect(bAdd, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddClicked()));
- //connect(editName, TQT_SIGNAL(returnPressed()), TQT_SLOT(slotAddClicked()));
+ connect(bDelete, TQ_SIGNAL(clicked()), TQ_SLOT(slotDeleteClicked()));
+ connect(bAdd, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddClicked()));
+ //connect(editName, TQ_SIGNAL(returnPressed()), TQ_SLOT(slotAddClicked()));
- connect(calendarList, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged()));
- connect(calendarList, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQT_SLOT(slotListDoubleClicked(TQListViewItem*, const TQPoint&, int)));
- connect(calendarList, TQT_SIGNAL(itemRenamed(TQListViewItem*, int)), TQT_SLOT(slotItemRenamed(TQListViewItem*, int)));
+ connect(calendarList, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChanged()));
+ connect(calendarList, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQ_SLOT(slotListDoubleClicked(TQListViewItem*, const TQPoint&, int)));
+ connect(calendarList, TQ_SIGNAL(itemRenamed(TQListViewItem*, int)), TQ_SLOT(slotItemRenamed(TQListViewItem*, int)));
- connect (baseCalendar, TQT_SIGNAL(activated(int)), TQT_SLOT(slotBaseCalendarActivated(int)));
+ connect (baseCalendar, TQ_SIGNAL(activated(int)), TQ_SLOT(slotBaseCalendarActivated(int)));
// Internal rename stuff
- connect(this, TQT_SIGNAL(renameStarted(TQListViewItem*, int)), TQT_SLOT(slotRenameStarted(TQListViewItem*, int)));
- connect(this, TQT_SIGNAL(startRename(TQListViewItem*, int)), TQT_SLOT(slotStartRename(TQListViewItem*, int)));
- connect(this, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged()));
+ connect(this, TQ_SIGNAL(renameStarted(TQListViewItem*, int)), TQ_SLOT(slotRenameStarted(TQListViewItem*, int)));
+ connect(this, TQ_SIGNAL(startRename(TQListViewItem*, int)), TQ_SLOT(slotStartRename(TQListViewItem*, int)));
+ connect(this, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChanged()));
}
void CalendarListDialogImpl::setBaseCalendars() {
diff --git a/kplato/kptcalendarpanel.cpp b/kplato/kptcalendarpanel.cpp
index 4c98fac0..c6bb6da8 100644
--- a/kplato/kptcalendarpanel.cpp
+++ b/kplato/kptcalendarpanel.cpp
@@ -101,20 +101,20 @@ void CalendarPanel::init( const TQDate &dt )
monthForward->setPixmap(BarIcon(TQString::fromLatin1("1rightarrow")));
monthBackward->setPixmap(BarIcon(TQString::fromLatin1("1leftarrow")));
setDate(dt); // set button texts
- connect(table, TQT_SIGNAL(dateChanged(TQDate)), TQT_SLOT(dateChangedSlot(TQDate)));
- connect(table, TQT_SIGNAL(tableClicked()), TQT_SLOT(tableClickedSlot()));
- connect(monthForward, TQT_SIGNAL(clicked()), TQT_SLOT(monthForwardClicked()));
- connect(monthBackward, TQT_SIGNAL(clicked()), TQT_SLOT(monthBackwardClicked()));
- connect(yearForward, TQT_SIGNAL(clicked()), TQT_SLOT(yearForwardClicked()));
- connect(yearBackward, TQT_SIGNAL(clicked()), TQT_SLOT(yearBackwardClicked()));
- connect(d->selectWeek, TQT_SIGNAL(clicked()), TQT_SLOT(selectWeekClicked()));
- connect(selectMonth, TQT_SIGNAL(clicked()), TQT_SLOT(selectMonthClicked()));
- connect(selectYear, TQT_SIGNAL(clicked()), TQT_SLOT(selectYearClicked()));
- connect(line, TQT_SIGNAL(returnPressed()), TQT_SLOT(lineEnterPressed()));
-
- connect(table, TQT_SIGNAL(weekdaySelected(int)), TQT_SLOT(slotWeekdaySelected(int)));
- connect(table, TQT_SIGNAL(weekSelected(int, int)), TQT_SLOT(slotWeekSelected(int, int)));
- connect(table, TQT_SIGNAL(selectionCleared()), TQT_SLOT(slotSelectionCleared()));
+ connect(table, TQ_SIGNAL(dateChanged(TQDate)), TQ_SLOT(dateChangedSlot(TQDate)));
+ connect(table, TQ_SIGNAL(tableClicked()), TQ_SLOT(tableClickedSlot()));
+ connect(monthForward, TQ_SIGNAL(clicked()), TQ_SLOT(monthForwardClicked()));
+ connect(monthBackward, TQ_SIGNAL(clicked()), TQ_SLOT(monthBackwardClicked()));
+ connect(yearForward, TQ_SIGNAL(clicked()), TQ_SLOT(yearForwardClicked()));
+ connect(yearBackward, TQ_SIGNAL(clicked()), TQ_SLOT(yearBackwardClicked()));
+ connect(d->selectWeek, TQ_SIGNAL(clicked()), TQ_SLOT(selectWeekClicked()));
+ connect(selectMonth, TQ_SIGNAL(clicked()), TQ_SLOT(selectMonthClicked()));
+ connect(selectYear, TQ_SIGNAL(clicked()), TQ_SLOT(selectYearClicked()));
+ connect(line, TQ_SIGNAL(returnPressed()), TQ_SLOT(lineEnterPressed()));
+
+ connect(table, TQ_SIGNAL(weekdaySelected(int)), TQ_SLOT(slotWeekdaySelected(int)));
+ connect(table, TQ_SIGNAL(weekSelected(int, int)), TQ_SLOT(slotWeekSelected(int, int)));
+ connect(table, TQ_SIGNAL(selectionCleared()), TQ_SLOT(slotSelectionCleared()));
table->setFocus();
}
@@ -287,7 +287,7 @@ CalendarPanel::selectWeekClicked()
// -----
picker->resize(picker->sizeHint());
popup->setMainWidget(picker);
- connect(picker, TQT_SIGNAL(closeMe(int)), popup, TQT_SLOT(close(int)));
+ connect(picker, TQ_SIGNAL(closeMe(int)), popup, TQ_SLOT(close(int)));
picker->setFocus();
if(popup->exec(d->selectWeek->mapToGlobal(TQPoint(0, d->selectWeek->height()))))
{
@@ -325,7 +325,7 @@ CalendarPanel::selectMonthClicked()
picker->resize(picker->sizeHint());
popup->setMainWidget(picker);
picker->setFocus();
- connect(picker, TQT_SIGNAL(closeMe(int)), popup, TQT_SLOT(close(int)));
+ connect(picker, TQ_SIGNAL(closeMe(int)), popup, TQ_SLOT(close(int)));
if(popup->exec(selectMonth->mapToGlobal(TQPoint(0, selectMonth->height()))))
{
TQDate date;
@@ -354,7 +354,7 @@ CalendarPanel::selectYearClicked()
// -----
picker->resize(picker->sizeHint());
popup->setMainWidget(picker);
- connect(picker, TQT_SIGNAL(closeMe(int)), popup, TQT_SLOT(close(int)));
+ connect(picker, TQ_SIGNAL(closeMe(int)), popup, TQ_SLOT(close(int)));
picker->setFocus();
if(popup->exec(selectYear->mapToGlobal(TQPoint(0, selectMonth->height()))))
{
@@ -489,8 +489,8 @@ CalendarPanel::setCloseButton( bool enable )
d->closeButton = new TQToolButton( this );
TQToolTip::add(d->closeButton, i18n("Close"));
d->closeButton->setPixmap( SmallIcon("remove") );
- connect( d->closeButton, TQT_SIGNAL( clicked() ),
- topLevelWidget(), TQT_SLOT( close() ) );
+ connect( d->closeButton, TQ_SIGNAL( clicked() ),
+ topLevelWidget(), TQ_SLOT( close() ) );
}
else {
delete d->closeButton;
diff --git a/kplato/kptconfigdialog.cpp b/kplato/kptconfigdialog.cpp
index 384c4abd..e0371f80 100644
--- a/kplato/kptconfigdialog.cpp
+++ b/kplato/kptconfigdialog.cpp
@@ -61,8 +61,8 @@ ConfigDialog::ConfigDialog(Config &config, Project &project, TQWidget *parent, c
enableButtonOK(false);
enableButtonApply(false);
-// connect(m_behaviorPage, TQT_SIGNAL(changed()), TQT_SLOT(slotChanged()));
- connect(m_taskDefaultPage, TQT_SIGNAL(changed()), TQT_SLOT(slotChanged()));
+// connect(m_behaviorPage, TQ_SIGNAL(changed()), TQ_SLOT(slotChanged()));
+ connect(m_taskDefaultPage, TQ_SIGNAL(changed()), TQ_SLOT(slotChanged()));
}
diff --git a/kplato/kptdatetable.cpp b/kplato/kptdatetable.cpp
index 5c10eb0b..c7e61ed9 100644
--- a/kplato/kptdatetable.cpp
+++ b/kplato/kptdatetable.cpp
@@ -726,7 +726,7 @@ DateInternalWeekSelector::DateInternalWeekSelector
setFrameStyle(TQFrame::NoFrame);
val->setRange(1, 53);
setValidator(val);
- connect(this, TQT_SIGNAL(returnPressed()), TQT_SLOT(weekEnteredSlot()));
+ connect(this, TQ_SIGNAL(returnPressed()), TQ_SLOT(weekEnteredSlot()));
}
void
@@ -939,7 +939,7 @@ DateInternalYearSelector::DateInternalYearSelector
// we have to respect the limits of TQDate here, I fear:
val->setRange(0, 8000);
setValidator(val);
- connect(this, TQT_SIGNAL(returnPressed()), TQT_SLOT(yearEnteredSlot()));
+ connect(this, TQ_SIGNAL(returnPressed()), TQ_SLOT(yearEnteredSlot()));
}
void
diff --git a/kplato/kptdoublelistviewbase.cpp b/kplato/kptdoublelistviewbase.cpp
index e2c54df5..6df157ad 100644
--- a/kplato/kptdoublelistviewbase.cpp
+++ b/kplato/kptdoublelistviewbase.cpp
@@ -380,11 +380,11 @@ DoubleListViewBase::DoubleListViewBase(TQWidget *parent, bool description)
m_slaveList->setHScrollBarMode(TQScrollView::AlwaysOn);
- connect(m_slaveList->verticalScrollBar(), TQT_SIGNAL(valueChanged(int)),
- m_masterList->verticalScrollBar(), TQT_SLOT(setValue(int)));
+ connect(m_slaveList->verticalScrollBar(), TQ_SIGNAL(valueChanged(int)),
+ m_masterList->verticalScrollBar(), TQ_SLOT(setValue(int)));
- connect(m_masterList, TQT_SIGNAL(expanded(TQListViewItem*)), TQT_SLOT(slotExpanded(TQListViewItem*)));
- connect(m_masterList, TQT_SIGNAL(collapsed(TQListViewItem*)), TQT_SLOT(slotCollapsed(TQListViewItem*)));
+ connect(m_masterList, TQ_SIGNAL(expanded(TQListViewItem*)), TQ_SLOT(slotExpanded(TQListViewItem*)));
+ connect(m_masterList, TQ_SIGNAL(collapsed(TQListViewItem*)), TQ_SLOT(slotCollapsed(TQListViewItem*)));
}
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);
}
diff --git a/kplato/kptintervaledit.cpp b/kplato/kptintervaledit.cpp
index a37ec064..8c18ff77 100644
--- a/kplato/kptintervaledit.cpp
+++ b/kplato/kptintervaledit.cpp
@@ -51,9 +51,9 @@ IntervalEditImpl::IntervalEditImpl(TQWidget *parent)
intervalList->header()->setStretchEnabled(true);
intervalList->setSortColumn(0);
- connect(bClear, TQT_SIGNAL(clicked()), TQT_SLOT(slotClearClicked()));
- connect(bAddInterval, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddIntervalClicked()));
- connect(intervalList, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(slotIntervalSelectionChanged(TQListViewItem*)));
+ connect(bClear, TQ_SIGNAL(clicked()), TQ_SLOT(slotClearClicked()));
+ connect(bAddInterval, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddIntervalClicked()));
+ connect(intervalList, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(slotIntervalSelectionChanged(TQListViewItem*)));
}
diff --git a/kplato/kptmainprojectdialog.cpp b/kplato/kptmainprojectdialog.cpp
index 3d9065e2..57e0dd39 100644
--- a/kplato/kptmainprojectdialog.cpp
+++ b/kplato/kptmainprojectdialog.cpp
@@ -40,7 +40,7 @@ MainProjectDialog::MainProjectDialog(Project &p, TQWidget *parent, const char *n
setMainWidget(panel);
enableButtonOK(false);
resize( TQSize(500, 410).expandedTo(minimumSizeHint()));
- connect(panel, TQT_SIGNAL(obligatedFieldsFilled(bool)), TQT_SLOT(enableButtonOK(bool)));
+ connect(panel, TQ_SIGNAL(obligatedFieldsFilled(bool)), TQ_SLOT(enableButtonOK(bool)));
}
diff --git a/kplato/kptmainprojectpanel.cpp b/kplato/kptmainprojectpanel.cpp
index 375b04f1..cedc693b 100644
--- a/kplato/kptmainprojectpanel.cpp
+++ b/kplato/kptmainprojectpanel.cpp
@@ -146,21 +146,21 @@ MainProjectPanelImpl::MainProjectPanelImpl(TQWidget *parent, const char *name)
: MainProjectPanelBase(parent, name) {
// signals and slots connections
- connect( bStartDate, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotStartDateClicked() ) );
- connect( bEndDate, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEndDateClicked() ) );
- connect( bStartDate, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCheckAllFieldsFilled() ) );
- connect( bEndDate, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCheckAllFieldsFilled() ) );
- connect( descriptionfield, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( slotCheckAllFieldsFilled() ) );
- connect( endDate, TQT_SIGNAL( changed(TQDate) ), this, TQT_SLOT( slotCheckAllFieldsFilled() ) );
- connect( endTime, TQT_SIGNAL( valueChanged(const TQTime&) ), this, TQT_SLOT( slotCheckAllFieldsFilled() ) );
- connect( startDate, TQT_SIGNAL( changed(TQDate) ), this, TQT_SLOT( slotCheckAllFieldsFilled() ) );
- connect( startTime, TQT_SIGNAL( valueChanged(const TQTime&) ), this, TQT_SLOT( slotCheckAllFieldsFilled() ) );
- //connect( baseline, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotCheckAllFieldsFilled() ) ); FIXME: Removed for this release
- connect( namefield, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( slotCheckAllFieldsFilled() ) );
- connect( idfield, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( slotCheckAllFieldsFilled() ) );
- connect( leaderfield, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( slotCheckAllFieldsFilled() ) );
- //connect( baseline, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotBaseline() ) ); FIXME: Removed for this release
- connect( chooseLeader, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotChooseLeader() ) );
+ connect( bStartDate, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotStartDateClicked() ) );
+ connect( bEndDate, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEndDateClicked() ) );
+ connect( bStartDate, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotCheckAllFieldsFilled() ) );
+ connect( bEndDate, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotCheckAllFieldsFilled() ) );
+ connect( descriptionfield, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( slotCheckAllFieldsFilled() ) );
+ connect( endDate, TQ_SIGNAL( changed(TQDate) ), this, TQ_SLOT( slotCheckAllFieldsFilled() ) );
+ connect( endTime, TQ_SIGNAL( valueChanged(const TQTime&) ), this, TQ_SLOT( slotCheckAllFieldsFilled() ) );
+ connect( startDate, TQ_SIGNAL( changed(TQDate) ), this, TQ_SLOT( slotCheckAllFieldsFilled() ) );
+ connect( startTime, TQ_SIGNAL( valueChanged(const TQTime&) ), this, TQ_SLOT( slotCheckAllFieldsFilled() ) );
+ //connect( baseline, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotCheckAllFieldsFilled() ) ); FIXME: Removed for this release
+ connect( namefield, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( slotCheckAllFieldsFilled() ) );
+ connect( idfield, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( slotCheckAllFieldsFilled() ) );
+ connect( leaderfield, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( slotCheckAllFieldsFilled() ) );
+ //connect( baseline, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotBaseline() ) ); FIXME: Removed for this release
+ connect( chooseLeader, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotChooseLeader() ) );
}
void MainProjectPanelImpl::slotCheckAllFieldsFilled()
diff --git a/kplato/kptmilestoneprogressdialog.cpp b/kplato/kptmilestoneprogressdialog.cpp
index f9bf729e..c8ad6599 100644
--- a/kplato/kptmilestoneprogressdialog.cpp
+++ b/kplato/kptmilestoneprogressdialog.cpp
@@ -37,7 +37,7 @@ MilestoneProgressDialog::MilestoneProgressDialog(Task &task, TQWidget *p)
enableButtonOK(false);
- connect(m_panel, TQT_SIGNAL(changed()), TQT_SLOT(slotChanged()));
+ connect(m_panel, TQ_SIGNAL(changed()), TQ_SLOT(slotChanged()));
}
void MilestoneProgressDialog::slotChanged() {
diff --git a/kplato/kptmilestoneprogresspanel.cpp b/kplato/kptmilestoneprogresspanel.cpp
index 977878f1..2ecbdd31 100644
--- a/kplato/kptmilestoneprogresspanel.cpp
+++ b/kplato/kptmilestoneprogresspanel.cpp
@@ -71,10 +71,10 @@ KCommand *MilestoneProgressPanel::buildCommand(Part *part) {
MilestoneProgressPanelImpl::MilestoneProgressPanelImpl(TQWidget *parent, const char *name, WFlags f)
: MilestoneProgressPanelBase(parent, name, f) {
- connect(finished, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotFinishedChanged(bool)));
- connect(finished, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged()));
+ connect(finished, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotFinishedChanged(bool)));
+ connect(finished, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged()));
- connect(finishTime, TQT_SIGNAL(valueChanged(const TQDateTime &)), TQT_SLOT(slotChanged()));
+ connect(finishTime, TQ_SIGNAL(valueChanged(const TQDateTime &)), TQ_SLOT(slotChanged()));
}
diff --git a/kplato/kptpart.cpp b/kplato/kptpart.cpp
index 53ed107f..ddebf0f0 100644
--- a/kplato/kptpart.cpp
+++ b/kplato/kptpart.cpp
@@ -67,13 +67,13 @@ Part::Part(TQWidget *parentWidget, const char *widgetName,
delete m_project;
m_project = new Project(); // after config is loaded
- connect(m_commandHistory, TQT_SIGNAL(commandExecuted()), TQT_SLOT(slotCommandExecuted()));
- connect(m_commandHistory, TQT_SIGNAL(documentRestored()), TQT_SLOT(slotDocumentRestored()));
+ connect(m_commandHistory, TQ_SIGNAL(commandExecuted()), TQ_SLOT(slotCommandExecuted()));
+ connect(m_commandHistory, TQ_SIGNAL(documentRestored()), TQ_SLOT(slotDocumentRestored()));
//FIXME the following is really dirty, we should make KPlato::Context a real class
// with getter and setter and signals when content changes, thus we can keep track
TQTimer* timer = new TQTimer(this,"context update timer");
- connect(timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(slotCopyContextFromView()));
+ connect(timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(slotCopyContextFromView()));
timer->start(500);
}
@@ -147,7 +147,7 @@ bool Part::initDoc(InitDocFlags flags, TQWidget* parentWidget) {
KoView *Part::createViewInstance(TQWidget *parent, const char *name) {
m_view = new View(this, parent, name);
- connect(m_view,TQT_SIGNAL(destroyed()),this,TQT_SLOT(slotViewDestroyed()));
+ connect(m_view,TQ_SIGNAL(destroyed()),this,TQ_SLOT(slotViewDestroyed()));
// If there is a project dialog this should be deleted so it will
// use the m_view as parent. If the dialog will be needed again,
diff --git a/kplato/kptpertview.cpp b/kplato/kptpertview.cpp
index f68d9eb8..0c4c6ae4 100644
--- a/kplato/kptpertview.cpp
+++ b/kplato/kptpertview.cpp
@@ -59,11 +59,11 @@ void PertView::init(TQLayout */*layout*/)
m_canvasview = new PertCanvas(this);
gl->addWidget(m_canvasview, 0, 0);
draw();
- connect(m_canvasview, TQT_SIGNAL(rightButtonPressed(Node *, const TQPoint &)), this, TQT_SLOT(slotRMBPressed(Node *,const TQPoint &)));
- connect(m_canvasview, TQT_SIGNAL(updateView(bool)), m_mainview, TQT_SLOT(slotUpdate(bool)));
+ connect(m_canvasview, TQ_SIGNAL(rightButtonPressed(Node *, const TQPoint &)), this, TQ_SLOT(slotRMBPressed(Node *,const TQPoint &)));
+ connect(m_canvasview, TQ_SIGNAL(updateView(bool)), m_mainview, TQ_SLOT(slotUpdate(bool)));
- connect(m_canvasview, TQT_SIGNAL(addRelation(Node*, Node*)), TQT_SLOT(slotAddRelation(Node*, Node*)));
- connect(m_canvasview, TQT_SIGNAL(modifyRelation(Relation*)), TQT_SLOT(slotModifyRelation(Relation*)));
+ connect(m_canvasview, TQ_SIGNAL(addRelation(Node*, Node*)), TQ_SLOT(slotAddRelation(Node*, Node*)));
+ connect(m_canvasview, TQ_SIGNAL(modifyRelation(Relation*)), TQ_SLOT(slotModifyRelation(Relation*)));
}
void PertView::draw()
diff --git a/kplato/kptprojectdialog.cpp b/kplato/kptprojectdialog.cpp
index 1b547629..0fe1a721 100644
--- a/kplato/kptprojectdialog.cpp
+++ b/kplato/kptprojectdialog.cpp
@@ -57,13 +57,13 @@ ProjectDialog::ProjectDialog(Project &p, TQWidget *parent, const char *name)
dia->namefield->setText(project.name());
dia->leaderfield->setText(project.leader());
- connect(dia, TQT_SIGNAL( obligatedFieldsFilled(bool) ), this, TQT_SLOT( enableButtonOK(bool) ));
- connect(dia, TQT_SIGNAL( schedulingTypeChanged(int) ), this, TQT_SLOT( slotSchedulingChanged(int) ));
+ connect(dia, TQ_SIGNAL( obligatedFieldsFilled(bool) ), this, TQ_SLOT( enableButtonOK(bool) ));
+ connect(dia, TQ_SIGNAL( schedulingTypeChanged(int) ), this, TQ_SLOT( slotSchedulingChanged(int) ));
slotSchedulingChanged(dia->schedulerType->currentItem());
dia->namefield->setFocus();
- connect(resourcesTab, TQT_SIGNAL( changed() ), dia, TQT_SLOT( slotCheckAllFieldsFilled() ));
+ connect(resourcesTab, TQ_SIGNAL( changed() ), dia, TQ_SLOT( slotCheckAllFieldsFilled() ));
}
@@ -118,10 +118,10 @@ void ProjectDialog::slotSchedulingChanged(int activated) {
}
ProjectDialogImpl::ProjectDialogImpl (TQWidget *parent) : ProjectDialogBase(parent) {
- connect (namefield, TQT_SIGNAL(textChanged( const TQString& )), this, TQT_SLOT(slotCheckAllFieldsFilled()) );
- connect (leaderfield, TQT_SIGNAL(textChanged( const TQString& )), this, TQT_SLOT(slotCheckAllFieldsFilled()) );
- connect (schedulerType, TQT_SIGNAL(activated( int )), this, TQT_SLOT(slotSchedulingChanged( int )) );
- connect (chooseLeader, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotChooseLeader()));
+ connect (namefield, TQ_SIGNAL(textChanged( const TQString& )), this, TQ_SLOT(slotCheckAllFieldsFilled()) );
+ connect (leaderfield, TQ_SIGNAL(textChanged( const TQString& )), this, TQ_SLOT(slotCheckAllFieldsFilled()) );
+ connect (schedulerType, TQ_SIGNAL(activated( int )), this, TQ_SLOT(slotSchedulingChanged( int )) );
+ connect (chooseLeader, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotChooseLeader()));
}
void ProjectDialogImpl::slotCheckAllFieldsFilled() {
diff --git a/kplato/kptrelationdialog.cpp b/kplato/kptrelationdialog.cpp
index 4de50c11..2b91b456 100644
--- a/kplato/kptrelationdialog.cpp
+++ b/kplato/kptrelationdialog.cpp
@@ -61,8 +61,8 @@ AddRelationDialog::AddRelationDialog(Relation *rel, TQWidget *p, TQString captio
m_panel->relationType->setFocus();
enableButtonOK(true);
- connect(m_panel->relationType, TQT_SIGNAL(clicked(int)), TQT_SLOT(typeClicked(int)));
- connect(m_panel->lag, TQT_SIGNAL(valueChanged()), TQT_SLOT(lagChanged()));
+ connect(m_panel->relationType, TQ_SIGNAL(clicked(int)), TQ_SLOT(typeClicked(int)));
+ connect(m_panel->lag, TQ_SIGNAL(valueChanged()), TQ_SLOT(lagChanged()));
}
KCommand *AddRelationDialog::buildCommand(Part *part) {
diff --git a/kplato/kptreportview.cpp b/kplato/kptreportview.cpp
index dbbae9a1..b346eef2 100644
--- a/kplato/kptreportview.cpp
+++ b/kplato/kptreportview.cpp
@@ -188,17 +188,17 @@ ReportView::ReportView(View *view, TQWidget *parent)
initReportList();
- connect(m_reportList, TQT_SIGNAL(clicked(TQListViewItem*)), TQT_SLOT(slotReportListClicked(TQListViewItem*)));
- connect(m_reportList, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(slotReportListSelectionChanged(TQListViewItem*)));
+ connect(m_reportList, TQ_SIGNAL(clicked(TQListViewItem*)), TQ_SLOT(slotReportListClicked(TQListViewItem*)));
+ connect(m_reportList, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(slotReportListSelectionChanged(TQListViewItem*)));
//setCentralWidget(m_reportview);
// Create the user interface.
- //KStdAction::print(this,TQT_SLOT(slotPrint()),actionCollection());
- //KStdAction::quit(this,TQT_SLOT(slotFileQuit()),actionCollection());
+ //KStdAction::print(this,TQ_SLOT(slotPrint()),actionCollection());
+ //KStdAction::quit(this,TQ_SLOT(slotFileQuit()),actionCollection());
-// KStdAction::showToolbar(this,TQT_SLOT(slotViewToolBar()),actionCollection());
-// KStdAction::showStatusbar(this,TQT_SLOT(slotViewStatusBar()),actionCollection());
+// KStdAction::showToolbar(this,TQ_SLOT(slotViewToolBar()),actionCollection());
+// KStdAction::showStatusbar(this,TQ_SLOT(slotViewStatusBar()),actionCollection());
// statusBar();
diff --git a/kplato/kptrequestresourcespanel.cpp b/kplato/kptrequestresourcespanel.cpp
index 790a6177..3544b058 100644
--- a/kplato/kptrequestresourcespanel.cpp
+++ b/kplato/kptrequestresourcespanel.cpp
@@ -174,9 +174,9 @@ RequestResourcesPanel::RequestResourcesPanel(TQWidget *parent, Task &task, bool
resourceTable->setReadOnly(baseline);
- connect(groupList, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(groupChanged(TQListViewItem*)));
- connect(resourceTable, TQT_SIGNAL(valueChanged(int, int)), TQT_SLOT(resourceChanged(int, int)));
-// connect(numUnits, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(unitsChanged(int)));
+ connect(groupList, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(groupChanged(TQListViewItem*)));
+ connect(resourceTable, TQ_SIGNAL(valueChanged(int, int)), TQ_SLOT(resourceChanged(int, int)));
+// connect(numUnits, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(unitsChanged(int)));
}
diff --git a/kplato/kptresourcedialog.cpp b/kplato/kptresourcedialog.cpp
index 8e2c24fd..1f2bc87d 100644
--- a/kplato/kptresourcedialog.cpp
+++ b/kplato/kptresourcedialog.cpp
@@ -53,23 +53,23 @@ ResourceDialogImpl::ResourceDialogImpl (TQWidget *parent)
: ResourceDialogBase(parent)
{
- connect(type, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged()));
- connect(units, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotChanged()));
- connect(nameEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
- connect(initialsEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
- connect(emailEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
+ connect(type, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged()));
+ connect(units, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotChanged()));
+ connect(nameEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
+ connect(initialsEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
+ connect(emailEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
- connect(calendarList, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged()));
+ connect(calendarList, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged()));
- connect(rateEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
- connect(overtimeEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
+ connect(rateEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
+ connect(overtimeEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
- connect(chooseBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotChooseResource()));
+ connect(chooseBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotChooseResource()));
- connect(availableFrom, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotChanged()));
- connect(availableUntil, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotChanged()));
- connect(availableFrom, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotAvailableFromChanged(const TQDateTime&)));
- connect(availableUntil, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
+ connect(availableFrom, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotChanged()));
+ connect(availableUntil, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotChanged()));
+ connect(availableFrom, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotAvailableFromChanged(const TQDateTime&)));
+ connect(availableUntil, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
}
@@ -79,19 +79,19 @@ void ResourceDialogImpl::slotChanged() {
void ResourceDialogImpl::slotAvailableFromChanged(const TQDateTime&) {
if (availableUntil->dateTime() < availableFrom->dateTime()) {
- disconnect(availableUntil, TQT_SIGNAL(valueChanged(const TQDateTime&)), this, TQT_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
+ disconnect(availableUntil, TQ_SIGNAL(valueChanged(const TQDateTime&)), this, TQ_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
//kdDebug()<<"From: "<<availableFrom->dateTime().toString()<<" until="<<availableUntil->dateTime().toString()<<endl;
availableUntil->setDateTime(availableFrom->dateTime());
- connect(availableUntil, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
+ connect(availableUntil, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
}
}
void ResourceDialogImpl::slotAvailableUntilChanged(const TQDateTime&) {
if (availableFrom->dateTime() > availableUntil->dateTime()) {
- disconnect(availableFrom, TQT_SIGNAL(valueChanged(const TQDateTime&)), this, TQT_SLOT(slotAvailableFromChanged(const TQDateTime&)));
+ disconnect(availableFrom, TQ_SIGNAL(valueChanged(const TQDateTime&)), this, TQ_SLOT(slotAvailableFromChanged(const TQDateTime&)));
//kdDebug()<<"Until: "<<availableUntil->dateTime().toString()<<" from="<<availableFrom->dateTime().toString()<<endl;
availableFrom->setDateTime(availableUntil->dateTime());
- connect(availableFrom, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotAvailableFromChanged(const TQDateTime&)));
+ connect(availableFrom, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotAvailableFromChanged(const TQDateTime&)));
}
}
@@ -151,9 +151,9 @@ ResourceDialog::ResourceDialog(Project &project, Resource *resource, TQWidget *p
}
dia->calendarList->setCurrentItem(cal);
- connect(dia, TQT_SIGNAL(changed()), TQT_SLOT(enableButtonOk()));
- connect(dia, TQT_SIGNAL(calculate()), TQT_SLOT(slotCalculationNeeded()));
- connect(dia->calendarList, TQT_SIGNAL(activated(int)), TQT_SLOT(slotCalendarChanged(int)));
+ connect(dia, TQ_SIGNAL(changed()), TQ_SLOT(enableButtonOk()));
+ connect(dia, TQ_SIGNAL(calculate()), TQ_SLOT(slotCalculationNeeded()));
+ connect(dia->calendarList, TQ_SIGNAL(activated(int)), TQ_SLOT(slotCalendarChanged(int)));
}
diff --git a/kplato/kptresourcesdialog.cpp b/kplato/kptresourcesdialog.cpp
index 37ce4529..ea849ff8 100644
--- a/kplato/kptresourcesdialog.cpp
+++ b/kplato/kptresourcesdialog.cpp
@@ -41,7 +41,7 @@ ResourcesDialog::ResourcesDialog(Project &p, TQWidget *parent, const char *name)
setMainWidget(panel);
enableButtonOK(false);
- connect(panel, TQT_SIGNAL(changed()), TQT_SLOT(slotChanged()));
+ connect(panel, TQ_SIGNAL(changed()), TQ_SLOT(slotChanged()));
}
diff --git a/kplato/kptresourcespanel.cpp b/kplato/kptresourcespanel.cpp
index 86275cd7..1d38cbda 100644
--- a/kplato/kptresourcespanel.cpp
+++ b/kplato/kptresourcespanel.cpp
@@ -262,25 +262,25 @@ ResourcesPanel::ResourcesPanel(TQWidget *parent, Project *p) : ResourcesPanelBas
listOfGroups->setSelected(listOfGroups->firstChild(), true);
slotGroupChanged();
- connect(bAdd, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddGroup()));
- connect(bRemove, TQT_SIGNAL(clicked()), TQT_SLOT(slotDeleteGroup()));
- connect(listOfGroups, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotGroupChanged()));
- connect(listOfGroups, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQT_SLOT(slotListDoubleClicked(TQListViewItem*, const TQPoint&, int)));
- connect(listOfGroups, TQT_SIGNAL(itemRenamed(TQListViewItem*, int)), TQT_SLOT(slotItemRenamed(TQListViewItem*, int)));
+ connect(bAdd, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddGroup()));
+ connect(bRemove, TQ_SIGNAL(clicked()), TQ_SLOT(slotDeleteGroup()));
+ connect(listOfGroups, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotGroupChanged()));
+ connect(listOfGroups, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQ_SLOT(slotListDoubleClicked(TQListViewItem*, const TQPoint&, int)));
+ connect(listOfGroups, TQ_SIGNAL(itemRenamed(TQListViewItem*, int)), TQ_SLOT(slotItemRenamed(TQListViewItem*, int)));
- connect(bAddResource, TQT_SIGNAL( clicked() ), this, TQT_SLOT ( slotAddResource() ));
- connect(bEditResource, TQT_SIGNAL( clicked() ), this, TQT_SLOT ( slotEditResource() ));
- connect(bRemoveResource, TQT_SIGNAL( clicked() ), this, TQT_SLOT ( slotDeleteResource() ));
- connect(listOfResources, TQT_SIGNAL(selectionChanged(TQListBoxItem*)), TQT_SLOT(slotResourceChanged(TQListBoxItem*)));
- connect(listOfResources, TQT_SIGNAL(currentChanged(TQListBoxItem*)), TQT_SLOT(slotCurrentChanged(TQListBoxItem*)));
- connect(resourceName, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotResourceRename(const TQString&)));
+ connect(bAddResource, TQ_SIGNAL( clicked() ), this, TQ_SLOT ( slotAddResource() ));
+ connect(bEditResource, TQ_SIGNAL( clicked() ), this, TQ_SLOT ( slotEditResource() ));
+ connect(bRemoveResource, TQ_SIGNAL( clicked() ), this, TQ_SLOT ( slotDeleteResource() ));
+ connect(listOfResources, TQ_SIGNAL(selectionChanged(TQListBoxItem*)), TQ_SLOT(slotResourceChanged(TQListBoxItem*)));
+ connect(listOfResources, TQ_SIGNAL(currentChanged(TQListBoxItem*)), TQ_SLOT(slotCurrentChanged(TQListBoxItem*)));
+ connect(resourceName, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotResourceRename(const TQString&)));
// Internal hacks, to get renaming to behave
// Uses signals to not get in the way of TQListView
- connect(this, TQT_SIGNAL(renameStarted(TQListViewItem*, int)), TQT_SLOT(slotRenameStarted(TQListViewItem*, int)));
- connect(this, TQT_SIGNAL(startRename(TQListViewItem*, int)), TQT_SLOT(slotStartRename(TQListViewItem*, int)));
- connect(this, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotGroupChanged()));
+ connect(this, TQ_SIGNAL(renameStarted(TQListViewItem*, int)), TQ_SLOT(slotRenameStarted(TQListViewItem*, int)));
+ connect(this, TQ_SIGNAL(startRename(TQListViewItem*, int)), TQ_SLOT(slotStartRename(TQListViewItem*, int)));
+ connect(this, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotGroupChanged()));
}
void ResourcesPanel::slotAddGroup() {
diff --git a/kplato/kptresourceview.cpp b/kplato/kptresourceview.cpp
index fd07757e..d30d302f 100644
--- a/kplato/kptresourceview.cpp
+++ b/kplato/kptresourceview.cpp
@@ -405,11 +405,11 @@ ResourceView::ResourceView(View *view, TQWidget *parent)
m_appview->hide();
draw(view->getProject());
- //connect(resList, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(resSelectionChanged(TQListViewItem*)));
- connect(resList, TQT_SIGNAL(selectionChanged()), TQT_SLOT(resSelectionChanged()));
- connect(resList, TQT_SIGNAL( contextMenuRequested(TQListViewItem*, const TQPoint&, int)), TQT_SLOT(popupMenuRequested(TQListViewItem*, const TQPoint&, int)));
+ //connect(resList, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(resSelectionChanged(TQListViewItem*)));
+ connect(resList, TQ_SIGNAL(selectionChanged()), TQ_SLOT(resSelectionChanged()));
+ connect(resList, TQ_SIGNAL( contextMenuRequested(TQListViewItem*, const TQPoint&, int)), TQ_SLOT(popupMenuRequested(TQListViewItem*, const TQPoint&, int)));
//NOTE: using doubleClicked, not executed() to be consistent with ganttview
- connect(resList, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQT_SLOT(slotItemDoubleClicked(TQListViewItem*)));
+ connect(resList, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQ_SLOT(slotItemDoubleClicked(TQListViewItem*)));
}
diff --git a/kplato/kptstandardworktimedialog.cpp b/kplato/kptstandardworktimedialog.cpp
index 31fcae49..2060fcba 100644
--- a/kplato/kptstandardworktimedialog.cpp
+++ b/kplato/kptstandardworktimedialog.cpp
@@ -103,8 +103,8 @@ StandardWorktimeDialog::StandardWorktimeDialog(Project &p, TQWidget *parent, con
setMainWidget(dia);
enableButtonOK(false);
- connect(dia, TQT_SIGNAL(obligatedFieldsFilled(bool) ), TQT_SLOT(enableButtonOK(bool)));
- connect(dia, TQT_SIGNAL(enableButtonOk(bool)), TQT_SLOT(enableButtonOK(bool)));
+ connect(dia, TQ_SIGNAL(obligatedFieldsFilled(bool) ), TQ_SLOT(enableButtonOK(bool)));
+ connect(dia, TQ_SIGNAL(enableButtonOk(bool)), TQ_SLOT(enableButtonOK(bool)));
}
KMacroCommand *StandardWorktimeDialog::buildCommand(Part *part) {
@@ -179,15 +179,15 @@ StandardWorktimeDialogImpl::StandardWorktimeDialogImpl(StandardWorktime *std, TQ
weekdayList->insertItem(item);
}
}
- connect(year, TQT_SIGNAL(valueChanged(double)), TQT_SLOT(slotYearChanged(double)));
- connect(month, TQT_SIGNAL(valueChanged(double)), TQT_SLOT(slotMonthChanged(double)));
- connect(week, TQT_SIGNAL(valueChanged(double)), TQT_SLOT(slotWeekChanged(double)));
- connect(day, TQT_SIGNAL(valueChanged(double)), TQT_SLOT(slotDayChanged(double)));
+ connect(year, TQ_SIGNAL(valueChanged(double)), TQ_SLOT(slotYearChanged(double)));
+ connect(month, TQ_SIGNAL(valueChanged(double)), TQ_SLOT(slotMonthChanged(double)));
+ connect(week, TQ_SIGNAL(valueChanged(double)), TQ_SLOT(slotWeekChanged(double)));
+ connect(day, TQ_SIGNAL(valueChanged(double)), TQ_SLOT(slotDayChanged(double)));
- connect(m_intervalEdit, TQT_SIGNAL(changed()), TQT_SLOT(slotIntervalChanged()));
- connect(bApply, TQT_SIGNAL(clicked()), TQT_SLOT(slotApplyClicked()));
- connect(weekdayList, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotWeekdaySelected()));
- connect(state, TQT_SIGNAL(activated(int)), TQT_SLOT(slotStateChanged(int)));
+ connect(m_intervalEdit, TQ_SIGNAL(changed()), TQ_SLOT(slotIntervalChanged()));
+ connect(bApply, TQ_SIGNAL(clicked()), TQ_SLOT(slotApplyClicked()));
+ connect(weekdayList, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotWeekdaySelected()));
+ connect(state, TQ_SIGNAL(activated(int)), TQ_SLOT(slotStateChanged(int)));
if (weekdayList->firstChild()) {
weekdayList->setSelected(weekdayList->firstChild(), true);
diff --git a/kplato/kptsummarytaskdialog.cpp b/kplato/kptsummarytaskdialog.cpp
index adf152a1..2a2836aa 100644
--- a/kplato/kptsummarytaskdialog.cpp
+++ b/kplato/kptsummarytaskdialog.cpp
@@ -37,7 +37,7 @@ SummaryTaskDialog::SummaryTaskDialog(Task &task, TQWidget *p)
setMainWidget(m_generalTab);
enableButtonOK(false);
- connect(m_generalTab, TQT_SIGNAL(obligatedFieldsFilled(bool)), TQT_SLOT(enableButtonOK(bool)));
+ connect(m_generalTab, TQ_SIGNAL(obligatedFieldsFilled(bool)), TQ_SLOT(enableButtonOK(bool)));
}
diff --git a/kplato/kptsummarytaskgeneralpanel.cpp b/kplato/kptsummarytaskgeneralpanel.cpp
index 8fff1821..bdf83791 100644
--- a/kplato/kptsummarytaskgeneralpanel.cpp
+++ b/kplato/kptsummarytaskgeneralpanel.cpp
@@ -51,12 +51,12 @@ SummaryTaskGeneralPanel::SummaryTaskGeneralPanel(Task &task, TQWidget *p, const
{
setStartValues(task);
- connect(namefield, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotObligatedFieldsFilled()));
- connect(leaderfield, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotObligatedFieldsFilled()));
- connect(idfield, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotObligatedFieldsFilled()));
- connect(descriptionfield, TQT_SIGNAL(textChanged()), TQT_SLOT(slotObligatedFieldsFilled()));
+ connect(namefield, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotObligatedFieldsFilled()));
+ connect(leaderfield, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotObligatedFieldsFilled()));
+ connect(idfield, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotObligatedFieldsFilled()));
+ connect(descriptionfield, TQ_SIGNAL(textChanged()), TQ_SLOT(slotObligatedFieldsFilled()));
- connect(chooseLeader, TQT_SIGNAL(clicked()), TQT_SLOT(slotChooseResponsible()));
+ connect(chooseLeader, TQ_SIGNAL(clicked()), TQ_SLOT(slotChooseResponsible()));
}
diff --git a/kplato/kpttaskcostpanel.cpp b/kplato/kpttaskcostpanel.cpp
index d33e2c7c..ddc44cb8 100644
--- a/kplato/kpttaskcostpanel.cpp
+++ b/kplato/kpttaskcostpanel.cpp
@@ -135,11 +135,11 @@ bool TaskCostPanel::ok() {
TaskCostPanelImpl::TaskCostPanelImpl(TQWidget *p, const char *n)
: TaskCostPanelBase(p, n)
{
- connect(runningAccount, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged()));
- connect(startupAccount, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged()));
- connect(shutdownAccount, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged()));
- connect(startupCost, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
- connect(shutdownCost, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
+ connect(runningAccount, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged()));
+ connect(startupAccount, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged()));
+ connect(shutdownAccount, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged()));
+ connect(startupCost, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
+ connect(shutdownCost, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
}
void TaskCostPanelImpl::slotChanged() {
diff --git a/kplato/kpttaskdefaultpanel.cpp b/kplato/kpttaskdefaultpanel.cpp
index d3fb322e..042c8529 100644
--- a/kplato/kpttaskdefaultpanel.cpp
+++ b/kplato/kpttaskdefaultpanel.cpp
@@ -192,18 +192,18 @@ void TaskDefaultPanel::scheduleTypeChanged(int value)
ConfigTaskPanelImpl::ConfigTaskPanelImpl(TQWidget *p, const char *n)
: ConfigTaskPanelBase(p, n) {
- connect(leaderfield, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(checkAllFieldsFilled()));
- connect(chooseLeader, TQT_SIGNAL(clicked()), TQT_SLOT(changeLeader()));
- connect(estimateType, TQT_SIGNAL(activated(int)), TQT_SLOT(estimationTypeChanged(int)));
- connect(scheduleType, TQT_SIGNAL(activated(int)), TQT_SLOT(scheduleTypeChanged(int)));
- connect(scheduleStartDate, TQT_SIGNAL(changed(TQDate)), TQT_SLOT(startDateChanged()));
- connect(scheduleStartTime, TQT_SIGNAL(valueChanged(const TQTime&)), TQT_SLOT(startTimeChanged(const TQTime&)));
- connect(scheduleEndDate, TQT_SIGNAL(changed(TQDate)), TQT_SLOT(endDateChanged()));
- connect(scheduleEndTime, TQT_SIGNAL(valueChanged(const TQTime&)), TQT_SLOT(endTimeChanged(const TQTime&)));
- connect(estimate, TQT_SIGNAL(valueChanged()), TQT_SLOT(checkAllFieldsFilled()));
- connect(optimisticValue, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(checkAllFieldsFilled()));
- connect(pessimisticValue, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(checkAllFieldsFilled()));
- connect(descriptionfield, TQT_SIGNAL(textChanged()), TQT_SLOT(checkAllFieldsFilled()));
+ connect(leaderfield, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(checkAllFieldsFilled()));
+ connect(chooseLeader, TQ_SIGNAL(clicked()), TQ_SLOT(changeLeader()));
+ connect(estimateType, TQ_SIGNAL(activated(int)), TQ_SLOT(estimationTypeChanged(int)));
+ connect(scheduleType, TQ_SIGNAL(activated(int)), TQ_SLOT(scheduleTypeChanged(int)));
+ connect(scheduleStartDate, TQ_SIGNAL(changed(TQDate)), TQ_SLOT(startDateChanged()));
+ connect(scheduleStartTime, TQ_SIGNAL(valueChanged(const TQTime&)), TQ_SLOT(startTimeChanged(const TQTime&)));
+ connect(scheduleEndDate, TQ_SIGNAL(changed(TQDate)), TQ_SLOT(endDateChanged()));
+ connect(scheduleEndTime, TQ_SIGNAL(valueChanged(const TQTime&)), TQ_SLOT(endTimeChanged(const TQTime&)));
+ connect(estimate, TQ_SIGNAL(valueChanged()), TQ_SLOT(checkAllFieldsFilled()));
+ connect(optimisticValue, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(checkAllFieldsFilled()));
+ connect(pessimisticValue, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(checkAllFieldsFilled()));
+ connect(descriptionfield, TQ_SIGNAL(textChanged()), TQ_SLOT(checkAllFieldsFilled()));
}
void ConfigTaskPanelImpl::setSchedulingType(int type)
diff --git a/kplato/kpttaskdialog.cpp b/kplato/kpttaskdialog.cpp
index 65aa917f..533b7740 100644
--- a/kplato/kpttaskdialog.cpp
+++ b/kplato/kpttaskdialog.cpp
@@ -50,9 +50,9 @@ TaskDialog::TaskDialog(Task &task, Accounts &accounts, StandardWorktime *workTim
// Set the state of all the child widgets.
enableButtonOK(false);
- connect(m_generalTab, TQT_SIGNAL( obligatedFieldsFilled(bool) ), this, TQT_SLOT( enableButtonOK(bool) ));
- connect(m_resourcesTab, TQT_SIGNAL( changed() ), m_generalTab, TQT_SLOT( checkAllFieldsFilled() ));
- connect(m_costTab, TQT_SIGNAL( changed() ), m_generalTab, TQT_SLOT( checkAllFieldsFilled() ));
+ connect(m_generalTab, TQ_SIGNAL( obligatedFieldsFilled(bool) ), this, TQ_SLOT( enableButtonOK(bool) ));
+ connect(m_resourcesTab, TQ_SIGNAL( changed() ), m_generalTab, TQ_SLOT( checkAllFieldsFilled() ));
+ connect(m_costTab, TQ_SIGNAL( changed() ), m_generalTab, TQ_SLOT( checkAllFieldsFilled() ));
}
diff --git a/kplato/kpttaskgeneralpanel.cpp b/kplato/kpttaskgeneralpanel.cpp
index 854197e3..3acd2745 100644
--- a/kplato/kpttaskgeneralpanel.cpp
+++ b/kplato/kpttaskgeneralpanel.cpp
@@ -229,21 +229,21 @@ void TaskGeneralPanel::scheduleTypeChanged(int value)
TaskGeneralPanelImpl::TaskGeneralPanelImpl(TQWidget *p, const char *n)
: TaskGeneralPanelBase(p, n) {
- connect(idfield, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(checkAllFieldsFilled()));
- connect(namefield, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(checkAllFieldsFilled()));
- connect(leaderfield, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(checkAllFieldsFilled()));
- connect(chooseLeader, TQT_SIGNAL(clicked()), TQT_SLOT(changeLeader()));
- connect(estimateType, TQT_SIGNAL(activated(int)), TQT_SLOT(estimationTypeChanged(int)));
- connect(scheduleType, TQT_SIGNAL(activated(int)), TQT_SLOT(scheduleTypeChanged(int)));
- connect(scheduleStartDate, TQT_SIGNAL(changed(TQDate)), TQT_SLOT(startDateChanged()));
- connect(scheduleStartTime, TQT_SIGNAL(valueChanged(const TQTime&)), TQT_SLOT(startTimeChanged(const TQTime&)));
- connect(scheduleEndDate, TQT_SIGNAL(changed(TQDate)), TQT_SLOT(endDateChanged()));
- connect(scheduleEndTime, TQT_SIGNAL(valueChanged(const TQTime&)), TQT_SLOT(endTimeChanged(const TQTime&)));
- connect(estimate, TQT_SIGNAL(valueChanged()), TQT_SLOT(checkAllFieldsFilled()));
- connect(optimisticValue, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(checkAllFieldsFilled()));
- connect(pessimisticValue, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(checkAllFieldsFilled()));
- connect(descriptionfield, TQT_SIGNAL(textChanged()), TQT_SLOT(checkAllFieldsFilled()));
- connect(risk, TQT_SIGNAL(activated(int)), TQT_SLOT(checkAllFieldsFilled()));
+ connect(idfield, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(checkAllFieldsFilled()));
+ connect(namefield, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(checkAllFieldsFilled()));
+ connect(leaderfield, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(checkAllFieldsFilled()));
+ connect(chooseLeader, TQ_SIGNAL(clicked()), TQ_SLOT(changeLeader()));
+ connect(estimateType, TQ_SIGNAL(activated(int)), TQ_SLOT(estimationTypeChanged(int)));
+ connect(scheduleType, TQ_SIGNAL(activated(int)), TQ_SLOT(scheduleTypeChanged(int)));
+ connect(scheduleStartDate, TQ_SIGNAL(changed(TQDate)), TQ_SLOT(startDateChanged()));
+ connect(scheduleStartTime, TQ_SIGNAL(valueChanged(const TQTime&)), TQ_SLOT(startTimeChanged(const TQTime&)));
+ connect(scheduleEndDate, TQ_SIGNAL(changed(TQDate)), TQ_SLOT(endDateChanged()));
+ connect(scheduleEndTime, TQ_SIGNAL(valueChanged(const TQTime&)), TQ_SLOT(endTimeChanged(const TQTime&)));
+ connect(estimate, TQ_SIGNAL(valueChanged()), TQ_SLOT(checkAllFieldsFilled()));
+ connect(optimisticValue, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(checkAllFieldsFilled()));
+ connect(pessimisticValue, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(checkAllFieldsFilled()));
+ connect(descriptionfield, TQ_SIGNAL(textChanged()), TQ_SLOT(checkAllFieldsFilled()));
+ connect(risk, TQ_SIGNAL(activated(int)), TQ_SLOT(checkAllFieldsFilled()));
}
void TaskGeneralPanelImpl::setSchedulingType(int type)
diff --git a/kplato/kpttaskprogressdialog.cpp b/kplato/kpttaskprogressdialog.cpp
index 180d3a53..3f91c03d 100644
--- a/kplato/kpttaskprogressdialog.cpp
+++ b/kplato/kpttaskprogressdialog.cpp
@@ -37,7 +37,7 @@ TaskProgressDialog::TaskProgressDialog(Task &task, StandardWorktime *workTime, T
enableButtonOK(false);
- connect(m_panel, TQT_SIGNAL( changed() ), TQT_SLOT(slotChanged()));
+ connect(m_panel, TQ_SIGNAL( changed() ), TQ_SLOT(slotChanged()));
}
void TaskProgressDialog::slotChanged() {
diff --git a/kplato/kpttaskprogresspanel.cpp b/kplato/kpttaskprogresspanel.cpp
index 00de2b22..be22b525 100644
--- a/kplato/kpttaskprogresspanel.cpp
+++ b/kplato/kpttaskprogresspanel.cpp
@@ -127,17 +127,17 @@ void TaskProgressPanel::setEstimateScales( int day )
TaskProgressPanelImpl::TaskProgressPanelImpl(TQWidget *parent, const char *name, WFlags f)
: TaskProgressPanelBase(parent, name, f) {
- connect(started, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotStartedChanged(bool)));
- connect(finished, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotFinishedChanged(bool)));
+ connect(started, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotStartedChanged(bool)));
+ connect(finished, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotFinishedChanged(bool)));
- connect(percentFinished, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotPercentFinishedChanged(int)));
- connect(percentFinished, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotChanged()));
+ connect(percentFinished, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotPercentFinishedChanged(int)));
+ connect(percentFinished, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotChanged()));
- connect(startTime, TQT_SIGNAL(valueChanged(const TQDateTime &)), TQT_SLOT(slotChanged()));
- connect(finishTime, TQT_SIGNAL(valueChanged(const TQDateTime &)), TQT_SLOT(slotChanged()));
+ connect(startTime, TQ_SIGNAL(valueChanged(const TQDateTime &)), TQ_SLOT(slotChanged()));
+ connect(finishTime, TQ_SIGNAL(valueChanged(const TQDateTime &)), TQ_SLOT(slotChanged()));
- connect(remainingEffort, TQT_SIGNAL(valueChanged()), TQT_SLOT(slotChanged()));
- connect(actualEffort, TQT_SIGNAL(valueChanged()), TQT_SLOT(slotChanged()));
+ connect(remainingEffort, TQ_SIGNAL(valueChanged()), TQ_SLOT(slotChanged()));
+ connect(actualEffort, TQ_SIGNAL(valueChanged()), TQ_SLOT(slotChanged()));
}
diff --git a/kplato/kptview.cpp b/kplato/kptview.cpp
index 7f4d62b2..feb8c221 100644
--- a/kplato/kptview.cpp
+++ b/kplato/kptview.cpp
@@ -144,150 +144,150 @@ View::View(Part* part, TQWidget* parent, const char* /*name*/)
//m_reportview = new ReportView(this, m_tab);
//m_tab->addWidget(m_reportview);
- connect(m_tab, TQT_SIGNAL(aboutToShow(TQWidget *)), this, TQT_SLOT(slotAboutToShow(TQWidget *)));
+ connect(m_tab, TQ_SIGNAL(aboutToShow(TQWidget *)), this, TQ_SLOT(slotAboutToShow(TQWidget *)));
- connect(m_pertview, TQT_SIGNAL(addRelation(Node*, Node*)), TQT_SLOT(slotAddRelation(Node*, Node*)));
- connect(m_pertview, TQT_SIGNAL(modifyRelation(Relation*)), TQT_SLOT(slotModifyRelation(Relation*)));
-
- connect(m_ganttview, TQT_SIGNAL(enableActions(bool)), TQT_SLOT(setTaskActionsEnabled(bool)));
- connect(m_ganttview, TQT_SIGNAL(addRelation(Node*, Node*, int)), TQT_SLOT(slotAddRelation(Node*, Node*, int)));
- connect(m_ganttview, TQT_SIGNAL(modifyRelation(Relation*, int)), TQT_SLOT(slotModifyRelation(Relation*, int)));
- connect(m_ganttview, TQT_SIGNAL(modifyRelation(Relation*)), TQT_SLOT(slotModifyRelation(Relation*)));
- connect(m_ganttview, TQT_SIGNAL(itemDoubleClicked()), TQT_SLOT(slotOpenNode()));
- connect(m_ganttview, TQT_SIGNAL(itemRenamed(Node*, const TQString&)),this, TQT_SLOT(slotRenameNode(Node*, const TQString&)));
- connect(m_ganttview, TQT_SIGNAL(requestPopupMenu(const TQString&, const TQPoint &)),this, TQT_SLOT(slotPopupMenu(const TQString&, const TQPoint&)));
- connect(m_resourceview, TQT_SIGNAL(itemDoubleClicked()), TQT_SLOT(slotEditResource()));
+ connect(m_pertview, TQ_SIGNAL(addRelation(Node*, Node*)), TQ_SLOT(slotAddRelation(Node*, Node*)));
+ connect(m_pertview, TQ_SIGNAL(modifyRelation(Relation*)), TQ_SLOT(slotModifyRelation(Relation*)));
+
+ connect(m_ganttview, TQ_SIGNAL(enableActions(bool)), TQ_SLOT(setTaskActionsEnabled(bool)));
+ connect(m_ganttview, TQ_SIGNAL(addRelation(Node*, Node*, int)), TQ_SLOT(slotAddRelation(Node*, Node*, int)));
+ connect(m_ganttview, TQ_SIGNAL(modifyRelation(Relation*, int)), TQ_SLOT(slotModifyRelation(Relation*, int)));
+ connect(m_ganttview, TQ_SIGNAL(modifyRelation(Relation*)), TQ_SLOT(slotModifyRelation(Relation*)));
+ connect(m_ganttview, TQ_SIGNAL(itemDoubleClicked()), TQ_SLOT(slotOpenNode()));
+ connect(m_ganttview, TQ_SIGNAL(itemRenamed(Node*, const TQString&)),this, TQ_SLOT(slotRenameNode(Node*, const TQString&)));
+ connect(m_ganttview, TQ_SIGNAL(requestPopupMenu(const TQString&, const TQPoint &)),this, TQ_SLOT(slotPopupMenu(const TQString&, const TQPoint&)));
+ connect(m_resourceview, TQ_SIGNAL(itemDoubleClicked()), TQ_SLOT(slotEditResource()));
// The menu items
// ------ Edit
- actionCut = KStdAction::cut( this, TQT_SLOT( slotEditCut() ), actionCollection(), "edit_cut" );
- actionCopy = KStdAction::copy( this, TQT_SLOT( slotEditCopy() ), actionCollection(), "edit_copy" );
- actionPaste = KStdAction::paste( this, TQT_SLOT( slotEditPaste() ), actionCollection(), "edit_paste" );
+ actionCut = KStdAction::cut( this, TQ_SLOT( slotEditCut() ), actionCollection(), "edit_cut" );
+ actionCopy = KStdAction::copy( this, TQ_SLOT( slotEditCopy() ), actionCollection(), "edit_copy" );
+ actionPaste = KStdAction::paste( this, TQ_SLOT( slotEditPaste() ), actionCollection(), "edit_paste" );
actionIndentTask = new TDEAction(i18n("Indent Task"), "indent_task", 0, this,
- TQT_SLOT(slotIndentTask()), actionCollection(), "indent_task");
+ TQ_SLOT(slotIndentTask()), actionCollection(), "indent_task");
actionUnindentTask = new TDEAction(i18n("Unindent Task"), "unindent_task", 0, this,
- TQT_SLOT(slotUnindentTask()), actionCollection(), "unindent_task");
+ TQ_SLOT(slotUnindentTask()), actionCollection(), "unindent_task");
actionMoveTaskUp = new TDEAction(i18n("Move Up"), "move_task_up", 0, this,
- TQT_SLOT(slotMoveTaskUp()), actionCollection(), "move_task_up");
+ TQ_SLOT(slotMoveTaskUp()), actionCollection(), "move_task_up");
actionMoveTaskDown = new TDEAction(i18n("Move Down"), "move_task_down", 0, this,
- TQT_SLOT(slotMoveTaskDown()), actionCollection(), "move_task_down");
+ TQ_SLOT(slotMoveTaskDown()), actionCollection(), "move_task_down");
// ------ View
- actionViewGantt = new TDEAction(i18n("Gantt"), "gantt_chart", 0, this, TQT_SLOT(slotViewGantt()), actionCollection(), "view_gantt");
+ actionViewGantt = new TDEAction(i18n("Gantt"), "gantt_chart", 0, this, TQ_SLOT(slotViewGantt()), actionCollection(), "view_gantt");
TQString group = "EstimationType";
- actionViewExpected = new TDERadioAction(i18n("Expected"), 0, 0, this, TQT_SLOT(slotViewExpected()), actionCollection(), "view_expected");
+ actionViewExpected = new TDERadioAction(i18n("Expected"), 0, 0, this, TQ_SLOT(slotViewExpected()), actionCollection(), "view_expected");
actionViewExpected->setExclusiveGroup(group);
- actionViewOptimistic = new TDERadioAction(i18n("Optimistic"), 0, 0, this, TQT_SLOT(slotViewOptimistic()), actionCollection(), "view_optimistic");
+ actionViewOptimistic = new TDERadioAction(i18n("Optimistic"), 0, 0, this, TQ_SLOT(slotViewOptimistic()), actionCollection(), "view_optimistic");
actionViewOptimistic->setExclusiveGroup(group);
- actionViewPessimistic = new TDERadioAction(i18n("Pessimistic"), 0, 0, this, TQT_SLOT(slotViewPessimistic()), actionCollection(), "view_pessimistic");
+ actionViewPessimistic = new TDERadioAction(i18n("Pessimistic"), 0, 0, this, TQ_SLOT(slotViewPessimistic()), actionCollection(), "view_pessimistic");
actionViewPessimistic->setExclusiveGroup(group);
- actionViewGanttResources = new TDEToggleAction(i18n("Resources"), 0, 0, this, TQT_SLOT(slotViewGanttResources()), actionCollection(), "view_gantt_showResources");
- actionViewGanttTaskName = new TDEToggleAction(i18n("Task Name"), 0, 0, this, TQT_SLOT(slotViewGanttTaskName()), actionCollection(), "view_gantt_showTaskName");
- actionViewGanttTaskLinks = new TDEToggleAction(i18n("Task Links"), 0, 0, this, TQT_SLOT(slotViewGanttTaskLinks()), actionCollection(), "view_gantt_showTaskLinks");
- actionViewGanttProgress = new TDEToggleAction(i18n("Progress"), 0, 0, this, TQT_SLOT(slotViewGanttProgress()), actionCollection(), "view_gantt_showProgress");
- actionViewGanttFloat = new TDEToggleAction(i18n("Float"), 0, 0, this, TQT_SLOT(slotViewGanttFloat()), actionCollection(), "view_gantt_showFloat");
- actionViewGanttCriticalTasks = new TDEToggleAction(i18n("Critical Tasks"), 0, 0, this, TQT_SLOT(slotViewGanttCriticalTasks()), actionCollection(), "view_gantt_showCriticalTasks");
- actionViewGanttCriticalPath = new TDEToggleAction(i18n("Critical Path"), 0, 0, this, TQT_SLOT(slotViewGanttCriticalPath()), actionCollection(), "view_gantt_showCriticalPath");
+ actionViewGanttResources = new TDEToggleAction(i18n("Resources"), 0, 0, this, TQ_SLOT(slotViewGanttResources()), actionCollection(), "view_gantt_showResources");
+ actionViewGanttTaskName = new TDEToggleAction(i18n("Task Name"), 0, 0, this, TQ_SLOT(slotViewGanttTaskName()), actionCollection(), "view_gantt_showTaskName");
+ actionViewGanttTaskLinks = new TDEToggleAction(i18n("Task Links"), 0, 0, this, TQ_SLOT(slotViewGanttTaskLinks()), actionCollection(), "view_gantt_showTaskLinks");
+ actionViewGanttProgress = new TDEToggleAction(i18n("Progress"), 0, 0, this, TQ_SLOT(slotViewGanttProgress()), actionCollection(), "view_gantt_showProgress");
+ actionViewGanttFloat = new TDEToggleAction(i18n("Float"), 0, 0, this, TQ_SLOT(slotViewGanttFloat()), actionCollection(), "view_gantt_showFloat");
+ actionViewGanttCriticalTasks = new TDEToggleAction(i18n("Critical Tasks"), 0, 0, this, TQ_SLOT(slotViewGanttCriticalTasks()), actionCollection(), "view_gantt_showCriticalTasks");
+ actionViewGanttCriticalPath = new TDEToggleAction(i18n("Critical Path"), 0, 0, this, TQ_SLOT(slotViewGanttCriticalPath()), actionCollection(), "view_gantt_showCriticalPath");
-// actionViewGanttNotScheduled = new TDEToggleAction(i18n("Not Scheduled"), 0, 0, this, TQT_SLOT(slotViewGanttNotScheduled()), actionCollection(), "view_gantt_showNotScheduled");
+// actionViewGanttNotScheduled = new TDEToggleAction(i18n("Not Scheduled"), 0, 0, this, TQ_SLOT(slotViewGanttNotScheduled()), actionCollection(), "view_gantt_showNotScheduled");
- actionViewTaskAppointments = new TDEToggleAction(i18n("Show Allocations"), 0, 0, this, TQT_SLOT(slotViewTaskAppointments()), actionCollection(), "view_task_appointments");
+ actionViewTaskAppointments = new TDEToggleAction(i18n("Show Allocations"), 0, 0, this, TQ_SLOT(slotViewTaskAppointments()), actionCollection(), "view_task_appointments");
- actionViewPert = new TDEAction(i18n("Network"), "pert_chart", 0, this, TQT_SLOT(slotViewPert()), actionCollection(), "view_pert");
+ actionViewPert = new TDEAction(i18n("Network"), "pert_chart", 0, this, TQ_SLOT(slotViewPert()), actionCollection(), "view_pert");
- actionViewResources = new TDEAction(i18n("Resources"), "resources", 0, this, TQT_SLOT(slotViewResources()), actionCollection(), "view_resources");
+ actionViewResources = new TDEAction(i18n("Resources"), "resources", 0, this, TQ_SLOT(slotViewResources()), actionCollection(), "view_resources");
- actionViewResourceAppointments = new TDEToggleAction(i18n("Show Allocations"), 0, 0, this, TQT_SLOT(slotViewResourceAppointments()), actionCollection(), "view_resource_appointments");
+ actionViewResourceAppointments = new TDEToggleAction(i18n("Show Allocations"), 0, 0, this, TQ_SLOT(slotViewResourceAppointments()), actionCollection(), "view_resource_appointments");
- actionViewAccounts = new TDEAction(i18n("Accounts"), "accounts", 0, this, TQT_SLOT(slotViewAccounts()), actionCollection(), "view_accounts");
+ actionViewAccounts = new TDEAction(i18n("Accounts"), "accounts", 0, this, TQ_SLOT(slotViewAccounts()), actionCollection(), "view_accounts");
- //actionViewReports = new TDEAction(i18n("Reports"), "reports", 0, this, TQT_SLOT(slotViewReports()), actionCollection(), "view_reports");
+ //actionViewReports = new TDEAction(i18n("Reports"), "reports", 0, this, TQ_SLOT(slotViewReports()), actionCollection(), "view_reports");
// ------ Insert
actionAddTask = new TDEAction(i18n("Task..."), "add_task", 0, this,
- TQT_SLOT(slotAddTask()), actionCollection(), "add_task");
+ TQ_SLOT(slotAddTask()), actionCollection(), "add_task");
actionAddSubtask = new TDEAction(i18n("Sub-Task..."), "add_sub_task", 0, this,
- TQT_SLOT(slotAddSubTask()), actionCollection(), "add_sub_task");
+ TQ_SLOT(slotAddSubTask()), actionCollection(), "add_sub_task");
actionAddMilestone = new TDEAction(i18n("Milestone..."), "add_milestone", 0, this,
- TQT_SLOT(slotAddMilestone()), actionCollection(), "add_milestone");
+ TQ_SLOT(slotAddMilestone()), actionCollection(), "add_milestone");
// ------ Project
- actionEditMainProject = new TDEAction(i18n("Edit Main Project..."), "edit", 0, this, TQT_SLOT(slotProjectEdit()), actionCollection(), "project_edit");
- actionEditStandardWorktime = new TDEAction(i18n("Edit Standard Worktime..."), "edit", 0, this, TQT_SLOT(slotProjectWorktime()), actionCollection(), "project_worktime");
- actionEditCalendar = new TDEAction(i18n("Edit Calendar..."), "edit", 0, this, TQT_SLOT(slotProjectCalendar()), actionCollection(), "project_calendar");
- actionEditAccounts = new TDEAction(i18n("Edit Accounts..."), "edit", 0, this, TQT_SLOT(slotProjectAccounts()), actionCollection(), "project_accounts");
- actionEditResources = new TDEAction(i18n("Edit Resources..."), "edit", 0, this, TQT_SLOT(slotProjectResources()), actionCollection(), "project_resources");
+ actionEditMainProject = new TDEAction(i18n("Edit Main Project..."), "edit", 0, this, TQ_SLOT(slotProjectEdit()), actionCollection(), "project_edit");
+ actionEditStandardWorktime = new TDEAction(i18n("Edit Standard Worktime..."), "edit", 0, this, TQ_SLOT(slotProjectWorktime()), actionCollection(), "project_worktime");
+ actionEditCalendar = new TDEAction(i18n("Edit Calendar..."), "edit", 0, this, TQ_SLOT(slotProjectCalendar()), actionCollection(), "project_calendar");
+ actionEditAccounts = new TDEAction(i18n("Edit Accounts..."), "edit", 0, this, TQ_SLOT(slotProjectAccounts()), actionCollection(), "project_accounts");
+ actionEditResources = new TDEAction(i18n("Edit Resources..."), "edit", 0, this, TQ_SLOT(slotProjectResources()), actionCollection(), "project_resources");
actionCalculate = new TDEActionMenu(i18n("Calculate"), "project_calculate", actionCollection(), "project_calculate");
- connect(actionCalculate, TQT_SIGNAL(activated()), TQT_SLOT(slotProjectCalculate()));
+ connect(actionCalculate, TQ_SIGNAL(activated()), TQ_SLOT(slotProjectCalculate()));
- actionCalculateExpected = new TDEAction(i18n("Expected"), 0, 0, this, TQT_SLOT(slotProjectCalculateExpected()), actionCollection(), "project_calculate_expected");
+ actionCalculateExpected = new TDEAction(i18n("Expected"), 0, 0, this, TQ_SLOT(slotProjectCalculateExpected()), actionCollection(), "project_calculate_expected");
actionCalculate->insert(actionCalculateExpected);
- actionCalculateOptimistic = new TDEAction(i18n("Optimistic"), 0, 0, this, TQT_SLOT(slotProjectCalculateOptimistic()), actionCollection(), "project_calculate_optimistic");
+ actionCalculateOptimistic = new TDEAction(i18n("Optimistic"), 0, 0, this, TQ_SLOT(slotProjectCalculateOptimistic()), actionCollection(), "project_calculate_optimistic");
actionCalculate->insert(actionCalculateOptimistic);
- actionCalculatePessimistic = new TDEAction(i18n("Pessimistic"), 0, 0, this, TQT_SLOT(slotProjectCalculatePessimistic()), actionCollection(), "project_calculate_pessimistic");
+ actionCalculatePessimistic = new TDEAction(i18n("Pessimistic"), 0, 0, this, TQ_SLOT(slotProjectCalculatePessimistic()), actionCollection(), "project_calculate_pessimistic");
actionCalculate->insert(actionCalculatePessimistic);
/* // ------ Reports
- actionFirstpage = KStdAction::firstPage(m_reportview,TQT_SLOT(slotPrevPage()),actionCollection(),"go_firstpage");
- connect(m_reportview, TQT_SIGNAL(setFirstPageActionEnabled(bool)), actionFirstpage, TQT_SLOT(setEnabled(bool)));
- actionPriorpage = KStdAction::prior(m_reportview,TQT_SLOT(slotPrevPage()),actionCollection(),"go_prevpage");
- connect(m_reportview, TQT_SIGNAL(setPriorPageActionEnabled(bool)), actionPriorpage, TQT_SLOT(setEnabled(bool)));
- actionNextpage = KStdAction::next(m_reportview,TQT_SLOT(slotNextPage()),actionCollection(), "go_nextpage");
- connect(m_reportview, TQT_SIGNAL(setNextPageActionEnabled(bool)), actionNextpage, TQT_SLOT(setEnabled(bool)));
- actionLastpage = KStdAction::lastPage(m_reportview,TQT_SLOT(slotLastPage()),actionCollection(), "go_lastpage");
- connect(m_reportview, TQT_SIGNAL(setLastPageActionEnabled(bool)), actionLastpage, TQT_SLOT(setEnabled(bool)));
+ actionFirstpage = KStdAction::firstPage(m_reportview,TQ_SLOT(slotPrevPage()),actionCollection(),"go_firstpage");
+ connect(m_reportview, TQ_SIGNAL(setFirstPageActionEnabled(bool)), actionFirstpage, TQ_SLOT(setEnabled(bool)));
+ actionPriorpage = KStdAction::prior(m_reportview,TQ_SLOT(slotPrevPage()),actionCollection(),"go_prevpage");
+ connect(m_reportview, TQ_SIGNAL(setPriorPageActionEnabled(bool)), actionPriorpage, TQ_SLOT(setEnabled(bool)));
+ actionNextpage = KStdAction::next(m_reportview,TQ_SLOT(slotNextPage()),actionCollection(), "go_nextpage");
+ connect(m_reportview, TQ_SIGNAL(setNextPageActionEnabled(bool)), actionNextpage, TQ_SLOT(setEnabled(bool)));
+ actionLastpage = KStdAction::lastPage(m_reportview,TQ_SLOT(slotLastPage()),actionCollection(), "go_lastpage");
+ connect(m_reportview, TQ_SIGNAL(setLastPageActionEnabled(bool)), actionLastpage, TQ_SLOT(setEnabled(bool)));
m_reportview->enableNavigationBtn();*/
mainWindow()->toolBar("report")->hide();
// new TDEAction(i18n("Design..."), "report_design", 0, this,
-// TQT_SLOT(slotReportDesign()), actionCollection(), "report_design");
+// TQ_SLOT(slotReportDesign()), actionCollection(), "report_design");
// ------ Tools
actionDefineWBS =
new TDEAction(i18n("Define WBS Pattern..."), "tools_define_wbs", 0, this,
- TQT_SLOT(slotDefineWBS()), actionCollection(), "tools_generate_wbs");
+ TQ_SLOT(slotDefineWBS()), actionCollection(), "tools_generate_wbs");
actionGenerateWBS =
new TDEAction(i18n("Generate WBS Code"), "tools_generate_wbs", 0, this,
- TQT_SLOT(slotGenerateWBS()), actionCollection(), "tools_define_wbs");
+ TQ_SLOT(slotGenerateWBS()), actionCollection(), "tools_define_wbs");
// ------ Export (testing)
//actionExportGantt = new TDEAction(i18n("Export Ganttview"), "export_gantt", 0, this,
- // TQT_SLOT(slotExportGantt()), actionCollection(), "export_gantt");
+ // TQ_SLOT(slotExportGantt()), actionCollection(), "export_gantt");
// ------ Settings
actionConfigure = new TDEAction(i18n("Configure KPlato..."), "configure", 0, this,
- TQT_SLOT(slotConfigure()), actionCollection(), "configure");
+ TQ_SLOT(slotConfigure()), actionCollection(), "configure");
// ------ Popup
actionOpenNode = new TDEAction(i18n("Edit..."), "edit", 0, this,
- TQT_SLOT(slotOpenNode()), actionCollection(), "node_properties");
+ TQ_SLOT(slotOpenNode()), actionCollection(), "node_properties");
actionTaskProgress = new TDEAction(i18n("Progress..."), "edit", 0, this,
- TQT_SLOT(slotTaskProgress()), actionCollection(), "task_progress");
+ TQ_SLOT(slotTaskProgress()), actionCollection(), "task_progress");
actionDeleteTask = new TDEAction(i18n("Delete Task"), "edit-delete", 0, this,
- TQT_SLOT(slotDeleteTask()), actionCollection(), "delete_task");
+ TQ_SLOT(slotDeleteTask()), actionCollection(), "delete_task");
actionEditResource = new TDEAction(i18n("Edit Resource..."), "edit", 0, this,
- TQT_SLOT(slotEditResource()), actionCollection(), "edit_resource");
+ TQ_SLOT(slotEditResource()), actionCollection(), "edit_resource");
// ------------------- Actions with a key binding and no GUI item
// Temporary, till we get a menu entry
- actNoInformation = new TDEAction("Toggle no information", CTRL+SHIFT+Key_T, this, TQT_SLOT(slotViewGanttNoInformation()), actionCollection(), "show_noinformation");
+ actNoInformation = new TDEAction("Toggle no information", CTRL+SHIFT+Key_T, this, TQ_SLOT(slotViewGanttNoInformation()), actionCollection(), "show_noinformation");
#ifndef NDEBUG
- //new TDEAction("Print Debug", CTRL+SHIFT+Key_P, this, TQT_SLOT( slotPrintDebug()), actionCollection(), "print_debug");
- new TDEAction("Print Debug", CTRL+SHIFT+Key_P, this, TQT_SLOT(slotPrintSelectedDebug()), actionCollection(), "print_debug");
- new TDEAction("Print Calendar Debug", CTRL+SHIFT+Key_C, this, TQT_SLOT(slotPrintCalendarDebug()), actionCollection(), "print_calendar_debug");
-// new TDEAction("Print Test Debug", CTRL+SHIFT+Key_T, this, TQT_SLOT(slotPrintTestDebug()), actionCollection(), "print_test_debug");
+ //new TDEAction("Print Debug", CTRL+SHIFT+Key_P, this, TQ_SLOT( slotPrintDebug()), actionCollection(), "print_debug");
+ new TDEAction("Print Debug", CTRL+SHIFT+Key_P, this, TQ_SLOT(slotPrintSelectedDebug()), actionCollection(), "print_debug");
+ new TDEAction("Print Calendar Debug", CTRL+SHIFT+Key_C, this, TQ_SLOT(slotPrintCalendarDebug()), actionCollection(), "print_calendar_debug");
+// new TDEAction("Print Test Debug", CTRL+SHIFT+Key_T, this, TQ_SLOT(slotPrintTestDebug()), actionCollection(), "print_test_debug");
TDEAction* actExportGantt = new TDEAction( i18n( "Export Gantt" ), CTRL+SHIFT+Key_G,
- this, TQT_SLOT( slotExportGantt() ), actionCollection(), "export_gantt" );
+ this, TQ_SLOT( slotExportGantt() ), actionCollection(), "export_gantt" );
#endif
// Stupid compilers ;)
diff --git a/kplato/kptwbsdefinitiondialog.cpp b/kplato/kptwbsdefinitiondialog.cpp
index 181cbd43..58e42b94 100644
--- a/kplato/kptwbsdefinitiondialog.cpp
+++ b/kplato/kptwbsdefinitiondialog.cpp
@@ -37,7 +37,7 @@ WBSDefinitionDialog::WBSDefinitionDialog(WBSDefinition &def, TQWidget *p, const
setMainWidget(m_panel);
enableButtonOK(false);
- connect(m_panel, TQT_SIGNAL(changed(bool)), TQT_SLOT(enableButtonOK(bool)));
+ connect(m_panel, TQ_SIGNAL(changed(bool)), TQ_SLOT(enableButtonOK(bool)));
}
diff --git a/kplato/kptwbsdefinitionpanel.cpp b/kplato/kptwbsdefinitionpanel.cpp
index 3843a98c..7bd859a0 100644
--- a/kplato/kptwbsdefinitionpanel.cpp
+++ b/kplato/kptwbsdefinitionpanel.cpp
@@ -67,14 +67,14 @@ WBSDefinitionPanel::WBSDefinitionPanel(WBSDefinition &def, TQWidget *p, const ch
levelsTable->setColumnStretchable(0, true);
slotLevelChanged(level->value());
- connect(defaultCode, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged()));
- connect(defaultSeparator, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
- connect(levelsGroup, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotLevelsGroupToggled(bool)));
- connect(levelsTable, TQT_SIGNAL(valueChanged(int, int)), TQT_SLOT(slotChanged()));
- connect(levelsTable, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged()));
- connect(level, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotLevelChanged(int)));
- connect(removeBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveBtnClicked()));
- connect(addBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddBtnClicked()));
+ connect(defaultCode, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged()));
+ connect(defaultSeparator, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
+ connect(levelsGroup, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotLevelsGroupToggled(bool)));
+ connect(levelsTable, TQ_SIGNAL(valueChanged(int, int)), TQ_SLOT(slotChanged()));
+ connect(levelsTable, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChanged()));
+ connect(level, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotLevelChanged(int)));
+ connect(removeBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotRemoveBtnClicked()));
+ connect(addBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddBtnClicked()));
}
void WBSDefinitionPanel::setStartValues(Part */*part*/) {