summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views')
-rw-r--r--kmymoney2/views/kaccountsview.cpp24
-rw-r--r--kmymoney2/views/kbudgetview.cpp40
-rw-r--r--kmymoney2/views/kcategoriesview.cpp18
-rw-r--r--kmymoney2/views/kforecastview.cpp6
-rw-r--r--kmymoney2/views/kgloballedgerview.cpp52
-rw-r--r--kmymoney2/views/khomeview.cpp14
-rw-r--r--kmymoney2/views/kinstitutionsview.cpp12
-rw-r--r--kmymoney2/views/kinvestmentview.cpp14
-rw-r--r--kmymoney2/views/kmymoneyview.cpp126
-rw-r--r--kmymoney2/views/kpayeesview.cpp58
-rw-r--r--kmymoney2/views/kreportsview.cpp58
-rw-r--r--kmymoney2/views/kscheduledview.cpp34
12 files changed, 228 insertions, 228 deletions
diff --git a/kmymoney2/views/kaccountsview.cpp b/kmymoney2/views/kaccountsview.cpp
index fbd4806..e9d2482 100644
--- a/kmymoney2/views/kaccountsview.cpp
+++ b/kmymoney2/views/kaccountsview.cpp
@@ -105,21 +105,21 @@ KAccountsView::KAccountsView(TQWidget *parent, const char *name) :
config->setGroup("Last Use Settings");
m_tab->setCurrentPage(config->readNumEntry("KAccountsView_LastType", 0));
- connect(m_tab, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SLOT(slotTabChanged(TQWidget*)));
+ connect(m_tab, TQ_SIGNAL(currentChanged(TQWidget*)), this, TQ_SLOT(slotTabChanged(TQWidget*)));
- connect(m_accountTree, TQT_SIGNAL(selectObject(const MyMoneyObject&)), this, TQT_SIGNAL(selectObject(const MyMoneyObject&)));
- connect(m_accountTree, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), this, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)));
- connect(m_accountTree, TQT_SIGNAL(valueChanged(void)), this, TQT_SLOT(slotUpdateNetWorth(void)));
- connect(m_accountTree, TQT_SIGNAL(openObject(const MyMoneyObject&)), this, TQT_SIGNAL(openObject(const MyMoneyObject&)));
- connect(m_accountTree, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), this, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)));
+ connect(m_accountTree, TQ_SIGNAL(selectObject(const MyMoneyObject&)), this, TQ_SIGNAL(selectObject(const MyMoneyObject&)));
+ connect(m_accountTree, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)), this, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)));
+ connect(m_accountTree, TQ_SIGNAL(valueChanged(void)), this, TQ_SLOT(slotUpdateNetWorth(void)));
+ connect(m_accountTree, TQ_SIGNAL(openObject(const MyMoneyObject&)), this, TQ_SIGNAL(openObject(const MyMoneyObject&)));
+ connect(m_accountTree, TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), this, TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)));
- connect(m_accountIcons, TQT_SIGNAL(selectionChanged(TQIconViewItem*)), this, TQT_SLOT(slotSelectIcon(TQIconViewItem*)));
- connect(m_accountIcons, TQT_SIGNAL(rightButtonClicked(TQIconViewItem*, const TQPoint&)), this, TQT_SLOT(slotOpenContext(TQIconViewItem*)));
- connect(m_accountIcons, TQT_SIGNAL(executed(TQIconViewItem*)), this, TQT_SLOT(slotOpenObject(TQIconViewItem*)));
+ connect(m_accountIcons, TQ_SIGNAL(selectionChanged(TQIconViewItem*)), this, TQ_SLOT(slotSelectIcon(TQIconViewItem*)));
+ connect(m_accountIcons, TQ_SIGNAL(rightButtonClicked(TQIconViewItem*, const TQPoint&)), this, TQ_SLOT(slotOpenContext(TQIconViewItem*)));
+ connect(m_accountIcons, TQ_SIGNAL(executed(TQIconViewItem*)), this, TQ_SLOT(slotOpenObject(TQIconViewItem*)));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadAccounts()));
- connect(m_collapseButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotExpandCollapse()));
- connect(m_expandButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotExpandCollapse()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadAccounts()));
+ connect(m_collapseButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotExpandCollapse()));
+ connect(m_expandButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotExpandCollapse()));
}
KAccountsView::~KAccountsView()
diff --git a/kmymoney2/views/kbudgetview.cpp b/kmymoney2/views/kbudgetview.cpp
index 210b3a2..e4b1d76 100644
--- a/kmymoney2/views/kbudgetview.cpp
+++ b/kmymoney2/views/kbudgetview.cpp
@@ -142,38 +142,38 @@ KBudgetView::KBudgetView(TQWidget *parent, const char *name ) :
m_resetButton->setGuiItem(resetButtenItem);
TQToolTip::add(m_resetButton, resetButtenItem.toolTip());
- connect(m_budgetList, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)),
- this, TQT_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
- connect(m_budgetList, TQT_SIGNAL(itemRenamed(TQListViewItem*,int,const TQString&)), this, TQT_SLOT(slotRenameBudget(TQListViewItem*,int,const TQString&)));
- connect(m_budgetList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectBudget()));
+ connect(m_budgetList, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)),
+ this, TQ_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(m_budgetList, TQ_SIGNAL(itemRenamed(TQListViewItem*,int,const TQString&)), this, TQ_SLOT(slotRenameBudget(TQListViewItem*,int,const TQString&)));
+ connect(m_budgetList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectBudget()));
- connect(m_cbBudgetSubaccounts, TQT_SIGNAL(clicked()), this, TQT_SLOT(cb_includesSubaccounts_clicked()));
+ connect(m_cbBudgetSubaccounts, TQ_SIGNAL(clicked()), this, TQ_SLOT(cb_includesSubaccounts_clicked()));
- connect(m_accountTree, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectAccount(TQListViewItem*)));
- connect(m_accountTree, TQT_SIGNAL(valueChanged()), this, TQT_SLOT(slotRefreshHideUnusedButton()));
+ connect(m_accountTree, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotSelectAccount(TQListViewItem*)));
+ connect(m_accountTree, TQ_SIGNAL(valueChanged()), this, TQ_SLOT(slotRefreshHideUnusedButton()));
// connect the buttons to the actions. Make sure the enabled state
// of the actions is reflected by the buttons
- connect(kmymoney2->action("budget_new"), TQT_SIGNAL(enabled(bool)), m_newButton, TQT_SLOT(setEnabled(bool)));
- connect(m_renameButton, TQT_SIGNAL(clicked()), kmymoney2->action("budget_rename"), TQT_SLOT(activate()));
- connect(kmymoney2->action("budget_rename"), TQT_SIGNAL(enabled(bool)), m_renameButton, TQT_SLOT(setEnabled(bool)));
- connect(m_deleteButton, TQT_SIGNAL(clicked()), kmymoney2->action("budget_delete"), TQT_SLOT(activate()));
- connect(kmymoney2->action("budget_delete"), TQT_SIGNAL(enabled(bool)), m_deleteButton, TQT_SLOT(setEnabled(bool)));
+ connect(kmymoney2->action("budget_new"), TQ_SIGNAL(enabled(bool)), m_newButton, TQ_SLOT(setEnabled(bool)));
+ connect(m_renameButton, TQ_SIGNAL(clicked()), kmymoney2->action("budget_rename"), TQ_SLOT(activate()));
+ connect(kmymoney2->action("budget_rename"), TQ_SIGNAL(enabled(bool)), m_renameButton, TQ_SLOT(setEnabled(bool)));
+ connect(m_deleteButton, TQ_SIGNAL(clicked()), kmymoney2->action("budget_delete"), TQ_SLOT(activate()));
+ connect(kmymoney2->action("budget_delete"), TQ_SIGNAL(enabled(bool)), m_deleteButton, TQ_SLOT(setEnabled(bool)));
- connect(m_budgetValue, TQT_SIGNAL(valuesChanged()), this, TQT_SLOT(slotBudgetedAmountChanged()));
+ connect(m_budgetValue, TQ_SIGNAL(valuesChanged()), this, TQ_SLOT(slotBudgetedAmountChanged()));
- connect(m_newButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewBudget()));
- connect(m_updateButton, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotUpdateBudget()));
- connect(m_resetButton, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotResetBudget()));
+ connect(m_newButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewBudget()));
+ connect(m_updateButton, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotUpdateBudget()));
+ connect(m_resetButton, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotResetBudget()));
- connect(m_hideUnusedButton, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotHideUnused(bool)));
+ connect(m_hideUnusedButton, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotHideUnused(bool)));
// setup initial state
m_newButton->setEnabled(kmymoney2->action("budget_new")->isEnabled());
m_renameButton->setEnabled(kmymoney2->action("budget_rename")->isEnabled());
m_deleteButton->setEnabled(kmymoney2->action("budget_delete")->isEnabled());
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotRefreshView()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotRefreshView()));
}
KBudgetView::~KBudgetView()
@@ -182,7 +182,7 @@ KBudgetView::~KBudgetView()
void KBudgetView::show()
{
- TQTimer::singleShot(50, this, TQT_SLOT(slotRearrange()));
+ TQTimer::singleShot(50, this, TQ_SLOT(slotRearrange()));
TQWidget::show();
if(m_needReload) {
slotRefreshView();
@@ -303,7 +303,7 @@ void KBudgetView::slotRefreshView(void)
{
if(isVisible()) {
if(m_inSelection)
- TQTimer::singleShot(0, this, TQT_SLOT(slotRefreshView()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotRefreshView()));
else {
loadBudgets();
m_needReload = false;
diff --git a/kmymoney2/views/kcategoriesview.cpp b/kmymoney2/views/kcategoriesview.cpp
index 1cdd00e..e40738a 100644
--- a/kmymoney2/views/kcategoriesview.cpp
+++ b/kmymoney2/views/kcategoriesview.cpp
@@ -79,15 +79,15 @@ KCategoriesView::KCategoriesView(TQWidget *parent, const char *name ) :
m_accountTree->setSectionHeader(i18n("Category"));
- connect(m_accountTree, TQT_SIGNAL(selectObject(const MyMoneyObject&)), this, TQT_SIGNAL(selectObject(const MyMoneyObject&)));
- connect(m_accountTree, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), this, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)));
- connect(m_accountTree, TQT_SIGNAL(valueChanged(void)), this, TQT_SLOT(slotUpdateProfit(void)));
- connect(m_accountTree, TQT_SIGNAL(openObject(const MyMoneyObject&)), this, TQT_SIGNAL(openObject(const MyMoneyObject&)));
- connect(m_accountTree, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), this, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)));
-
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadAccounts()));
- connect(m_collapseButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotExpandCollapse()));
- connect(m_expandButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotExpandCollapse()));
+ connect(m_accountTree, TQ_SIGNAL(selectObject(const MyMoneyObject&)), this, TQ_SIGNAL(selectObject(const MyMoneyObject&)));
+ connect(m_accountTree, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)), this, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)));
+ connect(m_accountTree, TQ_SIGNAL(valueChanged(void)), this, TQ_SLOT(slotUpdateProfit(void)));
+ connect(m_accountTree, TQ_SIGNAL(openObject(const MyMoneyObject&)), this, TQ_SIGNAL(openObject(const MyMoneyObject&)));
+ connect(m_accountTree, TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), this, TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)));
+
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadAccounts()));
+ connect(m_collapseButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotExpandCollapse()));
+ connect(m_expandButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotExpandCollapse()));
}
KCategoriesView::~KCategoriesView()
diff --git a/kmymoney2/views/kforecastview.cpp b/kmymoney2/views/kforecastview.cpp
index 260bfad..958f547 100644
--- a/kmymoney2/views/kforecastview.cpp
+++ b/kmymoney2/views/kforecastview.cpp
@@ -60,11 +60,11 @@ KForecastView::KForecastView(TQWidget *parent, const char *name) :
config->setGroup("Last Use Settings");
m_tab->setCurrentPage(config->readNumEntry("KForecastView_LastType", 0));
- connect(m_tab, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SLOT(slotTabChanged(TQWidget*)));
+ connect(m_tab, TQ_SIGNAL(currentChanged(TQWidget*)), this, TQ_SLOT(slotTabChanged(TQWidget*)));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadForecast()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadForecast()));
- connect(m_forecastButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotManualForecast()));
+ connect(m_forecastButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotManualForecast()));
m_forecastList->setAllColumnsShowFocus(true);
m_summaryList->setAllColumnsShowFocus(true);
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp
index 0b339de..5ba817c 100644
--- a/kmymoney2/views/kgloballedgerview.cpp
+++ b/kmymoney2/views/kgloballedgerview.cpp
@@ -190,10 +190,10 @@ TDEGlobalLedgerView::TDEGlobalLedgerView(TQWidget *parent, const char *name )
m_register = new KMyMoneyRegister::Register(m_registerFrame);
registerFrameLayout->addWidget(m_register);
m_register->installEventFilter(this);
- connect(m_register, TQT_SIGNAL(openContextMenu()), this, TQT_SIGNAL(openContextMenu()));
- connect(m_register, TQT_SIGNAL(headerClicked()), this, TQT_SLOT(slotSortOptions()));
- connect(m_register, TQT_SIGNAL(reconcileStateColumnClicked(KMyMoneyRegister::Transaction*)), this, TQT_SLOT(slotToggleTransactionMark(KMyMoneyRegister::Transaction*)));
- connect(&d->m_viewPosTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotUpdateViewPos()));
+ connect(m_register, TQ_SIGNAL(openContextMenu()), this, TQ_SIGNAL(openContextMenu()));
+ connect(m_register, TQ_SIGNAL(headerClicked()), this, TQ_SLOT(slotSortOptions()));
+ connect(m_register, TQ_SIGNAL(reconcileStateColumnClicked(KMyMoneyRegister::Transaction*)), this, TQ_SLOT(slotToggleTransactionMark(KMyMoneyRegister::Transaction*)));
+ connect(&d->m_viewPosTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotUpdateViewPos()));
// insert search line widget
@@ -241,17 +241,17 @@ TDEGlobalLedgerView::TDEGlobalLedgerView(TQWidget *parent, const char *name )
m_formFrame->setFrameShadow( TQFrame::Raised );
layout()->addWidget(m_formFrame);
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadView()));
- connect(m_register, TQT_SIGNAL(focusChanged(KMyMoneyRegister::Transaction*)), m_form, TQT_SLOT(slotSetTransaction(KMyMoneyRegister::Transaction*)));
- connect(m_register, TQT_SIGNAL(focusChanged()), kmymoney2, TQT_SLOT(slotUpdateActions()));
- connect(m_accountComboBox, TQT_SIGNAL(accountSelected(const TQString&)), this, TQT_SLOT(slotSelectAccount(const TQString&)));
- connect(m_register, TQT_SIGNAL(selectionChanged(const KMyMoneyRegister::SelectedTransactions&)), this, TQT_SIGNAL(transactionsSelected(const KMyMoneyRegister::SelectedTransactions&)));
- connect(m_register, TQT_SIGNAL(editTransaction()), this, TQT_SIGNAL(startEdit()));
- connect(m_register, TQT_SIGNAL(emptyItemSelected()), this, TQT_SLOT(slotNewTransaction()));
- connect(m_register, TQT_SIGNAL(aboutToSelectItem(KMyMoneyRegister::RegisterItem*, bool&)), this, TQT_SLOT(slotAboutToSelectItem(KMyMoneyRegister::RegisterItem*, bool&)));
- connect(d->m_mousePressFilter, TQT_SIGNAL(mousePressedOnExternalWidget(bool&)), this, TQT_SIGNAL(cancelOrEndEdit(bool&)));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadView()));
+ connect(m_register, TQ_SIGNAL(focusChanged(KMyMoneyRegister::Transaction*)), m_form, TQ_SLOT(slotSetTransaction(KMyMoneyRegister::Transaction*)));
+ connect(m_register, TQ_SIGNAL(focusChanged()), kmymoney2, TQ_SLOT(slotUpdateActions()));
+ connect(m_accountComboBox, TQ_SIGNAL(accountSelected(const TQString&)), this, TQ_SLOT(slotSelectAccount(const TQString&)));
+ connect(m_register, TQ_SIGNAL(selectionChanged(const KMyMoneyRegister::SelectedTransactions&)), this, TQ_SIGNAL(transactionsSelected(const KMyMoneyRegister::SelectedTransactions&)));
+ connect(m_register, TQ_SIGNAL(editTransaction()), this, TQ_SIGNAL(startEdit()));
+ connect(m_register, TQ_SIGNAL(emptyItemSelected()), this, TQ_SLOT(slotNewTransaction()));
+ connect(m_register, TQ_SIGNAL(aboutToSelectItem(KMyMoneyRegister::RegisterItem*, bool&)), this, TQ_SLOT(slotAboutToSelectItem(KMyMoneyRegister::RegisterItem*, bool&)));
+ connect(d->m_mousePressFilter, TQ_SIGNAL(mousePressedOnExternalWidget(bool&)), this, TQ_SIGNAL(cancelOrEndEdit(bool&)));
- connect(m_form, TQT_SIGNAL(newTransaction(KMyMoneyRegister::Action)), this, TQT_SLOT(slotNewTransaction(KMyMoneyRegister::Action)));
+ connect(m_form, TQ_SIGNAL(newTransaction(KMyMoneyRegister::Action)), this, TQ_SLOT(slotNewTransaction(KMyMoneyRegister::Action)));
// setup mouse press filter
d->m_mousePressFilter->addWidget(m_formFrame);
@@ -1125,19 +1125,19 @@ TransactionEditor* TDEGlobalLedgerView::startEdit(const KMyMoneyRegister::Select
}
m_inEditMode = true;
- connect(editor, TQT_SIGNAL(transactionDataSufficient(bool)), kmymoney2->action("transaction_enter"), TQT_SLOT(setEnabled(bool)));
- connect(editor, TQT_SIGNAL(returnPressed()), kmymoney2->action("transaction_enter"), TQT_SLOT(activate()));
- connect(editor, TQT_SIGNAL(escapePressed()), kmymoney2->action("transaction_cancel"), TQT_SLOT(activate()));
+ connect(editor, TQ_SIGNAL(transactionDataSufficient(bool)), kmymoney2->action("transaction_enter"), TQ_SLOT(setEnabled(bool)));
+ connect(editor, TQ_SIGNAL(returnPressed()), kmymoney2->action("transaction_enter"), TQ_SLOT(activate()));
+ connect(editor, TQ_SIGNAL(escapePressed()), kmymoney2->action("transaction_cancel"), TQ_SLOT(activate()));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), editor, TQT_SLOT(slotReloadEditWidgets()));
- connect(editor, TQT_SIGNAL(finishEdit(const KMyMoneyRegister::SelectedTransactions&)), this, TQT_SLOT(slotLeaveEditMode(const KMyMoneyRegister::SelectedTransactions&)));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), editor, TQ_SLOT(slotReloadEditWidgets()));
+ connect(editor, TQ_SIGNAL(finishEdit(const KMyMoneyRegister::SelectedTransactions&)), this, TQ_SLOT(slotLeaveEditMode(const KMyMoneyRegister::SelectedTransactions&)));
- connect(editor, TQT_SIGNAL(objectCreation(bool)), d->m_mousePressFilter, TQT_SLOT(setFilterDeactive(bool)));
- connect(editor, TQT_SIGNAL(createPayee(const TQString&, TQString&)), kmymoney2, TQT_SLOT(slotPayeeNew(const TQString&, TQString&)));
- connect(editor, TQT_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotCategoryNew(MyMoneyAccount&, const MyMoneyAccount&)));
- connect(editor, TQT_SIGNAL(createSecurity(MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotInvestmentNew(MyMoneyAccount&, const MyMoneyAccount&)));
- connect(editor, TQT_SIGNAL(assignNumber(void)), kmymoney2, TQT_SLOT(slotTransactionAssignNumber()));
- connect(editor, TQT_SIGNAL(lastPostDateUsed(const TQDate&)), this, TQT_SLOT(slotKeepPostDate(const TQDate&)));
+ connect(editor, TQ_SIGNAL(objectCreation(bool)), d->m_mousePressFilter, TQ_SLOT(setFilterDeactive(bool)));
+ connect(editor, TQ_SIGNAL(createPayee(const TQString&, TQString&)), kmymoney2, TQ_SLOT(slotPayeeNew(const TQString&, TQString&)));
+ connect(editor, TQ_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQ_SLOT(slotCategoryNew(MyMoneyAccount&, const MyMoneyAccount&)));
+ connect(editor, TQ_SIGNAL(createSecurity(MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQ_SLOT(slotInvestmentNew(MyMoneyAccount&, const MyMoneyAccount&)));
+ connect(editor, TQ_SIGNAL(assignNumber(void)), kmymoney2, TQ_SLOT(slotTransactionAssignNumber()));
+ connect(editor, TQ_SIGNAL(lastPostDateUsed(const TQDate&)), this, TQ_SLOT(slotKeepPostDate(const TQDate&)));
// create the widgets, place them in the parent and load them with data
// setup tab order
@@ -1162,7 +1162,7 @@ TransactionEditor* TDEGlobalLedgerView::startEdit(const KMyMoneyRegister::Select
focusWidget = m_tabOrderWidgets.first();
// for some reason, this only works reliably if delayed a bit
- TQTimer::singleShot(10, focusWidget, TQT_SLOT(setFocus()));
+ TQTimer::singleShot(10, focusWidget, TQ_SLOT(setFocus()));
// preset to 'I have no idea which type to create' for the next round.
d->m_action = KMyMoneyRegister::ActionNone;
diff --git a/kmymoney2/views/khomeview.cpp b/kmymoney2/views/khomeview.cpp
index b8d685d..093491f 100644
--- a/kmymoney2/views/khomeview.cpp
+++ b/kmymoney2/views/khomeview.cpp
@@ -124,10 +124,10 @@ KHomeView::KHomeView(TQWidget *parent, const char *name ) :
m_filename = KMyMoneyUtils::findResource("appdata", TQString("html/home%1.html"));
// m_part->openURL(m_filename);
- connect(m_part->browserExtension(), TQT_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)),
- this, TQT_SLOT(slotOpenURL(const KURL&, const KParts::URLArgs&)));
+ connect(m_part->browserExtension(), TQ_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)),
+ this, TQ_SLOT(slotOpenURL(const KURL&, const KParts::URLArgs&)));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadView()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadView()));
}
KHomeView::~KHomeView()
@@ -1136,19 +1136,19 @@ void KHomeView::slotOpenURL(const KURL &url, const KParts::URLArgs& /* args */)
emit scheduleSelected(id);
TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw);
- TQTimer::singleShot(0, mw->actionCollection()->action("schedule_enter"), TQT_SLOT(activate()));
+ TQTimer::singleShot(0, mw->actionCollection()->action("schedule_enter"), TQ_SLOT(activate()));
} else if(mode == "edit") {
emit scheduleSelected(id);
TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw);
- TQTimer::singleShot(0, mw->actionCollection()->action("schedule_edit"), TQT_SLOT(activate()));
+ TQTimer::singleShot(0, mw->actionCollection()->action("schedule_edit"), TQ_SLOT(activate()));
} else if(mode == "skip") {
emit scheduleSelected(id);
TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw);
- TQTimer::singleShot(0, mw->actionCollection()->action("schedule_skip"), TQT_SLOT(activate()));
+ TQTimer::singleShot(0, mw->actionCollection()->action("schedule_skip"), TQ_SLOT(activate()));
} else if(mode == "full") {
m_showAllSchedules = true;
@@ -1177,7 +1177,7 @@ void KHomeView::slotOpenURL(const KURL &url, const KParts::URLArgs& /* args */)
} else if(view == "action") {
TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw);
- TQTimer::singleShot(0, mw->actionCollection()->action(id.utf8()), TQT_SLOT(activate()));
+ TQTimer::singleShot(0, mw->actionCollection()->action(id.utf8()), TQ_SLOT(activate()));
} else if(view == VIEW_HOME) {
TQValueList<MyMoneyAccount> list;
diff --git a/kmymoney2/views/kinstitutionsview.cpp b/kmymoney2/views/kinstitutionsview.cpp
index 3c8adef..b976fe5 100644
--- a/kmymoney2/views/kinstitutionsview.cpp
+++ b/kmymoney2/views/kinstitutionsview.cpp
@@ -46,13 +46,13 @@ KInstitutionsView::KInstitutionsView(TQWidget *parent, const char *name) :
{
m_accountTree->header()->setLabel(0, i18n("Institution/Account"));
- connect(m_accountTree, TQT_SIGNAL(selectObject(const MyMoneyObject&)), this, TQT_SIGNAL(selectObject(const MyMoneyObject&)));
- connect(m_accountTree, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), this, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)));
- connect(m_accountTree, TQT_SIGNAL(valueChanged(void)), this, TQT_SLOT(slotUpdateNetWorth(void)));
- connect(m_accountTree, TQT_SIGNAL(openObject(const MyMoneyObject&)), this, TQT_SIGNAL(openObject(const MyMoneyObject&)));
- connect(m_accountTree, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&)), this, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&)));
+ connect(m_accountTree, TQ_SIGNAL(selectObject(const MyMoneyObject&)), this, TQ_SIGNAL(selectObject(const MyMoneyObject&)));
+ connect(m_accountTree, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)), this, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)));
+ connect(m_accountTree, TQ_SIGNAL(valueChanged(void)), this, TQ_SLOT(slotUpdateNetWorth(void)));
+ connect(m_accountTree, TQ_SIGNAL(openObject(const MyMoneyObject&)), this, TQ_SIGNAL(openObject(const MyMoneyObject&)));
+ connect(m_accountTree, TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&)), this, TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&)));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadAccounts()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadAccounts()));
}
KInstitutionsView::~KInstitutionsView()
diff --git a/kmymoney2/views/kinvestmentview.cpp b/kmymoney2/views/kinvestmentview.cpp
index 5919775..36f93c5 100644
--- a/kmymoney2/views/kinvestmentview.cpp
+++ b/kmymoney2/views/kinvestmentview.cpp
@@ -90,16 +90,16 @@ KInvestmentView::KInvestmentView(TQWidget *parent, const char *name) :
m_table->setShowSortIndicator(true);
m_table->restoreLayout(TDEGlobal::config(), "Investment Settings");
- connect(m_table, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)),
- this, TQT_SLOT(slotListContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
- connect(m_table, TQT_SIGNAL(selectionChanged(TQListViewItem *)), this, TQT_SLOT(slotSelectionChanged(TQListViewItem *)));
+ connect(m_table, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)),
+ this, TQ_SLOT(slotListContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(m_table, TQ_SIGNAL(selectionChanged(TQListViewItem *)), this, TQ_SLOT(slotSelectionChanged(TQListViewItem *)));
- connect(m_accountComboBox, TQT_SIGNAL(accountSelected(const TQString&)),
- this, TQT_SLOT(slotSelectAccount(const TQString&)));
+ connect(m_accountComboBox, TQ_SIGNAL(accountSelected(const TQString&)),
+ this, TQ_SLOT(slotSelectAccount(const TQString&)));
- connect(m_table, TQT_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&, int)), kmymoney2->action("investment_edit"), TQT_SLOT(activate()));
+ connect(m_table, TQ_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&, int)), kmymoney2->action("investment_edit"), TQ_SLOT(activate()));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadView()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadView()));
}
KInvestmentView::~KInvestmentView()
diff --git a/kmymoney2/views/kmymoneyview.cpp b/kmymoney2/views/kmymoneyview.cpp
index c4aea34..985e41b 100644
--- a/kmymoney2/views/kmymoneyview.cpp
+++ b/kmymoney2/views/kmymoneyview.cpp
@@ -137,100 +137,100 @@ KMyMoneyView::KMyMoneyView(TQWidget *parent, const char *name)
DesktopIcon("home", iconSize));
m_homeView = new KHomeView(m_homeViewFrame, "HomeView");
- connect(m_homeView, TQT_SIGNAL(ledgerSelected(const TQString&, const TQString&)),
- this, TQT_SLOT(slotLedgerSelected(const TQString&, const TQString&)));
- connect(m_homeView, TQT_SIGNAL(scheduleSelected(const TQString&)),
- this, TQT_SLOT(slotScheduleSelected(const TQString&)));
- connect(m_homeView, TQT_SIGNAL(reportSelected(const TQString&)),
- this, TQT_SLOT(slotShowReport(const TQString&)));
+ connect(m_homeView, TQ_SIGNAL(ledgerSelected(const TQString&, const TQString&)),
+ this, TQ_SLOT(slotLedgerSelected(const TQString&, const TQString&)));
+ connect(m_homeView, TQ_SIGNAL(scheduleSelected(const TQString&)),
+ this, TQ_SLOT(slotScheduleSelected(const TQString&)));
+ connect(m_homeView, TQ_SIGNAL(reportSelected(const TQString&)),
+ this, TQ_SLOT(slotShowReport(const TQString&)));
// Page 1
m_institutionsViewFrame = addVBoxPage( i18n("Institutions"), i18n("Institutions"),
DesktopIcon("institutions", iconSize));
addTitleBar(m_institutionsViewFrame, i18n("Institutions"));
m_institutionsView = new KInstitutionsView(m_institutionsViewFrame, "InstitutionsView");
- connect(m_institutionsView, TQT_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotSelectAccount(const MyMoneyObject&)));
- connect(m_institutionsView, TQT_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotSelectInstitution(const MyMoneyObject&)));
- connect(m_institutionsView, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotShowAccountContextMenu(const MyMoneyObject&)));
- connect(m_institutionsView, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotShowInstitutionContextMenu(const MyMoneyObject&)));
- connect(m_institutionsView, TQT_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotInstitutionEdit(const MyMoneyObject&)));
- connect(m_institutionsView, TQT_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotAccountOpen(const MyMoneyObject&)));
- connect(m_institutionsView, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&)), kmymoney2, TQT_SLOT(slotReparentAccount(const MyMoneyAccount&, const MyMoneyInstitution&)));
- connect(this, TQT_SIGNAL(reconciliationStarts(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)), m_institutionsView, TQT_SLOT(slotReconcileAccount(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)));
+ connect(m_institutionsView, TQ_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotSelectAccount(const MyMoneyObject&)));
+ connect(m_institutionsView, TQ_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotSelectInstitution(const MyMoneyObject&)));
+ connect(m_institutionsView, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotShowAccountContextMenu(const MyMoneyObject&)));
+ connect(m_institutionsView, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotShowInstitutionContextMenu(const MyMoneyObject&)));
+ connect(m_institutionsView, TQ_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotInstitutionEdit(const MyMoneyObject&)));
+ connect(m_institutionsView, TQ_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotAccountOpen(const MyMoneyObject&)));
+ connect(m_institutionsView, TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyInstitution&)), kmymoney2, TQ_SLOT(slotReparentAccount(const MyMoneyAccount&, const MyMoneyInstitution&)));
+ connect(this, TQ_SIGNAL(reconciliationStarts(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)), m_institutionsView, TQ_SLOT(slotReconcileAccount(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)));
// Page 2
m_accountsViewFrame = addVBoxPage( i18n("Accounts"), i18n("Accounts"),
DesktopIcon("accounts", iconSize));
addTitleBar(m_accountsViewFrame, i18n("Accounts"));
m_accountsView = new KAccountsView(m_accountsViewFrame, "AccountsView");
- connect(m_accountsView, TQT_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotSelectAccount(const MyMoneyObject&)));
- connect(m_accountsView, TQT_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotSelectInstitution(const MyMoneyObject&)));
- connect(m_accountsView, TQT_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotSelectInvestment(const MyMoneyObject&)));
- connect(m_accountsView, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotShowAccountContextMenu(const MyMoneyObject&)));
- connect(m_accountsView, TQT_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotAccountOpen(const MyMoneyObject&)));
- connect(m_accountsView, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotReparentAccount(const MyMoneyAccount&, const MyMoneyAccount&)));
- connect(this, TQT_SIGNAL(kmmFilePlugin(unsigned int)), m_accountsView, TQT_SLOT(slotUpdateIconPos(unsigned int)));
- connect(this, TQT_SIGNAL(reconciliationStarts(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)), m_accountsView, TQT_SLOT(slotReconcileAccount(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)));
+ connect(m_accountsView, TQ_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotSelectAccount(const MyMoneyObject&)));
+ connect(m_accountsView, TQ_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotSelectInstitution(const MyMoneyObject&)));
+ connect(m_accountsView, TQ_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotSelectInvestment(const MyMoneyObject&)));
+ connect(m_accountsView, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotShowAccountContextMenu(const MyMoneyObject&)));
+ connect(m_accountsView, TQ_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotAccountOpen(const MyMoneyObject&)));
+ connect(m_accountsView, TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQ_SLOT(slotReparentAccount(const MyMoneyAccount&, const MyMoneyAccount&)));
+ connect(this, TQ_SIGNAL(kmmFilePlugin(unsigned int)), m_accountsView, TQ_SLOT(slotUpdateIconPos(unsigned int)));
+ connect(this, TQ_SIGNAL(reconciliationStarts(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)), m_accountsView, TQ_SLOT(slotReconcileAccount(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)));
// Page 3
m_scheduleViewFrame = addVBoxPage( i18n("Scheduled\ntransactions"), i18n("Bills & Reminders"),
DesktopIcon("schedule", iconSize));
addTitleBar(m_scheduleViewFrame, i18n("Scheduled transactions"));
m_scheduledView = new KScheduledView(m_scheduleViewFrame, "ScheduledView");
- connect(kmymoney2, TQT_SIGNAL(fileLoaded(const KURL&)), m_scheduledView, TQT_SLOT(slotReloadView()));
- connect(m_scheduledView, TQT_SIGNAL(scheduleSelected(const MyMoneySchedule&)), kmymoney2, TQT_SLOT(slotSelectSchedule(const MyMoneySchedule&)));
- connect(m_scheduledView, TQT_SIGNAL(openContextMenu()), kmymoney2, TQT_SLOT(slotShowScheduleContextMenu()));
- connect(m_scheduledView, TQT_SIGNAL(enterSchedule()), kmymoney2, TQT_SLOT(slotScheduleEnter()));
- connect(m_scheduledView, TQT_SIGNAL(skipSchedule()), kmymoney2, TQT_SLOT(slotScheduleSkip()));
- connect(m_scheduledView, TQT_SIGNAL(editSchedule()), kmymoney2, TQT_SLOT(slotScheduleEdit()));
+ connect(kmymoney2, TQ_SIGNAL(fileLoaded(const KURL&)), m_scheduledView, TQ_SLOT(slotReloadView()));
+ connect(m_scheduledView, TQ_SIGNAL(scheduleSelected(const MyMoneySchedule&)), kmymoney2, TQ_SLOT(slotSelectSchedule(const MyMoneySchedule&)));
+ connect(m_scheduledView, TQ_SIGNAL(openContextMenu()), kmymoney2, TQ_SLOT(slotShowScheduleContextMenu()));
+ connect(m_scheduledView, TQ_SIGNAL(enterSchedule()), kmymoney2, TQ_SLOT(slotScheduleEnter()));
+ connect(m_scheduledView, TQ_SIGNAL(skipSchedule()), kmymoney2, TQ_SLOT(slotScheduleSkip()));
+ connect(m_scheduledView, TQ_SIGNAL(editSchedule()), kmymoney2, TQ_SLOT(slotScheduleEdit()));
// Page 4
m_categoriesViewFrame = addVBoxPage( i18n("Categories"), i18n("Categories"),
DesktopIcon("categories", iconSize));
addTitleBar(m_categoriesViewFrame, i18n("Categories"));
m_categoriesView = new KCategoriesView(m_categoriesViewFrame, "CategoriesView");
- connect(m_categoriesView, TQT_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotSelectAccount(const MyMoneyObject&)));
- connect(m_categoriesView, TQT_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotSelectInstitution(const MyMoneyObject&)));
- connect(m_categoriesView, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotShowAccountContextMenu(const MyMoneyObject&)));
- connect(m_categoriesView, TQT_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotAccountOpen(const MyMoneyObject&)));
- connect(m_categoriesView, TQT_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQT_SLOT(slotReparentAccount(const MyMoneyAccount&, const MyMoneyAccount&)));
+ connect(m_categoriesView, TQ_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotSelectAccount(const MyMoneyObject&)));
+ connect(m_categoriesView, TQ_SIGNAL(selectObject(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotSelectInstitution(const MyMoneyObject&)));
+ connect(m_categoriesView, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotShowAccountContextMenu(const MyMoneyObject&)));
+ connect(m_categoriesView, TQ_SIGNAL(openObject(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotAccountOpen(const MyMoneyObject&)));
+ connect(m_categoriesView, TQ_SIGNAL(reparent(const MyMoneyAccount&, const MyMoneyAccount&)), kmymoney2, TQ_SLOT(slotReparentAccount(const MyMoneyAccount&, const MyMoneyAccount&)));
// Page 5
m_payeesViewFrame = addVBoxPage( i18n("Payees"), i18n("Payees"),
DesktopIcon("payee", iconSize));
addTitleBar(m_payeesViewFrame, i18n("Payees"));
m_payeesView = new KPayeesView(m_payeesViewFrame, "PayeesView");
- connect(kmymoney2, TQT_SIGNAL(payeeCreated(const TQString&)), m_payeesView, TQT_SLOT(slotSelectPayeeAndTransaction(const TQString&)));
- connect(kmymoney2, TQT_SIGNAL(payeeRename()), m_payeesView, TQT_SLOT(slotStartRename()));
- connect(m_payeesView, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotShowPayeeContextMenu()));
- connect(m_payeesView, TQT_SIGNAL(selectObjects(const TQValueList<MyMoneyPayee>&)), kmymoney2, TQT_SLOT(slotSelectPayees(const TQValueList<MyMoneyPayee>&)));
- connect(m_payeesView, TQT_SIGNAL(transactionSelected(const TQString&, const TQString&)),
- this, TQT_SLOT(slotLedgerSelected(const TQString&, const TQString&)));
+ connect(kmymoney2, TQ_SIGNAL(payeeCreated(const TQString&)), m_payeesView, TQ_SLOT(slotSelectPayeeAndTransaction(const TQString&)));
+ connect(kmymoney2, TQ_SIGNAL(payeeRename()), m_payeesView, TQ_SLOT(slotStartRename()));
+ connect(m_payeesView, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotShowPayeeContextMenu()));
+ connect(m_payeesView, TQ_SIGNAL(selectObjects(const TQValueList<MyMoneyPayee>&)), kmymoney2, TQ_SLOT(slotSelectPayees(const TQValueList<MyMoneyPayee>&)));
+ connect(m_payeesView, TQ_SIGNAL(transactionSelected(const TQString&, const TQString&)),
+ this, TQ_SLOT(slotLedgerSelected(const TQString&, const TQString&)));
// Page 6
m_ledgerViewFrame = addVBoxPage( i18n("Ledgers"), i18n("Ledgers"),
DesktopIcon("ledger", iconSize));
m_ledgerView = new TDEGlobalLedgerView(m_ledgerViewFrame, "GlobalLedgerView");
- connect(m_ledgerView, TQT_SIGNAL(accountSelected(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotSelectAccount(const MyMoneyObject&)));
- connect(m_ledgerView, TQT_SIGNAL(openContextMenu()), kmymoney2, TQT_SLOT(slotShowTransactionContextMenu()));
- connect(m_ledgerView, TQT_SIGNAL(transactionsSelected(const KMyMoneyRegister::SelectedTransactions&)), kmymoney2, TQT_SLOT(slotSelectTransactions(const KMyMoneyRegister::SelectedTransactions&)));
- connect(m_ledgerView, TQT_SIGNAL(newTransaction()), kmymoney2, TQT_SLOT(slotTransactionsNew()));
- connect(m_ledgerView, TQT_SIGNAL(cancelOrEndEdit(bool&)), kmymoney2, TQT_SLOT(slotTransactionsCancelOrEnter(bool&)));
- connect(m_ledgerView, TQT_SIGNAL(startEdit()), kmymoney2, TQT_SLOT(slotTransactionsEdit()));
- connect(m_ledgerView, TQT_SIGNAL(endEdit()), kmymoney2, TQT_SLOT(slotTransactionsEnter()));
- connect(m_ledgerView, TQT_SIGNAL(toggleReconciliationFlag()), kmymoney2, TQT_SLOT(slotToggleReconciliationFlag()));
- connect(this, TQT_SIGNAL(reconciliationStarts(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)), m_ledgerView, TQT_SLOT(slotSetReconcileAccount(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)));
- connect(kmymoney2, TQT_SIGNAL(selectAllTransactions()), m_ledgerView, TQT_SLOT(slotSelectAllTransactions()));
+ connect(m_ledgerView, TQ_SIGNAL(accountSelected(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotSelectAccount(const MyMoneyObject&)));
+ connect(m_ledgerView, TQ_SIGNAL(openContextMenu()), kmymoney2, TQ_SLOT(slotShowTransactionContextMenu()));
+ connect(m_ledgerView, TQ_SIGNAL(transactionsSelected(const KMyMoneyRegister::SelectedTransactions&)), kmymoney2, TQ_SLOT(slotSelectTransactions(const KMyMoneyRegister::SelectedTransactions&)));
+ connect(m_ledgerView, TQ_SIGNAL(newTransaction()), kmymoney2, TQ_SLOT(slotTransactionsNew()));
+ connect(m_ledgerView, TQ_SIGNAL(cancelOrEndEdit(bool&)), kmymoney2, TQ_SLOT(slotTransactionsCancelOrEnter(bool&)));
+ connect(m_ledgerView, TQ_SIGNAL(startEdit()), kmymoney2, TQ_SLOT(slotTransactionsEdit()));
+ connect(m_ledgerView, TQ_SIGNAL(endEdit()), kmymoney2, TQ_SLOT(slotTransactionsEnter()));
+ connect(m_ledgerView, TQ_SIGNAL(toggleReconciliationFlag()), kmymoney2, TQ_SLOT(slotToggleReconciliationFlag()));
+ connect(this, TQ_SIGNAL(reconciliationStarts(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)), m_ledgerView, TQ_SLOT(slotSetReconcileAccount(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&)));
+ connect(kmymoney2, TQ_SIGNAL(selectAllTransactions()), m_ledgerView, TQ_SLOT(slotSelectAllTransactions()));
// Page 7
m_investmentViewFrame = addVBoxPage( i18n("Investments"), i18n("Investments"),
DesktopIcon("investments", iconSize));
addTitleBar(m_investmentViewFrame, i18n("Investments"));
m_investmentView = new KInvestmentView(m_investmentViewFrame, "InvestmentView");
- connect(m_investmentView, TQT_SIGNAL(accountSelected(const TQString&, const TQString&)),
- this, TQT_SLOT(slotLedgerSelected(const TQString&, const TQString&)));
- connect(m_investmentView, TQT_SIGNAL(accountSelected(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotSelectAccount(const MyMoneyObject&)));
- connect(m_investmentView, TQT_SIGNAL(investmentRightMouseClick()), kmymoney2, TQT_SLOT(slotShowInvestmentContextMenu()));
+ connect(m_investmentView, TQ_SIGNAL(accountSelected(const TQString&, const TQString&)),
+ this, TQ_SLOT(slotLedgerSelected(const TQString&, const TQString&)));
+ connect(m_investmentView, TQ_SIGNAL(accountSelected(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotSelectAccount(const MyMoneyObject&)));
+ connect(m_investmentView, TQ_SIGNAL(investmentRightMouseClick()), kmymoney2, TQ_SLOT(slotShowInvestmentContextMenu()));
// Page 8
m_reportsViewFrame = addVBoxPage(i18n("Reports"), i18n("Reports"),
@@ -242,10 +242,10 @@ KMyMoneyView::KMyMoneyView(TQWidget *parent, const char *name)
DesktopIcon("budget", iconSize));
addTitleBar(m_budgetViewFrame, i18n("Budgets"));
m_budgetView = new KBudgetView(m_budgetViewFrame, "BudgetView");
- connect(kmymoney2, TQT_SIGNAL(fileLoaded(const KURL&)), m_budgetView, TQT_SLOT(slotRefreshView()));
- connect(m_budgetView, TQT_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQT_SLOT(slotShowBudgetContextMenu()));
- connect(m_budgetView, TQT_SIGNAL(selectObjects(const TQValueList<MyMoneyBudget>&)), kmymoney2, TQT_SLOT(slotSelectBudget(const TQValueList<MyMoneyBudget>&)));
- connect(kmymoney2, TQT_SIGNAL(budgetRename()), m_budgetView, TQT_SLOT(slotStartRename()));
+ connect(kmymoney2, TQ_SIGNAL(fileLoaded(const KURL&)), m_budgetView, TQ_SLOT(slotRefreshView()));
+ connect(m_budgetView, TQ_SIGNAL(openContextMenu(const MyMoneyObject&)), kmymoney2, TQ_SLOT(slotShowBudgetContextMenu()));
+ connect(m_budgetView, TQ_SIGNAL(selectObjects(const TQValueList<MyMoneyBudget>&)), kmymoney2, TQ_SLOT(slotSelectBudget(const TQValueList<MyMoneyBudget>&)));
+ connect(kmymoney2, TQ_SIGNAL(budgetRename()), m_budgetView, TQ_SLOT(slotStartRename()));
// Page 10
m_forecastViewFrame = addVBoxPage( i18n("Forecast"), i18n("Forecast"),
@@ -266,7 +266,7 @@ KMyMoneyView::KMyMoneyView(TQWidget *parent, const char *name)
// select the page first, before connecting the aboutToShow signal
// because we don't want to override the information stored in the config file
showPage(0);
- connect(this, TQT_SIGNAL(aboutToShowPage(TQWidget*)), this, TQT_SLOT(slotRememberPage(TQWidget*)));
+ connect(this, TQ_SIGNAL(aboutToShowPage(TQWidget*)), this, TQ_SLOT(slotRememberPage(TQWidget*)));
m_inConstructor = false;
}
@@ -1282,7 +1282,7 @@ void KMyMoneyView::selectBaseCurrency(void)
// check if we have a base currency. If not, we need to select one
if(file->baseCurrency().id().isEmpty()) {
KCurrencyEditDlg dlg(this, "CurrencyEditDlg");
- connect(&dlg, TQT_SIGNAL(selectBaseCurrency(const MyMoneySecurity&)), this, TQT_SLOT(slotSetBaseCurrency(const MyMoneySecurity&)));
+ connect(&dlg, TQ_SIGNAL(selectBaseCurrency(const MyMoneySecurity&)), this, TQ_SLOT(slotSetBaseCurrency(const MyMoneySecurity&)));
dlg.exec();
}
@@ -1591,13 +1591,13 @@ void KMyMoneyView::viewAccountList(const TQString& /*selectAccount*/)
void KMyMoneyView::slotRefreshViews()
{
// turn off sync between ledger and investment view
- disconnect(m_investmentView, TQT_SIGNAL(accountSelected(const MyMoneyObject&)), m_ledgerView, TQT_SLOT(slotSelectAccount(const MyMoneyObject&)));
- disconnect(m_ledgerView, TQT_SIGNAL(accountSelected(const MyMoneyObject&)), m_investmentView, TQT_SLOT(slotSelectAccount(const MyMoneyObject&)));
+ disconnect(m_investmentView, TQ_SIGNAL(accountSelected(const MyMoneyObject&)), m_ledgerView, TQ_SLOT(slotSelectAccount(const MyMoneyObject&)));
+ disconnect(m_ledgerView, TQ_SIGNAL(accountSelected(const MyMoneyObject&)), m_investmentView, TQ_SLOT(slotSelectAccount(const MyMoneyObject&)));
// TODO turn sync between ledger and investment view if selected by user
if(KMyMoneyGlobalSettings::syncLedgerInvestment()) {
- connect(m_investmentView, TQT_SIGNAL(accountSelected(const MyMoneyObject&)), m_ledgerView, TQT_SLOT(slotSelectAccount(const MyMoneyObject&)));
- connect(m_ledgerView, TQT_SIGNAL(accountSelected(const MyMoneyObject&)), m_investmentView, TQT_SLOT(slotSelectAccount(const MyMoneyObject&)));
+ connect(m_investmentView, TQ_SIGNAL(accountSelected(const MyMoneyObject&)), m_ledgerView, TQ_SLOT(slotSelectAccount(const MyMoneyObject&)));
+ connect(m_ledgerView, TQ_SIGNAL(accountSelected(const MyMoneyObject&)), m_investmentView, TQ_SLOT(slotSelectAccount(const MyMoneyObject&)));
}
showTitleBar(KMyMoneyGlobalSettings::showTitleBar());
diff --git a/kmymoney2/views/kpayeesview.cpp b/kmymoney2/views/kpayeesview.cpp
index 3412d66..3d6beff 100644
--- a/kmymoney2/views/kpayeesview.cpp
+++ b/kmymoney2/views/kpayeesview.cpp
@@ -374,39 +374,39 @@ KPayeesView::KPayeesView(TQWidget *parent, const char *name ) :
i18n("Use this to accept the modified data."));
m_updateButton->setGuiItem(updateButtenItem);
- connect(m_payeesList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectPayee()));
- connect(m_payeesList, TQT_SIGNAL(itemRenamed(TQListViewItem*,int,const TQString&)), this, TQT_SLOT(slotRenamePayee(TQListViewItem*,int,const TQString&)));
+ connect(m_payeesList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectPayee()));
+ connect(m_payeesList, TQ_SIGNAL(itemRenamed(TQListViewItem*,int,const TQString&)), this, TQ_SLOT(slotRenamePayee(TQListViewItem*,int,const TQString&)));
- connect(addressEdit, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotPayeeDataChanged()));
- connect(postcodeEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotPayeeDataChanged()));
- connect(telephoneEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotPayeeDataChanged()));
- connect(emailEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotPayeeDataChanged()));
- connect(notesEdit, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotPayeeDataChanged()));
- connect(matchKeyEditList, TQT_SIGNAL(changed()), this, TQT_SLOT(slotKeyListChanged()));
+ connect(addressEdit, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotPayeeDataChanged()));
+ connect(postcodeEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotPayeeDataChanged()));
+ connect(telephoneEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotPayeeDataChanged()));
+ connect(emailEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotPayeeDataChanged()));
+ connect(notesEdit, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotPayeeDataChanged()));
+ connect(matchKeyEditList, TQ_SIGNAL(changed()), this, TQ_SLOT(slotKeyListChanged()));
- connect(radioNoMatch, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotPayeeDataChanged()));
- connect(radioNameMatch, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotPayeeDataChanged()));
- connect(radioKeyMatch, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotPayeeDataChanged()));
- connect(checkMatchIgnoreCase, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotPayeeDataChanged()));
+ connect(radioNoMatch, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotPayeeDataChanged()));
+ connect(radioNameMatch, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotPayeeDataChanged()));
+ connect(radioKeyMatch, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotPayeeDataChanged()));
+ connect(checkMatchIgnoreCase, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotPayeeDataChanged()));
- connect(checkEnableDefaultAccount, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotPayeeDataChanged()));
- connect(comboDefaultAccount, TQT_SIGNAL(accountSelected(const TQString&)), this, TQT_SLOT(slotPayeeDataChanged()));
- connect(buttonSelectMyAccount, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotChooseDefaultAccount()));
+ connect(checkEnableDefaultAccount, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotPayeeDataChanged()));
+ connect(comboDefaultAccount, TQ_SIGNAL(accountSelected(const TQString&)), this, TQ_SLOT(slotPayeeDataChanged()));
+ connect(buttonSelectMyAccount, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotChooseDefaultAccount()));
- connect(m_updateButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUpdatePayee()));
- connect(m_helpButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelp()));
+ connect(m_updateButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotUpdatePayee()));
+ connect(m_helpButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotHelp()));
- connect(m_payeesList, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)), this, TQT_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(m_payeesList, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)), this, TQ_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
-// connect(m_payeesList, TQT_SIGNAL(rightButtonClicked(TQListViewItem* , const TQPoint&, int)),
-// this, TQT_SLOT(slotOpenContextMenu(TQListViewItem*)));
+// connect(m_payeesList, TQ_SIGNAL(rightButtonClicked(TQListViewItem* , const TQPoint&, int)),
+// this, TQ_SLOT(slotOpenContextMenu(TQListViewItem*)));
- connect(m_transactionView, TQT_SIGNAL(doubleClicked(TQListViewItem*)),
- this, TQT_SLOT(slotTransactionDoubleClicked(TQListViewItem*)));
+ connect(m_transactionView, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
+ this, TQ_SLOT(slotTransactionDoubleClicked(TQListViewItem*)));
- connect(m_tabWidget, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SLOT(rearrange(void)));
+ connect(m_tabWidget, TQ_SIGNAL(currentChanged(TQWidget*)), this, TQ_SLOT(rearrange(void)));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadPayees()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadPayees()));
}
KPayeesView::~KPayeesView()
@@ -422,7 +422,7 @@ void KPayeesView::slotQueueUpdate(void)
m_updatesQueued++;
// The TDEListViewSearchLineWidget has an internal timer for update purposes
// of 200 ms, so we should be safe with 250 ms here
- TQTimer::singleShot(250, this, TQT_SLOT(slotActivateUpdate()));
+ TQTimer::singleShot(250, this, TQ_SLOT(slotActivateUpdate()));
}
void KPayeesView::slotActivateUpdate(void)
@@ -766,7 +766,7 @@ void KPayeesView::showTransactions(void)
// is incorrect. If the widget is visible, resizing works correctly.
// So, we let the dialog show up and resize it then. It's not really
// clean, but the only way I got the damned thing working.
- TQTimer::singleShot(50, this, TQT_SLOT(rearrange()));
+ TQTimer::singleShot(50, this, TQ_SLOT(rearrange()));
}
void KPayeesView::slotKeyListChanged(void)
@@ -907,7 +907,7 @@ void KPayeesView::show(void)
// If you want to learn about the details, see the source of TDEListViewSearchLineWidget's
// constructor
if(m_needConnection) {
- connect(m_searchWidget->searchLine(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotQueueUpdate(void)));
+ connect(m_searchWidget->searchLine(), TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotQueueUpdate(void)));
m_needConnection = false;
}
@@ -917,7 +917,7 @@ void KPayeesView::show(void)
}
// fixup the layout
- TQTimer::singleShot(0, this, TQT_SLOT(rearrange()));
+ TQTimer::singleShot(0, this, TQ_SLOT(rearrange()));
// don't forget base class implementation
KPayeesViewDecl::show();
@@ -931,7 +931,7 @@ void KPayeesView::slotLoadPayees(void)
{
if(isVisible()) {
if(m_inSelection)
- TQTimer::singleShot(0, this, TQT_SLOT(slotLoadPayees()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotLoadPayees()));
else
loadPayees();
} else {
diff --git a/kmymoney2/views/kreportsview.cpp b/kmymoney2/views/kreportsview.cpp
index 386e56f..4ebca1d 100644
--- a/kmymoney2/views/kreportsview.cpp
+++ b/kmymoney2/views/kreportsview.cpp
@@ -331,16 +331,16 @@ KReportsView::KReportsView(TQWidget *parent, const char *name ) :
m_reportListView->setRootIsDecorated(true);
m_reportListView->setShadeSortColumn(false);
- connect( m_reportTabWidget, TQT_SIGNAL(closeRequest(TQWidget*)),
- this, TQT_SLOT(slotClose(TQWidget*)) );
- connect(m_reportListView, TQT_SIGNAL(doubleClicked(TQListViewItem*)),
- this, TQT_SLOT(slotOpenReport(TQListViewItem*)));
- connect(m_reportListView, TQT_SIGNAL(returnPressed(TQListViewItem*)),
- this, TQT_SLOT(slotOpenReport(TQListViewItem*)));
- connect( m_reportListView, TQT_SIGNAL(contextMenu(TDEListView*,TQListViewItem*,const TQPoint &)),
- this, TQT_SLOT(slotListContextMenu(TDEListView*,TQListViewItem*,const TQPoint &)));
-
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadView()));
+ connect( m_reportTabWidget, TQ_SIGNAL(closeRequest(TQWidget*)),
+ this, TQ_SLOT(slotClose(TQWidget*)) );
+ connect(m_reportListView, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
+ this, TQ_SLOT(slotOpenReport(TQListViewItem*)));
+ connect(m_reportListView, TQ_SIGNAL(returnPressed(TQListViewItem*)),
+ this, TQ_SLOT(slotOpenReport(TQListViewItem*)));
+ connect( m_reportListView, TQ_SIGNAL(contextMenu(TDEListView*,TQListViewItem*,const TQPoint &)),
+ this, TQ_SLOT(slotListContextMenu(TDEListView*,TQListViewItem*,const TQPoint &)));
+
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadView()));
}
KReportsView::~KReportsView()
@@ -584,7 +584,7 @@ void KReportsView::slotSaveView(void)
TQString("%1|%2\n").arg("*.csv").arg(i18n("CSV (Filefilter)", "CSV files")) +
TQString("%1|%2\n").arg("*.html").arg(i18n("HTML (Filefilter)", "HTML files")),
this, "filedialog", true, vbox);
- connect(&dlg, TQT_SIGNAL(filterChanged(const TQString&)), this, TQT_SLOT(slotSaveFilterChanged(const TQString&)));
+ connect(&dlg, TQ_SIGNAL(filterChanged(const TQString&)), this, TQ_SLOT(slotSaveFilterChanged(const TQString&)));
dlg.setOperationMode( KFileDialog::Saving );
dlg.setCaption(i18n("Export as"));
@@ -848,20 +848,20 @@ void KReportsView::addReportTab(const MyMoneyReport& report)
{
KReportTab* tab = new KReportTab(m_reportTabWidget,report);
- connect( tab->control()->buttonChart, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotToggleChart(void )));
- connect( tab->control()->buttonConfigure, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotConfigure(void )));
- connect( tab->control()->buttonNew, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotDuplicate(void )));
- connect( tab->control()->buttonCopy, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotCopyView(void )));
- connect( tab->control()->buttonExport, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotSaveView(void )));
- connect( tab->control()->buttonDelete, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotDelete(void )));
- connect( tab->control()->buttonClose, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotCloseCurrent(void )));
+ connect( tab->control()->buttonChart, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotToggleChart(void )));
+ connect( tab->control()->buttonConfigure, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotConfigure(void )));
+ connect( tab->control()->buttonNew, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotDuplicate(void )));
+ connect( tab->control()->buttonCopy, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotCopyView(void )));
+ connect( tab->control()->buttonExport, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotSaveView(void )));
+ connect( tab->control()->buttonDelete, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotDelete(void )));
+ connect( tab->control()->buttonClose, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotCloseCurrent(void )));
// if this is a default report, then you can't delete it!
if ( report.id().isEmpty() )
@@ -878,10 +878,10 @@ void KReportsView::slotListContextMenu(TDEListView* lv,TQListViewItem* item,cons
if ( lv == m_reportListView && item )
{
TQPopupMenu* contextmenu = new TQPopupMenu(this);
- contextmenu->insertItem( i18n("&Open"), this, TQT_SLOT(slotOpenFromList()) );
- contextmenu->insertItem( i18n("&Configure"), this, TQT_SLOT(slotConfigureFromList()) );
- contextmenu->insertItem( i18n("&New report"), this, TQT_SLOT(slotNewFromList()) );
- contextmenu->insertItem( i18n("&Delete"), this, TQT_SLOT(slotDeleteFromList()) );
+ contextmenu->insertItem( i18n("&Open"), this, TQ_SLOT(slotOpenFromList()) );
+ contextmenu->insertItem( i18n("&Configure"), this, TQ_SLOT(slotConfigureFromList()) );
+ contextmenu->insertItem( i18n("&New report"), this, TQ_SLOT(slotNewFromList()) );
+ contextmenu->insertItem( i18n("&Delete"), this, TQ_SLOT(slotDeleteFromList()) );
contextmenu->popup(p);
}
diff --git a/kmymoney2/views/kscheduledview.cpp b/kmymoney2/views/kscheduledview.cpp
index defcf96..6c5e569 100644
--- a/kmymoney2/views/kscheduledview.cpp
+++ b/kmymoney2/views/kscheduledview.cpp
@@ -87,13 +87,13 @@ KScheduledView::KScheduledView(TQWidget *parent, const char *name ) :
if(m_qlistviewScheduled->sortColumn() == -1)
m_qlistviewScheduled->setSorting(0);
- connect(m_qbuttonNew, TQT_SIGNAL(clicked()), kmymoney2->action("schedule_new"), TQT_SLOT(activate()));
+ connect(m_qbuttonNew, TQ_SIGNAL(clicked()), kmymoney2->action("schedule_new"), TQ_SLOT(activate()));
// attach popup to 'Filter...' button
m_kaccPopup = new TDEPopupMenu(this);
m_kaccPopup->setCheckable(true);
m_accountsCombo->setPopup(m_kaccPopup);
- connect(m_kaccPopup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotAccountActivated(int)));
+ connect(m_kaccPopup, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotAccountActivated(int)));
m_qbuttonNew->setGuiItem(KMyMoneyUtils::scheduleNewGuiItem());
m_accountsCombo->setGuiItem(KMyMoneyUtils::accountsFilterGuiItem());
@@ -102,22 +102,22 @@ KScheduledView::KScheduledView(TQWidget *parent, const char *name ) :
m_tabWidget->setTabIconSet(m_listTab, TQIconSet(il->loadIcon("contents", TDEIcon::Small, TDEIcon::SizeSmall)));
m_tabWidget->setTabIconSet(m_calendarTab, TQIconSet(il->loadIcon("calendartab", TDEIcon::User, TDEIcon::SizeSmall)));
- connect(m_qlistviewScheduled, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotListViewContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
- connect(m_qlistviewScheduled, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- this, TQT_SLOT(slotSetSelectedItem(TQListViewItem*)));
+ connect(m_qlistviewScheduled, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotListViewContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(m_qlistviewScheduled, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT(slotSetSelectedItem(TQListViewItem*)));
- connect(m_qlistviewScheduled, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
- this, TQT_SLOT(slotListItemExecuted(TQListViewItem*, const TQPoint&, int)));
- connect(m_qlistviewScheduled, TQT_SIGNAL(expanded(TQListViewItem*)),
- this, TQT_SLOT(slotListViewExpanded(TQListViewItem*)));
- connect(m_qlistviewScheduled, TQT_SIGNAL(collapsed(TQListViewItem*)),
- this, TQT_SLOT(slotListViewCollapsed(TQListViewItem*)));
+ connect(m_qlistviewScheduled, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
+ this, TQ_SLOT(slotListItemExecuted(TQListViewItem*, const TQPoint&, int)));
+ connect(m_qlistviewScheduled, TQ_SIGNAL(expanded(TQListViewItem*)),
+ this, TQ_SLOT(slotListViewExpanded(TQListViewItem*)));
+ connect(m_qlistviewScheduled, TQ_SIGNAL(collapsed(TQListViewItem*)),
+ this, TQ_SLOT(slotListViewCollapsed(TQListViewItem*)));
- connect(m_calendar, TQT_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&)), this, TQT_SLOT(slotBriefEnterClicked(const MyMoneySchedule&, const TQDate&)));
- connect(m_calendar, TQT_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&)), this, TQT_SLOT(slotBriefSkipClicked(const MyMoneySchedule&, const TQDate&)));
+ connect(m_calendar, TQ_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&)), this, TQ_SLOT(slotBriefEnterClicked(const MyMoneySchedule&, const TQDate&)));
+ connect(m_calendar, TQ_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&)), this, TQ_SLOT(slotBriefSkipClicked(const MyMoneySchedule&, const TQDate&)));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotReloadView()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotReloadView()));
}
KScheduledView::~KScheduledView()
@@ -241,7 +241,7 @@ void KScheduledView::refresh(bool full, const TQString& schedId)
// working when coming from hidden form to visible form. I assume, this
// has something to do with the delayed update of the display somehow.
resize(width(), height()-1);
- TQTimer::singleShot(10, this, TQT_SLOT(slotTimerDone()));
+ TQTimer::singleShot(10, this, TQ_SLOT(slotTimerDone()));
m_qlistviewScheduled->update();
// force repaint in case the filter is set
@@ -294,7 +294,7 @@ void KScheduledView::slotReloadView(void)
refresh(true, m_selectedSchedule);
m_needReload = false;
- TQTimer::singleShot(50, this, TQT_SLOT(slotRearrange()));
+ TQTimer::singleShot(50, this, TQ_SLOT(slotRearrange()));
}
}