summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets')
-rw-r--r--kmymoney2/widgets/kaccounttemplateselector.cpp8
-rw-r--r--kmymoney2/widgets/kbudgetvalues.cpp16
-rw-r--r--kmymoney2/widgets/kguiutils.cpp20
-rw-r--r--kmymoney2/widgets/kmymoneyaccountcombo.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyaccountselector.cpp8
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttreebase.cpp22
-rw-r--r--kmymoney2/widgets/kmymoneybriefschedule.cpp10
-rw-r--r--kmymoney2/widgets/kmymoneycalculator.cpp18
-rw-r--r--kmymoney2/widgets/kmymoneycalendar.cpp36
-rw-r--r--kmymoney2/widgets/kmymoneycategory.cpp6
-rw-r--r--kmymoney2/widgets/kmymoneycombo.cpp28
-rw-r--r--kmymoney2/widgets/kmymoneycompletion.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneycurrencyselector.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneydateinput.cpp12
-rw-r--r--kmymoney2/widgets/kmymoneyedit.cpp8
-rw-r--r--kmymoney2/widgets/kmymoneygpgconfig.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyonlinequoteconfig.cpp24
-rw-r--r--kmymoney2/widgets/kmymoneypriceview.cpp16
-rw-r--r--kmymoney2/widgets/kmymoneyscheduledcalendar.cpp14
-rw-r--r--kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyselector.cpp16
-rw-r--r--kmymoney2/widgets/kmymoneywizard.cpp16
-rw-r--r--kmymoney2/widgets/kmymoneywizard.h2
-rw-r--r--kmymoney2/widgets/register.cpp16
-rw-r--r--kmymoney2/widgets/registersearchline.cpp22
-rw-r--r--kmymoney2/widgets/tdelistviewsearchline.cpp40
-rw-r--r--kmymoney2/widgets/transactionform.cpp6
27 files changed, 191 insertions, 191 deletions
diff --git a/kmymoney2/widgets/kaccounttemplateselector.cpp b/kmymoney2/widgets/kaccounttemplateselector.cpp
index 710cb62..140c4c9 100644
--- a/kmymoney2/widgets/kaccounttemplateselector.cpp
+++ b/kmymoney2/widgets/kaccounttemplateselector.cpp
@@ -168,10 +168,10 @@ KAccountTemplateSelector::KAccountTemplateSelector(TQWidget* parent, const char*
d(new Private(this))
{
m_accountList->header()->hide();
- connect(m_groupList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotLoadHierarchy()));
+ connect(m_groupList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotLoadHierarchy()));
// kick off loading of account template data
- TQTimer::singleShot(0, this, TQT_SLOT(slotLoadTemplateList()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotLoadTemplateList()));
}
KAccountTemplateSelector::~KAccountTemplateSelector()
@@ -229,7 +229,7 @@ void KAccountTemplateSelector::slotLoadTemplateList(void)
d->m_templates.clear();
d->it_m = d->countries.begin();
d->id = 1;
- TQTimer::singleShot(0, this, TQT_SLOT(slotLoadCountry()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotLoadCountry()));
#endif
}
@@ -256,7 +256,7 @@ void KAccountTemplateSelector::slotLoadCountry(void)
++d->it_m;
if(d->it_m != d->countries.end())
- TQTimer::singleShot(0, this, TQT_SLOT(slotLoadCountry()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotLoadCountry()));
else {
d->loadHierarchy();
}
diff --git a/kmymoney2/widgets/kbudgetvalues.cpp b/kmymoney2/widgets/kbudgetvalues.cpp
index 70c2079..5c0e6aa 100644
--- a/kmymoney2/widgets/kbudgetvalues.cpp
+++ b/kmymoney2/widgets/kbudgetvalues.cpp
@@ -83,20 +83,20 @@ KBudgetValues::KBudgetValues(TQWidget* parent, const char* name) :
m_monthlyButton->setChecked(true);
slotChangePeriod(m_periodGroup->id(m_monthlyButton));
- // connect(m_budgetLevel, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SIGNAL(valuesChanged()));
- connect(m_amountMonthly, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotNeedUpdate()));
- connect(m_amountYearly, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotNeedUpdate()));
+ // connect(m_budgetLevel, TQ_SIGNAL(currentChanged(TQWidget*)), this, TQ_SIGNAL(valuesChanged()));
+ connect(m_amountMonthly, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotNeedUpdate()));
+ connect(m_amountYearly, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotNeedUpdate()));
m_amountMonthly->installEventFilter(this);
m_amountYearly->installEventFilter(this);
for(int i=0; i < 12; ++i) {
- connect(m_field[i], TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotNeedUpdate()));
+ connect(m_field[i], TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotNeedUpdate()));
m_field[i]->installEventFilter(this);
}
- connect(m_clearButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClearAllValues()));
- connect(m_periodGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotChangePeriod(int)));
- connect(this, TQT_SIGNAL(valuesChanged()), this, TQT_SLOT(slotUpdateClearButton()));
+ connect(m_clearButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClearAllValues()));
+ connect(m_periodGroup, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotChangePeriod(int)));
+ connect(this, TQ_SIGNAL(valuesChanged()), this, TQ_SLOT(slotUpdateClearButton()));
KGuiItem clearItem(KStdGuiItem::clear());
@@ -242,7 +242,7 @@ void KBudgetValues::slotChangePeriod(int id)
void KBudgetValues::slotNeedUpdate(void)
{
if(!signalsBlocked())
- TQTimer::singleShot(0, this, TQT_SIGNAL(valuesChanged()));
+ TQTimer::singleShot(0, this, TQ_SIGNAL(valuesChanged()));
}
void KBudgetValues::enableMonths(bool enabled)
diff --git a/kmymoney2/widgets/kguiutils.cpp b/kmymoney2/widgets/kguiutils.cpp
index b5d963b..6e9f40a 100644
--- a/kmymoney2/widgets/kguiutils.cpp
+++ b/kmymoney2/widgets/kguiutils.cpp
@@ -57,33 +57,33 @@ void kMandatoryFieldGroup::add(TQWidget *widget)
if (!widgets.contains(widget)) {
if (widget->inherits("TQCheckBox"))
connect((TQCheckBox*)widget->tqt_cast("TQCheckBox"),
- TQT_SIGNAL(clicked()),
- this, TQT_SLOT(changed()));
+ TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(changed()));
else if (widget->inherits("TQComboBox")) {
TQComboBox* combo = (TQComboBox*)widget->tqt_cast("TQComboBox");
TQLineEdit* lineedit = combo->lineEdit();
if(lineedit) {
- connect(lineedit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed()));
+ connect(lineedit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(changed()));
} else {
- connect(combo, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(changed()));
+ connect(combo, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(changed()));
}
}
else if (widget->inherits("TQLineEdit"))
connect((TQLineEdit*)widget->tqt_cast("TQLineEdit"),
- TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(changed()));
+ TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(changed()));
else if (widget->inherits("TQSpinBox"))
connect((TQSpinBox*)widget->tqt_cast("TQSpinBox"),
- TQT_SIGNAL(valueChanged(const TQString&)),
- this, TQT_SLOT(changed()));
+ TQ_SIGNAL(valueChanged(const TQString&)),
+ this, TQ_SLOT(changed()));
else if (widget->inherits("TQListBox"))
connect((TQListBox*)widget->tqt_cast("TQListBox"),
- TQT_SIGNAL(selectionChanged()),
- this, TQT_SLOT(changed()));
+ TQ_SIGNAL(selectionChanged()),
+ this, TQ_SLOT(changed()));
else {
tqWarning("MandatoryFieldGroup: unsupported class %s",
diff --git a/kmymoney2/widgets/kmymoneyaccountcombo.cpp b/kmymoney2/widgets/kmymoneyaccountcombo.cpp
index f97fdcb..08ef19c 100644
--- a/kmymoney2/widgets/kmymoneyaccountcombo.cpp
+++ b/kmymoney2/widgets/kmymoneyaccountcombo.cpp
@@ -50,8 +50,8 @@ KMyMoneyAccountCombo::KMyMoneyAccountCombo( TQWidget* parent, const char* name )
#ifndef KMM_DESIGNER
m_completion = new kMyMoneyAccountCompletion(this);
- connect(this, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotButtonPressed()));
- connect(m_completion, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotSelected(const TQString&)));
+ connect(this, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotButtonPressed()));
+ connect(m_completion, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotSelected(const TQString&)));
#endif
// make sure that we can display a minimum of characters
diff --git a/kmymoney2/widgets/kmymoneyaccountselector.cpp b/kmymoney2/widgets/kmymoneyaccountselector.cpp
index c57c6bd..1299d0f 100644
--- a/kmymoney2/widgets/kmymoneyaccountselector.cpp
+++ b/kmymoney2/widgets/kmymoneyaccountselector.cpp
@@ -84,10 +84,10 @@ kMyMoneyAccountSelector::kMyMoneyAccountSelector(TQWidget *parent, const char *n
buttonLayout->addItem( spacer );
m_layout->addLayout( buttonLayout );
- connect(m_allAccountsButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectAllAccounts()));
- connect(m_noAccountButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDeselectAllAccounts()));
- connect(m_incomeCategoriesButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectIncomeCategories()));
- connect(m_expenseCategoriesButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectExpenseCategories()));
+ connect(m_allAccountsButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectAllAccounts()));
+ connect(m_noAccountButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDeselectAllAccounts()));
+ connect(m_incomeCategoriesButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectIncomeCategories()));
+ connect(m_expenseCategoriesButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectExpenseCategories()));
}
// sort the list of accounts in ascending order
diff --git a/kmymoney2/widgets/kmymoneyaccounttreebase.cpp b/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
index 099f7d8..420bd9c 100644
--- a/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
+++ b/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
@@ -84,14 +84,14 @@ KMyMoneyAccountTreeBase::KMyMoneyAccountTreeBase(TQWidget* parent, const char* n
m_baseCurrency.setSmallestAccountFraction(100);
m_baseCurrency.setSmallestCashFraction(100);
- connect(this, TQT_SIGNAL(dropped(TQDropEvent*,TQListViewItem*,TQListViewItem*)), this, TQT_SLOT(slotObjectDropped(TQDropEvent*,TQListViewItem*,TQListViewItem*)));
- connect(this, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectObject(TQListViewItem*)));
- connect(this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)), this, TQT_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
- connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&,int)), this, TQT_SLOT(slotOpenObject(TQListViewItem*)));
+ connect(this, TQ_SIGNAL(dropped(TQDropEvent*,TQListViewItem*,TQListViewItem*)), this, TQ_SLOT(slotObjectDropped(TQDropEvent*,TQListViewItem*,TQListViewItem*)));
+ connect(this, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotSelectObject(TQListViewItem*)));
+ connect(this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)), this, TQ_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(this, TQ_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&,int)), this, TQ_SLOT(slotOpenObject(TQListViewItem*)));
// drag and drop timer connections
- connect( &m_autoopenTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotOpenFolder() ) );
- connect( &m_autoscrollTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotAutoScroll() ) );
+ connect( &m_autoopenTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotOpenFolder() ) );
+ connect( &m_autoscrollTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotAutoScroll() ) );
}
@@ -133,8 +133,8 @@ void KMyMoneyAccountTreeBase::showValue(void)
void KMyMoneyAccountTreeBase::connectNotify(const char * /* s */)
{
// update drag and drop settings
- m_accountConnections = (receivers(TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&))) != 0);
- m_institutionConnections = (receivers(TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&))) != 0);
+ m_accountConnections = (receivers(TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&))) != 0);
+ m_institutionConnections = (receivers(TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&))) != 0);
setDragEnabled(m_accountConnections | m_institutionConnections);
setAcceptDrops(m_accountConnections | m_institutionConnections);
}
@@ -142,8 +142,8 @@ void KMyMoneyAccountTreeBase::connectNotify(const char * /* s */)
void KMyMoneyAccountTreeBase::disconnectNotify(const char * /* s */)
{
// update drag and drop settings
- m_accountConnections = (receivers(TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&))) != 0);
- m_institutionConnections = (receivers(TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&))) != 0);
+ m_accountConnections = (receivers(TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&))) != 0);
+ m_institutionConnections = (receivers(TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&))) != 0);
setDragEnabled(m_accountConnections | m_institutionConnections);
setAcceptDrops(m_accountConnections | m_institutionConnections);
}
@@ -796,7 +796,7 @@ void KMyMoneyAccountTreeBase::queueSort(void)
{
if (sortColumn() == balanceColumn() || sortColumn() == valueColumn()) {
++m_queuedSort;
- TQTimer::singleShot(100, this, TQT_SLOT(slotActivateSort()));
+ TQTimer::singleShot(100, this, TQ_SLOT(slotActivateSort()));
}
}
diff --git a/kmymoney2/widgets/kmymoneybriefschedule.cpp b/kmymoney2/widgets/kmymoneybriefschedule.cpp
index 0c89162..a108e26 100644
--- a/kmymoney2/widgets/kmymoneybriefschedule.cpp
+++ b/kmymoney2/widgets/kmymoneybriefschedule.cpp
@@ -54,11 +54,11 @@ KMyMoneyBriefSchedule::KMyMoneyBriefSchedule(TQWidget *parent, const char *name
m_nextButton->setPixmap(BarIcon(TQString::fromLatin1("1rightarrow")));
m_prevButton->setPixmap(BarIcon(TQString::fromLatin1("1leftarrow")));
- connect(m_prevButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPrevClicked()));
- connect(m_nextButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNextClicked()));
- connect(m_closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(hide()));
- connect(m_skipButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSkipClicked()));
- connect(m_buttonEnter, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEnterClicked()));
+ connect(m_prevButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPrevClicked()));
+ connect(m_nextButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNextClicked()));
+ connect(m_closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(hide()));
+ connect(m_skipButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSkipClicked()));
+ connect(m_buttonEnter, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEnterClicked()));
KGuiItem skipGuiItem( i18n("&Skip"),
TQIconSet(ic->loadIcon("media-seek-forward", TDEIcon::Small, TDEIcon::SizeSmall)),
diff --git a/kmymoney2/widgets/kmymoneycalculator.cpp b/kmymoney2/widgets/kmymoneycalculator.cpp
index 758f4a2..7e8bd20 100644
--- a/kmymoney2/widgets/kmymoneycalculator.cpp
+++ b/kmymoney2/widgets/kmymoneycalculator.cpp
@@ -111,24 +111,24 @@ kMyMoneyCalculator::kMyMoneyCalculator(TQWidget* parent, const char *name)
TQSignalMapper* mapper = new TQSignalMapper(this);
for(int i = 0; i < 10; ++i) {
mapper->setMapping(buttons[i], i);
- connect(buttons[i], TQT_SIGNAL(clicked()), mapper, TQT_SLOT(map()));
+ connect(buttons[i], TQ_SIGNAL(clicked()), mapper, TQ_SLOT(map()));
}
- connect(mapper, TQT_SIGNAL(mapped(int)), this, TQT_SLOT(digitClicked(int)));
+ connect(mapper, TQ_SIGNAL(mapped(int)), this, TQ_SLOT(digitClicked(int)));
// connect the calculation operations through another mapper
mapper = new TQSignalMapper(this);
for(int i = PLUS; i <= EQUAL; ++i) {
mapper->setMapping(buttons[i], i);
- connect(buttons[i], TQT_SIGNAL(clicked()), mapper, TQT_SLOT(map()));
+ connect(buttons[i], TQ_SIGNAL(clicked()), mapper, TQ_SLOT(map()));
}
- connect(mapper, TQT_SIGNAL(mapped(int)), this, TQT_SLOT(calculationClicked(int)));
+ connect(mapper, TQ_SIGNAL(mapped(int)), this, TQ_SLOT(calculationClicked(int)));
// connect all remaining signals
- connect(buttons[COMMA], TQT_SIGNAL(clicked()), TQT_SLOT(commaClicked()));
- connect(buttons[PLUSMINUS], TQT_SIGNAL(clicked()), TQT_SLOT(plusminusClicked()));
- connect(buttons[PERCENT], TQT_SIGNAL(clicked()), TQT_SLOT(percentClicked()));
- connect(buttons[CLEAR], TQT_SIGNAL(clicked()), TQT_SLOT(clearClicked()));
- connect(buttons[CLEARALL], TQT_SIGNAL(clicked()), TQT_SLOT(clearAllClicked()));
+ connect(buttons[COMMA], TQ_SIGNAL(clicked()), TQ_SLOT(commaClicked()));
+ connect(buttons[PLUSMINUS], TQ_SIGNAL(clicked()), TQ_SLOT(plusminusClicked()));
+ connect(buttons[PERCENT], TQ_SIGNAL(clicked()), TQ_SLOT(percentClicked()));
+ connect(buttons[CLEAR], TQ_SIGNAL(clicked()), TQ_SLOT(clearClicked()));
+ connect(buttons[CLEARALL], TQ_SIGNAL(clicked()), TQ_SLOT(clearAllClicked()));
for(int i = 0; i < MAX_BUTTONS; ++i) {
buttons[i]->setMinimumSize(40, 30);
diff --git a/kmymoney2/widgets/kmymoneycalendar.cpp b/kmymoney2/widgets/kmymoneycalendar.cpp
index 74b3ea1..f05a2b2 100644
--- a/kmymoney2/widgets/kmymoneycalendar.cpp
+++ b/kmymoney2/widgets/kmymoneycalendar.cpp
@@ -124,9 +124,9 @@ void kMyMoneyCalendar::init( const TQDate &dt )
// TDEIconLoader *kiconloader = TDEGlobal::iconLoader();
TDEPopupMenu* tdepopupmenuNew = new TDEPopupMenu(this);
- tdepopupmenuNew->insertItem(i18n("Week"), this, TQT_SLOT(slotSetStyleWeekly()));
- tdepopupmenuNew->insertItem(i18n("Month"), this, TQT_SLOT(slotSetStyleMonthly()));
-/* tdepopupmenuNew->insertItem(i18n("3 Months"), this, TQT_SLOT(slotSetStyleQuarterly())); */
+ tdepopupmenuNew->insertItem(i18n("Week"), this, TQ_SLOT(slotSetStyleWeekly()));
+ tdepopupmenuNew->insertItem(i18n("Month"), this, TQ_SLOT(slotSetStyleMonthly()));
+/* tdepopupmenuNew->insertItem(i18n("3 Months"), this, TQ_SLOT(slotSetStyleQuarterly())); */
styleControl->setPopup(tdepopupmenuNew);
TQToolTip::add(styleControl, i18n("Choose Style"));
@@ -147,16 +147,16 @@ void kMyMoneyCalendar::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, 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()));
if (table)
table->setFocus();
}
@@ -347,7 +347,7 @@ kMyMoneyCalendar::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()))))
{
@@ -387,7 +387,7 @@ kMyMoneyCalendar::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;
@@ -418,7 +418,7 @@ kMyMoneyCalendar::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()))))
{
@@ -563,8 +563,8 @@ kMyMoneyCalendar::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/kmymoney2/widgets/kmymoneycategory.cpp b/kmymoney2/widgets/kmymoneycategory.cpp
index ef5344f..295c059 100644
--- a/kmymoney2/widgets/kmymoneycategory.cpp
+++ b/kmymoney2/widgets/kmymoneycategory.cpp
@@ -81,8 +81,8 @@ KMyMoneyCategory::KMyMoneyCategory(TQWidget* parent, const char * name, bool spl
}
m_completion = new kMyMoneyAccountCompletion(this, 0);
- connect(m_completion, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotItemSelected(const TQString&)));
- connect(this, TQT_SIGNAL(textChanged(const TQString&)), m_completion, TQT_SLOT(slotMakeCompletion(const TQString&)));
+ connect(m_completion, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotItemSelected(const TQString&)));
+ connect(this, TQ_SIGNAL(textChanged(const TQString&)), m_completion, TQ_SLOT(slotMakeCompletion(const TQString&)));
}
KMyMoneyCategory::~KMyMoneyCategory()
@@ -156,7 +156,7 @@ void KMyMoneyCategory::focusInEvent(TQFocusEvent *ev)
// make sure, we get a clean state before we automagically move the focus to
// some other widget (like for 'split transaction'). We do this by delaying
// the emission of the focusIn signal until the next run of the event loop.
- TQTimer::singleShot(0, this, TQT_SIGNAL(focusIn()));
+ TQTimer::singleShot(0, this, TQ_SIGNAL(focusIn()));
}
void KMyMoneyCategory::setSplitTransaction(void)
diff --git a/kmymoney2/widgets/kmymoneycombo.cpp b/kmymoney2/widgets/kmymoneycombo.cpp
index 26c5e57..f7e1669 100644
--- a/kmymoney2/widgets/kmymoneycombo.cpp
+++ b/kmymoney2/widgets/kmymoneycombo.cpp
@@ -215,14 +215,14 @@ void KMyMoneyCombo::keyPressEvent(TQKeyEvent* e)
void KMyMoneyCombo::connectNotify(const char* signal)
{
- if(signal && !strcmp(signal, TQT_SIGNAL(createItem(const TQString&,TQString&)))) {
+ if(signal && !strcmp(signal, TQ_SIGNAL(createItem(const TQString&,TQString&)))) {
m_canCreateObjects = true;
}
}
void KMyMoneyCombo::disconnectNotify(const char* signal)
{
- if(signal && !strcmp(signal, TQT_SIGNAL(createItem(const TQString&,TQString&)))) {
+ if(signal && !strcmp(signal, TQ_SIGNAL(createItem(const TQString&,TQString&)))) {
m_canCreateObjects = false;
}
}
@@ -343,7 +343,7 @@ KMyMoneyReconcileCombo::KMyMoneyReconcileCombo(TQWidget* w, const char* name) :
KMyMoneyCombo(false, w, name)
{
m_completion = new kMyMoneyCompletion(this, 0);
- // connect(m_completion, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SIGNAL(itemSelected(const TQString&)));
+ // connect(m_completion, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SIGNAL(itemSelected(const TQString&)));
// add the items in reverse order of appearance (see KMyMoneySelector::newItem() for details)
// selector()->newTopItem(i18n("Frozen"), TQString(), "F");
@@ -352,8 +352,8 @@ KMyMoneyReconcileCombo::KMyMoneyReconcileCombo(TQWidget* w, const char* name) :
selector()->newTopItem(i18n("Not reconciled"), TQString(), " ");
selector()->newTopItem(" ", TQString(), "U");
- connect(m_completion, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotItemSelected(const TQString&)));
- connect(this, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotSetState(const TQString&)));
+ connect(m_completion, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotItemSelected(const TQString&)));
+ connect(this, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotSetState(const TQString&)));
}
void KMyMoneyReconcileCombo::slotSetState(const TQString& state)
@@ -423,8 +423,8 @@ KMyMoneyComboAction::KMyMoneyComboAction(TQWidget* w, const char* name) :
selector()->newTopItem(i18n("Transfer"), TQString(), num.setNum(KMyMoneyRegister::ActionTransfer));
selector()->newTopItem(i18n("Deposit"), TQString(), num.setNum(KMyMoneyRegister::ActionDeposit));
selector()->newTopItem(i18n("Cheque"), TQString(), num.setNum(KMyMoneyRegister::ActionCheck));
- connect(m_completion, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotItemSelected(const TQString&)));
- connect(this, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotSetAction(const TQString&)));
+ connect(m_completion, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotItemSelected(const TQString&)));
+ connect(this, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotSetAction(const TQString&)));
}
void KMyMoneyComboAction::protectItem(int id, bool protect)
@@ -477,8 +477,8 @@ KMyMoneyCashFlowCombo::KMyMoneyCashFlowCombo(TQWidget* w, const char* name, MyMo
selector()->newTopItem(i18n("Pay to"), TQString(), num.setNum(KMyMoneyRegister::Payment));
}
selector()->newTopItem(" ", TQString(), num.setNum(KMyMoneyRegister::Unknown));
- connect(m_completion, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotItemSelected(const TQString&)));
- connect(this, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotSetDirection(const TQString&)));
+ connect(m_completion, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotItemSelected(const TQString&)));
+ connect(this, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotSetDirection(const TQString&)));
}
void KMyMoneyCashFlowCombo::setDirection(KMyMoneyRegister::CashFlowDirection dir)
@@ -525,8 +525,8 @@ KMyMoneyActivityCombo::KMyMoneyActivityCombo(TQWidget* w, const char* name) :
selector()->newTopItem(i18n("Sell shares"), TQString(), num.setNum(MyMoneySplit::SellShares));
selector()->newTopItem(i18n("Buy shares"), TQString(), num.setNum(MyMoneySplit::BuyShares));
- connect(m_completion, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotItemSelected(const TQString&)));
- connect(this, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotSetActivity(const TQString&)));
+ connect(m_completion, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotItemSelected(const TQString&)));
+ connect(this, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotSetActivity(const TQString&)));
}
void KMyMoneyActivityCombo::setActivity(MyMoneySplit::investTransactionTypeE activity)
@@ -558,8 +558,8 @@ KMyMoneyPayeeCombo::KMyMoneyPayeeCombo(TQWidget* parent, const char * name) :
// set to ascending sort
selector()->listView()->setSorting(0);
- connect(m_completion, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotItemSelected(const TQString&)));
- connect(this, TQT_SIGNAL(textChanged(const TQString&)), m_completion, TQT_SLOT(slotMakeCompletion(const TQString&)));
+ connect(m_completion, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotItemSelected(const TQString&)));
+ connect(this, TQ_SIGNAL(textChanged(const TQString&)), m_completion, TQ_SLOT(slotMakeCompletion(const TQString&)));
}
void KMyMoneyPayeeCombo::loadPayees(const TQValueList<MyMoneyPayee>& list)
@@ -600,7 +600,7 @@ KMyMoneyGeneralCombo::KMyMoneyGeneralCombo(TQWidget* w, const char* name) :
KComboBox(w, name),
d(new Private)
{
- connect(this, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotChangeItem(int)));
+ connect(this, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(slotChangeItem(int)));
}
KMyMoneyGeneralCombo::~KMyMoneyGeneralCombo()
diff --git a/kmymoney2/widgets/kmymoneycompletion.cpp b/kmymoney2/widgets/kmymoneycompletion.cpp
index eb818d8..8a891a5 100644
--- a/kmymoney2/widgets/kmymoneycompletion.cpp
+++ b/kmymoney2/widgets/kmymoneycompletion.cpp
@@ -60,7 +60,7 @@ void kMyMoneyCompletion::connectSignals(TQWidget* widget, TDEListView* lv)
{
m_widget = widget;
m_lv = lv;
- connect(lv, TQT_SIGNAL(executed(TQListViewItem*,const TQPoint&,int)), this, TQT_SLOT(slotItemSelected(TQListViewItem*,const TQPoint&,int)));
+ connect(lv, TQ_SIGNAL(executed(TQListViewItem*,const TQPoint&,int)), this, TQ_SLOT(slotItemSelected(TQListViewItem*,const TQPoint&,int)));
}
kMyMoneyCompletion::~kMyMoneyCompletion()
diff --git a/kmymoney2/widgets/kmymoneycurrencyselector.cpp b/kmymoney2/widgets/kmymoneycurrencyselector.cpp
index e1dadf5..74a9537 100644
--- a/kmymoney2/widgets/kmymoneycurrencyselector.cpp
+++ b/kmymoney2/widgets/kmymoneycurrencyselector.cpp
@@ -137,10 +137,10 @@ void KMyMoneySecuritySelector::setDisplayOnly(const bool disp)
switch(disp) {
case true:
- connect(this, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetInitialCurrency()));
+ connect(this, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetInitialCurrency()));
break;
case false:
- disconnect(this, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetInitialCurrency()));
+ disconnect(this, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetInitialCurrency()));
break;
}
m_displayOnly = disp;
diff --git a/kmymoney2/widgets/kmymoneydateinput.cpp b/kmymoney2/widgets/kmymoneydateinput.cpp
index 957b245..b9db20f 100644
--- a/kmymoney2/widgets/kmymoneydateinput.cpp
+++ b/kmymoney2/widgets/kmymoneydateinput.cpp
@@ -139,11 +139,11 @@ kMyMoneyDateInput::kMyMoneyDateInput(TQWidget *parent, const char *name, TQt::Al
m_dateButton = new KPushButton(TQIconSet(TQPixmap(TDEGlobal::iconLoader()->iconPath("date", -TDEIcon::SizeSmall))), TQString(""), this);
m_dateButton->setMinimumWidth(30);
- connect(m_dateButton,TQT_SIGNAL(clicked()),TQT_SLOT(toggleDatePicker()));
- connect(dateEdit, TQT_SIGNAL(valueChanged(const TQDate&)), this, TQT_SLOT(slotDateChosenRef(const TQDate&)));
- connect(m_datePicker, TQT_SIGNAL(dateSelected(TQDate)), this, TQT_SLOT(slotDateChosen(TQDate)));
- connect(m_datePicker, TQT_SIGNAL(dateEntered(TQDate)), this, TQT_SLOT(slotDateChosen(TQDate)));
- connect(m_datePicker, TQT_SIGNAL(dateSelected(TQDate)), m_dateFrame, TQT_SLOT(hide()));
+ connect(m_dateButton,TQ_SIGNAL(clicked()),TQ_SLOT(toggleDatePicker()));
+ connect(dateEdit, TQ_SIGNAL(valueChanged(const TQDate&)), this, TQ_SLOT(slotDateChosenRef(const TQDate&)));
+ connect(m_datePicker, TQ_SIGNAL(dateSelected(TQDate)), this, TQ_SLOT(slotDateChosen(TQDate)));
+ connect(m_datePicker, TQ_SIGNAL(dateEntered(TQDate)), this, TQ_SLOT(slotDateChosen(TQDate)));
+ connect(m_datePicker, TQ_SIGNAL(dateSelected(TQDate)), m_dateFrame, TQ_SLOT(hide()));
}
void kMyMoneyDateInput::markAsBadDate(bool bad, const TQColor& color)
@@ -164,7 +164,7 @@ void kMyMoneyDateInput::show(void)
// to be appropriate. I saw this in some other places and the only
// way to solve this problem is to postpone the setup of the size
// to the time when the widget is on the screen.
- TQTimer::singleShot(50, this, TQT_SLOT(fixSize()));
+ TQTimer::singleShot(50, this, TQ_SLOT(fixSize()));
}
void kMyMoneyDateInput::fixSize(void)
diff --git a/kmymoney2/widgets/kmymoneyedit.cpp b/kmymoney2/widgets/kmymoneyedit.cpp
index cef4ffb..338d638 100644
--- a/kmymoney2/widgets/kmymoneyedit.cpp
+++ b/kmymoney2/widgets/kmymoneyedit.cpp
@@ -246,10 +246,10 @@ void kMyMoneyEdit::init(void)
setSpacing(0);
- connect(m_edit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(theTextChanged(const TQString&)));
- connect(m_calculator, TQT_SIGNAL(signalResultAvailable()), this, TQT_SLOT(slotCalculatorResult()));
- connect(m_calcButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCalculatorOpen()));
- connect(m_resetButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(resetText()));
+ connect(m_edit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(theTextChanged(const TQString&)));
+ connect(m_calculator, TQ_SIGNAL(signalResultAvailable()), this, TQ_SLOT(slotCalculatorResult()));
+ connect(m_calcButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCalculatorOpen()));
+ connect(m_resetButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(resetText()));
}
void kMyMoneyEdit::setValidator(const TQValidator* v)
diff --git a/kmymoney2/widgets/kmymoneygpgconfig.cpp b/kmymoney2/widgets/kmymoneygpgconfig.cpp
index d168c90..507517a 100644
--- a/kmymoney2/widgets/kmymoneygpgconfig.cpp
+++ b/kmymoney2/widgets/kmymoneygpgconfig.cpp
@@ -52,8 +52,8 @@ kMyMoneyGPGConfig::kMyMoneyGPGConfig(TQWidget *parent, const char *name )
m_userKeyFound->off();
m_recoverKeyFound->off();
- connect(m_useEncryption, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotStatusChanged(bool)));
- connect(m_userId, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotIdChanged(const TQString&)));
+ connect(m_useEncryption, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotStatusChanged(bool)));
+ connect(m_userId, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotIdChanged(const TQString&)));
}
void kMyMoneyGPGConfig::resetConfig(void)
diff --git a/kmymoney2/widgets/kmymoneyonlinequoteconfig.cpp b/kmymoney2/widgets/kmymoneyonlinequoteconfig.cpp
index 42b5de2..16df52a 100644
--- a/kmymoney2/widgets/kmymoneyonlinequoteconfig.cpp
+++ b/kmymoney2/widgets/kmymoneyonlinequoteconfig.cpp
@@ -71,18 +71,18 @@ kMyMoneyOnlineQuoteConfig::kMyMoneyOnlineQuoteConfig(TQWidget *parent, const cha
i18n("Use this to create a new entry for online quotes"));
m_newButton->setGuiItem(newButtenItem);
- connect(m_updateButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUpdateEntry()));
- connect(m_newButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewEntry()));
-
- connect(m_quoteSourceList, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotLoadWidgets(TQListViewItem*)));
- connect(m_quoteSourceList, TQT_SIGNAL(clicked(TQListViewItem*)), this, TQT_SLOT(slotLoadWidgets(TQListViewItem*)));
- connect(m_quoteSourceList, TQT_SIGNAL(itemRenamed(TQListViewItem*,const TQString&,int)), this, TQT_SLOT(slotEntryRenamed(TQListViewItem*,const TQString&,int)));
-
- connect(m_editURL, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotEntryChanged()));
- connect(m_editSymbol, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotEntryChanged()));
- connect(m_editDate, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotEntryChanged()));
- connect(m_editDateFormat, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotEntryChanged()));
- connect(m_editPrice, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotEntryChanged()));
+ connect(m_updateButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotUpdateEntry()));
+ connect(m_newButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewEntry()));
+
+ connect(m_quoteSourceList, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotLoadWidgets(TQListViewItem*)));
+ connect(m_quoteSourceList, TQ_SIGNAL(clicked(TQListViewItem*)), this, TQ_SLOT(slotLoadWidgets(TQListViewItem*)));
+ connect(m_quoteSourceList, TQ_SIGNAL(itemRenamed(TQListViewItem*,const TQString&,int)), this, TQ_SLOT(slotEntryRenamed(TQListViewItem*,const TQString&,int)));
+
+ connect(m_editURL, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotEntryChanged()));
+ connect(m_editSymbol, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotEntryChanged()));
+ connect(m_editDate, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotEntryChanged()));
+ connect(m_editDateFormat, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotEntryChanged()));
+ connect(m_editPrice, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotEntryChanged()));
// FIXME deleting a source is not yet implemented
m_deleteButton->setEnabled(false);
diff --git a/kmymoney2/widgets/kmymoneypriceview.cpp b/kmymoney2/widgets/kmymoneypriceview.cpp
index b21ffb3..fef1844 100644
--- a/kmymoney2/widgets/kmymoneypriceview.cpp
+++ b/kmymoney2/widgets/kmymoneypriceview.cpp
@@ -147,24 +147,24 @@ KMyMoneyPriceView::KMyMoneyPriceView(TQWidget *parent, const char *name ) :
m_contextMenu->insertTitle(i18n("Price Options"));
m_contextMenu->insertItem(kiconloader->loadIcon("document-new", TDEIcon::Small),
i18n("New..."),
- this, TQT_SIGNAL(newPrice()));
+ this, TQ_SIGNAL(newPrice()));
m_contextMenu->insertItem(kiconloader->loadIcon("edit", TDEIcon::Small),
i18n("Edit..."),
- this, TQT_SIGNAL(editPrice()));
+ this, TQ_SIGNAL(editPrice()));
m_contextMenu->insertItem(kiconloader->loadIcon("connect_creating", TDEIcon::Small),
i18n("Online Price Update..."),
- this, TQT_SIGNAL(onlinePriceUpdate()));
+ this, TQ_SIGNAL(onlinePriceUpdate()));
m_contextMenu->insertItem(kiconloader->loadIcon("delete", TDEIcon::Small),
i18n("Delete..."),
- this, TQT_SIGNAL(deletePrice()));
+ this, TQ_SIGNAL(deletePrice()));
- connect(this, TQT_SIGNAL(rightButtonClicked(TQListViewItem* , const TQPoint&, int)),
- this, TQT_SLOT(slotListClicked(TQListViewItem*, const TQPoint&, int)));
+ connect(this, TQ_SIGNAL(rightButtonClicked(TQListViewItem* , const TQPoint&, int)),
+ this, TQ_SLOT(slotListClicked(TQListViewItem*, const TQPoint&, int)));
- // connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotReloadWidget()));
+ // connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotReloadWidget()));
// slotReloadWidget();
@@ -173,7 +173,7 @@ KMyMoneyPriceView::KMyMoneyPriceView(TQWidget *parent, const char *name ) :
// way to solve this problem is to postpone the setup of the size
// to the time when the widget is on the screen.
resize(width()-1, height()-1);
- TQTimer::singleShot(50, this, TQT_SLOT(slotTimerDone()));
+ TQTimer::singleShot(50, this, TQ_SLOT(slotTimerDone()));
}
KMyMoneyPriceView::~KMyMoneyPriceView()
diff --git a/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp b/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp
index d8706eb..d15a81c 100644
--- a/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp
+++ b/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp
@@ -50,9 +50,9 @@ kMyMoneyScheduledCalendar::kMyMoneyScheduledCalendar(TQWidget *parent, const cha
tdepopupmenu->insertItem(i18n("Bills"), 0);
tdepopupmenu->insertItem(i18n("Deposits"), 1);
tdepopupmenu->insertItem(i18n("Transfers"), 2);
- tdepopupmenu->connectItem(0, this, TQT_SLOT(slotSetViewBills()));
- tdepopupmenu->connectItem(1, this, TQT_SLOT(slotSetViewDeposits()));
- tdepopupmenu->connectItem(2, this, TQT_SLOT(slotSetViewTransfers()));
+ tdepopupmenu->connectItem(0, this, TQ_SLOT(slotSetViewBills()));
+ tdepopupmenu->connectItem(1, this, TQ_SLOT(slotSetViewDeposits()));
+ tdepopupmenu->connectItem(2, this, TQ_SLOT(slotSetViewTransfers()));
tdepopupmenu->setItemChecked(0, true);
tdepopupmenu->setItemChecked(1, true);
tdepopupmenu->setItemChecked(2, true);
@@ -65,10 +65,10 @@ kMyMoneyScheduledCalendar::kMyMoneyScheduledCalendar(TQWidget *parent, const cha
init( TQDate::currentDate() );
- connect(m_scheduledDateTable, TQT_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&)),
- this, TQT_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&)));
- connect(m_scheduledDateTable, TQT_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&)),
- this, TQT_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&)));
+ connect(m_scheduledDateTable, TQ_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&)),
+ this, TQ_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&)));
+ connect(m_scheduledDateTable, TQ_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&)),
+ this, TQ_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&)));
}
kMyMoneyScheduledCalendar::~kMyMoneyScheduledCalendar()
diff --git a/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp b/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp
index 4de8efe..9d41742 100644
--- a/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp
+++ b/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp
@@ -69,8 +69,8 @@ kMyMoneyScheduledDateTbl::kMyMoneyScheduledDateTbl(TQWidget *parent, TQDate date
: kMyMoneyDateTbl(parent, date_, name, f),
m_filterBills(false), m_filterDeposits(false), m_filterTransfers(false)
{
- connect(&briefWidget, TQT_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&)), this, TQT_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&)));
- connect(&briefWidget, TQT_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&)), this, TQT_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&)));
+ connect(&briefWidget, TQ_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&)), this, TQ_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&)));
+ connect(&briefWidget, TQ_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&)), this, TQ_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&)));
}
kMyMoneyScheduledDateTbl::~kMyMoneyScheduledDateTbl()
diff --git a/kmymoney2/widgets/kmymoneyselector.cpp b/kmymoney2/widgets/kmymoneyselector.cpp
index 89aaa8b..82126b2 100644
--- a/kmymoney2/widgets/kmymoneyselector.cpp
+++ b/kmymoney2/widgets/kmymoneyselector.cpp
@@ -71,7 +71,7 @@ KMyMoneySelector::KMyMoneySelector(TQWidget *parent, const char *name, TQWidget:
m_selMode = TQListView::Multi;
setSelectionMode(TQListView::Single);
- connect(m_listView, TQT_SIGNAL(rightButtonPressed(TQListViewItem* , const TQPoint&, int)), this, TQT_SLOT(slotListRightMouse(TQListViewItem*, const TQPoint&, int)));
+ connect(m_listView, TQ_SIGNAL(rightButtonPressed(TQListViewItem* , const TQPoint&, int)), this, TQ_SLOT(slotListRightMouse(TQListViewItem*, const TQPoint&, int)));
}
KMyMoneySelector::~KMyMoneySelector()
@@ -93,11 +93,11 @@ void KMyMoneySelector::setSelectionMode(const TQListView::SelectionMode mode)
// make sure, it's either Multi or Single
if(mode != TQListView::Multi) {
m_selMode = TQListView::Single;
- connect(m_listView, TQT_SIGNAL(selectionChanged(void)), this, TQT_SIGNAL(stateChanged(void)));
- connect(m_listView, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotItemSelected(TQListViewItem*)));
+ connect(m_listView, TQ_SIGNAL(selectionChanged(void)), this, TQ_SIGNAL(stateChanged(void)));
+ connect(m_listView, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(slotItemSelected(TQListViewItem*)));
} else {
- disconnect(m_listView, TQT_SIGNAL(selectionChanged(void)), this, TQT_SIGNAL(stateChanged(void)));
- disconnect(m_listView, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotItemSelected(TQListViewItem*)));
+ disconnect(m_listView, TQ_SIGNAL(selectionChanged(void)), this, TQ_SIGNAL(stateChanged(void)));
+ disconnect(m_listView, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(slotItemSelected(TQListViewItem*)));
}
}
TQWidget::update();
@@ -137,7 +137,7 @@ TQListViewItem* KMyMoneySelector::newTopItem(const TQString& name, const TQStrin
if(m_selMode == TQListView::Multi) {
KMyMoneyCheckListItem* q = new KMyMoneyCheckListItem(m_listView, name, key, id);
- connect(q, TQT_SIGNAL(stateChanged(bool)), this, TQT_SIGNAL(stateChanged(void)));
+ connect(q, TQ_SIGNAL(stateChanged(bool)), this, TQ_SIGNAL(stateChanged(void)));
p = static_cast<TQListViewItem*> (q);
} else {
@@ -154,7 +154,7 @@ TQListViewItem* KMyMoneySelector::newItem(TQListViewItem* parent, const TQString
if(m_selMode == TQListView::Multi) {
KMyMoneyCheckListItem* q = new KMyMoneyCheckListItem(parent, name, key, id);
- connect(q, TQT_SIGNAL(stateChanged(bool)), this, TQT_SIGNAL(stateChanged(void)));
+ connect(q, TQ_SIGNAL(stateChanged(bool)), this, TQ_SIGNAL(stateChanged(void)));
p = static_cast<TQListViewItem*> (q);
} else {
@@ -511,7 +511,7 @@ void KMyMoneySelector::ensureItemVisible(const TQListViewItem *it_v)
// the slot slotShowSelected. (ipwizard, 12/29/2003)
m_visibleItem = it_v;
- TQTimer::singleShot(100, this, TQT_SLOT(slotShowSelected()));
+ TQTimer::singleShot(100, this, TQ_SLOT(slotShowSelected()));
}
void KMyMoneySelector::slotShowSelected(void)
diff --git a/kmymoney2/widgets/kmymoneywizard.cpp b/kmymoney2/widgets/kmymoneywizard.cpp
index 42740fe..1a9b329 100644
--- a/kmymoney2/widgets/kmymoneywizard.cpp
+++ b/kmymoney2/widgets/kmymoneywizard.cpp
@@ -63,7 +63,7 @@ KMyMoneyWizardPage::KMyMoneyWizardPage(unsigned int step, TQWidget* widget, cons
d(new KMyMoneyWizardPagePrivate(widget, name))
{
m_mandatoryGroup = new kMandatoryFieldGroup(widget);
- TQObject::connect(m_mandatoryGroup, TQT_SIGNAL(stateChanged()), object(), TQT_SIGNAL(completeStateChanged()));
+ TQObject::connect(m_mandatoryGroup, TQ_SIGNAL(stateChanged()), object(), TQ_SIGNAL(completeStateChanged()));
widget->hide();
}
@@ -195,11 +195,11 @@ KMyMoneyWizard::KMyMoneyWizard(TQWidget *parent, const char *name, bool modal, W
m_finishButton->hide();
- connect(m_backButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(backButtonClicked()));
- connect(m_nextButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(nextButtonClicked()));
- connect(m_cancelButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(m_finishButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
- connect(m_helpButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(helpButtonClicked()));
+ connect(m_backButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(backButtonClicked()));
+ connect(m_nextButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(nextButtonClicked()));
+ connect(m_cancelButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
+ connect(m_finishButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
+ connect(m_helpButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(helpButtonClicked()));
}
void KMyMoneyWizard::setTitle(const TQString& txt)
@@ -291,12 +291,12 @@ void KMyMoneyWizard::switchPage(KMyMoneyWizardPage* oldPage)
if(oldPage) {
oldPage->widget()->hide();
m_pageLayout->remove(oldPage->widget());
- disconnect(oldPage->object(), TQT_SIGNAL(completeStateChanged()), this, TQT_SLOT(completeStateChanged()));
+ disconnect(oldPage->object(), TQ_SIGNAL(completeStateChanged()), this, TQ_SLOT(completeStateChanged()));
}
KMyMoneyWizardPage* newPage = m_history.back();
if(newPage) {
m_pageLayout->insertWidget(0, newPage->widget());
- connect(newPage->object(), TQT_SIGNAL(completeStateChanged()), this, TQT_SLOT(completeStateChanged()));
+ connect(newPage->object(), TQ_SIGNAL(completeStateChanged()), this, TQ_SLOT(completeStateChanged()));
newPage->widget()->show();
selectStep(newPage->step());
if(newPage->isLastPage()) {
diff --git a/kmymoney2/widgets/kmymoneywizard.h b/kmymoney2/widgets/kmymoneywizard.h
index a9d29c5..16d5e25 100644
--- a/kmymoney2/widgets/kmymoneywizard.h
+++ b/kmymoney2/widgets/kmymoneywizard.h
@@ -121,7 +121,7 @@ class kMandatoryFieldGroup;
* {
* kMandatoryFieldGroup* mandatoryGroup = new kMandatoryFieldGroup(this);
* mandatoryGroup->add(m_userName);
- * connect(m_mandatoryGroup, TQT_SIGNAL(stateChanged()), object(), TQT_SIGNAL(completeStateChanged()));
+ * connect(m_mandatoryGroup, TQ_SIGNAL(stateChanged()), object(), TQ_SIGNAL(completeStateChanged()));
* }
*
* KMyMoneyWizardPage* KNewUserGeneral::nextPage(void)
diff --git a/kmymoney2/widgets/register.cpp b/kmymoney2/widgets/register.cpp
index 40ec31b..4cb1082 100644
--- a/kmymoney2/widgets/register.cpp
+++ b/kmymoney2/widgets/register.cpp
@@ -593,11 +593,11 @@ Register::Register(TQWidget *parent, const char *name ) :
// never show horizontal scroll bars
setHScrollBarMode(TQScrollView::AlwaysOff);
- connect(this, TQT_SIGNAL(clicked(int, int, int, const TQPoint&)), this, TQT_SLOT(selectItem(int, int, int, const TQPoint&)));
- connect(this, TQT_SIGNAL(doubleClicked(int, int, int, const TQPoint&)), this, TQT_SLOT(slotDoubleClicked(int, int, int, const TQPoint&)));
+ connect(this, TQ_SIGNAL(clicked(int, int, int, const TQPoint&)), this, TQ_SLOT(selectItem(int, int, int, const TQPoint&)));
+ connect(this, TQ_SIGNAL(doubleClicked(int, int, int, const TQPoint&)), this, TQ_SLOT(slotDoubleClicked(int, int, int, const TQPoint&)));
// double clicking the header turns on auto column sizing
- connect(horizontalHeader(), TQT_SIGNAL(sectionSizeChanged(int)), this, TQT_SLOT(slotAutoColumnSizing(int)));
+ connect(horizontalHeader(), TQ_SIGNAL(sectionSizeChanged(int)), this, TQ_SLOT(slotAutoColumnSizing(int)));
//DND
setAcceptDrops(true);
@@ -1167,7 +1167,7 @@ void Register::updateRegister(bool forceUpdateRowHeight)
// force resizeing of the columns if necessary
if(m_needInitialColumnResize) {
- TQTimer::singleShot(0, this, TQT_SLOT(resize()));
+ TQTimer::singleShot(0, this, TQ_SLOT(resize()));
m_needInitialColumnResize = false;
} else {
updateContents();
@@ -1175,7 +1175,7 @@ void Register::updateRegister(bool forceUpdateRowHeight)
// if the number of rows changed, we might need to resize the register
// to make sure we reflect the current visibility of the scrollbars.
if(needUpdateHeaders)
- TQTimer::singleShot(0, this, TQT_SLOT(resize()));
+ TQTimer::singleShot(0, this, TQ_SLOT(resize()));
}
}
::timetrace("Done updateing register");
@@ -1770,7 +1770,7 @@ void Register::ensureItemVisible(RegisterItem* item)
return;
m_ensureVisibleItem = item;
- TQTimer::singleShot(0, this, TQT_SLOT(slotEnsureItemVisible()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotEnsureItemVisible()));
}
void Register::slotDoubleClicked(int row, int, int, const TQPoint&)
@@ -1790,7 +1790,7 @@ void Register::slotDoubleClicked(int row, int, int, const TQPoint&)
if(m_focusItem->isSelected()) {
// don't emit the signal right away but wait until
// we come back to the TQt main loop
- TQTimer::singleShot(0, this, TQT_SIGNAL(editTransaction()));
+ TQTimer::singleShot(0, this, TQ_SIGNAL(editTransaction()));
}
}
}
@@ -1989,7 +1989,7 @@ void Register::slotToggleErronousTransactions(void)
}
// restart timer
- TQTimer::singleShot(500, this, TQT_SLOT(slotToggleErronousTransactions()));
+ TQTimer::singleShot(500, this, TQ_SLOT(slotToggleErronousTransactions()));
}
RegisterItem* Register::itemById(const TQString& id) const
diff --git a/kmymoney2/widgets/registersearchline.cpp b/kmymoney2/widgets/registersearchline.cpp
index 8db0e2a..fe306b3 100644
--- a/kmymoney2/widgets/registersearchline.cpp
+++ b/kmymoney2/widgets/registersearchline.cpp
@@ -74,7 +74,7 @@ RegisterSearchLine::RegisterSearchLine(TQWidget* parent, const char* name) :
void RegisterSearchLine::init(Register *reg)
{
d->reg = reg;
- connect(this, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(queueSearch(const TQString&)));
+ connect(this, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(queueSearch(const TQString&)));
TQLabel* label = new TQLabel(i18n("label for status combo", "Stat&us"), parentWidget());
d->combo = new TQComboBox(parentWidget());
@@ -88,13 +88,13 @@ void RegisterSearchLine::init(Register *reg)
d->combo->insertItem(i18n("Not reconciled"));
d->combo->insertItem(i18n("Cleared"));
d->combo->setCurrentItem(0);
- connect(d->combo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotStatusChanged(int)));
+ connect(d->combo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotStatusChanged(int)));
label->setBuddy(d->combo);
if(reg) {
- connect(reg, TQT_SIGNAL(destroyed()), this, TQT_SLOT(registerDestroyed()));
- connect(reg, TQT_SIGNAL(itemAdded(RegisterItem*)), this, TQT_SLOT(itemAdded(RegisterItem*)));
+ connect(reg, TQ_SIGNAL(destroyed()), this, TQ_SLOT(registerDestroyed()));
+ connect(reg, TQ_SIGNAL(itemAdded(RegisterItem*)), this, TQ_SLOT(itemAdded(RegisterItem*)));
} else {
setEnabled(false);
}
@@ -108,15 +108,15 @@ RegisterSearchLine::~RegisterSearchLine()
void RegisterSearchLine::setRegister(Register* reg)
{
if(d->reg) {
- disconnect(d->reg, TQT_SIGNAL(destroyed()), this, TQT_SLOT(registerDestroyed()));
- disconnect(d->reg, TQT_SIGNAL(itemAdded(RegisterItem*)), this, TQT_SLOT(itemAdded(RegisterItem*)));
+ disconnect(d->reg, TQ_SIGNAL(destroyed()), this, TQ_SLOT(registerDestroyed()));
+ disconnect(d->reg, TQ_SIGNAL(itemAdded(RegisterItem*)), this, TQ_SLOT(itemAdded(RegisterItem*)));
}
d->reg = reg;
if(reg) {
- connect(reg, TQT_SIGNAL(destroyed()), this, TQT_SLOT(registerDestroyed()));
- connect(reg, TQT_SIGNAL(itemAdded(RegisterItem*)), this, TQT_SLOT(itemAdded(RegisterItem*)));
+ connect(reg, TQ_SIGNAL(destroyed()), this, TQ_SLOT(registerDestroyed()));
+ connect(reg, TQ_SIGNAL(itemAdded(RegisterItem*)), this, TQ_SLOT(itemAdded(RegisterItem*)));
}
setEnabled(reg != 0);
@@ -132,7 +132,7 @@ void RegisterSearchLine::queueSearch(const TQString& search)
{
d->queuedSearches++;
d->search = search;
- TQTimer::singleShot(200, this, TQT_SLOT(activateSearch()));
+ TQTimer::singleShot(200, this, TQ_SLOT(activateSearch()));
}
void RegisterSearchLine::activateSearch(void)
@@ -261,7 +261,7 @@ RegisterSearchLineWidget::RegisterSearchLineWidget(Register* reg, TQWidget* pare
{
d->reg = reg;
setSpacing(5);
- TQTimer::singleShot(0, this, TQT_SLOT(createWidgets()));
+ TQTimer::singleShot(0, this, TQ_SLOT(createWidgets()));
}
RegisterSearchLineWidget::~RegisterSearchLineWidget()
@@ -294,7 +294,7 @@ void RegisterSearchLineWidget::createWidgets(void)
label->setBuddy(d->searchLine);
label->show();
- connect(d->clearButton, TQT_SIGNAL(clicked()), d->searchLine, TQT_SLOT(reset()));
+ connect(d->clearButton, TQ_SIGNAL(clicked()), d->searchLine, TQ_SLOT(reset()));
}
RegisterSearchLine* RegisterSearchLineWidget::searchLine(void) const
diff --git a/kmymoney2/widgets/tdelistviewsearchline.cpp b/kmymoney2/widgets/tdelistviewsearchline.cpp
index 99b06ff..9bce5a6 100644
--- a/kmymoney2/widgets/tdelistviewsearchline.cpp
+++ b/kmymoney2/widgets/tdelistviewsearchline.cpp
@@ -67,16 +67,16 @@ TDEListViewSearchLine::TDEListViewSearchLine(TQWidget *parent, TDEListView *list
d->listView = listView;
- connect(this, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(queueSearch(const TQString &)));
+ connect(this, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(queueSearch(const TQString &)));
if(listView) {
- connect(listView, TQT_SIGNAL(destroyed()),
- this, TQT_SLOT(listViewDeleted()));
+ connect(listView, TQ_SIGNAL(destroyed()),
+ this, TQ_SLOT(listViewDeleted()));
#if KDE_IS_VERSION(3,3,0)
- connect(listView, TQT_SIGNAL(itemAdded(TQListViewItem *)),
- this, TQT_SLOT(itemAdded(TQListViewItem *)));
+ connect(listView, TQ_SIGNAL(itemAdded(TQListViewItem *)),
+ this, TQ_SLOT(itemAdded(TQListViewItem *)));
#endif
}
else
@@ -90,8 +90,8 @@ TDEListViewSearchLine::TDEListViewSearchLine(TQWidget *parent, const char *name)
d->listView = 0;
- connect(this, TQT_SIGNAL(textChanged(const TQString &)),
- this, TQT_SLOT(queueSearch(const TQString &)));
+ connect(this, TQ_SIGNAL(textChanged(const TQString &)),
+ this, TQ_SLOT(queueSearch(const TQString &)));
setEnabled(false);
}
@@ -184,24 +184,24 @@ void TDEListViewSearchLine::setSearchColumns(const TQValueList<int> &columns)
void TDEListViewSearchLine::setListView(TDEListView *lv)
{
if(d->listView) {
- disconnect(d->listView, TQT_SIGNAL(destroyed()),
- this, TQT_SLOT(listViewDeleted()));
+ disconnect(d->listView, TQ_SIGNAL(destroyed()),
+ this, TQ_SLOT(listViewDeleted()));
#if KDE_IS_VERSION(3,3,0)
- disconnect(d->listView, TQT_SIGNAL(itemAdded(TQListViewItem *)),
- this, TQT_SLOT(itemAdded(TQListViewItem *)));
+ disconnect(d->listView, TQ_SIGNAL(itemAdded(TQListViewItem *)),
+ this, TQ_SLOT(itemAdded(TQListViewItem *)));
#endif
}
d->listView = lv;
if(lv) {
- connect(d->listView, TQT_SIGNAL(destroyed()),
- this, TQT_SLOT(listViewDeleted()));
+ connect(d->listView, TQ_SIGNAL(destroyed()),
+ this, TQ_SLOT(listViewDeleted()));
#if KDE_IS_VERSION(3,3,0)
- connect(d->listView, TQT_SIGNAL(itemAdded(TQListViewItem *)),
- this, TQT_SLOT(itemAdded(TQListViewItem *)));
+ connect(d->listView, TQ_SIGNAL(itemAdded(TQListViewItem *)),
+ this, TQ_SLOT(itemAdded(TQListViewItem *)));
#endif
}
@@ -247,7 +247,7 @@ TQPopupMenu *TDEListViewSearchLine::createPopupMenu()
if (d->listView->columns()>1) {
TQPopupMenu *subMenu = new TQPopupMenu(popup);
- connect(subMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(searchColumnsMenuActivated(int)));
+ connect(subMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(searchColumnsMenuActivated(int)));
popup->insertSeparator();
popup->insertItem(i18n("Search Columns"), subMenu);
@@ -295,7 +295,7 @@ void TDEListViewSearchLine::queueSearch(const TQString &search)
{
d->queuedSearches++;
d->search = search;
- TQTimer::singleShot(200, this, TQT_SLOT(activateSearch()));
+ TQTimer::singleShot(200, this, TQ_SLOT(activateSearch()));
}
void TDEListViewSearchLine::activateSearch()
@@ -435,7 +435,7 @@ TDEListViewSearchLineWidget::TDEListViewSearchLineWidget(TDEListView *listView,
setSpacing(5);
- TQTimer::singleShot(0, this, TQT_SLOT(createWidgets()));
+ TQTimer::singleShot(0, this, TQ_SLOT(createWidgets()));
}
TDEListViewSearchLineWidget::~TDEListViewSearchLineWidget()
@@ -470,7 +470,7 @@ void TDEListViewSearchLineWidget::createWidgets()
label->setBuddy(d->searchLine);
label->show();
- connect(d->clearButton, TQT_SIGNAL(clicked()), d->searchLine, TQT_SLOT(clear()));
+ connect(d->clearButton, TQ_SIGNAL(clicked()), d->searchLine, TQ_SLOT(clear()));
}
TDEListViewSearchLine *TDEListViewSearchLineWidget::searchLine() const
diff --git a/kmymoney2/widgets/transactionform.cpp b/kmymoney2/widgets/transactionform.cpp
index b193ea3..9d4d4ce 100644
--- a/kmymoney2/widgets/transactionform.cpp
+++ b/kmymoney2/widgets/transactionform.cpp
@@ -55,7 +55,7 @@ TabBar::TabBar(TQWidget* parent, const char* name) :
TQTabBar(parent, name),
m_signalType(SignalNormal)
{
- connect(this, TQT_SIGNAL(selected(int)), this, TQT_SLOT(slotTabSelected(int)));
+ connect(this, TQ_SIGNAL(selected(int)), this, TQ_SLOT(slotTabSelected(int)));
}
TabBar::SignalEmissionE TabBar::setSignalEmission(TabBar::SignalEmissionE type)
@@ -260,7 +260,7 @@ void TransactionForm::slotSetTransaction(KMyMoneyRegister::Transaction* transact
setUpdatesEnabled(enabled);
// force resizeing of the columns
- TQTimer::singleShot(0, this, TQT_SLOT(resize()));
+ TQTimer::singleShot(0, this, TQ_SLOT(resize()));
}
void TransactionForm::paintCell(TQPainter* painter, int row, int col, const TQRect& r, bool selected, const TQColorGroup& /* cg */)
@@ -278,7 +278,7 @@ TabBar* TransactionForm::tabBar(TQWidget* parent)
m_tabBar = new TabBar( parent );
m_tabBar->setSignalEmission(TabBar::SignalAlways);
m_tabBar->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, m_tabBar->sizePolicy().hasHeightForWidth() ) );
- connect(m_tabBar, TQT_SIGNAL(tabSelected(int)), this, TQT_SLOT(slotActionSelected(int)));
+ connect(m_tabBar, TQ_SIGNAL(tabSelected(int)), this, TQ_SLOT(slotActionSelected(int)));
}
return m_tabBar;
}