summaryrefslogtreecommitdiffstats
path: root/kmymoney2
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:29:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:52:07 +0900
commite84ff3d61520e4200f987d3a0b6bea570b2e8b32 (patch)
tree43f3284f87377cf1b3cb29edfc8893484731518b /kmymoney2
parentda9081a78aa22cc87ff98f07719e1c3befaebfc2 (diff)
downloadkmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.tar.gz
kmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmymoney2')
-rw-r--r--kmymoney2/converter/mymoneyqifreader.cpp10
-rw-r--r--kmymoney2/converter/webpricequote.cpp26
-rw-r--r--kmymoney2/dialogs/investtransactioneditor.cpp74
-rw-r--r--kmymoney2/dialogs/kaccountselectdlg.cpp10
-rw-r--r--kmymoney2/dialogs/kbackupdlg.cpp6
-rw-r--r--kmymoney2/dialogs/kbalancechartdlg.cpp4
-rw-r--r--kmymoney2/dialogs/kchooseimportexportdlg.cpp6
-rw-r--r--kmymoney2/dialogs/kcsvprogressdlg.cpp18
-rw-r--r--kmymoney2/dialogs/kcurrencycalculator.cpp12
-rw-r--r--kmymoney2/dialogs/kcurrencyeditdlg.cpp16
-rw-r--r--kmymoney2/dialogs/keditequityentrydlg.cpp20
-rw-r--r--kmymoney2/dialogs/keditloanwizard.cpp6
-rw-r--r--kmymoney2/dialogs/keditscheduledlg.cpp42
-rw-r--r--kmymoney2/dialogs/kendingbalancedlg.cpp26
-rw-r--r--kmymoney2/dialogs/kenterscheduledlg.cpp28
-rw-r--r--kmymoney2/dialogs/kequitypriceupdatedlg.cpp34
-rw-r--r--kmymoney2/dialogs/kexportdlg.cpp22
-rw-r--r--kmymoney2/dialogs/kfindtransactiondlg.cpp68
-rw-r--r--kmymoney2/dialogs/kgncimportoptionsdlg.cpp2
-rw-r--r--kmymoney2/dialogs/kgncpricesourcedlg.cpp4
-rw-r--r--kmymoney2/dialogs/kgpgkeyselectiondlg.cpp6
-rw-r--r--kmymoney2/dialogs/kimportdlg.cpp12
-rw-r--r--kmymoney2/dialogs/kloadtemplatedlg.cpp2
-rw-r--r--kmymoney2/dialogs/kmymoneypricedlg.cpp26
-rw-r--r--kmymoney2/dialogs/kmymoneysplittable.cpp32
-rw-r--r--kmymoney2/dialogs/knewaccountdlg.cpp48
-rw-r--r--kmymoney2/dialogs/knewbankdlg.cpp6
-rw-r--r--kmymoney2/dialogs/knewequityentrydlg.cpp10
-rw-r--r--kmymoney2/dialogs/knewfiledlg.cpp6
-rw-r--r--kmymoney2/dialogs/knewinvestmentwizard.cpp18
-rw-r--r--kmymoney2/dialogs/knewloanwizard.cpp46
-rw-r--r--kmymoney2/dialogs/kreconciledlg.cpp10
-rw-r--r--kmymoney2/dialogs/kreportconfigurationfilterdlg.cpp10
-rw-r--r--kmymoney2/dialogs/ksecuritylisteditor.cpp10
-rw-r--r--kmymoney2/dialogs/ksplittransactiondlg.cpp24
-rw-r--r--kmymoney2/dialogs/kstartdlg.cpp14
-rw-r--r--kmymoney2/dialogs/kupdatestockpricedlg.cpp8
-rw-r--r--kmymoney2/dialogs/mymoneyqifprofileeditor.cpp48
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgeneral.cpp6
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgpg.cpp10
-rw-r--r--kmymoney2/dialogs/settings/ksettingshome.cpp12
-rw-r--r--kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp26
-rw-r--r--kmymoney2/dialogs/settings/ksettingsregister.cpp18
-rw-r--r--kmymoney2/dialogs/tdeselectdatabasedlg.cpp14
-rw-r--r--kmymoney2/dialogs/tdeselecttransactionsdlg.cpp6
-rw-r--r--kmymoney2/dialogs/transactioneditor.cpp66
-rw-r--r--kmymoney2/kmymoney2.cpp328
-rw-r--r--kmymoney2/plugins/interfaces/kmmviewinterface.cpp14
-rw-r--r--kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp6
-rw-r--r--kmymoney2/plugins/ofximport/ofximporterplugin.cpp6
-rw-r--r--kmymoney2/plugins/ofximport/ofxpartner.cpp10
-rw-r--r--kmymoney2/plugins/pluginloader.cpp4
-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
-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
-rw-r--r--kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp80
-rw-r--r--kmymoney2/wizards/newuserwizard/knewuserwizard.cpp12
93 files changed, 1113 insertions, 1113 deletions
diff --git a/kmymoney2/converter/mymoneyqifreader.cpp b/kmymoney2/converter/mymoneyqifreader.cpp
index 372e34a..1a4b893 100644
--- a/kmymoney2/converter/mymoneyqifreader.cpp
+++ b/kmymoney2/converter/mymoneyqifreader.cpp
@@ -254,10 +254,10 @@ MyMoneyQifReader::MyMoneyQifReader() :
m_warnedSecurity = false;
m_warnedPrice = false;
- connect(&m_filter, TQT_SIGNAL(wroteStdin(TDEProcess*)), this, TQT_SLOT(slotSendDataToFilter()));
- connect(&m_filter, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQT_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
- connect(&m_filter, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotImportFinished()));
- connect(&m_filter, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), this, TQT_SLOT(slotReceivedErrorFromFilter(TDEProcess*, char*, int)));
+ connect(&m_filter, TQ_SIGNAL(wroteStdin(TDEProcess*)), this, TQ_SLOT(slotSendDataToFilter()));
+ connect(&m_filter, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQ_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
+ connect(&m_filter, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotImportFinished()));
+ connect(&m_filter, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), this, TQ_SLOT(slotReceivedErrorFromFilter(TDEProcess*, char*, int)));
}
MyMoneyQifReader::~MyMoneyQifReader()
@@ -337,7 +337,7 @@ void MyMoneyQifReader::slotImportFinished(void)
m_qifLines << TQString::fromUtf8(m_lineBuffer.stripWhiteSpace());
}
tqDebug("Read %ld bytes", m_pos);
- TQTimer::singleShot(0, this, TQT_SLOT(slotProcessData()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotProcessData()));
}
void MyMoneyQifReader::slotProcessData(void)
diff --git a/kmymoney2/converter/webpricequote.cpp b/kmymoney2/converter/webpricequote.cpp
index b6732dd..536139c 100644
--- a/kmymoney2/converter/webpricequote.cpp
+++ b/kmymoney2/converter/webpricequote.cpp
@@ -61,7 +61,7 @@ WebPriceQuote::WebPriceQuote( TQObject* _parent, const char* _name ):
{
m_financeQuoteScriptPath =
TDEGlobal::dirs()->findResource("appdata", TQString("misc/financequote.pl"));
- connect(&m_filter,TQT_SIGNAL(processExited(const TQString&)),this,TQT_SLOT(slotParseQuote(const TQString&)));
+ connect(&m_filter,TQ_SIGNAL(processExited(const TQString&)),this,TQ_SLOT(slotParseQuote(const TQString&)));
}
WebPriceQuote::~WebPriceQuote()
@@ -222,8 +222,8 @@ bool WebPriceQuote::download(const KURL& u, TQString & target, TQWidget* window)
TDEIO::Job * job = TDEIO::file_copy( u, dest, -1, true, false, false );
job->setWindow (window);
job->addMetaData("cache", "reload"); // bypass cache
- connect( job, TQT_SIGNAL( result (TDEIO::Job *) ),
- this, TQT_SLOT( slotResult (TDEIO::Job *) ) );
+ connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
+ this, TQ_SLOT( slotResult (TDEIO::Job *) ) );
enter_loop();
return bJobOK;
@@ -731,8 +731,8 @@ void WebPriceQuoteSource::remove(void) const
WebPriceQuoteProcess::WebPriceQuoteProcess(void)
{
- connect(this, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQT_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
- connect(this, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*)));
+ connect(this, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQ_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
+ connect(this, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited(TDEProcess*)));
}
void WebPriceQuoteProcess::slotReceivedDataFromFilter(TDEProcess* /*_process*/, char* _pcbuffer, int _nbufferlen)
@@ -813,8 +813,8 @@ FinanceQuoteProcess::FinanceQuoteProcess(void)
m_fqNames["yahoo_europe"] = "Yahoo Europe";
m_fqNames["yahoo_nz"] = "Yahoo New Zealand";
m_fqNames["zifunds"] = "Zuerich Investments";
- connect(this, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQT_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
- connect(this, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*)));
+ connect(this, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), this, TQ_SLOT(slotReceivedDataFromFilter(TDEProcess*, char*, int)));
+ connect(this, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited(TDEProcess*)));
}
void FinanceQuoteProcess::slotReceivedDataFromFilter(TDEProcess* /*_process*/, char* _pcbuffer, int _nbufferlen)
@@ -1017,12 +1017,12 @@ TQDate MyMoneyDateFormat::convertString(const TQString& _in, bool _strict, unsig
convertertest::QuoteReceiver::QuoteReceiver(WebPriceQuote* q, TQObject* parent, const char *name) :
TQObject(parent,name)
{
- connect(q,TQT_SIGNAL(quote(const TQString&,const TQDate&, const double&)),
- this,TQT_SLOT(slotGetQuote(const TQString&,const TQDate&, const double&)));
- connect(q,TQT_SIGNAL(status(const TQString&)),
- this,TQT_SLOT(slotStatus(const TQString&)));
- connect(q,TQT_SIGNAL(error(const TQString&)),
- this,TQT_SLOT(slotError(const TQString&)));
+ connect(q,TQ_SIGNAL(quote(const TQString&,const TQDate&, const double&)),
+ this,TQ_SLOT(slotGetQuote(const TQString&,const TQDate&, const double&)));
+ connect(q,TQ_SIGNAL(status(const TQString&)),
+ this,TQ_SLOT(slotStatus(const TQString&)));
+ connect(q,TQ_SIGNAL(error(const TQString&)),
+ this,TQ_SLOT(slotError(const TQString&)));
}
convertertest::QuoteReceiver::~QuoteReceiver()
diff --git a/kmymoney2/dialogs/investtransactioneditor.cpp b/kmymoney2/dialogs/investtransactioneditor.cpp
index 9e26734..469423d 100644
--- a/kmymoney2/dialogs/investtransactioneditor.cpp
+++ b/kmymoney2/dialogs/investtransactioneditor.cpp
@@ -198,45 +198,45 @@ void InvestTransactionEditor::createEditWidgets(void)
{
KMyMoneyActivityCombo* activity = new KMyMoneyActivityCombo();
m_editWidgets["activity"] = activity;
- connect(activity, TQT_SIGNAL(activitySelected(MyMoneySplit::investTransactionTypeE)), this, TQT_SLOT(slotUpdateActivity(MyMoneySplit::investTransactionTypeE)));
- connect(activity, TQT_SIGNAL(activitySelected(MyMoneySplit::investTransactionTypeE)), this, TQT_SLOT(slotUpdateButtonState()));
+ connect(activity, TQ_SIGNAL(activitySelected(MyMoneySplit::investTransactionTypeE)), this, TQ_SLOT(slotUpdateActivity(MyMoneySplit::investTransactionTypeE)));
+ connect(activity, TQ_SIGNAL(activitySelected(MyMoneySplit::investTransactionTypeE)), this, TQ_SLOT(slotUpdateButtonState()));
m_editWidgets["postdate"] = new kMyMoneyDateInput;
- connect(m_editWidgets["postdate"], TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(slotUpdateButtonState()));
+ connect(m_editWidgets["postdate"], TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(slotUpdateButtonState()));
KMyMoneySecurity* security = new KMyMoneySecurity;
security->setHint(i18n("Security"));
m_editWidgets["security"] = security;
- connect(security, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotUpdateSecurity(const TQString&)));
- connect(security, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
- connect(security, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SLOT(slotCreateSecurity(const TQString&, TQString&)));
- connect(security, TQT_SIGNAL(objectCreation(bool)), this, TQT_SIGNAL(objectCreation(bool)));
+ connect(security, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotUpdateSecurity(const TQString&)));
+ connect(security, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
+ connect(security, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SLOT(slotCreateSecurity(const TQString&, TQString&)));
+ connect(security, TQ_SIGNAL(objectCreation(bool)), this, TQ_SIGNAL(objectCreation(bool)));
KMyMoneyCategory* asset = new KMyMoneyCategory(0, 0, false);
asset->setHint(i18n("Asset account"));
m_editWidgets["asset-account"] = asset;
- connect(asset, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
- connect(asset, TQT_SIGNAL(objectCreation(bool)), this, TQT_SIGNAL(objectCreation(bool)));
+ connect(asset, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
+ connect(asset, TQ_SIGNAL(objectCreation(bool)), this, TQ_SIGNAL(objectCreation(bool)));
KMyMoneyCategory* fees = new KMyMoneyCategory(0, 0, true);
fees->setHint(i18n("Fees"));
m_editWidgets["fee-account"] = fees;
- connect(fees, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotUpdateFeeCategory(const TQString&)));
- connect(fees, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
- connect(fees, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateFeeVisibility(const TQString&)));
- connect(fees, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SLOT(slotCreateFeeCategory(const TQString&, TQString&)));
- connect(fees, TQT_SIGNAL(objectCreation(bool)), this, TQT_SIGNAL(objectCreation(bool)));
- connect(fees->splitButton(), TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditFeeSplits()));
+ connect(fees, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotUpdateFeeCategory(const TQString&)));
+ connect(fees, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
+ connect(fees, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateFeeVisibility(const TQString&)));
+ connect(fees, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SLOT(slotCreateFeeCategory(const TQString&, TQString&)));
+ connect(fees, TQ_SIGNAL(objectCreation(bool)), this, TQ_SIGNAL(objectCreation(bool)));
+ connect(fees->splitButton(), TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditFeeSplits()));
KMyMoneyCategory* interest = new KMyMoneyCategory(0, 0, true);
interest->setHint(i18n("Interest"));
m_editWidgets["interest-account"] = interest;
- connect(interest, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotUpdateInterestCategory(const TQString&)));
- connect(interest, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
- connect(interest, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateInterestVisibility(const TQString&)));
- connect(interest, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SLOT(slotCreateInterestCategory(const TQString&, TQString&)));
- connect(interest, TQT_SIGNAL(objectCreation(bool)), this, TQT_SIGNAL(objectCreation(bool)));
- connect(interest->splitButton(), TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditInterestSplits()));
+ connect(interest, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotUpdateInterestCategory(const TQString&)));
+ connect(interest, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
+ connect(interest, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateInterestVisibility(const TQString&)));
+ connect(interest, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SLOT(slotCreateInterestCategory(const TQString&, TQString&)));
+ connect(interest, TQ_SIGNAL(objectCreation(bool)), this, TQ_SIGNAL(objectCreation(bool)));
+ connect(interest->splitButton(), TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditInterestSplits()));
KTextEdit* memo = new KTextEdit;
memo->setTabChangesFocus(true);
@@ -246,36 +246,36 @@ void InvestTransactionEditor::createEditWidgets(void)
value->setHint(i18n("Shares"));
value->setResetButtonVisible(false);
m_editWidgets["shares"] = value;
- connect(value, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
- connect(value, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotUpdateTotalAmount()));
+ connect(value, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
+ connect(value, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotUpdateTotalAmount()));
value = new kMyMoneyEdit;
value->setHint(i18n("Price"));
value->setResetButtonVisible(false);
value->setPrecision(KMyMoneyGlobalSettings::pricePrecision());
m_editWidgets["price"] = value;
- connect(value, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
- connect(value, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotUpdateTotalAmount()));
+ connect(value, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
+ connect(value, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotUpdateTotalAmount()));
value = new kMyMoneyEdit;
// TODO once we have the selected transactions as array of Transaction
// we can allow multiple splits for fee and interest
value->setResetButtonVisible(false);
m_editWidgets["fee-amount"] = value;
- connect(value, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
- connect(value, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotUpdateTotalAmount()));
+ connect(value, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
+ connect(value, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotUpdateTotalAmount()));
value = new kMyMoneyEdit;
// TODO once we have the selected transactions as array of Transaction
// we can allow multiple splits for fee and interest
value->setResetButtonVisible(false);
m_editWidgets["interest-amount"] = value;
- connect(value, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
- connect(value, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotUpdateTotalAmount()));
+ connect(value, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
+ connect(value, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotUpdateTotalAmount()));
KMyMoneyReconcileCombo* reconcile = new KMyMoneyReconcileCombo;
m_editWidgets["status"] = reconcile;
- connect(reconcile, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
+ connect(reconcile, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
KMyMoneyRegister::TQWidgetContainer::iterator it_w;
for(it_w = m_editWidgets.begin(); it_w != m_editWidgets.end(); ++it_w) {
@@ -327,12 +327,12 @@ void InvestTransactionEditor::createEditWidgets(void)
int InvestTransactionEditor::slotEditFeeSplits(void)
{
- return editSplits("fee-account", "fee-amount", m_feeSplits, false, TQT_SLOT(slotEditFeeSplits()));
+ return editSplits("fee-account", "fee-amount", m_feeSplits, false, TQ_SLOT(slotEditFeeSplits()));
}
int InvestTransactionEditor::slotEditInterestSplits(void)
{
- return editSplits("interest-account", "interest-amount", m_interestSplits, true, TQT_SLOT(slotEditInterestSplits()));
+ return editSplits("interest-account", "interest-amount", m_interestSplits, true, TQ_SLOT(slotEditInterestSplits()));
}
int InvestTransactionEditor::editSplits(const TQString& categoryWidgetName, const TQString& amountWidgetName, TQValueList<MyMoneySplit>& splits, bool isIncome, const char* slotEditSplits)
@@ -381,7 +381,7 @@ int InvestTransactionEditor::editSplits(const TQString& categoryWidgetName, cons
0,
m_priceInfo,
m_regForm);
- // connect(dlg, TQT_SIGNAL(newCategory(MyMoneyAccount&)), this, TQT_SIGNAL(newCategory(MyMoneyAccount&)));
+ // connect(dlg, TQ_SIGNAL(newCategory(MyMoneyAccount&)), this, TQ_SIGNAL(newCategory(MyMoneyAccount&)));
if((rc = dlg->exec()) == TQDialog::Accepted) {
transaction = dlg->transaction();
@@ -529,13 +529,13 @@ void InvestTransactionEditor::slotReloadEditWidgets(void)
aSet.clear();
aSet.addAccountGroup(MyMoneyAccount::Income);
aSet.load(interest->selector());
- setupCategoryWidget(interest, m_interestSplits, id, TQT_SLOT(slotEditInterestSplits()));
+ setupCategoryWidget(interest, m_interestSplits, id, TQ_SLOT(slotEditInterestSplits()));
// fee-account
aSet.clear();
aSet.addAccountGroup(MyMoneyAccount::Expense);
aSet.load(fees->selector());
- setupCategoryWidget(fees, m_feeSplits, id, TQT_SLOT(slotEditFeeSplits()));
+ setupCategoryWidget(fees, m_feeSplits, id, TQ_SLOT(slotEditFeeSplits()));
// security
aSet.clear();
@@ -609,14 +609,14 @@ void InvestTransactionEditor::loadEditWidgets(KMyMoneyRegister::Action /* action
aSet.clear();
aSet.addAccountGroup(MyMoneyAccount::Income);
aSet.load(interest->selector());
- setupCategoryWidget(interest, m_interestSplits, id, TQT_SLOT(slotEditInterestSplits()));
+ setupCategoryWidget(interest, m_interestSplits, id, TQ_SLOT(slotEditInterestSplits()));
slotUpdateInterestVisibility(interest->currentText());
// fee-account
aSet.clear();
aSet.addAccountGroup(MyMoneyAccount::Expense);
aSet.load(fees->selector());
- setupCategoryWidget(fees, m_feeSplits, id, TQT_SLOT(slotEditFeeSplits()));
+ setupCategoryWidget(fees, m_feeSplits, id, TQ_SLOT(slotEditFeeSplits()));
slotUpdateFeeVisibility(fees->currentText());
// memo
diff --git a/kmymoney2/dialogs/kaccountselectdlg.cpp b/kmymoney2/dialogs/kaccountselectdlg.cpp
index 199cc2e..15cea8c 100644
--- a/kmymoney2/dialogs/kaccountselectdlg.cpp
+++ b/kmymoney2/dialogs/kaccountselectdlg.cpp
@@ -85,12 +85,12 @@ KAccountSelectDlg::KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE accountT
m_kButtonAbort->setGuiItem(abortButtenItem);
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotReloadWidget()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotReloadWidget()));
- connect(m_createButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCreateAccount()));
- connect(m_qbuttonOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
- connect(m_qbuttonCancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(m_kButtonAbort, TQT_SIGNAL(clicked()), this, TQT_SLOT(abort()));
+ connect(m_createButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCreateAccount()));
+ connect(m_qbuttonOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
+ connect(m_qbuttonCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
+ connect(m_kButtonAbort, TQ_SIGNAL(clicked()), this, TQ_SLOT(abort()));
}
KAccountSelectDlg::~KAccountSelectDlg()
diff --git a/kmymoney2/dialogs/kbackupdlg.cpp b/kmymoney2/dialogs/kbackupdlg.cpp
index bb9fc53..235d5bb 100644
--- a/kmymoney2/dialogs/kbackupdlg.cpp
+++ b/kmymoney2/dialogs/kbackupdlg.cpp
@@ -64,9 +64,9 @@ KBackupDlg::KBackupDlg( TQWidget* parent, const char* name/*, bool modal*/)
i18n("Use this to browse to the mount point."));
chooseButton->setGuiItem(chooseButtenItem);
- connect(chooseButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(chooseButtonClicked()));
- connect(btnOK,TQT_SIGNAL(clicked()),this,TQT_SLOT(accept()));
- connect(btnCancel,TQT_SIGNAL(clicked()),this,TQT_SLOT(reject()));
+ connect(chooseButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(chooseButtonClicked()));
+ connect(btnOK,TQ_SIGNAL(clicked()),this,TQ_SLOT(accept()));
+ connect(btnCancel,TQ_SIGNAL(clicked()),this,TQ_SLOT(reject()));
}
KBackupDlg::~KBackupDlg()
diff --git a/kmymoney2/dialogs/kbalancechartdlg.cpp b/kmymoney2/dialogs/kbalancechartdlg.cpp
index 64ee282..8bc02a4 100644
--- a/kmymoney2/dialogs/kbalancechartdlg.cpp
+++ b/kmymoney2/dialogs/kbalancechartdlg.cpp
@@ -210,8 +210,8 @@ KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* pare
buttonClose->setGuiItem(KStdGuiItem::Close);
Layout1->addWidget( buttonClose );
- // connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
- connect( buttonClose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
+ // connect( buttonOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
+ connect( buttonClose, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
resize( TQSize(700, 500).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
diff --git a/kmymoney2/dialogs/kchooseimportexportdlg.cpp b/kmymoney2/dialogs/kchooseimportexportdlg.cpp
index 029f168..40ea1ba 100644
--- a/kmymoney2/dialogs/kchooseimportexportdlg.cpp
+++ b/kmymoney2/dialogs/kchooseimportexportdlg.cpp
@@ -63,9 +63,9 @@ KChooseImportExportDlg::KChooseImportExportDlg(int type, TQWidget *parent, const
slotTypeActivated(m_lastType);
typeCombo->setCurrentItem(((m_lastType=="QIF") ? 0 : 1));
- connect(typeCombo, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotTypeActivated(const TQString&)));
- connect(okButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
- connect(cancelButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
+ connect(typeCombo, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(slotTypeActivated(const TQString&)));
+ connect(okButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
+ connect(cancelButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
}
KChooseImportExportDlg::~KChooseImportExportDlg()
diff --git a/kmymoney2/dialogs/kcsvprogressdlg.cpp b/kmymoney2/dialogs/kcsvprogressdlg.cpp
index c8c4f99..9de4733 100644
--- a/kmymoney2/dialogs/kcsvprogressdlg.cpp
+++ b/kmymoney2/dialogs/kcsvprogressdlg.cpp
@@ -71,11 +71,11 @@ KCsvProgressDlg::KCsvProgressDlg(int type, MyMoneyAccount *account, TQWidget *pa
readConfig();
- connect(m_qbuttonBrowse, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotBrowseClicked()));
- connect(m_qbuttonRun, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRunClicked()));
- connect(m_qlineeditFile, TQT_SIGNAL(textChanged(const TQString&)), this,
- TQT_SLOT(slotFileTextChanged(const TQString&)));
- connect(m_qbuttonOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
+ connect(m_qbuttonBrowse, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotBrowseClicked()));
+ connect(m_qbuttonRun, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRunClicked()));
+ connect(m_qlineeditFile, TQ_SIGNAL(textChanged(const TQString&)), this,
+ TQ_SLOT(slotFileTextChanged(const TQString&)));
+ connect(m_qbuttonOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
}
/** Simple destructor */
@@ -119,8 +119,8 @@ void KCsvProgressDlg::performExport(void)
if (m_mymoneyaccount) {
// Connect to the provided signals in MyMoneyAccount
// These signals will be emitted at appropriate times.
- connect(m_mymoneyaccount, TQT_SIGNAL(signalProgressCount(int)), m_qprogressbar, TQT_SLOT(setTotalSteps(int)));
- connect(m_mymoneyaccount, TQT_SIGNAL(signalProgress(int)), this, TQT_SLOT(slotSetProgress(int)));
+ connect(m_mymoneyaccount, TQ_SIGNAL(signalProgressCount(int)), m_qprogressbar, TQ_SLOT(setTotalSteps(int)));
+ connect(m_mymoneyaccount, TQ_SIGNAL(signalProgress(int)), this, TQ_SLOT(slotSetProgress(int)));
int nTransCount = 0;
@@ -164,8 +164,8 @@ void KCsvProgressDlg::performImport(void)
if (m_mymoneyaccount) {
// Connect to the provided signals in MyMoneyAccount
// These signals will be emitted at appropriate times.
- connect(m_mymoneyaccount, TQT_SIGNAL(signalProgressCount(int)), m_qprogressbar, TQT_SLOT(setTotalSteps(int)));
- connect(m_mymoneyaccount, TQT_SIGNAL(signalProgress(int)), this, TQT_SLOT(slotSetProgress(int)));
+ connect(m_mymoneyaccount, TQ_SIGNAL(signalProgressCount(int)), m_qprogressbar, TQ_SLOT(setTotalSteps(int)));
+ connect(m_mymoneyaccount, TQ_SIGNAL(signalProgress(int)), this, TQ_SLOT(slotSetProgress(int)));
int nTransCount = 0;
diff --git a/kmymoney2/dialogs/kcurrencycalculator.cpp b/kmymoney2/dialogs/kcurrencycalculator.cpp
index bd44f4c..8ae6c52 100644
--- a/kmymoney2/dialogs/kcurrencycalculator.cpp
+++ b/kmymoney2/dialogs/kcurrencycalculator.cpp
@@ -161,13 +161,13 @@ KCurrencyCalculator::KCurrencyCalculator(const MyMoneySecurity& from, const MyMo
m_conversionRate->setPrecision(KMyMoneyGlobalSettings::pricePrecision());
- connect(m_amountButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSetToAmount()));
- connect(m_rateButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSetExchangeRate()));
+ connect(m_amountButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSetToAmount()));
+ connect(m_rateButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSetExchangeRate()));
- connect(m_toAmount, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotUpdateResult(const TQString&)));
- connect(m_conversionRate, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotUpdateRate(const TQString&)));
- connect(m_cancelButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(m_okButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
+ connect(m_toAmount, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotUpdateResult(const TQString&)));
+ connect(m_conversionRate, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotUpdateRate(const TQString&)));
+ connect(m_cancelButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
+ connect(m_okButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
// use this as the default
m_amountButton->animateClick();
diff --git a/kmymoney2/dialogs/kcurrencyeditdlg.cpp b/kmymoney2/dialogs/kcurrencyeditdlg.cpp
index 6424a0e..c63e8b0 100644
--- a/kmymoney2/dialogs/kcurrencyeditdlg.cpp
+++ b/kmymoney2/dialogs/kcurrencyeditdlg.cpp
@@ -69,18 +69,18 @@ KCurrencyEditDlg::KCurrencyEditDlg(TQWidget *parent, const char *name ) :
// FIXME: the online source table currently has no functionality
m_onlineSourceTable->hide();
- connect(m_currencyList, TQT_SIGNAL(rightButtonPressed(TQListViewItem* , const TQPoint&, int)),
- this, TQT_SLOT(slotListClicked(TQListViewItem*, const TQPoint&, int)));
- connect(m_currencyList, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectCurrency(TQListViewItem*)));
+ connect(m_currencyList, TQ_SIGNAL(rightButtonPressed(TQListViewItem* , const TQPoint&, int)),
+ this, TQ_SLOT(slotListClicked(TQListViewItem*, const TQPoint&, int)));
+ connect(m_currencyList, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotSelectCurrency(TQListViewItem*)));
- connect(m_currencyList, TQT_SIGNAL(itemRenamed(TQListViewItem*,int,const TQString&)), this, TQT_SIGNAL(renameCurrency(TQListViewItem*,int,const TQString&)));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadCurrencies()));
+ connect(m_currencyList, TQ_SIGNAL(itemRenamed(TQListViewItem*,int,const TQString&)), this, TQ_SIGNAL(renameCurrency(TQListViewItem*,int,const TQString&)));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadCurrencies()));
slotLoadCurrencies();
- connect(m_baseCurrencyButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectBaseCurrency()));
- connect(buttonClose, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClose()));
+ connect(m_baseCurrencyButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectBaseCurrency()));
+ connect(buttonClose, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClose()));
// FIXME: currently, no online help available
buttonHelp->hide();
@@ -89,7 +89,7 @@ KCurrencyEditDlg::KCurrencyEditDlg(TQWidget *parent, const char *name ) :
m_description->hide();
resize(width()-1, height()-1);
- TQTimer::singleShot(10, this, TQT_SLOT(timerDone()));
+ TQTimer::singleShot(10, this, TQ_SLOT(timerDone()));
}
void KCurrencyEditDlg::timerDone(void)
diff --git a/kmymoney2/dialogs/keditequityentrydlg.cpp b/kmymoney2/dialogs/keditequityentrydlg.cpp
index edfe43f..1ae9ec0 100644
--- a/kmymoney2/dialogs/keditequityentrydlg.cpp
+++ b/kmymoney2/dialogs/keditequityentrydlg.cpp
@@ -49,15 +49,15 @@ KEditEquityEntryDlg::KEditEquityEntryDlg(const MyMoneySecurity& selectedSecurity
{
m_selectedSecurity = selectedSecurity;
- connect(btnOK, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotOKClicked()));
- connect(btnCancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(edtEquityName, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotDataChanged()));
- connect(edtMarketSymbol, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotDataChanged()));
- connect(edtFraction, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotDataChanged()));
- connect(btnAddEntry, TQT_SIGNAL(clicked()), kpvPriceHistory, TQT_SLOT(slotAddPrice()));
- connect(btnEditEntry, TQT_SIGNAL(clicked()), kpvPriceHistory, TQT_SLOT(slotEditPrice()));
- connect(btnRemoveEntry, TQT_SIGNAL(clicked()), kpvPriceHistory, TQT_SLOT(slotDeletePrice()));
- connect(kpvPriceHistory, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectionChanged(TQListViewItem*)));
+ connect(btnOK, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotOKClicked()));
+ connect(btnCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
+ connect(edtEquityName, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotDataChanged()));
+ connect(edtMarketSymbol, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotDataChanged()));
+ connect(edtFraction, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotDataChanged()));
+ connect(btnAddEntry, TQ_SIGNAL(clicked()), kpvPriceHistory, TQ_SLOT(slotAddPrice()));
+ connect(btnEditEntry, TQ_SIGNAL(clicked()), kpvPriceHistory, TQ_SLOT(slotEditPrice()));
+ connect(btnRemoveEntry, TQ_SIGNAL(clicked()), kpvPriceHistory, TQ_SLOT(slotDeletePrice()));
+ connect(kpvPriceHistory, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotSelectionChanged(TQListViewItem*)));
//fill in the fields with what we know.
edtEquityName->setText(m_selectedSecurity.name());
@@ -88,7 +88,7 @@ KEditEquityEntryDlg::KEditEquityEntryDlg(const MyMoneySecurity& selectedSecurity
// force a resize to optimize the layout of all widgets
resize(width()-1, height()-1);
- TQTimer::singleShot(10, this, TQT_SLOT(slotTimerDone()));
+ TQTimer::singleShot(10, this, TQ_SLOT(slotTimerDone()));
}
KEditEquityEntryDlg::~KEditEquityEntryDlg()
diff --git a/kmymoney2/dialogs/keditloanwizard.cpp b/kmymoney2/dialogs/keditloanwizard.cpp
index 6d126a5..80c9e8f 100644
--- a/kmymoney2/dialogs/keditloanwizard.cpp
+++ b/kmymoney2/dialogs/keditloanwizard.cpp
@@ -98,9 +98,9 @@ KEditLoanWizard::KEditLoanWizard(const MyMoneyAccount& account, TQWidget *parent
setAppropriate(m_editSelectionPage, true);
// setup connections
- connect(m_effectiveChangeDateEdit, TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(slotCheckPageFinished()));
- connect(m_newPaymentEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPageFinished()));
- connect(m_newInterestRateEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPageFinished()));
+ connect(m_effectiveChangeDateEdit, TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(slotCheckPageFinished()));
+ connect(m_newPaymentEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPageFinished()));
+ connect(m_newInterestRateEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPageFinished()));
// make sure, we show the correct start page
showPage(m_editIntroPage);
diff --git a/kmymoney2/dialogs/keditscheduledlg.cpp b/kmymoney2/dialogs/keditscheduledlg.cpp
index e67e680..78102e3 100644
--- a/kmymoney2/dialogs/keditscheduledlg.cpp
+++ b/kmymoney2/dialogs/keditscheduledlg.cpp
@@ -144,18 +144,18 @@ KEditScheduleDlg::KEditScheduleDlg(const MyMoneySchedule& schedule, TQWidget *pa
m_FinalPaymentEdit->setDate(d->m_schedule.endDate());
}
- connect(m_RemainingEdit, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotRemainingChanged(int)));
- connect(m_FinalPaymentEdit, TQT_SIGNAL(dateChanged(const TQDate&)),
- this, TQT_SLOT(slotEndDateChanged(const TQDate&)));
- connect(m_frequencyEdit, TQT_SIGNAL(itemSelected(int)),
- this, TQT_SLOT(slotFrequencyChanged(int)));
- connect(m_frequencyNoEdit, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(slotOccurenceMultiplierChanged(int)));
- connect(buttonHelp, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotShowHelp()));
+ connect(m_RemainingEdit, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotRemainingChanged(int)));
+ connect(m_FinalPaymentEdit, TQ_SIGNAL(dateChanged(const TQDate&)),
+ this, TQ_SLOT(slotEndDateChanged(const TQDate&)));
+ connect(m_frequencyEdit, TQ_SIGNAL(itemSelected(int)),
+ this, TQ_SLOT(slotFrequencyChanged(int)));
+ connect(m_frequencyNoEdit, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(slotOccurenceMultiplierChanged(int)));
+ connect(buttonHelp, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotShowHelp()));
// force the initial height to be as small as possible
- TQTimer::singleShot(0, this, TQT_SLOT(slotSetupSize()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotSetupSize()));
// we just hide the variation field for now and enable the logic
// once we have a respective member in the MyMoneySchedule object
@@ -190,16 +190,16 @@ TransactionEditor* KEditScheduleDlg::startEdit(void)
}
if(editor) {
- connect(editor, TQT_SIGNAL(transactionDataSufficient(bool)), buttonOk, TQT_SLOT(setEnabled(bool)));
- connect(editor, TQT_SIGNAL(escapePressed()), buttonCancel, TQT_SLOT(animateClick()));
- connect(editor, TQT_SIGNAL(returnPressed()), buttonOk, TQT_SLOT(animateClick()));
+ connect(editor, TQ_SIGNAL(transactionDataSufficient(bool)), buttonOk, TQ_SLOT(setEnabled(bool)));
+ connect(editor, TQ_SIGNAL(escapePressed()), buttonCancel, TQ_SLOT(animateClick()));
+ connect(editor, TQ_SIGNAL(returnPressed()), buttonOk, TQ_SLOT(animateClick()));
- 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(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(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), editor, TQT_SLOT(slotReloadEditWidgets()));
+ 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, 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(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), editor, TQ_SLOT(slotReloadEditWidgets()));
// create the widgets, place them in the parent and load them with data
// setup tab order
@@ -281,7 +281,7 @@ TransactionEditor* KEditScheduleDlg::startEdit(void)
// connect the postdate modification signal to our update routine
kMyMoneyDateInput* dateEdit = dynamic_cast<kMyMoneyDateInput*>(editor->haveWidget("postdate"));
if(dateEdit)
- connect(dateEdit, TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(slotPostDateChanged(const TQDate&)));
+ connect(dateEdit, TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(slotPostDateChanged(const TQDate&)));
m_nameEdit->setFocus();
@@ -300,7 +300,7 @@ TransactionEditor* KEditScheduleDlg::startEdit(void)
d->m_editor = editor;
slotSetPaymentMethod(d->m_schedule.paymentType());
- connect(m_paymentMethodEdit, TQT_SIGNAL(itemSelected(int)), this, TQT_SLOT(slotSetPaymentMethod(int)));
+ connect(m_paymentMethodEdit, TQ_SIGNAL(itemSelected(int)), this, TQ_SLOT(slotSetPaymentMethod(int)));
}
return editor;
diff --git a/kmymoney2/dialogs/kendingbalancedlg.cpp b/kmymoney2/dialogs/kendingbalancedlg.cpp
index f84c254..aa11c6e 100644
--- a/kmymoney2/dialogs/kendingbalancedlg.cpp
+++ b/kmymoney2/dialogs/kendingbalancedlg.cpp
@@ -135,16 +135,16 @@ KEndingBalanceDlg::KEndingBalanceDlg(const MyMoneyAccount& account, TQWidget *pa
removePage(m_adjustmentTransactionPage);
// connect the signals with the slots
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotReloadEditWidgets()));
- connect(m_payeeEdit, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SIGNAL(createPayee(const TQString&, TQString&)));
- connect(m_interestCategoryEdit, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SLOT(slotCreateInterestCategory(const TQString&, TQString&)));
- connect(m_chargesCategoryEdit, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SLOT(slotCreateChargesCategory(const TQString&, TQString&)));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotReloadEditWidgets()));
+ connect(m_payeeEdit, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SIGNAL(createPayee(const TQString&, TQString&)));
+ connect(m_interestCategoryEdit, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SLOT(slotCreateInterestCategory(const TQString&, TQString&)));
+ connect(m_chargesCategoryEdit, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SLOT(slotCreateChargesCategory(const TQString&, TQString&)));
- connect(m_interestEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPageFinished(void)));
- connect(m_interestCategoryEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPageFinished(void)));
- connect(m_chargesEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPageFinished(void)));
- connect(m_chargesCategoryEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPageFinished(void)));
- connect(m_statementDate, TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(slotUpdateBalances()));
+ connect(m_interestEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPageFinished(void)));
+ connect(m_interestCategoryEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPageFinished(void)));
+ connect(m_chargesEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPageFinished(void)));
+ connect(m_chargesCategoryEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPageFinished(void)));
+ connect(m_statementDate, TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(slotUpdateBalances()));
slotReloadEditWidgets();
@@ -408,10 +408,10 @@ KEndingBalanceLoanDlg::KEndingBalanceLoanDlg(const MyMoneyAccount& account, TQWi
removePage(m_interestChargeCheckings);
// connect the signals with the slots
- connect(m_amortizationTotalEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPageFinished(void)));
- connect(m_interestTotalEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPageFinished(void)));
- connect(m_accountEdit, TQT_SIGNAL(stateChanged(void)), this, TQT_SLOT(slotCheckPageFinished(void)));
- connect(m_categoryEdit, TQT_SIGNAL(stateChanged(void)), this, TQT_SLOT(slotCheckPageFinished(void)));
+ connect(m_amortizationTotalEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPageFinished(void)));
+ connect(m_interestTotalEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPageFinished(void)));
+ connect(m_accountEdit, TQ_SIGNAL(stateChanged(void)), this, TQ_SLOT(slotCheckPageFinished(void)));
+ connect(m_categoryEdit, TQ_SIGNAL(stateChanged(void)), this, TQ_SLOT(slotCheckPageFinished(void)));
}
KEndingBalanceLoanDlg::~KEndingBalanceLoanDlg()
diff --git a/kmymoney2/dialogs/kenterscheduledlg.cpp b/kmymoney2/dialogs/kenterscheduledlg.cpp
index bae7247..7fc026b 100644
--- a/kmymoney2/dialogs/kenterscheduledlg.cpp
+++ b/kmymoney2/dialogs/kenterscheduledlg.cpp
@@ -107,12 +107,12 @@ KEnterScheduleDlg::KEnterScheduleDlg(TQWidget *parent, const MyMoneySchedule& sc
m_scheduleName->setText(d->m_schedule.name());
m_type->setText(KMyMoneyUtils::scheduleTypeToString(d->m_schedule.type()));
- connect(buttonHelp, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotShowHelp()));
- connect(buttonIgnore, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotIgnore()));
- connect(buttonSkip, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSkip()));
+ connect(buttonHelp, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotShowHelp()));
+ connect(buttonIgnore, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotIgnore()));
+ connect(buttonSkip, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSkip()));
// force the initial height to be as small as possible
- TQTimer::singleShot(0, this, TQT_SLOT(slotSetupSize()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotSetupSize()));
}
KEnterScheduleDlg::~KEnterScheduleDlg()
@@ -210,16 +210,16 @@ TransactionEditor* KEnterScheduleDlg::startEdit(void)
}
if(editor) {
- connect(editor, TQT_SIGNAL(transactionDataSufficient(bool)), buttonOk, TQT_SLOT(setEnabled(bool)));
- connect(editor, TQT_SIGNAL(escapePressed()), buttonCancel, TQT_SLOT(animateClick()));
- connect(editor, TQT_SIGNAL(returnPressed()), buttonOk, TQT_SLOT(animateClick()));
-
- 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(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(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), editor, TQT_SLOT(slotReloadEditWidgets()));
+ connect(editor, TQ_SIGNAL(transactionDataSufficient(bool)), buttonOk, TQ_SLOT(setEnabled(bool)));
+ connect(editor, TQ_SIGNAL(escapePressed()), buttonCancel, TQ_SLOT(animateClick()));
+ connect(editor, TQ_SIGNAL(returnPressed()), buttonOk, TQ_SLOT(animateClick()));
+
+ 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, 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(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), editor, TQ_SLOT(slotReloadEditWidgets()));
// create the widgets, place them in the parent and load them with data
// setup tab order
diff --git a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
index adbe044..5c32d2b 100644
--- a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
+++ b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
@@ -137,25 +137,25 @@ KEquityPriceUpdateDlg::KEquityPriceUpdateDlg(TQWidget *parent, const TQString& s
addPricePair(currencyIds, true);
}
- connect(btnOK, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
- connect(btnCancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(btnUpdateSelected, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUpdateSelectedClicked()));
- connect(btnUpdateAll, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUpdateAllClicked()));
-
- connect(&m_webQuote,TQT_SIGNAL(quote(const TQString&, const TQString&,const TQDate&, const double&)),
- this,TQT_SLOT(slotReceivedQuote(const TQString&, const TQString&,const TQDate&, const double&)));
- connect(&m_webQuote,TQT_SIGNAL(failed(const TQString&, const TQString&)),
- this,TQT_SLOT(slotQuoteFailed(const TQString&, const TQString&)));
- connect(&m_webQuote,TQT_SIGNAL(status(const TQString&)),
- this,TQT_SLOT(logStatusMessage(const TQString&)));
- connect(&m_webQuote,TQT_SIGNAL(error(const TQString&)),
- this,TQT_SLOT(logErrorMessage(const TQString&)));
-
- connect(lvEquityList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotUpdateSelection()));
+ connect(btnOK, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
+ connect(btnCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
+ connect(btnUpdateSelected, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotUpdateSelectedClicked()));
+ connect(btnUpdateAll, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotUpdateAllClicked()));
+
+ connect(&m_webQuote,TQ_SIGNAL(quote(const TQString&, const TQString&,const TQDate&, const double&)),
+ this,TQ_SLOT(slotReceivedQuote(const TQString&, const TQString&,const TQDate&, const double&)));
+ connect(&m_webQuote,TQ_SIGNAL(failed(const TQString&, const TQString&)),
+ this,TQ_SLOT(slotQuoteFailed(const TQString&, const TQString&)));
+ connect(&m_webQuote,TQ_SIGNAL(status(const TQString&)),
+ this,TQ_SLOT(logStatusMessage(const TQString&)));
+ connect(&m_webQuote,TQ_SIGNAL(error(const TQString&)),
+ this,TQ_SLOT(logErrorMessage(const TQString&)));
+
+ connect(lvEquityList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotUpdateSelection()));
// Not implemented yet.
btnConfigure->hide();
- //connect(btnConfigure, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotConfigureClicked()));
+ //connect(btnConfigure, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotConfigureClicked()));
if ( !securityId.isEmpty() )
{
@@ -163,7 +163,7 @@ KEquityPriceUpdateDlg::KEquityPriceUpdateDlg(TQWidget *parent, const TQString& s
btnUpdateAll->hide();
// delete layout1;
- TQTimer::singleShot(100,this,TQT_SLOT(slotUpdateAllClicked()));
+ TQTimer::singleShot(100,this,TQ_SLOT(slotUpdateAllClicked()));
}
// Hide OK button until we have received the first update
diff --git a/kmymoney2/dialogs/kexportdlg.cpp b/kmymoney2/dialogs/kexportdlg.cpp
index 5170a19..215250a 100644
--- a/kmymoney2/dialogs/kexportdlg.cpp
+++ b/kmymoney2/dialogs/kexportdlg.cpp
@@ -82,19 +82,19 @@ KExportDlg::KExportDlg(TQWidget *parent)
// connect the buttons to their functionality
- connect(m_qbuttonBrowse, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotBrowse() ) );
- connect(m_profileEditorButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewProfile()));
- connect(m_qbuttonOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotOkClicked()));
- connect(m_qbuttonCancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
+ connect(m_qbuttonBrowse, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotBrowse() ) );
+ connect(m_profileEditorButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewProfile()));
+ connect(m_qbuttonOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotOkClicked()));
+ connect(m_qbuttonCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
// connect the change signals to the check slot and perform initial check
- connect(m_qlineeditFile, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(checkData()));
- connect(m_qcheckboxAccount, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(checkData()));
- connect(m_qcheckboxCategories, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(checkData()));
- connect(m_accountComboBox, TQT_SIGNAL(accountSelected(const TQString&)), this, TQT_SLOT(checkData(const TQString&)));
- connect(m_profileComboBox, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(checkData()));
- connect(m_kmymoneydateStart, TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(checkData()));
- connect(m_kmymoneydateEnd, TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(checkData()));
+ connect(m_qlineeditFile, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(checkData()));
+ connect(m_qcheckboxAccount, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(checkData()));
+ connect(m_qcheckboxCategories, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(checkData()));
+ connect(m_accountComboBox, TQ_SIGNAL(accountSelected(const TQString&)), this, TQ_SLOT(checkData(const TQString&)));
+ connect(m_profileComboBox, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(checkData()));
+ connect(m_kmymoneydateStart, TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(checkData()));
+ connect(m_kmymoneydateEnd, TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(checkData()));
checkData(TQString());
}
diff --git a/kmymoney2/dialogs/kfindtransactiondlg.cpp b/kmymoney2/dialogs/kfindtransactiondlg.cpp
index 9d8b743..9a5c386 100644
--- a/kmymoney2/dialogs/kfindtransactiondlg.cpp
+++ b/kmymoney2/dialogs/kfindtransactiondlg.cpp
@@ -68,7 +68,7 @@ KFindTransactionDlg::KFindTransactionDlg(TQWidget *parent, const char *name) :
m_tabWidget->setTabEnabled(m_resultPage, false);
// 'cause we don't have a separate setupTextPage
- connect(m_textEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateSelections()));
+ connect(m_textEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateSelections()));
setupAccountsPage();
setupCategoriesPage();
@@ -97,24 +97,24 @@ KFindTransactionDlg::KFindTransactionDlg(TQWidget *parent, const char *name) :
m_register->setupRegister(MyMoneyAccount(), cols);
m_register->setSelectionMode(TQTable::Single);
- connect(m_register, TQT_SIGNAL(editTransaction()), this, TQT_SLOT(slotSelectTransaction()));
- connect(m_register, TQT_SIGNAL(headerClicked()), this, TQT_SLOT(slotSortOptions()));
+ connect(m_register, TQ_SIGNAL(editTransaction()), this, TQ_SLOT(slotSelectTransaction()));
+ connect(m_register, TQ_SIGNAL(headerClicked()), this, TQ_SLOT(slotSortOptions()));
slotUpdateSelections();
// setup the connections
- connect(m_searchButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSearch()));
- connect(m_resetButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotReset()));
- connect(m_resetButton, TQT_SIGNAL(clicked()), m_accountsView, TQT_SLOT(slotSelectAllAccounts()));
- connect(m_resetButton, TQT_SIGNAL(clicked()), m_categoriesView, TQT_SLOT(slotSelectAllAccounts()));
- connect(m_closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteLater()));
- connect(m_helpButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotShowHelp()));
+ connect(m_searchButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSearch()));
+ connect(m_resetButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotReset()));
+ connect(m_resetButton, TQ_SIGNAL(clicked()), m_accountsView, TQ_SLOT(slotSelectAllAccounts()));
+ connect(m_resetButton, TQ_SIGNAL(clicked()), m_categoriesView, TQ_SLOT(slotSelectAllAccounts()));
+ connect(m_closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteLater()));
+ connect(m_helpButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotShowHelp()));
// only allow searches when a selection has been made
- connect(this, TQT_SIGNAL(selectionEmpty(bool)), m_searchButton, TQT_SLOT(setDisabled(bool)));
+ connect(this, TQ_SIGNAL(selectionEmpty(bool)), m_searchButton, TQ_SLOT(setDisabled(bool)));
// get signal about engine changes
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotRefreshView()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotRefreshView()));
slotUpdateSelections();
@@ -287,7 +287,7 @@ void KFindTransactionDlg::setupAccountsPage(void)
//set the accountset to show closed account if the settings say so
accountSet.setHideClosedAccounts(KMyMoneyGlobalSettings::hideClosedAccounts());
accountSet.load(m_accountsView);
- connect(m_accountsView, TQT_SIGNAL(stateChanged()), this, TQT_SLOT(slotUpdateSelections()));
+ connect(m_accountsView, TQ_SIGNAL(stateChanged()), this, TQ_SLOT(slotUpdateSelections()));
}
void KFindTransactionDlg::selectAllItems(TQListView* view, const bool state)
@@ -327,7 +327,7 @@ void KFindTransactionDlg::setupCategoriesPage(void)
categorySet.addAccountGroup(MyMoneyAccount::Income);
categorySet.addAccountGroup(MyMoneyAccount::Expense);
categorySet.load(m_categoriesView);
- connect(m_categoriesView, TQT_SIGNAL(stateChanged()), this, TQT_SLOT(slotUpdateSelections()));
+ connect(m_categoriesView, TQ_SIGNAL(stateChanged()), this, TQ_SLOT(slotUpdateSelections()));
}
void KFindTransactionDlg::selectAllSubItems(TQListViewItem* item, const bool state)
@@ -359,9 +359,9 @@ void KFindTransactionDlg::setupDatePage(void)
MyMoneyTransactionFilter::translateDateRange(static_cast<MyMoneyTransactionFilter::dateOptionE>(i), m_startDates[i], m_endDates[i]);
}
- connect(m_dateRange, TQT_SIGNAL(itemSelected(int)), this, TQT_SLOT(slotDateRangeChanged(int)));
- connect(m_fromDate, TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(slotDateChanged()));
- connect(m_toDate, TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(slotDateChanged()));
+ connect(m_dateRange, TQ_SIGNAL(itemSelected(int)), this, TQ_SLOT(slotDateRangeChanged(int)));
+ connect(m_fromDate, TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(slotDateChanged()));
+ connect(m_toDate, TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(slotDateChanged()));
slotDateRangeChanged(MyMoneyTransactionFilter::allDates);
}
@@ -403,12 +403,12 @@ void KFindTransactionDlg::slotDateChanged(void)
void KFindTransactionDlg::setupAmountPage(void)
{
- connect(m_amountButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAmountSelected()));
- connect(m_amountRangeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAmountRangeSelected()));
+ connect(m_amountButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAmountSelected()));
+ connect(m_amountRangeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAmountRangeSelected()));
- connect(m_amountEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateSelections()));
- connect(m_amountFromEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateSelections()));
- connect(m_amountToEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateSelections()));
+ connect(m_amountEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateSelections()));
+ connect(m_amountFromEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateSelections()));
+ connect(m_amountToEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateSelections()));
m_amountButton->setChecked(true);
slotAmountSelected();
@@ -438,9 +438,9 @@ void KFindTransactionDlg::setupPayeesPage(void)
loadPayees();
m_emptyPayeesButton->setChecked(false);
- connect(m_allPayeesButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectAllPayees()));
- connect(m_clearPayeesButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDeselectAllPayees()));
- connect(m_emptyPayeesButton, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(slotUpdateSelections()));
+ connect(m_allPayeesButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectAllPayees()));
+ connect(m_clearPayeesButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDeselectAllPayees()));
+ connect(m_emptyPayeesButton, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(slotUpdateSelections()));
}
void KFindTransactionDlg::loadPayees(void)
@@ -453,7 +453,7 @@ void KFindTransactionDlg::loadPayees(void)
// load view
for(it_l = list.begin(); it_l != list.end(); ++it_l) {
KMyMoneyCheckListItem* item = new KMyMoneyCheckListItem(m_payeesView, (*it_l).name(), TQString(), (*it_l).id());
- connect(item, TQT_SIGNAL(stateChanged(bool)), this, TQT_SLOT(slotUpdateSelections()));
+ connect(item, TQ_SIGNAL(stateChanged(bool)), this, TQ_SLOT(slotUpdateSelections()));
item->setOn(true);
}
}
@@ -469,15 +469,15 @@ void KFindTransactionDlg::slotDeselectAllPayees(void)
void KFindTransactionDlg::setupDetailsPage(void)
{
- connect(m_typeBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotUpdateSelections()));
- connect(m_stateBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotUpdateSelections()));
- connect(m_validityBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotUpdateSelections()));
+ connect(m_typeBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotUpdateSelections()));
+ connect(m_stateBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotUpdateSelections()));
+ connect(m_validityBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotUpdateSelections()));
- connect(m_nrButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNrSelected()));
- connect(m_nrRangeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNrRangeSelected()));
- connect(m_nrEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateSelections()));
- connect(m_nrFromEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateSelections()));
- connect(m_nrToEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateSelections()));
+ connect(m_nrButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNrSelected()));
+ connect(m_nrRangeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNrRangeSelected()));
+ connect(m_nrEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateSelections()));
+ connect(m_nrFromEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateSelections()));
+ connect(m_nrToEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateSelections()));
m_nrButton->setChecked(true);
slotNrSelected();
@@ -726,7 +726,7 @@ void KFindTransactionDlg::loadView(void)
m_tabWidget->setTabEnabled(m_resultPage, true);
m_tabWidget->setCurrentPage(m_tabWidget->indexOf(m_resultPage));
- TQTimer::singleShot(10, this, TQT_SLOT(slotRightSize()));
+ TQTimer::singleShot(10, this, TQ_SLOT(slotRightSize()));
}
void KFindTransactionDlg::slotRightSize(void)
diff --git a/kmymoney2/dialogs/kgncimportoptionsdlg.cpp b/kmymoney2/dialogs/kgncimportoptionsdlg.cpp
index c1edb47..0ad0bca 100644
--- a/kmymoney2/dialogs/kgncimportoptionsdlg.cpp
+++ b/kmymoney2/dialogs/kgncimportoptionsdlg.cpp
@@ -54,7 +54,7 @@ KGncImportOptionsDlg::KGncImportOptionsDlg(TQWidget *parent, const char *name)
checkDebugXML->setChecked (false);
checkAnonymize->setChecked (false);
- connect (checkDecode, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotDecodeOptionChanged(bool)));
+ connect (checkDecode, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotDecodeOptionChanged(bool)));
}
KGncImportOptionsDlg::~KGncImportOptionsDlg()
diff --git a/kmymoney2/dialogs/kgncpricesourcedlg.cpp b/kmymoney2/dialogs/kgncpricesourcedlg.cpp
index 9a1e2bb..663d831 100644
--- a/kmymoney2/dialogs/kgncpricesourcedlg.cpp
+++ b/kmymoney2/dialogs/kgncpricesourcedlg.cpp
@@ -46,8 +46,8 @@ KGncPriceSourceDlg::KGncPriceSourceDlg(TQWidget *parent, const char *name)
}
KGncPriceSourceDlg::KGncPriceSourceDlg(const TQString &stockName, const TQString &gncSource){
// signals and slots connections
- connect( buttonGroup5, TQT_SIGNAL( released(int) ), this, TQT_SLOT( buttonPressed(int) ) );
- connect( buttonHelp, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotHelp() ) );
+ connect( buttonGroup5, TQ_SIGNAL( released(int) ), this, TQ_SLOT( buttonPressed(int) ) );
+ connect( buttonHelp, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotHelp() ) );
// initialize data fields
textStockName->setText (i18n ("Investment: %1").arg(stockName));
textGncSource->setText (i18n ("Quote source: %1").arg(gncSource));
diff --git a/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp b/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp
index 992c1b2..3e3ccc3 100644
--- a/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp
+++ b/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp
@@ -67,9 +67,9 @@ KGpgKeySelectionDlg::KGpgKeySelectionDlg(TQWidget *parent, const char *name) :
topLayout->addLayout(ledBox);
- connect(m_listBox, TQT_SIGNAL(changed()), this, TQT_SLOT(slotIdChanged()));
- connect(m_listBox, TQT_SIGNAL(added(const TQString&)), this, TQT_SLOT(slotKeyListChanged()));
- connect(m_listBox, TQT_SIGNAL(removed(const TQString&)), this, TQT_SLOT(slotKeyListChanged()));
+ connect(m_listBox, TQ_SIGNAL(changed()), this, TQ_SLOT(slotIdChanged()));
+ connect(m_listBox, TQ_SIGNAL(added(const TQString&)), this, TQ_SLOT(slotKeyListChanged()));
+ connect(m_listBox, TQ_SIGNAL(removed(const TQString&)), this, TQ_SLOT(slotKeyListChanged()));
}
void KGpgKeySelectionDlg::setKeys(const TQStringList& list)
diff --git a/kmymoney2/dialogs/kimportdlg.cpp b/kmymoney2/dialogs/kimportdlg.cpp
index 503f987..38ddad8 100644
--- a/kmymoney2/dialogs/kimportdlg.cpp
+++ b/kmymoney2/dialogs/kimportdlg.cpp
@@ -86,14 +86,14 @@ KImportDlg::KImportDlg(TQWidget *parent, const char * name)
m_profileEditorButton->setGuiItem(newButtenItem);
// connect the buttons to their functionality
- connect(m_qbuttonBrowse, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotBrowse() ) );
- connect(m_qbuttonOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotOkClicked()));
- connect(m_qbuttonCancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(m_profileEditorButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewProfile()));
+ connect(m_qbuttonBrowse, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotBrowse() ) );
+ connect(m_qbuttonOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotOkClicked()));
+ connect(m_qbuttonCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
+ connect(m_profileEditorButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewProfile()));
// connect the change signals to the check slot and perform initial check
- connect(m_qlineeditFile, TQT_SIGNAL(textChanged(const TQString&)), this,
- TQT_SLOT(slotFileTextChanged(const TQString&)));
+ connect(m_qlineeditFile, TQ_SIGNAL(textChanged(const TQString&)), this,
+ TQ_SLOT(slotFileTextChanged(const TQString&)));
// setup button enable status
slotFileTextChanged(m_qlineeditFile->text());
diff --git a/kmymoney2/dialogs/kloadtemplatedlg.cpp b/kmymoney2/dialogs/kloadtemplatedlg.cpp
index ed075b4..e026ca0 100644
--- a/kmymoney2/dialogs/kloadtemplatedlg.cpp
+++ b/kmymoney2/dialogs/kloadtemplatedlg.cpp
@@ -40,7 +40,7 @@ KLoadTemplateDlg::KLoadTemplateDlg(TQWidget* parent, const char* name) :
buttonCancel->setGuiItem(KStdGuiItem::cancel());
buttonHelp->setGuiItem(KStdGuiItem::help());
- connect(buttonHelp, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelp()));
+ connect(buttonHelp, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotHelp()));
}
TQValueList<MyMoneyTemplate> KLoadTemplateDlg::templates(void) const
diff --git a/kmymoney2/dialogs/kmymoneypricedlg.cpp b/kmymoney2/dialogs/kmymoneypricedlg.cpp
index 758c072..6c19ec1 100644
--- a/kmymoney2/dialogs/kmymoneypricedlg.cpp
+++ b/kmymoney2/dialogs/kmymoneypricedlg.cpp
@@ -85,19 +85,19 @@ KMyMoneyPriceDlg::KMyMoneyPriceDlg(TQWidget* parent, const char *name) :
i18n("Use this to close the dialog and return to the application."));
m_closeButton->setGuiItem(okButtenItem);
- connect(m_closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
- connect(m_editButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditPrice()));
- connect(m_priceList, TQT_SIGNAL(editPrice()), this, TQT_SLOT(slotEditPrice()));
- connect(m_deleteButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDeletePrice()));
- connect(m_priceList, TQT_SIGNAL(deletePrice()), this, TQT_SLOT(slotDeletePrice()));
- connect(m_newButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewPrice()));
- connect(m_priceList, TQT_SIGNAL(newPrice()), this, TQT_SLOT(slotNewPrice()));
- connect(m_priceList, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectPrice(TQListViewItem*)));
- connect(m_onlineQuoteButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotOnlinePriceUpdate()));
- connect(m_priceList, TQT_SIGNAL(onlinePriceUpdate()), this, TQT_SLOT(slotOnlinePriceUpdate()));
-
- connect(m_showAllPrices, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotLoadWidgets()));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadWidgets()));
+ connect(m_closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
+ connect(m_editButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditPrice()));
+ connect(m_priceList, TQ_SIGNAL(editPrice()), this, TQ_SLOT(slotEditPrice()));
+ connect(m_deleteButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDeletePrice()));
+ connect(m_priceList, TQ_SIGNAL(deletePrice()), this, TQ_SLOT(slotDeletePrice()));
+ connect(m_newButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewPrice()));
+ connect(m_priceList, TQ_SIGNAL(newPrice()), this, TQ_SLOT(slotNewPrice()));
+ connect(m_priceList, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotSelectPrice(TQListViewItem*)));
+ connect(m_onlineQuoteButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotOnlinePriceUpdate()));
+ connect(m_priceList, TQ_SIGNAL(onlinePriceUpdate()), this, TQ_SLOT(slotOnlinePriceUpdate()));
+
+ connect(m_showAllPrices, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotLoadWidgets()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadWidgets()));
slotLoadWidgets();
slotSelectPrice(0);
diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp
index 4a71553..028b714 100644
--- a/kmymoney2/dialogs/kmymoneysplittable.cpp
+++ b/kmymoney2/dialogs/kmymoneysplittable.cpp
@@ -98,17 +98,17 @@ kMyMoneySplitTable::kMyMoneySplitTable(TQWidget *parent, const char *name ) :
m_contextMenu = new TDEPopupMenu(this);
TDEIconLoader *il = TDEGlobal::iconLoader();
m_contextMenu->insertTitle(il->loadIcon("transaction", TDEIcon::MainToolbar), i18n("Split Options"));
- m_contextMenu->insertItem(il->loadIcon("edit", TDEIcon::Small), i18n("Edit..."), this, TQT_SLOT(slotStartEdit()));
- m_contextMenuDuplicate = m_contextMenu->insertItem(il->loadIcon("edit-copy", TDEIcon::Small), i18n("Duplicate"), this, TQT_SLOT(slotDuplicateSplit()));
+ m_contextMenu->insertItem(il->loadIcon("edit", TDEIcon::Small), i18n("Edit..."), this, TQ_SLOT(slotStartEdit()));
+ m_contextMenuDuplicate = m_contextMenu->insertItem(il->loadIcon("edit-copy", TDEIcon::Small), i18n("Duplicate"), this, TQ_SLOT(slotDuplicateSplit()));
m_contextMenuDelete = m_contextMenu->insertItem(il->loadIcon("delete", TDEIcon::Small),
i18n("Delete ..."),
- this, TQT_SLOT(slotDeleteSplit()));
+ this, TQ_SLOT(slotDeleteSplit()));
- connect(this, TQT_SIGNAL(clicked(int, int, int, const TQPoint&)),
- this, TQT_SLOT(slotSetFocus(int, int, int, const TQPoint&)));
+ connect(this, TQ_SIGNAL(clicked(int, int, int, const TQPoint&)),
+ this, TQ_SLOT(slotSetFocus(int, int, int, const TQPoint&)));
- connect(this, TQT_SIGNAL(transactionChanged(const MyMoneyTransaction&)),
- this, TQT_SLOT(slotUpdateData(const MyMoneyTransaction&)));
+ connect(this, TQ_SIGNAL(transactionChanged(const MyMoneyTransaction&)),
+ this, TQ_SLOT(slotUpdateData(const MyMoneyTransaction&)));
}
kMyMoneySplitTable::~kMyMoneySplitTable()
@@ -335,7 +335,7 @@ bool kMyMoneySplitTable::eventFilter(TQObject *o, TQEvent *e)
}
if(terminate) {
- TQTimer::singleShot(0, this, TQT_SLOT(slotEndEditKeyboard()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotEndEditKeyboard()));
}
break;
@@ -343,7 +343,7 @@ bool kMyMoneySplitTable::eventFilter(TQObject *o, TQEvent *e)
// we cannot call the slot directly, as it destroys the caller of
// this method :-( So we let the event handler take care of calling
// the respective slot using a timeout.
- TQTimer::singleShot(0, this, TQT_SLOT(slotCancelEdit()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotCancelEdit()));
break;
default:
@@ -465,7 +465,7 @@ void kMyMoneySplitTable::contentsMouseDoubleClickEvent( TQMouseEvent *e )
editWidget->selectAll();
// we need to call setFocus on the edit widget from the
// main loop again to get the keyboard focus to the widget also
- TQTimer::singleShot(0, editWidget, TQT_SLOT(setFocus()));
+ TQTimer::singleShot(0, editWidget, TQ_SLOT(setFocus()));
}
}
@@ -819,7 +819,7 @@ void kMyMoneySplitTable::destroyEditWidgets(void)
{
MYMONEYTRACER(tracer);
- disconnect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadEditWidgets()));
+ disconnect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadEditWidgets()));
clearCellWidget(m_currentRow, 0);
clearCellWidget(m_currentRow, 1);
@@ -845,8 +845,8 @@ TQWidget* kMyMoneySplitTable::createEditWidgets(void)
m_editCategory = new KMyMoneyCategory();
m_editCategory->setHint(i18n("Category"));
m_editCategory->setFont(cellFont);
- connect(m_editCategory, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SIGNAL(createCategory(const TQString&, TQString&)));
- connect(m_editCategory, TQT_SIGNAL(objectCreation(bool)), this, TQT_SIGNAL(objectCreation(bool)));
+ connect(m_editCategory, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SIGNAL(createCategory(const TQString&, TQString&)));
+ connect(m_editCategory, TQ_SIGNAL(objectCreation(bool)), this, TQ_SIGNAL(objectCreation(bool)));
m_editMemo = new kMyMoneyLineEdit(0, 0, false, AlignLeft|AlignVCenter);
m_editMemo->setHint(i18n("Memo"));
@@ -868,8 +868,8 @@ TQWidget* kMyMoneySplitTable::createEditWidgets(void)
l->addWidget(m_registerCancelButton);
l->addStretch(2);
- connect(m_registerEnterButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEndEdit()));
- connect(m_registerCancelButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCancelEdit()));
+ connect(m_registerEnterButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEndEdit()));
+ connect(m_registerCancelButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCancelEdit()));
// setup tab order
addToTabOrder(m_editCategory);
@@ -908,7 +908,7 @@ TQWidget* kMyMoneySplitTable::createEditWidgets(void)
// load e.g. the category widget with the account list
slotLoadEditWidgets();
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadEditWidgets()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadEditWidgets()));
// setup the keyboard filter for all widgets
for(TQWidget* w = m_tabOrderWidgets.first(); w; w = m_tabOrderWidgets.next()) {
diff --git a/kmymoney2/dialogs/knewaccountdlg.cpp b/kmymoney2/dialogs/knewaccountdlg.cpp
index 4d86d4d..97d82de 100644
--- a/kmymoney2/dialogs/knewaccountdlg.cpp
+++ b/kmymoney2/dialogs/knewaccountdlg.cpp
@@ -366,29 +366,29 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo
cancelButton->setGuiItem(KStdGuiItem::cancel());
createButton->setGuiItem(KStdGuiItem::ok());
- connect(cancelButton, TQT_SIGNAL(clicked()), TQT_SLOT(reject()));
- connect(createButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(okClicked()));
- connect(m_qlistviewParentAccounts, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- this, TQT_SLOT(slotSelectionChanged(TQListViewItem*)));
- connect(m_qbuttonNew, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewClicked()));
- connect(typeCombo, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(slotAccountTypeChanged(const TQString&)));
-
- connect(accountNameEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckFinished()));
-
- connect(m_vatCategory, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotVatChanged(bool)));
- connect(m_vatAssignment, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotVatAssignmentChanged(bool)));
- connect(m_vatCategory, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotCheckFinished()));
- connect(m_vatAssignment, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotCheckFinished()));
- connect(m_vatRate, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckFinished()));
- connect(m_vatAccount, TQT_SIGNAL(stateChanged()), this, TQT_SLOT(slotCheckFinished()));
-
- connect(m_minBalanceEarlyEdit, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotAdjustMinBalanceAbsoluteEdit(const TQString&)));
- connect(m_minBalanceAbsoluteEdit, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotAdjustMinBalanceEarlyEdit(const TQString&)));
- connect(m_maxCreditEarlyEdit, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotAdjustMaxCreditAbsoluteEdit(const TQString&)));
- connect(m_maxCreditAbsoluteEdit, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotAdjustMaxCreditEarlyEdit(const TQString&)));
-
- connect(m_qcomboboxInstitutions, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotLoadInstitutions(const TQString&)));
+ connect(cancelButton, TQ_SIGNAL(clicked()), TQ_SLOT(reject()));
+ connect(createButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(okClicked()));
+ connect(m_qlistviewParentAccounts, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT(slotSelectionChanged(TQListViewItem*)));
+ connect(m_qbuttonNew, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewClicked()));
+ connect(typeCombo, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(slotAccountTypeChanged(const TQString&)));
+
+ connect(accountNameEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckFinished()));
+
+ connect(m_vatCategory, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotVatChanged(bool)));
+ connect(m_vatAssignment, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotVatAssignmentChanged(bool)));
+ connect(m_vatCategory, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotCheckFinished()));
+ connect(m_vatAssignment, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotCheckFinished()));
+ connect(m_vatRate, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckFinished()));
+ connect(m_vatAccount, TQ_SIGNAL(stateChanged()), this, TQ_SLOT(slotCheckFinished()));
+
+ connect(m_minBalanceEarlyEdit, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotAdjustMinBalanceAbsoluteEdit(const TQString&)));
+ connect(m_minBalanceAbsoluteEdit, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotAdjustMinBalanceEarlyEdit(const TQString&)));
+ connect(m_maxCreditEarlyEdit, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotAdjustMaxCreditAbsoluteEdit(const TQString&)));
+ connect(m_maxCreditAbsoluteEdit, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotAdjustMaxCreditEarlyEdit(const TQString&)));
+
+ connect(m_qcomboboxInstitutions, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(slotLoadInstitutions(const TQString&)));
m_vatCategory->setChecked(false);
m_vatAssignment->setChecked(false);
@@ -442,7 +442,7 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo
// using a timeout is the only way, I got the 'ensureItemVisible'
// working when creating the dialog. I assume, this
// has something to do with the delayed update of the display somehow.
- TQTimer::singleShot(50, this, TQT_SLOT(timerDone()));
+ TQTimer::singleShot(50, this, TQ_SLOT(timerDone()));
}
void KNewAccountDlg::timerDone(void)
diff --git a/kmymoney2/dialogs/knewbankdlg.cpp b/kmymoney2/dialogs/knewbankdlg.cpp
index 85b0984..c900269 100644
--- a/kmymoney2/dialogs/knewbankdlg.cpp
+++ b/kmymoney2/dialogs/knewbankdlg.cpp
@@ -58,9 +58,9 @@ KNewBankDlg::KNewBankDlg(MyMoneyInstitution& institution, TQWidget *parent, cons
bicEdit->setText(institution.value("bic"));
sortCodeEdit->setText(institution.sortcode());
- connect(okBtn, TQT_SIGNAL(clicked()), TQT_SLOT(okClicked()));
- connect(cancelBtn, TQT_SIGNAL(clicked()), TQT_SLOT(reject()));
- connect(nameEdit, TQT_SIGNAL(textChanged ( const TQString & )), TQT_SLOT(institutionNameChanged( const TQString &)));
+ connect(okBtn, TQ_SIGNAL(clicked()), TQ_SLOT(okClicked()));
+ connect(cancelBtn, TQ_SIGNAL(clicked()), TQ_SLOT(reject()));
+ connect(nameEdit, TQ_SIGNAL(textChanged ( const TQString & )), TQ_SLOT(institutionNameChanged( const TQString &)));
institutionNameChanged( nameEdit->text());
kMandatoryFieldGroup* requiredFields = new kMandatoryFieldGroup (this);
diff --git a/kmymoney2/dialogs/knewequityentrydlg.cpp b/kmymoney2/dialogs/knewequityentrydlg.cpp
index c695a4a..27aa0f7 100644
--- a/kmymoney2/dialogs/knewequityentrydlg.cpp
+++ b/kmymoney2/dialogs/knewequityentrydlg.cpp
@@ -46,12 +46,12 @@ KNewEquityEntryDlg::KNewEquityEntryDlg(TQWidget *parent, const char *name)
edtFraction->setPrecision(0);
edtFraction->loadText("100");
- connect(btnOK, TQT_SIGNAL(clicked()), this, TQT_SLOT(onOKClicked()));
- connect(btnCancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
+ connect(btnOK, TQ_SIGNAL(clicked()), this, TQ_SLOT(onOKClicked()));
+ connect(btnCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
- connect(edtFraction, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotDataChanged()));
- connect(edtMarketSymbol, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotDataChanged()));
- connect(edtEquityName, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotDataChanged()));
+ connect(edtFraction, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotDataChanged()));
+ connect(edtMarketSymbol, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotDataChanged()));
+ connect(edtEquityName, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotDataChanged()));
// add icons to buttons
btnOK->setGuiItem(KStdGuiItem::ok());
diff --git a/kmymoney2/dialogs/knewfiledlg.cpp b/kmymoney2/dialogs/knewfiledlg.cpp
index b047c8f..851615f 100644
--- a/kmymoney2/dialogs/knewfiledlg.cpp
+++ b/kmymoney2/dialogs/knewfiledlg.cpp
@@ -89,9 +89,9 @@ void KNewFileDlg::init(const TQString& title)
userNameEdit->setFocus();
- connect(cancelBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(okBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(okClicked()));
- connect(tdeabcBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(loadFromKABC()));
+ connect(cancelBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
+ connect(okBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(okClicked()));
+ connect(tdeabcBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(loadFromKABC()));
}
KNewFileDlg::~KNewFileDlg(){
diff --git a/kmymoney2/dialogs/knewinvestmentwizard.cpp b/kmymoney2/dialogs/knewinvestmentwizard.cpp
index e7df5f2..f018d6b 100644
--- a/kmymoney2/dialogs/knewinvestmentwizard.cpp
+++ b/kmymoney2/dialogs/knewinvestmentwizard.cpp
@@ -56,7 +56,7 @@ KNewInvestmentWizard::KNewInvestmentWizard( TQWidget *parent, const char *name )
slotCheckPage(TQString());
m_investmentSymbol->setFocus();
- connect(m_investmentSymbol, TQT_SIGNAL(lineChanged(const TQString&)), this, TQT_SLOT(slotCheckForExistingSymbol(const TQString&)));
+ connect(m_investmentSymbol, TQ_SIGNAL(lineChanged(const TQString&)), this, TQ_SLOT(slotCheckForExistingSymbol(const TQString&)));
}
KNewInvestmentWizard::KNewInvestmentWizard( const MyMoneyAccount& acc, TQWidget *parent, const char *name ) :
@@ -117,14 +117,14 @@ void KNewInvestmentWizard::init1(void)
// load the widget with the available currencies
m_tradingCurrencyEdit->update(TQString());
- connect(helpButton(),TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelp(void)));
- connect(m_investmentName, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPage(void)));
- connect(m_investmentSymbol, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPage(void)));
- connect(m_fraction, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPage(void)));
- connect(m_investmentIdentification, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPage(void)));
- connect(m_onlineFactor, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPage(void)));
- connect(m_onlineSourceCombo, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotCheckPage(const TQString&)));
- connect(m_useFinanceQuote, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSourceChanged(bool)));
+ connect(helpButton(),TQ_SIGNAL(clicked()), this, TQ_SLOT(slotHelp(void)));
+ connect(m_investmentName, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPage(void)));
+ connect(m_investmentSymbol, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPage(void)));
+ connect(m_fraction, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPage(void)));
+ connect(m_investmentIdentification, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPage(void)));
+ connect(m_onlineFactor, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPage(void)));
+ connect(m_onlineSourceCombo, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(slotCheckPage(const TQString&)));
+ connect(m_useFinanceQuote, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSourceChanged(bool)));
m_createAccount = true;
diff --git a/kmymoney2/dialogs/knewloanwizard.cpp b/kmymoney2/dialogs/knewloanwizard.cpp
index 2036170..7d5a7a9 100644
--- a/kmymoney2/dialogs/knewloanwizard.cpp
+++ b/kmymoney2/dialogs/knewloanwizard.cpp
@@ -66,35 +66,35 @@
KNewLoanWizard::KNewLoanWizard(TQWidget *parent, const char *name ) :
KNewLoanWizardDecl(parent, name, true)
{
- connect(m_borrowButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotLiabilityLoan()));
- connect(m_lendButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAssetLoan()));
+ connect(m_borrowButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotLiabilityLoan()));
+ connect(m_lendButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAssetLoan()));
- connect(m_nameEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPageFinished()));
- // connect(m_payeeEdit, TQT_SIGNAL(newPayee(const TQString&)), this, TQT_SLOT(slotNewPayee(const TQString&)));
- connect(m_payeeEdit, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SIGNAL(createPayee(const TQString&, TQString&)));
+ connect(m_nameEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPageFinished()));
+ // connect(m_payeeEdit, TQ_SIGNAL(newPayee(const TQString&)), this, TQ_SLOT(slotNewPayee(const TQString&)));
+ connect(m_payeeEdit, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SIGNAL(createPayee(const TQString&, TQString&)));
- connect(m_previousPaymentButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPaymentsMade()));
- connect(m_noPreviousPaymentButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNoPaymentsMade()));
+ connect(m_previousPaymentButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPaymentsMade()));
+ connect(m_noPreviousPaymentButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNoPaymentsMade()));
- connect(m_allPaymentsButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRecordAllPayments()));
- connect(m_thisYearPaymentButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRecordThisYearsPayments()));
+ connect(m_allPaymentsButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRecordAllPayments()));
+ connect(m_thisYearPaymentButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRecordThisYearsPayments()));
- connect(m_firstDueDateEdit, TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(slotCheckPageFinished()));
+ connect(m_firstDueDateEdit, TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(slotCheckPageFinished()));
- connect(m_interestOnPaymentButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotInterestOnPayment()));
- connect(m_interestOnReceptionButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotInterestOnReception()));
+ connect(m_interestOnPaymentButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotInterestOnPayment()));
+ connect(m_interestOnReceptionButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotInterestOnReception()));
- connect(m_loanAmountEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotCheckPageFinished()));
+ connect(m_loanAmountEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotCheckPageFinished()));
- connect(m_interestAccountEdit, TQT_SIGNAL(stateChanged()), this, TQT_SLOT(slotCheckPageFinished()));
+ connect(m_interestAccountEdit, TQ_SIGNAL(stateChanged()), this, TQ_SLOT(slotCheckPageFinished()));
- connect(m_nextDueDateEdit, TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(slotCheckPageFinished()));
- connect(m_paymentAccountEdit, TQT_SIGNAL(stateChanged()), this, TQT_SLOT(slotCheckPageFinished()));
+ connect(m_nextDueDateEdit, TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(slotCheckPageFinished()));
+ connect(m_paymentAccountEdit, TQ_SIGNAL(stateChanged()), this, TQ_SLOT(slotCheckPageFinished()));
- connect(m_assetAccountEdit, TQT_SIGNAL(stateChanged()), this, TQT_SLOT(slotCheckPageFinished()));
- connect(m_dontCreatePayoutCheckBox, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCheckPageFinished()));
+ connect(m_assetAccountEdit, TQ_SIGNAL(stateChanged()), this, TQ_SLOT(slotCheckPageFinished()));
+ connect(m_dontCreatePayoutCheckBox, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCheckPageFinished()));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotReloadEditWidgets()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotReloadEditWidgets()));
loadComboBoxes();
@@ -128,21 +128,21 @@ KNewLoanWizard::KNewLoanWizard(TQWidget *parent, const char *name ) :
i18n("Create a new category"),
i18n("Use this to open the new account editor"));
m_createCategoryButton->setGuiItem(createCategoryButtenItem);
- connect(m_createCategoryButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCreateCategory()));
+ connect(m_createCategoryButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCreateCategory()));
KGuiItem additionalFeeButtenItem( i18n( "&Additional fees..." ),
0, //TQIconSet(il->loadIcon("document-new", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Enter additional fees"),
i18n("Use this to add any additional fees other than principal and interest contained in your periodical payments."));
m_additionalFeeButton->setGuiItem(additionalFeeButtenItem);
- connect(m_additionalFeeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAdditionalFees()));
+ connect(m_additionalFeeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAdditionalFees()));
KGuiItem createAssetButtenItem( i18n( "&Create..." ),
TQIconSet(il->loadIcon("document-new", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Create a new asset account"),
i18n("Use this to create a new account to which the initial payment should be made"));
m_createNewAssetButton->setGuiItem(createAssetButtenItem);
- connect(m_createNewAssetButton, TQT_SIGNAL(clicked()), kmymoney2, TQT_SLOT(slotAccountNew()));
+ connect(m_createNewAssetButton, TQ_SIGNAL(clicked()), kmymoney2, TQ_SLOT(slotAccountNew()));
// enable the finish button on the last page
setFinishEnabled(m_summaryPage, true);
@@ -930,7 +930,7 @@ void KNewLoanWizard::slotAdditionalFees(void)
TQMap<TQString, MyMoneyMoney> priceInfo;
KSplitTransactionDlg* dlg = new KSplitTransactionDlg(m_transaction, m_split, account, false, !m_borrowButton->isChecked(), MyMoneyMoney(0), priceInfo);
- connect(dlg, TQT_SIGNAL(newCategory(MyMoneyAccount&)), this, TQT_SIGNAL(newCategory(MyMoneyAccount&)));
+ connect(dlg, TQ_SIGNAL(newCategory(MyMoneyAccount&)), this, TQ_SIGNAL(newCategory(MyMoneyAccount&)));
if(dlg->exec() == TQDialog::Accepted) {
m_transaction = dlg->transaction();
diff --git a/kmymoney2/dialogs/kreconciledlg.cpp b/kmymoney2/dialogs/kreconciledlg.cpp
index 0e1aad9..bfaa26f 100644
--- a/kmymoney2/dialogs/kreconciledlg.cpp
+++ b/kmymoney2/dialogs/kreconciledlg.cpp
@@ -90,11 +90,11 @@ KReconcileDlg::KReconcileDlg(const MyMoneyMoney /* previousBal */, const MyMoney
loadLists();
insertTransactions();
- connect(debitListView, TQT_SIGNAL(clicked(TQListViewItem*, const TQPoint&, int)), this, TQT_SLOT(slotDebitSelected(TQListViewItem*, const TQPoint&, int)));
- connect(creditListView, TQT_SIGNAL(clicked(TQListViewItem*, const TQPoint&, int)), this, TQT_SLOT(slotCreditSelected(TQListViewItem*, const TQPoint&, int)));
- connect(buttonCancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(cancelClicked()));
- connect(buttonOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(finishClicked()));
- connect(buttonEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(editClicked()));
+ connect(debitListView, TQ_SIGNAL(clicked(TQListViewItem*, const TQPoint&, int)), this, TQ_SLOT(slotDebitSelected(TQListViewItem*, const TQPoint&, int)));
+ connect(creditListView, TQ_SIGNAL(clicked(TQListViewItem*, const TQPoint&, int)), this, TQ_SLOT(slotCreditSelected(TQListViewItem*, const TQPoint&, int)));
+ connect(buttonCancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(cancelClicked()));
+ connect(buttonOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(finishClicked()));
+ connect(buttonEdit, TQ_SIGNAL(clicked()), this, TQ_SLOT(editClicked()));
doDifference();
*/
diff --git a/kmymoney2/dialogs/kreportconfigurationfilterdlg.cpp b/kmymoney2/dialogs/kreportconfigurationfilterdlg.cpp
index 2211568..571d087 100644
--- a/kmymoney2/dialogs/kreportconfigurationfilterdlg.cpp
+++ b/kmymoney2/dialogs/kreportconfigurationfilterdlg.cpp
@@ -96,13 +96,13 @@ KReportConfigurationFilterDlg::KReportConfigurationFilterDlg(
//
// the Ok button is always enabled
- disconnect(TQT_SIGNAL(selectionEmpty(bool)));
+ disconnect(TQ_SIGNAL(selectionEmpty(bool)));
m_searchButton->setGuiItem( KStdGuiItem::ok() );
m_searchButton->setEnabled(true);
// reconnect the close button
m_closeButton->disconnect();
- connect(m_closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
+ connect(m_closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
//
// Add new tabs
@@ -115,10 +115,10 @@ KReportConfigurationFilterDlg::KReportConfigurationFilterDlg(
{
m_tab2 = new kMyMoneyReportConfigTab2Decl( m_criteriaTab, "kMyMoneyReportConfigTab2" );
m_criteriaTab->insertTab( m_tab2, i18n( "Rows/Columns"), 1 );
- connect(m_tab2->m_comboRows, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotRowTypeChanged(int)));
- connect(m_tab2->m_comboColumns, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotColumnTypeChanged(int)));
+ connect(m_tab2->m_comboRows, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(slotRowTypeChanged(int)));
+ connect(m_tab2->m_comboColumns, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotColumnTypeChanged(int)));
//control the state of the includeTransfer check
- connect(m_categoriesView, TQT_SIGNAL(stateChanged()), this, TQT_SLOT(slotUpdateCheckTransfers()));
+ connect(m_categoriesView, TQ_SIGNAL(stateChanged()), this, TQ_SLOT(slotUpdateCheckTransfers()));
#ifdef HAVE_KDCHART
m_tabChart = new kMyMoneyReportConfigTabChartDecl( m_criteriaTab, "kMyMoneyReportConfigTabChart" );
diff --git a/kmymoney2/dialogs/ksecuritylisteditor.cpp b/kmymoney2/dialogs/ksecuritylisteditor.cpp
index 5113e32..99c57b9 100644
--- a/kmymoney2/dialogs/ksecuritylisteditor.cpp
+++ b/kmymoney2/dialogs/ksecuritylisteditor.cpp
@@ -92,12 +92,12 @@ KSecurityListEditor::KSecurityListEditor(TQWidget *parent, const char *name) :
i18n("Use this to close the dialog and return to the application."));
m_closeButton->setGuiItem(okButtenItem);
- connect(m_closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(m_showCurrencyButton, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotLoadList()));
- connect(m_listView, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotUpdateButtons()));
+ connect(m_closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
+ connect(m_showCurrencyButton, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotLoadList()));
+ connect(m_listView, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotUpdateButtons()));
- connect(m_editButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditSecurity()));
- connect(m_deleteButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDeleteSecurity()));
+ connect(m_editButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditSecurity()));
+ connect(m_deleteButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDeleteSecurity()));
// FIXME for now, the only way to add a new security is to add a new investment
m_addButton->hide();
diff --git a/kmymoney2/dialogs/ksplittransactiondlg.cpp b/kmymoney2/dialogs/ksplittransactiondlg.cpp
index 30a8a51..b8fd102 100644
--- a/kmymoney2/dialogs/ksplittransactiondlg.cpp
+++ b/kmymoney2/dialogs/ksplittransactiondlg.cpp
@@ -99,19 +99,19 @@ KSplitTransactionDlg::KSplitTransactionDlg(const MyMoneyTransaction& t,
clearAllBtn->setFocusPolicy(TQWidget::NoFocus);
// connect signals with slots
- connect(transactionsTable, TQT_SIGNAL(transactionChanged(const MyMoneyTransaction&)),
- this, TQT_SLOT(slotSetTransaction(const MyMoneyTransaction&)));
- connect(transactionsTable, TQT_SIGNAL(createCategory(const TQString&, TQString&)), this, TQT_SLOT(slotCreateCategory(const TQString&, TQString&)));
- connect(transactionsTable, TQT_SIGNAL(objectCreation(bool)), this, TQT_SIGNAL(objectCreation(bool)));
+ connect(transactionsTable, TQ_SIGNAL(transactionChanged(const MyMoneyTransaction&)),
+ this, TQ_SLOT(slotSetTransaction(const MyMoneyTransaction&)));
+ connect(transactionsTable, TQ_SIGNAL(createCategory(const TQString&, TQString&)), this, TQ_SLOT(slotCreateCategory(const TQString&, TQString&)));
+ connect(transactionsTable, TQ_SIGNAL(objectCreation(bool)), this, TQ_SIGNAL(objectCreation(bool)));
- connect(transactionsTable, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(accept()));
- connect(transactionsTable, TQT_SIGNAL(escapePressed()), this, TQT_SLOT(reject()));
+ connect(transactionsTable, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(accept()));
+ connect(transactionsTable, TQ_SIGNAL(escapePressed()), this, TQ_SLOT(reject()));
- connect(cancelBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(finishBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
- connect(clearAllBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClearAllSplits()));
- connect(mergeBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMergeSplits()));
- connect(clearZeroBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClearUnusedSplits()));
+ connect(cancelBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
+ connect(finishBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
+ connect(clearAllBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClearAllSplits()));
+ connect(mergeBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotMergeSplits()));
+ connect(clearZeroBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClearUnusedSplits()));
// setup the precision
try {
@@ -138,7 +138,7 @@ KSplitTransactionDlg::KSplitTransactionDlg(const MyMoneyTransaction& t,
// 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( 10, this, TQT_SLOT(initSize()) );
+ TQTimer::singleShot( 10, this, TQ_SLOT(initSize()) );
}
KSplitTransactionDlg::~KSplitTransactionDlg()
diff --git a/kmymoney2/dialogs/kstartdlg.cpp b/kmymoney2/dialogs/kstartdlg.cpp
index aaef641..25c4555 100644
--- a/kmymoney2/dialogs/kstartdlg.cpp
+++ b/kmymoney2/dialogs/kstartdlg.cpp
@@ -74,10 +74,10 @@ void KStartDlg::setPage_Template()
templateMainFrame = addVBoxPage( i18n("Templates"), i18n("Select templates"), DesktopIcon("wizard"));
view_wizard = new TDEIconView( templateMainFrame, "view_options" );
(void)new TQIconViewItem( view_wizard, i18n("New KMyMoney document"), ic->loadIcon("mime_empty.png", TDEIcon::Desktop, TDEIcon::SizeLarge)/*TQPixmap( locate("icon","hicolor/48x48/mimetypes/mime_empty.png") )*/ );
- connect(view_wizard, TQT_SIGNAL(executed(TQIconViewItem *) ), this, TQT_SLOT(slotTemplateClicked(TQIconViewItem *) ) );
- connect(view_wizard, TQT_SIGNAL(selectionChanged(TQIconViewItem*)),
- this, TQT_SLOT(slotTemplateSelectionChanged(TQIconViewItem*)));
- connect(this, TQT_SIGNAL(aboutToShowPage(TQWidget*)), this, TQT_SLOT(slotAboutToShowPage(TQWidget*)));
+ connect(view_wizard, TQ_SIGNAL(executed(TQIconViewItem *) ), this, TQ_SLOT(slotTemplateClicked(TQIconViewItem *) ) );
+ connect(view_wizard, TQ_SIGNAL(selectionChanged(TQIconViewItem*)),
+ this, TQ_SLOT(slotTemplateSelectionChanged(TQIconViewItem*)));
+ connect(this, TQ_SIGNAL(aboutToShowPage(TQWidget*)), this, TQ_SLOT(slotAboutToShowPage(TQWidget*)));
}
/** Set the Misc options Page of the preferences dialog */
@@ -98,13 +98,13 @@ void KStartDlg::setPage_Documents()
label1->setText( i18n("Recent Files") );
mainLayout->addWidget( label1 );
view_recent = new TDEIconView( recentMainFrame, "view_recent" );
- connect( view_recent, TQT_SIGNAL( executed(TQIconViewItem *) ), this, TQT_SLOT( slotRecentClicked(TQIconViewItem *) ) );
+ connect( view_recent, TQ_SIGNAL( executed(TQIconViewItem *) ), this, TQ_SLOT( slotRecentClicked(TQIconViewItem *) ) );
mainLayout->addWidget( view_recent );
view_recent->setArrangement(TDEIconView::LeftToRight/*TopToBottom*/);
view_recent->setItemTextPos(TDEIconView::Bottom);
- connect(view_recent, TQT_SIGNAL(selectionChanged(TQIconViewItem*)),
- this, TQT_SLOT(slotRecentSelectionChanged(TQIconViewItem*)));
+ connect(view_recent, TQ_SIGNAL(selectionChanged(TQIconViewItem*)),
+ this, TQ_SLOT(slotRecentSelectionChanged(TQIconViewItem*)));
}
void KStartDlg::slotTemplateClicked(TQIconViewItem *item)
diff --git a/kmymoney2/dialogs/kupdatestockpricedlg.cpp b/kmymoney2/dialogs/kupdatestockpricedlg.cpp
index 924105d..efd6800 100644
--- a/kmymoney2/dialogs/kupdatestockpricedlg.cpp
+++ b/kmymoney2/dialogs/kupdatestockpricedlg.cpp
@@ -54,11 +54,11 @@ void KUpdateStockPriceDlg::init()
m_okButton->setGuiItem(KStdGuiItem::ok());
m_cancelButton->setGuiItem(KStdGuiItem::cancel());
- connect(m_okButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
- connect(m_cancelButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
+ connect(m_okButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
+ connect(m_cancelButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
- connect(m_security, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotCheckData()));
- connect(m_currency, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotCheckData()));
+ connect(m_security, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotCheckData()));
+ connect(m_currency, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotCheckData()));
// load initial values into the selection widgets
m_currency->update(TQString());
diff --git a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
index ff56d28..66b5623 100644
--- a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
+++ b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp
@@ -101,37 +101,37 @@ MyMoneyQifProfileEditor::MyMoneyQifProfileEditor(const bool edit, TQWidget *pare
i18n("Use this to create a new QIF import/export profile"));
m_newButton->setGuiItem(newButtenItem);
- connect(m_profileListBox, TQT_SIGNAL(highlighted(const TQString&)), this, TQT_SLOT(slotLoadProfileFromConfig(const TQString&)));
- connect(m_resetButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotReset()));
- connect(m_okButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotOk()));
- connect(m_renameButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRename()));
- connect(m_deleteButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDelete()));
- connect(m_newButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNew()));
- connect(m_cancelButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
- connect(m_helpButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelp()));
+ connect(m_profileListBox, TQ_SIGNAL(highlighted(const TQString&)), this, TQ_SLOT(slotLoadProfileFromConfig(const TQString&)));
+ connect(m_resetButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotReset()));
+ connect(m_okButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotOk()));
+ connect(m_renameButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRename()));
+ connect(m_deleteButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDelete()));
+ connect(m_newButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNew()));
+ connect(m_cancelButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
+ connect(m_helpButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotHelp()));
- connect(m_editDescription, TQT_SIGNAL(textChanged(const TQString&)), &m_profile, TQT_SLOT(setProfileDescription(const TQString&)));
- connect(m_editType, TQT_SIGNAL(textChanged(const TQString&)), &m_profile, TQT_SLOT(setProfileType(const TQString&)));
- connect(m_editOpeningBalance, TQT_SIGNAL(textChanged(const TQString&)), &m_profile, TQT_SLOT(setOpeningBalanceText(const TQString&)));
- connect(m_editAccountDelimiter, TQT_SIGNAL(textChanged(const TQString&)), &m_profile, TQT_SLOT(setAccountDelimiter(const TQString&)));
- connect(m_editVoidMark, TQT_SIGNAL(textChanged(const TQString&)), &m_profile, TQT_SLOT(setVoidMark(const TQString&)));
+ connect(m_editDescription, TQ_SIGNAL(textChanged(const TQString&)), &m_profile, TQ_SLOT(setProfileDescription(const TQString&)));
+ connect(m_editType, TQ_SIGNAL(textChanged(const TQString&)), &m_profile, TQ_SLOT(setProfileType(const TQString&)));
+ connect(m_editOpeningBalance, TQ_SIGNAL(textChanged(const TQString&)), &m_profile, TQ_SLOT(setOpeningBalanceText(const TQString&)));
+ connect(m_editAccountDelimiter, TQ_SIGNAL(textChanged(const TQString&)), &m_profile, TQ_SLOT(setAccountDelimiter(const TQString&)));
+ connect(m_editVoidMark, TQ_SIGNAL(textChanged(const TQString&)), &m_profile, TQ_SLOT(setVoidMark(const TQString&)));
- //connect(m_editDateFormat, TQT_SIGNAL(highlighted(const TQString&)), &m_profile, TQT_SLOT(setDateFormat(const TQString&)));
- connect(m_editApostrophe, TQT_SIGNAL(highlighted(const TQString&)), &m_profile, TQT_SLOT(setApostropheFormat(const TQString&)));
+ //connect(m_editDateFormat, TQ_SIGNAL(highlighted(const TQString&)), &m_profile, TQ_SLOT(setDateFormat(const TQString&)));
+ connect(m_editApostrophe, TQ_SIGNAL(highlighted(const TQString&)), &m_profile, TQ_SLOT(setApostropheFormat(const TQString&)));
- connect(m_editAmounts, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotAmountTypeSelected(TQListViewItem*)));
- connect(m_decimalBox, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotDecimalChanged(const TQString&)));
- connect(m_thousandsBox, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotThousandsChanged(const TQString&)));
+ connect(m_editAmounts, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotAmountTypeSelected(TQListViewItem*)));
+ connect(m_decimalBox, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(slotDecimalChanged(const TQString&)));
+ connect(m_thousandsBox, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(slotThousandsChanged(const TQString&)));
- connect(m_editInputFilterLocation, TQT_SIGNAL(textChanged(const TQString&)), &m_profile, TQT_SLOT(setFilterScriptImport(const TQString&)));
- connect(m_editInputFilterLocation, TQT_SIGNAL(urlSelected(const TQString&)), m_editInputFilterLocation, TQT_SLOT(setURL(const TQString&)));
+ connect(m_editInputFilterLocation, TQ_SIGNAL(textChanged(const TQString&)), &m_profile, TQ_SLOT(setFilterScriptImport(const TQString&)));
+ connect(m_editInputFilterLocation, TQ_SIGNAL(urlSelected(const TQString&)), m_editInputFilterLocation, TQ_SLOT(setURL(const TQString&)));
- connect(m_editInputFilterFileType, TQT_SIGNAL(textChanged(const TQString&)), &m_profile, TQT_SLOT(setFilterFileType(const TQString&)));
+ connect(m_editInputFilterFileType, TQ_SIGNAL(textChanged(const TQString&)), &m_profile, TQ_SLOT(setFilterFileType(const TQString&)));
- connect(m_editOutputFilterLocation, TQT_SIGNAL(textChanged(const TQString&)), &m_profile, TQT_SLOT(setFilterScriptExport(const TQString&)));
- connect(m_editOutputFilterLocation, TQT_SIGNAL(urlSelected(const TQString&)), m_editOutputFilterLocation, TQT_SLOT(setURL(const TQString&)));
+ connect(m_editOutputFilterLocation, TQ_SIGNAL(textChanged(const TQString&)), &m_profile, TQ_SLOT(setFilterScriptExport(const TQString&)));
+ connect(m_editOutputFilterLocation, TQ_SIGNAL(urlSelected(const TQString&)), m_editOutputFilterLocation, TQ_SLOT(setURL(const TQString&)));
- connect(m_attemptMatch, TQT_SIGNAL(toggled(bool)), &m_profile, TQT_SLOT(setAttemptMatchDuplicates(bool)));
+ connect(m_attemptMatch, TQ_SIGNAL(toggled(bool)), &m_profile, TQ_SLOT(setAttemptMatchDuplicates(bool)));
}
MyMoneyQifProfileEditor::~MyMoneyQifProfileEditor()
diff --git a/kmymoney2/dialogs/settings/ksettingsgeneral.cpp b/kmymoney2/dialogs/settings/ksettingsgeneral.cpp
index ee6e7f3..011ff16 100644
--- a/kmymoney2/dialogs/settings/ksettingsgeneral.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsgeneral.cpp
@@ -47,10 +47,10 @@ KSettingsGeneral::KSettingsGeneral(TQWidget* parent, const char* name) :
m_viewList->hide();
// setup connections, so that the sort optios get loaded once the edit fields are filled
- connect(kcfg_StartDate, TQT_SIGNAL(valueChanged(const TQDate&)), this, TQT_SLOT(slotLoadStartDate(const TQDate&)));
+ connect(kcfg_StartDate, TQ_SIGNAL(valueChanged(const TQDate&)), this, TQ_SLOT(slotLoadStartDate(const TQDate&)));
// setup connections, so that changes by the user are forwarded to the (hidden) edit fields
- connect(m_startDateEdit, TQT_SIGNAL(dateChanged(const TQDate&)), kcfg_StartDate, TQT_SLOT(setDate(const TQDate&)));
+ connect(m_startDateEdit, TQ_SIGNAL(dateChanged(const TQDate&)), kcfg_StartDate, TQ_SLOT(setDate(const TQDate&)));
}
KSettingsGeneral::~KSettingsGeneral()
@@ -60,7 +60,7 @@ KSettingsGeneral::~KSettingsGeneral()
void KSettingsGeneral::slotLoadStartDate(const TQDate&)
{
// only need this once
- disconnect(kcfg_StartDate, TQT_SIGNAL(valueChanged(const TQDate&)), this, TQT_SLOT(slotLoadStartDate(const TQDate&)));
+ disconnect(kcfg_StartDate, TQ_SIGNAL(valueChanged(const TQDate&)), this, TQ_SLOT(slotLoadStartDate(const TQDate&)));
m_startDateEdit->setDate(kcfg_StartDate->date());
}
diff --git a/kmymoney2/dialogs/settings/ksettingsgpg.cpp b/kmymoney2/dialogs/settings/ksettingsgpg.cpp
index 3950f4a..8ed0fb9 100644
--- a/kmymoney2/dialogs/settings/ksettingsgpg.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsgpg.cpp
@@ -55,11 +55,11 @@ KSettingsGpg::KSettingsGpg(TQWidget* parent, const char* name) :
// don't show the widget in which the master key is actually kept
kcfg_GpgRecipient->hide();
- connect(kcfg_WriteDataEncrypted, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotStatusChanged(bool)));
- connect(m_masterKeyCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotIdChanged()));
- connect(kcfg_GpgRecipientList, TQT_SIGNAL(changed()), this, TQT_SLOT(slotIdChanged()));
- connect(kcfg_GpgRecipientList, TQT_SIGNAL(added(const TQString&)), this, TQT_SLOT(slotKeyListChanged()));
- connect(kcfg_GpgRecipientList, TQT_SIGNAL(removed(const TQString&)), this, TQT_SLOT(slotKeyListChanged()));
+ connect(kcfg_WriteDataEncrypted, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotStatusChanged(bool)));
+ connect(m_masterKeyCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotIdChanged()));
+ connect(kcfg_GpgRecipientList, TQ_SIGNAL(changed()), this, TQ_SLOT(slotIdChanged()));
+ connect(kcfg_GpgRecipientList, TQ_SIGNAL(added(const TQString&)), this, TQ_SLOT(slotKeyListChanged()));
+ connect(kcfg_GpgRecipientList, TQ_SIGNAL(removed(const TQString&)), this, TQ_SLOT(slotKeyListChanged()));
// Initial state setup
slotStatusChanged(kcfg_WriteDataEncrypted->isChecked());
diff --git a/kmymoney2/dialogs/settings/ksettingshome.cpp b/kmymoney2/dialogs/settings/ksettingshome.cpp
index 2acae5f..423e594 100644
--- a/kmymoney2/dialogs/settings/ksettingshome.cpp
+++ b/kmymoney2/dialogs/settings/ksettingshome.cpp
@@ -67,14 +67,14 @@ KSettingsHome::KSettingsHome(TQWidget* parent, const char* name) :
m_downButton->setEnabled(false);
// connect this, so that the list gets loaded once the edit field is filled
- connect(kcfg_ItemList, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadItems()));
+ connect(kcfg_ItemList, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotLoadItems()));
- connect(m_homePageList, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- this, TQT_SLOT(slotSelectHomePageItem(TQListViewItem *)));
- connect(m_homePageList, TQT_SIGNAL(pressed(TQListViewItem*)), this, TQT_SLOT(slotUpdateItemList()));
+ connect(m_homePageList, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT(slotSelectHomePageItem(TQListViewItem *)));
+ connect(m_homePageList, TQ_SIGNAL(pressed(TQListViewItem*)), this, TQ_SLOT(slotUpdateItemList()));
- connect(m_upButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMoveUp()));
- connect(m_downButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMoveDown()));
+ connect(m_upButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotMoveUp()));
+ connect(m_downButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotMoveDown()));
// Don't show it to the user, we only need it to load and save the settings
kcfg_ItemList->hide();
diff --git a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp
index f09b574..ff84d0a 100644
--- a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp
@@ -71,19 +71,19 @@ KSettingsOnlineQuotes::KSettingsOnlineQuotes(TQWidget *parent, const char *name
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_skipStripping, TQT_SIGNAL(toggled(bool)), 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()));
+ connect(m_skipStripping, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotEntryChanged()));
// FIXME deleting a source is not yet implemented
m_deleteButton->setEnabled(false);
diff --git a/kmymoney2/dialogs/settings/ksettingsregister.cpp b/kmymoney2/dialogs/settings/ksettingsregister.cpp
index d60d8cf..573a851 100644
--- a/kmymoney2/dialogs/settings/ksettingsregister.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsregister.cpp
@@ -41,14 +41,14 @@ KSettingsRegister::KSettingsRegister(TQWidget* parent, const char* name) :
kcfg_sortSearchView->hide();
// setup connections, so that the sort optios get loaded once the edit fields are filled
- connect(kcfg_sortNormalView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadNormal()));
- connect(kcfg_sortReconcileView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadReconcile()));
- connect(kcfg_sortSearchView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadSearch()));
+ connect(kcfg_sortNormalView, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotLoadNormal()));
+ connect(kcfg_sortReconcileView, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotLoadReconcile()));
+ connect(kcfg_sortSearchView, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotLoadSearch()));
// setup connections, so that changes by the user are forwarded to the (hidden) edit fields
- connect(m_sortNormalView, TQT_SIGNAL(settingsChanged(const TQString&)), kcfg_sortNormalView, TQT_SLOT(setText(const TQString&)));
- connect(m_sortReconcileView, TQT_SIGNAL(settingsChanged(const TQString&)), kcfg_sortReconcileView, TQT_SLOT(setText(const TQString&)));
- connect(m_sortSearchView, TQT_SIGNAL(settingsChanged(const TQString&)), kcfg_sortSearchView, TQT_SLOT(setText(const TQString&)));
+ connect(m_sortNormalView, TQ_SIGNAL(settingsChanged(const TQString&)), kcfg_sortNormalView, TQ_SLOT(setText(const TQString&)));
+ connect(m_sortReconcileView, TQ_SIGNAL(settingsChanged(const TQString&)), kcfg_sortReconcileView, TQ_SLOT(setText(const TQString&)));
+ connect(m_sortSearchView, TQ_SIGNAL(settingsChanged(const TQString&)), kcfg_sortSearchView, TQ_SLOT(setText(const TQString&)));
}
KSettingsRegister::~KSettingsRegister()
@@ -58,21 +58,21 @@ KSettingsRegister::~KSettingsRegister()
void KSettingsRegister::slotLoadNormal(void)
{
// only need this once
- disconnect(kcfg_sortNormalView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadNormal()));
+ disconnect(kcfg_sortNormalView, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotLoadNormal()));
m_sortNormalView->setSettings(kcfg_sortNormalView->text());
}
void KSettingsRegister::slotLoadReconcile(void)
{
// only need this once
- disconnect(kcfg_sortReconcileView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadReconcile()));
+ disconnect(kcfg_sortReconcileView, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotLoadReconcile()));
m_sortReconcileView->setSettings(kcfg_sortReconcileView->text());
}
void KSettingsRegister::slotLoadSearch(void)
{
// only need this once
- disconnect(kcfg_sortSearchView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadSearch()));
+ disconnect(kcfg_sortSearchView, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotLoadSearch()));
m_sortSearchView->setSettings(kcfg_sortSearchView->text());
}
diff --git a/kmymoney2/dialogs/tdeselectdatabasedlg.cpp b/kmymoney2/dialogs/tdeselectdatabasedlg.cpp
index f5d6a3b..5a34975 100644
--- a/kmymoney2/dialogs/tdeselectdatabasedlg.cpp
+++ b/kmymoney2/dialogs/tdeselectdatabasedlg.cpp
@@ -83,14 +83,14 @@ TDESelectDatabaseDlg::TDESelectDatabaseDlg(TQWidget *parent, const char *name)
m_requiredFields->setOkButton(buttonOK);
m_requiredFields->add(listDrivers);
m_requiredFields->add(textDbName);
- connect (listDrivers, TQT_SIGNAL(clicked(TQListBoxItem *)),
- this, TQT_SLOT(slotDriverSelected(TQListBoxItem *)));
- connect (buttonSQL, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotGenerateSQL()));
- connect (buttonOK, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
+ connect (listDrivers, TQ_SIGNAL(clicked(TQListBoxItem *)),
+ this, TQ_SLOT(slotDriverSelected(TQListBoxItem *)));
+ connect (buttonSQL, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotGenerateSQL()));
+ connect (buttonOK, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
checkPreLoad->setChecked(false);
buttonSQL->setEnabled(true);
}
- connect (buttonHelp, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelp()));
+ connect (buttonHelp, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotHelp()));
// ensure a driver gets selected; pre-select if only one
listDrivers->clearSelection();
if (listDrivers->count() == 1) {
@@ -139,10 +139,10 @@ TDESelectDatabaseDlg::TDESelectDatabaseDlg(KURL openURL, TQWidget *parent, const
m_requiredFields->add(textPassword);
m_requiredFields->setOkButton(buttonOK);
- connect (buttonOK, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()));
+ connect (buttonOK, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()));
checkPreLoad->setChecked(false);
}
- connect (buttonHelp, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelp()));
+ connect (buttonHelp, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotHelp()));
}
diff --git a/kmymoney2/dialogs/tdeselecttransactionsdlg.cpp b/kmymoney2/dialogs/tdeselecttransactionsdlg.cpp
index caedd5f..5d785ca 100644
--- a/kmymoney2/dialogs/tdeselecttransactionsdlg.cpp
+++ b/kmymoney2/dialogs/tdeselecttransactionsdlg.cpp
@@ -80,10 +80,10 @@ TDESelectTransactionsDlg::TDESelectTransactionsDlg(const MyMoneyAccount& _accoun
// catch some events from the register
m_register->installEventFilter(this);
- connect(m_register, TQT_SIGNAL(selectionChanged(const KMyMoneyRegister::SelectedTransactions&)), this, TQT_SLOT(slotEnableOk(const KMyMoneyRegister::SelectedTransactions&)));
- connect(m_register, TQT_SIGNAL(editTransaction()), this, TQT_SLOT(accept()));
+ connect(m_register, TQ_SIGNAL(selectionChanged(const KMyMoneyRegister::SelectedTransactions&)), this, TQ_SLOT(slotEnableOk(const KMyMoneyRegister::SelectedTransactions&)));
+ connect(m_register, TQ_SIGNAL(editTransaction()), this, TQ_SLOT(accept()));
- connect(m_helpButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotHelp()));
+ connect(m_helpButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotHelp()));
}
void TDESelectTransactionsDlg::slotEnableOk(const KMyMoneyRegister::SelectedTransactions& list)
diff --git a/kmymoney2/dialogs/transactioneditor.cpp b/kmymoney2/dialogs/transactioneditor.cpp
index df85015..a6556ff 100644
--- a/kmymoney2/dialogs/transactioneditor.cpp
+++ b/kmymoney2/dialogs/transactioneditor.cpp
@@ -74,7 +74,7 @@ TransactionEditor::TransactionEditor(TransactionEditorContainer* regForm, KMyMon
m_openEditSplits(false)
{
m_item->startEditMode();
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotUpdateAccount()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotUpdateAccount()));
}
TransactionEditor::~TransactionEditor()
@@ -203,14 +203,14 @@ bool TransactionEditor::eventFilter(TQObject* o, TQEvent* e)
TQApplication::sendEvent( o, &evt );
} else {
- TQTimer::singleShot(0, this, TQT_SIGNAL(returnPressed()));
+ TQTimer::singleShot(0, this, TQ_SIGNAL(returnPressed()));
}
// don't process any further
rc = true;
break;
case TQt::Key_Escape:
- TQTimer::singleShot(0, this, TQT_SIGNAL(escapePressed()));
+ TQTimer::singleShot(0, this, TQ_SIGNAL(escapePressed()));
break;
}
}
@@ -478,7 +478,7 @@ bool TransactionEditor::canAssignNumber(void) const
void TransactionEditor::setupCategoryWidget(KMyMoneyCategory* category, const TQValueList<MyMoneySplit>& splits, TQString& categoryId, const char* splitEditSlot, bool /* allowObjectCreation */)
{
- disconnect(category, TQT_SIGNAL(focusIn()), this, splitEditSlot);
+ disconnect(category, TQ_SIGNAL(focusIn()), this, splitEditSlot);
#if 0
// FIXME must deal with the logic that suppressObjectCreation is
// automatically turned off when the createItem() signal is connected
@@ -506,7 +506,7 @@ void TransactionEditor::setupCategoryWidget(KMyMoneyCategory* category, const TQ
default:
categoryId = TQString();
category->setSplitTransaction();
- connect(category, TQT_SIGNAL(focusIn()), this, splitEditSlot);
+ connect(category, TQ_SIGNAL(focusIn()), this, splitEditSlot);
#if 0
// FIXME must deal with the logic that suppressObjectCreation is
// automatically turned off when the createItem() signal is connected
@@ -527,7 +527,7 @@ bool TransactionEditor::enterTransactions(TQString& newId, bool askForSchedule,
TQApplication::eventLoop()->processEvents(TQEventLoop::ExcludeUserInput, 10);
// we don't need to update our widgets anymore, so we just disconnect the signal
- disconnect(file, TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotReloadEditWidgets()));
+ disconnect(file, TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotReloadEditWidgets()));
KMyMoneyRegister::SelectedTransactions::iterator it_t;
MyMoneyTransaction t;
@@ -766,25 +766,25 @@ void StdTransactionEditor::createEditWidgets(void)
KMyMoneyCategory* account = new KMyMoneyCategory;
account->setHint(i18n("Account"));
m_editWidgets["account"] = account;
- connect(account, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
- connect(account, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotUpdateAccount(const TQString&)));
+ connect(account, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
+ connect(account, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotUpdateAccount(const TQString&)));
KMyMoneyPayeeCombo* payee = new KMyMoneyPayeeCombo;
payee->setHint(i18n("Payer/Receiver"));
m_editWidgets["payee"] = payee;
- connect(payee, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
- connect(payee, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SIGNAL(createPayee(const TQString&, TQString&)));
- connect(payee, TQT_SIGNAL(objectCreation(bool)), this, TQT_SIGNAL(objectCreation(bool)));
- connect(payee, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotUpdatePayee(const TQString&)));
+ connect(payee, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
+ connect(payee, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SIGNAL(createPayee(const TQString&, TQString&)));
+ connect(payee, TQ_SIGNAL(objectCreation(bool)), this, TQ_SIGNAL(objectCreation(bool)));
+ connect(payee, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotUpdatePayee(const TQString&)));
KMyMoneyCategory* category = new KMyMoneyCategory(0, 0, true);
category->setHint(i18n("Category/Account"));
m_editWidgets["category"] = category;
- connect(category, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotUpdateCategory(const TQString&)));
- connect(category, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
- connect(category, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SLOT(slotCreateCategory(const TQString&, TQString&)));
- connect(category, TQT_SIGNAL(objectCreation(bool)), this, TQT_SIGNAL(objectCreation(bool)));
- connect(category->splitButton(), TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditSplits()));
+ connect(category, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotUpdateCategory(const TQString&)));
+ connect(category, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
+ connect(category, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SLOT(slotCreateCategory(const TQString&, TQString&)));
+ connect(category, TQ_SIGNAL(objectCreation(bool)), this, TQ_SIGNAL(objectCreation(bool)));
+ connect(category->splitButton(), TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditSplits()));
category->splitButton()->setDisabled(true);
KTextEdit* memo = new KTextEdit;
@@ -816,39 +816,39 @@ void StdTransactionEditor::createEditWidgets(void)
kMyMoneyLineEdit* number = new kMyMoneyLineEdit;
number->setHint(i18n("Number"));
m_editWidgets["number"] = number;
- connect(number, TQT_SIGNAL(lineChanged(const TQString&)), this, TQT_SLOT(slotNumberChanged(const TQString&)));
+ connect(number, TQ_SIGNAL(lineChanged(const TQString&)), this, TQ_SLOT(slotNumberChanged(const TQString&)));
// number->installEventFilter(this);
}
m_editWidgets["postdate"] = new kMyMoneyDateInput;
- connect(m_editWidgets["postdate"], TQT_SIGNAL(dateChanged(const TQDate&)), this, TQT_SLOT(slotUpdateButtonState()));
+ connect(m_editWidgets["postdate"], TQ_SIGNAL(dateChanged(const TQDate&)), this, TQ_SLOT(slotUpdateButtonState()));
kMyMoneyEdit* value = new kMyMoneyEdit;
m_editWidgets["amount"] = value;
value->setResetButtonVisible(false);
- connect(value, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotUpdateAmount(const TQString&)));
- connect(value, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
+ connect(value, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotUpdateAmount(const TQString&)));
+ connect(value, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
value = new kMyMoneyEdit;
m_editWidgets["payment"] = value;
value->setResetButtonVisible(false);
- connect(value, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotUpdatePayment(const TQString&)));
- connect(value, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
+ connect(value, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotUpdatePayment(const TQString&)));
+ connect(value, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
value = new kMyMoneyEdit;
m_editWidgets["deposit"] = value;
value->setResetButtonVisible(false);
- connect(value, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotUpdateDeposit(const TQString&)));
- connect(value, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
+ connect(value, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotUpdateDeposit(const TQString&)));
+ connect(value, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
KMyMoneyCashFlowCombo* cashflow = new KMyMoneyCashFlowCombo(0, 0, m_account.accountGroup());
m_editWidgets["cashflow"] = cashflow;
- connect(cashflow, TQT_SIGNAL(directionSelected(KMyMoneyRegister::CashFlowDirection)), this, TQT_SLOT(slotUpdateCashFlow(KMyMoneyRegister::CashFlowDirection)));
- connect(cashflow, TQT_SIGNAL(directionSelected(KMyMoneyRegister::CashFlowDirection)), this, TQT_SLOT(slotUpdateButtonState()));
+ connect(cashflow, TQ_SIGNAL(directionSelected(KMyMoneyRegister::CashFlowDirection)), this, TQ_SLOT(slotUpdateCashFlow(KMyMoneyRegister::CashFlowDirection)));
+ connect(cashflow, TQ_SIGNAL(directionSelected(KMyMoneyRegister::CashFlowDirection)), this, TQ_SLOT(slotUpdateButtonState()));
KMyMoneyReconcileCombo* reconcile = new KMyMoneyReconcileCombo;
m_editWidgets["status"] = reconcile;
- connect(reconcile, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotUpdateButtonState()));
+ connect(reconcile, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotUpdateButtonState()));
KMyMoneyRegister::TQWidgetContainer::iterator it_w;
for(it_w = m_editWidgets.begin(); it_w != m_editWidgets.end(); ++it_w) {
@@ -872,7 +872,7 @@ void StdTransactionEditor::createEditWidgets(void)
KMyMoneyTransactionForm::TabBar* tabbar = new KMyMoneyTransactionForm::TabBar;
m_editWidgets["tabbar"] = tabbar;
tabbar->copyTabs(form->tabBar());
- connect(tabbar, TQT_SIGNAL(tabSelected(int)), this, TQT_SLOT(slotUpdateAction(int)));
+ connect(tabbar, TQ_SIGNAL(tabSelected(int)), this, TQ_SLOT(slotUpdateAction(int)));
}
label = new TQLabel(i18n("Date"), 0);
@@ -888,7 +888,7 @@ void StdTransactionEditor::createEditWidgets(void)
void StdTransactionEditor::setupCategoryWidget(TQString& categoryId)
{
- TransactionEditor::setupCategoryWidget(dynamic_cast<KMyMoneyCategory*>(m_editWidgets["category"]), m_splits, categoryId, TQT_SLOT(slotEditSplits()));
+ TransactionEditor::setupCategoryWidget(dynamic_cast<KMyMoneyCategory*>(m_editWidgets["category"]), m_splits, categoryId, TQ_SLOT(slotEditSplits()));
if(m_splits.count() == 1)
m_shares = m_splits[0].shares();
@@ -933,7 +933,7 @@ void StdTransactionEditor::loadEditWidgets(KMyMoneyRegister::Action action)
// load the category widget
KMyMoneyCategory* category = dynamic_cast<KMyMoneyCategory*>(m_editWidgets["category"]);
- disconnect(category, TQT_SIGNAL(focusIn()), this, TQT_SLOT(slotEditSplits()));
+ disconnect(category, TQ_SIGNAL(focusIn()), this, TQ_SLOT(slotEditSplits()));
// check if the current transaction has a reference to an equity account
bool haveEquityAccount = false;
@@ -1880,8 +1880,8 @@ int StdTransactionEditor::slotEditSplits(void)
0,
m_priceInfo,
m_regForm);
- connect(dlg, TQT_SIGNAL(objectCreation(bool)), this, TQT_SIGNAL(objectCreation(bool)));
- connect(dlg, TQT_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)), this, TQT_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)));
+ connect(dlg, TQ_SIGNAL(objectCreation(bool)), this, TQ_SIGNAL(objectCreation(bool)));
+ connect(dlg, TQ_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)), this, TQ_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)));
if((rc = dlg->exec()) == TQDialog::Accepted) {
m_transaction = dlg->transaction();
diff --git a/kmymoney2/kmymoney2.cpp b/kmymoney2/kmymoney2.cpp
index 7db4953..ba176cb 100644
--- a/kmymoney2/kmymoney2.cpp
+++ b/kmymoney2/kmymoney2.cpp
@@ -209,7 +209,7 @@ KMyMoney2App::KMyMoney2App(TQWidget * /*parent*/ , const char* name) :
::timetrace("create view");
myMoneyView = new KMyMoneyView(frame, "KMyMoneyView");
layout->addWidget(myMoneyView, 10);
- connect(myMoneyView, TQT_SIGNAL(aboutToShowPage(TQWidget*)), this, TQT_SLOT(slotResetSelections()));
+ connect(myMoneyView, TQ_SIGNAL(aboutToShowPage(TQWidget*)), this, TQ_SLOT(slotResetSelections()));
///////////////////////////////////////////////////////////////////
// call inits to invoke all other construction parts
@@ -218,7 +218,7 @@ KMyMoney2App::KMyMoney2App(TQWidget * /*parent*/ , const char* name) :
#if 0
m_pluginSignalMapper = new TQSignalMapper( this );
- connect( m_pluginSignalMapper, TQT_SIGNAL( mapped( const TQString& ) ), this, TQT_SLOT( slotPluginImport( const TQString& ) ) );
+ connect( m_pluginSignalMapper, TQ_SIGNAL( mapped( const TQString& ) ), this, TQ_SLOT( slotPluginImport( const TQString& ) ) );
#endif
// now initialize the plugin structure
@@ -230,10 +230,10 @@ KMyMoney2App::KMyMoney2App(TQWidget * /*parent*/ , const char* name) :
::timetrace("done");
- connect(&proc,TQT_SIGNAL(processExited(TDEProcess *)),this, TQT_SLOT(slotProcessExited()));
+ connect(&proc,TQ_SIGNAL(processExited(TDEProcess *)),this, TQ_SLOT(slotProcessExited()));
// force to show the home page if the file is closed
- connect(action("view_show_transaction_detail"), TQT_SIGNAL(toggled(bool)), myMoneyView, TQT_SLOT(slotShowTransactionDetail(bool)));
+ connect(action("view_show_transaction_detail"), TQ_SIGNAL(toggled(bool)), myMoneyView, TQ_SLOT(slotShowTransactionDetail(bool)));
m_backupState = BACKUP_IDLE;
@@ -244,10 +244,10 @@ KMyMoney2App::KMyMoney2App(TQWidget * /*parent*/ , const char* name) :
m_autoSavePeriod = KMyMoneyGlobalSettings::autoSavePeriod();
m_autoSaveTimer = new TQTimer(this);
- connect(m_autoSaveTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAutoSave()));
+ connect(m_autoSaveTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotAutoSave()));
// make sure, we get a note when the engine changes state
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotDataChanged()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotDataChanged()));
// make sure we have a balance warning object
d->m_balanceWarning = new KBalanceWarning(this);
@@ -288,10 +288,10 @@ void KMyMoney2App::initDynamicMenus(void)
if(menu) {
d->m_moveToAccountSelector = new kMyMoneyAccountSelector(menu, 0, 0, false);
menu->insertItem(d->m_moveToAccountSelector);
- connect(d->m_moveToAccountSelector, TQT_SIGNAL(itemSelected(const TQString&)), this, TQT_SLOT(slotMoveToAccount(const TQString&)));
- connect(this, TQT_SIGNAL(accountSelected(const MyMoneyAccount&)), this, TQT_SLOT(slotUpdateMoveToAccountMenu()));
- connect(this, TQT_SIGNAL(transactionsSelected(const KMyMoneyRegister::SelectedTransactions&)), this, TQT_SLOT(slotUpdateMoveToAccountMenu()));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotUpdateMoveToAccountMenu()));
+ connect(d->m_moveToAccountSelector, TQ_SIGNAL(itemSelected(const TQString&)), this, TQ_SLOT(slotMoveToAccount(const TQString&)));
+ connect(this, TQ_SIGNAL(accountSelected(const MyMoneyAccount&)), this, TQ_SLOT(slotUpdateMoveToAccountMenu()));
+ connect(this, TQ_SIGNAL(transactionsSelected(const KMyMoneyRegister::SelectedTransactions&)), this, TQ_SLOT(slotUpdateMoveToAccountMenu()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotUpdateMoveToAccountMenu()));
}
}
@@ -302,186 +302,186 @@ void KMyMoney2App::initActions(void)
// *************
// The File menu
// *************
- KStdAction::openNew(this, TQT_SLOT(slotFileNew()), actionCollection());
- KStdAction::open(this, TQT_SLOT(slotFileOpen()), actionCollection());
- KStdAction::openRecent(this, TQT_SLOT(slotFileOpenRecent(const KURL&)), actionCollection());
- KStdAction::save(this, TQT_SLOT(slotFileSave()), actionCollection());
- KStdAction::saveAs(this, TQT_SLOT(slotFileSaveAs()), actionCollection());
- KStdAction::close(this, TQT_SLOT(slotFileClose()), actionCollection());
- KStdAction::quit(this, TQT_SLOT(slotFileQuit()), actionCollection());
- KStdAction::print(this, TQT_SLOT(slotPrintView()), actionCollection());
-
- new TDEAction(i18n("Open database..."), "",0,this, TQT_SLOT(slotOpenDatabase()),actionCollection(),"open_database");
- new TDEAction(i18n("Save as database..."), "",0,this, TQT_SLOT(slotSaveAsDatabase()),actionCollection(),"saveas_database");
- new TDEAction(i18n("Backup..."), "backup",0,this, TQT_SLOT(slotFileBackup()),actionCollection(),"file_backup");
- new TDEAction(i18n("QIF..."), "", 0, this, TQT_SLOT(slotQifImport()), actionCollection(), "file_import_qif");
- new TDEAction(i18n("Gnucash..."), "", 0, this, TQT_SLOT(slotGncImport()), actionCollection(), "file_import_gnc");
- new TDEAction(i18n("Statement file..."), "", 0, this, TQT_SLOT(slotStatementImport()), actionCollection(), "file_import_statement");
-
- new TDEAction(i18n("Account Template..."), "", 0, this, TQT_SLOT(slotLoadAccountTemplates()), actionCollection(), "file_import_template");
- new TDEAction(i18n("Account Template..."), "", 0, this, TQT_SLOT(slotSaveAccountTemplates()), actionCollection(), "file_export_template");
- new TDEAction(i18n("QIF..."), "", 0, this, TQT_SLOT(slotQifExport()), actionCollection(), "file_export_qif");
- new TDEAction(i18n("Personal Data..."), "personal_data", 0, this, TQT_SLOT(slotFileViewPersonal()), actionCollection(), "view_personal_data");
+ KStdAction::openNew(this, TQ_SLOT(slotFileNew()), actionCollection());
+ KStdAction::open(this, TQ_SLOT(slotFileOpen()), actionCollection());
+ KStdAction::openRecent(this, TQ_SLOT(slotFileOpenRecent(const KURL&)), actionCollection());
+ KStdAction::save(this, TQ_SLOT(slotFileSave()), actionCollection());
+ KStdAction::saveAs(this, TQ_SLOT(slotFileSaveAs()), actionCollection());
+ KStdAction::close(this, TQ_SLOT(slotFileClose()), actionCollection());
+ KStdAction::quit(this, TQ_SLOT(slotFileQuit()), actionCollection());
+ KStdAction::print(this, TQ_SLOT(slotPrintView()), actionCollection());
+
+ new TDEAction(i18n("Open database..."), "",0,this, TQ_SLOT(slotOpenDatabase()),actionCollection(),"open_database");
+ new TDEAction(i18n("Save as database..."), "",0,this, TQ_SLOT(slotSaveAsDatabase()),actionCollection(),"saveas_database");
+ new TDEAction(i18n("Backup..."), "backup",0,this, TQ_SLOT(slotFileBackup()),actionCollection(),"file_backup");
+ new TDEAction(i18n("QIF..."), "", 0, this, TQ_SLOT(slotQifImport()), actionCollection(), "file_import_qif");
+ new TDEAction(i18n("Gnucash..."), "", 0, this, TQ_SLOT(slotGncImport()), actionCollection(), "file_import_gnc");
+ new TDEAction(i18n("Statement file..."), "", 0, this, TQ_SLOT(slotStatementImport()), actionCollection(), "file_import_statement");
+
+ new TDEAction(i18n("Account Template..."), "", 0, this, TQ_SLOT(slotLoadAccountTemplates()), actionCollection(), "file_import_template");
+ new TDEAction(i18n("Account Template..."), "", 0, this, TQ_SLOT(slotSaveAccountTemplates()), actionCollection(), "file_export_template");
+ new TDEAction(i18n("QIF..."), "", 0, this, TQ_SLOT(slotQifExport()), actionCollection(), "file_export_qif");
+ new TDEAction(i18n("Personal Data..."), "personal_data", 0, this, TQ_SLOT(slotFileViewPersonal()), actionCollection(), "view_personal_data");
#if KMM_DEBUG
- new TDEAction(i18n("Dump Memory"), "", 0, this, TQT_SLOT(slotFileFileInfo()), actionCollection(), "file_dump");
+ new TDEAction(i18n("Dump Memory"), "", 0, this, TQ_SLOT(slotFileFileInfo()), actionCollection(), "file_dump");
#endif
- new TDEAction(i18n("File-Information..."), "application-vnd.tde.info", 0, this, TQT_SLOT(slotFileInfoDialog()), actionCollection(), "view_file_info");
+ new TDEAction(i18n("File-Information..."), "application-vnd.tde.info", 0, this, TQ_SLOT(slotFileInfoDialog()), actionCollection(), "view_file_info");
// *************
// The Edit menu
// *************
- new TDEAction(i18n("Find transaction..."), "transaction_find", TDEShortcut("Ctrl+F"), this, TQT_SLOT(slotFindTransaction()), actionCollection(), "edit_find_transaction");
+ new TDEAction(i18n("Find transaction..."), "transaction_find", TDEShortcut("Ctrl+F"), this, TQ_SLOT(slotFindTransaction()), actionCollection(), "edit_find_transaction");
// *************
// The View menu
// *************
new TDEToggleAction(i18n("Show Transaction Detail"), TDEShortcut("Ctrl+T"), actionCollection(), "view_show_transaction_detail");
- new TDEToggleAction(i18n("Hide reconciled transactions"), "hide_reconciled", TDEShortcut("Ctrl+R"), this, TQT_SLOT(slotHideReconciledTransactions()), actionCollection(), "view_hide_reconciled_transactions");
- new TDEToggleAction(i18n("Hide unused categories"), "hide_categories", TDEShortcut("Ctrl+U"), this, TQT_SLOT(slotHideUnusedCategories()), actionCollection(), "view_hide_unused_categories");
- new TDEToggleAction(i18n("Show all accounts"), "", TDEShortcut("Ctrl+Shift+A"), this, TQT_SLOT(slotShowAllAccounts()), actionCollection(), "view_show_all_accounts");
+ new TDEToggleAction(i18n("Hide reconciled transactions"), "hide_reconciled", TDEShortcut("Ctrl+R"), this, TQ_SLOT(slotHideReconciledTransactions()), actionCollection(), "view_hide_reconciled_transactions");
+ new TDEToggleAction(i18n("Hide unused categories"), "hide_categories", TDEShortcut("Ctrl+U"), this, TQ_SLOT(slotHideUnusedCategories()), actionCollection(), "view_hide_unused_categories");
+ new TDEToggleAction(i18n("Show all accounts"), "", TDEShortcut("Ctrl+Shift+A"), this, TQ_SLOT(slotShowAllAccounts()), actionCollection(), "view_show_all_accounts");
// *********************
// The institutions menu
// *********************
- new TDEAction(i18n("New institution..."), "institution_add", 0, this, TQT_SLOT(slotInstitutionNew()), actionCollection(), "institution_new");
- new TDEAction(i18n("Edit institution..."), "edit", 0, this, TQT_SLOT(slotInstitutionEdit()), actionCollection(), "institution_edit");
- new TDEAction(i18n("Delete institution..."), "delete", 0, this, TQT_SLOT(slotInstitutionDelete()), actionCollection(), "institution_delete");
+ new TDEAction(i18n("New institution..."), "institution_add", 0, this, TQ_SLOT(slotInstitutionNew()), actionCollection(), "institution_new");
+ new TDEAction(i18n("Edit institution..."), "edit", 0, this, TQ_SLOT(slotInstitutionEdit()), actionCollection(), "institution_edit");
+ new TDEAction(i18n("Delete institution..."), "delete", 0, this, TQ_SLOT(slotInstitutionDelete()), actionCollection(), "institution_delete");
// *****************
// The accounts menu
// *****************
- new TDEAction(i18n("New account..."), "account_add", 0, this, TQT_SLOT(slotAccountNew()), actionCollection(), "account_new");
+ new TDEAction(i18n("New account..."), "account_add", 0, this, TQ_SLOT(slotAccountNew()), actionCollection(), "account_new");
// note : action "category_new" is included in this menu but defined below
- new TDEAction(i18n("Open ledger"), "ledger", 0, this, TQT_SLOT(slotAccountOpen()), actionCollection(), "account_open");
- new TDEAction(i18n("Reconcile..."), "reconcile", TDEShortcut("Ctrl+Shift+R"), this, TQT_SLOT(slotAccountReconcileStart()), actionCollection(), "account_reconcile");
- new TDEAction(i18n("Finish reconciliation", "Finish"), "media-skip-forward", 0, this, TQT_SLOT(slotAccountReconcileFinish()), actionCollection(), "account_reconcile_finish");
- new TDEAction(i18n("Postpone reconciliation", "Postpone"), "media-playback-pause", 0, this, TQT_SLOT(slotAccountReconcilePostpone()), actionCollection(), "account_reconcile_postpone");
- new TDEAction(i18n("Edit account..."), "edit", 0, this, TQT_SLOT(slotAccountEdit()), actionCollection(), "account_edit");
- new TDEAction(i18n("Delete account..."), "delete", 0, this, TQT_SLOT(slotAccountDelete()), actionCollection(), "account_delete");
- new TDEAction(i18n("Close account"), "", 0, this, TQT_SLOT(slotAccountClose()), actionCollection(), "account_close");
- new TDEAction(i18n("Reopen account"), "", 0, this, TQT_SLOT(slotAccountReopen()), actionCollection(), "account_reopen");
- new TDEAction(i18n("Transaction report"), "view_info", 0, this, TQT_SLOT(slotAccountTransactionReport()), actionCollection(), "account_transaction_report");
+ new TDEAction(i18n("Open ledger"), "ledger", 0, this, TQ_SLOT(slotAccountOpen()), actionCollection(), "account_open");
+ new TDEAction(i18n("Reconcile..."), "reconcile", TDEShortcut("Ctrl+Shift+R"), this, TQ_SLOT(slotAccountReconcileStart()), actionCollection(), "account_reconcile");
+ new TDEAction(i18n("Finish reconciliation", "Finish"), "media-skip-forward", 0, this, TQ_SLOT(slotAccountReconcileFinish()), actionCollection(), "account_reconcile_finish");
+ new TDEAction(i18n("Postpone reconciliation", "Postpone"), "media-playback-pause", 0, this, TQ_SLOT(slotAccountReconcilePostpone()), actionCollection(), "account_reconcile_postpone");
+ new TDEAction(i18n("Edit account..."), "edit", 0, this, TQ_SLOT(slotAccountEdit()), actionCollection(), "account_edit");
+ new TDEAction(i18n("Delete account..."), "delete", 0, this, TQ_SLOT(slotAccountDelete()), actionCollection(), "account_delete");
+ new TDEAction(i18n("Close account"), "", 0, this, TQ_SLOT(slotAccountClose()), actionCollection(), "account_close");
+ new TDEAction(i18n("Reopen account"), "", 0, this, TQ_SLOT(slotAccountReopen()), actionCollection(), "account_reopen");
+ new TDEAction(i18n("Transaction report"), "view_info", 0, this, TQ_SLOT(slotAccountTransactionReport()), actionCollection(), "account_transaction_report");
#ifdef HAVE_KDCHART
- new TDEAction(i18n("Show balance chart..."), "application-x-kchart", 0, this, TQT_SLOT(slotAccountChart()), actionCollection(), "account_chart");
+ new TDEAction(i18n("Show balance chart..."), "application-x-kchart", 0, this, TQ_SLOT(slotAccountChart()), actionCollection(), "account_chart");
#endif
- new TDEAction(i18n("Map to online account"), "news_subscribe", 0, this, TQT_SLOT(slotAccountMapOnline()), actionCollection(), "account_online_map");
- new TDEAction(i18n("Unmap account"), "", 0, this, TQT_SLOT(slotAccountUnmapOnline()), actionCollection(), "account_online_unmap");
+ new TDEAction(i18n("Map to online account"), "news_subscribe", 0, this, TQ_SLOT(slotAccountMapOnline()), actionCollection(), "account_online_map");
+ new TDEAction(i18n("Unmap account"), "", 0, this, TQ_SLOT(slotAccountUnmapOnline()), actionCollection(), "account_online_unmap");
TDEActionMenu* menu = new TDEActionMenu(i18n("Update"), TQIconSet(TDEGlobal::iconLoader()->loadIcon("reload", TDEIcon::Small,
TDEIcon::SizeSmall)), actionCollection(), "account_online_update_menu");
// activating the menu button is the same as selecting the current account
- connect( menu, TQT_SIGNAL( activated() ), this, TQT_SLOT(slotAccountUpdateOnline()));
- menu->insert(new TDEAction(i18n("Update account..."), "", 0, this, TQT_SLOT(slotAccountUpdateOnline()), actionCollection(), "account_online_update"));
- menu->insert(new TDEAction(i18n("Update all accounts..."), "", 0, this, TQT_SLOT(slotAccountUpdateOnlineAll()), actionCollection(), "account_online_update_all"));
+ connect( menu, TQ_SIGNAL( activated() ), this, TQ_SLOT(slotAccountUpdateOnline()));
+ menu->insert(new TDEAction(i18n("Update account..."), "", 0, this, TQ_SLOT(slotAccountUpdateOnline()), actionCollection(), "account_online_update"));
+ menu->insert(new TDEAction(i18n("Update all accounts..."), "", 0, this, TQ_SLOT(slotAccountUpdateOnlineAll()), actionCollection(), "account_online_update_all"));
// *******************
// The categories menu
// *******************
- new TDEAction(i18n("New category..."), "account_add", 0, this, TQT_SLOT(slotCategoryNew()), actionCollection(), "category_new");
- new TDEAction(i18n("Edit category..."), "edit", 0, this, TQT_SLOT(slotAccountEdit()), actionCollection(), "category_edit");
- new TDEAction(i18n("Delete category..."), "delete", 0, this, TQT_SLOT(slotAccountDelete()), actionCollection(), "category_delete");
+ new TDEAction(i18n("New category..."), "account_add", 0, this, TQ_SLOT(slotCategoryNew()), actionCollection(), "category_new");
+ new TDEAction(i18n("Edit category..."), "edit", 0, this, TQ_SLOT(slotAccountEdit()), actionCollection(), "category_edit");
+ new TDEAction(i18n("Delete category..."), "delete", 0, this, TQ_SLOT(slotAccountDelete()), actionCollection(), "category_delete");
// **************
// The tools menu
// **************
- new TDEAction(i18n("QIF Profile Editor..."), "edit", 0, this, TQT_SLOT(slotQifProfileEditor()), actionCollection(), "tools_qif_editor");
- new TDEAction(i18n("Securities..."), "", 0, this, TQT_SLOT(slotSecurityEditor()), actionCollection(), "tools_security_editor");
- new TDEAction(i18n("Currencies..."), "", 0, this, TQT_SLOT(slotCurrencyDialog()), actionCollection(), "tools_currency_editor");
- new TDEAction(i18n("Prices..."), "", 0, this, TQT_SLOT(slotPriceDialog()), actionCollection(), "tools_price_editor");
- new TDEAction(i18n("Update Stock and Currency Prices..."), "", 0, this, TQT_SLOT(slotEquityPriceUpdate()), actionCollection(), "tools_update_prices");
- new TDEAction(i18n("Consistency Check"), "", 0, this, TQT_SLOT(slotFileConsitencyCheck()), actionCollection(), "tools_consistency_check");
- new TDEAction(i18n("Performance-Test"), "fork", 0, this, TQT_SLOT(slotPerformanceTest()), actionCollection(), "tools_performancetest");
- new TDEAction(i18n("KCalc..."), "kcalc", 0, this, TQT_SLOT(slotToolsStartKCalc()), actionCollection(), "tools_kcalc");
+ new TDEAction(i18n("QIF Profile Editor..."), "edit", 0, this, TQ_SLOT(slotQifProfileEditor()), actionCollection(), "tools_qif_editor");
+ new TDEAction(i18n("Securities..."), "", 0, this, TQ_SLOT(slotSecurityEditor()), actionCollection(), "tools_security_editor");
+ new TDEAction(i18n("Currencies..."), "", 0, this, TQ_SLOT(slotCurrencyDialog()), actionCollection(), "tools_currency_editor");
+ new TDEAction(i18n("Prices..."), "", 0, this, TQ_SLOT(slotPriceDialog()), actionCollection(), "tools_price_editor");
+ new TDEAction(i18n("Update Stock and Currency Prices..."), "", 0, this, TQ_SLOT(slotEquityPriceUpdate()), actionCollection(), "tools_update_prices");
+ new TDEAction(i18n("Consistency Check"), "", 0, this, TQ_SLOT(slotFileConsitencyCheck()), actionCollection(), "tools_consistency_check");
+ new TDEAction(i18n("Performance-Test"), "fork", 0, this, TQ_SLOT(slotPerformanceTest()), actionCollection(), "tools_performancetest");
+ new TDEAction(i18n("KCalc..."), "kcalc", 0, this, TQ_SLOT(slotToolsStartKCalc()), actionCollection(), "tools_kcalc");
// *****************
// The settings menu
// *****************
- KStdAction::preferences(this, TQT_SLOT( slotSettings() ), actionCollection());
- new TDEAction(i18n("Enable all messages"), "", 0, this, TQT_SLOT(slotEnableMessages()), actionCollection(), "settings_enable_messages");
- new TDEAction(i18n("TDE language settings..."), "", 0, this, TQT_SLOT(slotKDELanguageSettings()), actionCollection(), "settings_language");
+ KStdAction::preferences(this, TQ_SLOT( slotSettings() ), actionCollection());
+ new TDEAction(i18n("Enable all messages"), "", 0, this, TQ_SLOT(slotEnableMessages()), actionCollection(), "settings_enable_messages");
+ new TDEAction(i18n("TDE language settings..."), "", 0, this, TQ_SLOT(slotKDELanguageSettings()), actionCollection(), "settings_language");
// *************
// The help menu
// *************
- new TDEAction(i18n("&Show tip of the day"), "idea", 0, this, TQT_SLOT(slotShowTipOfTheDay()), actionCollection(), "help_show_tip");
+ new TDEAction(i18n("&Show tip of the day"), "idea", 0, this, TQ_SLOT(slotShowTipOfTheDay()), actionCollection(), "help_show_tip");
// ***************************
// Actions w/o main menu entry
// ***************************
- new TDEAction(i18n("New transaction button", "New"), "document-new", TQKeySequence(TQt::CTRL | TQt::Key_Insert), this, TQT_SLOT(slotTransactionsNew()), actionCollection(), "transaction_new");
+ new TDEAction(i18n("New transaction button", "New"), "document-new", TQKeySequence(TQt::CTRL | TQt::Key_Insert), this, TQ_SLOT(slotTransactionsNew()), actionCollection(), "transaction_new");
// we use Return as the same shortcut for Edit and Enter. Therefore, we don't allow
// to change them (The standard KDE dialog complains anyway if you want to assign
// the same shortcut to two actions)
- p = new TDEAction(i18n("Edit transaction button", "Edit"), "edit", 0, this, TQT_SLOT(slotTransactionsEdit()), actionCollection(), "transaction_edit");
+ p = new TDEAction(i18n("Edit transaction button", "Edit"), "edit", 0, this, TQ_SLOT(slotTransactionsEdit()), actionCollection(), "transaction_edit");
p->setShortcutConfigurable(false);
- p = new TDEAction(i18n("Enter transaction", "Enter"), "button_ok", 0, this, TQT_SLOT(slotTransactionsEnter()), actionCollection(), "transaction_enter");
+ p = new TDEAction(i18n("Enter transaction", "Enter"), "button_ok", 0, this, TQ_SLOT(slotTransactionsEnter()), actionCollection(), "transaction_enter");
p->setShortcutConfigurable(false);
- new TDEAction(i18n("Edit split button", "Edit splits"), "split_transaction", 0, this, TQT_SLOT(slotTransactionsEditSplits()), actionCollection(), "transaction_editsplits");
- new TDEAction(i18n("Cancel transaction edit", "Cancel"), "button_cancel", 0, this, TQT_SLOT(slotTransactionsCancel()), actionCollection(), "transaction_cancel");
- new TDEAction(i18n("Delete transaction", "Delete"), "delete", 0, this, TQT_SLOT(slotTransactionsDelete()), actionCollection(), "transaction_delete");
- new TDEAction(i18n("Duplicate transaction", "Duplicate"), "edit-copy", 0, this, TQT_SLOT(slotTransactionDuplicate()), actionCollection(), "transaction_duplicate");
-
- new TDEAction(i18n("Button text for match transaction", "Match"), "process-stop", 0, this, TQT_SLOT(slotTransactionMatch()), actionCollection(), "transaction_match");
- new TDEAction(i18n("Accept 'imported' and 'matched' transaction", "Accept"), "apply", 0, this, TQT_SLOT(slotTransactionsAccept()), actionCollection(), "transaction_accept");
-
- new TDEAction(i18n("Toggle reconciliation flag", "Toggle"), 0, TDEShortcut("Ctrl+Space"), this, TQT_SLOT(slotToggleReconciliationFlag()), actionCollection(), "transaction_mark_toggle");
- new TDEAction(i18n("Mark transaction cleared", "Cleared"), 0, TDEShortcut("Ctrl+Alt+Space"), this, TQT_SLOT(slotMarkTransactionCleared()), actionCollection(), "transaction_mark_cleared");
- new TDEAction(i18n("Mark transaction reconciled", "Reconciled"), "", TDEShortcut("Ctrl+Shift+Space"), this, TQT_SLOT(slotMarkTransactionReconciled()), actionCollection(), "transaction_mark_reconciled");
- new TDEAction(i18n("Mark transaction not reconciled", "Not reconciled"), "", 0, this, TQT_SLOT(slotMarkTransactionNotReconciled()), actionCollection(), "transaction_mark_notreconciled");
- new TDEAction(i18n("Select all transactions", "Select all"), 0, TDEShortcut("Ctrl+A"), this, TQT_SIGNAL(selectAllTransactions()), actionCollection(), "transaction_select_all");
-
- new TDEAction(i18n("Goto account"), "goto", 0, this, TQT_SLOT(slotTransactionGotoAccount()), actionCollection(), "transaction_goto_account");
- new TDEAction(i18n("Goto payee"), "goto", 0, this, TQT_SLOT(slotTransactionGotoPayee()), actionCollection(), "transaction_goto_payee");
- new TDEAction(i18n("Create scheduled transaction..."), "bookmark_add", 0, this, TQT_SLOT(slotTransactionCreateSchedule()), actionCollection(), "transaction_create_schedule");
- new TDEAction(i18n("Assign next number"), "", TDEShortcut("Ctrl+Shift+N"), this, TQT_SLOT(slotTransactionAssignNumber()), actionCollection(), "transaction_assign_number");
- new TDEAction(i18n("Combine transactions", "Combine"), "", 0, this, TQT_SLOT(slotTransactionCombine()), actionCollection(), "transaction_combine");
-
- new TDEAction(i18n("New investment"), "document-new", 0, this, TQT_SLOT(slotInvestmentNew()), actionCollection(), "investment_new");
- new TDEAction(i18n("Edit investment..."), "edit", 0, this, TQT_SLOT(slotInvestmentEdit()), actionCollection(), "investment_edit");
- new TDEAction(i18n("Delete investment..."), "delete", 0, this, TQT_SLOT(slotInvestmentDelete()), actionCollection(), "investment_delete");
- new TDEAction(i18n("Online price update..."), "", 0, this, TQT_SLOT(slotOnlinePriceUpdate()), actionCollection(), "investment_online_price_update");
- new TDEAction(i18n("Manual price update..."), "", 0, this, TQT_SLOT(slotManualPriceUpdate()), actionCollection(), "investment_manual_price_update");
-
- new TDEAction(i18n("New scheduled transaction..."), "document-new", 0, this, TQT_SLOT(slotScheduleNew()), actionCollection(), "schedule_new");
- new TDEAction(i18n("Edit scheduled transaction..."), "edit", 0, this, TQT_SLOT(slotScheduleEdit()), actionCollection(), "schedule_edit");
- new TDEAction(i18n("Delete scheduled transaction..."), "delete", 0, this, TQT_SLOT(slotScheduleDelete()), actionCollection(), "schedule_delete");
- new TDEAction(i18n("Duplicate scheduled transaction"), "edit-copy", 0, this, TQT_SLOT(slotScheduleDuplicate()), actionCollection(), "schedule_duplicate");
- new TDEAction(i18n("Enter next transaction..."), "key_enter", 0, this, TQT_SLOT(slotScheduleEnter()), actionCollection(), "schedule_enter");
- new TDEAction(i18n("Skip next transaction..."), "media-seek-forward", 0, this, TQT_SLOT(slotScheduleSkip()), actionCollection(), "schedule_skip");
-
- new TDEAction(i18n("New payee"), "document-new", 0, this, TQT_SLOT(slotPayeeNew()), actionCollection(), "payee_new");
- new TDEAction(i18n("Rename payee"), "edit", 0, this, TQT_SIGNAL(payeeRename()), actionCollection(), "payee_rename");
- new TDEAction(i18n("Delete payee"), "delete", 0, this, TQT_SLOT(slotPayeeDelete()), actionCollection(), "payee_delete");
-
- new TDEAction(i18n("New budget"), "document-new", 0, this, TQT_SLOT(slotBudgetNew()), actionCollection(), "budget_new");
- new TDEAction(i18n("Rename budget"), "edit", 0, this, TQT_SIGNAL(budgetRename()), actionCollection(), "budget_rename");
- new TDEAction(i18n("Delete budget"), "delete", 0, this, TQT_SLOT(slotBudgetDelete()), actionCollection(), "budget_delete");
- new TDEAction(i18n("Copy budget"), "edit-copy", 0, this, TQT_SLOT(slotBudgetCopy()), actionCollection(), "budget_copy");
- new TDEAction(i18n("Change budget year"), "", 0, this, TQT_SLOT(slotBudgetChangeYear()), actionCollection(), "budget_change_year");
- new TDEAction(i18n("Budget based on forecast", "Forecast"), "forcast", 0, this, TQT_SLOT(slotBudgetForecast()), actionCollection(), "budget_forecast");
+ new TDEAction(i18n("Edit split button", "Edit splits"), "split_transaction", 0, this, TQ_SLOT(slotTransactionsEditSplits()), actionCollection(), "transaction_editsplits");
+ new TDEAction(i18n("Cancel transaction edit", "Cancel"), "button_cancel", 0, this, TQ_SLOT(slotTransactionsCancel()), actionCollection(), "transaction_cancel");
+ new TDEAction(i18n("Delete transaction", "Delete"), "delete", 0, this, TQ_SLOT(slotTransactionsDelete()), actionCollection(), "transaction_delete");
+ new TDEAction(i18n("Duplicate transaction", "Duplicate"), "edit-copy", 0, this, TQ_SLOT(slotTransactionDuplicate()), actionCollection(), "transaction_duplicate");
+
+ new TDEAction(i18n("Button text for match transaction", "Match"), "process-stop", 0, this, TQ_SLOT(slotTransactionMatch()), actionCollection(), "transaction_match");
+ new TDEAction(i18n("Accept 'imported' and 'matched' transaction", "Accept"), "apply", 0, this, TQ_SLOT(slotTransactionsAccept()), actionCollection(), "transaction_accept");
+
+ new TDEAction(i18n("Toggle reconciliation flag", "Toggle"), 0, TDEShortcut("Ctrl+Space"), this, TQ_SLOT(slotToggleReconciliationFlag()), actionCollection(), "transaction_mark_toggle");
+ new TDEAction(i18n("Mark transaction cleared", "Cleared"), 0, TDEShortcut("Ctrl+Alt+Space"), this, TQ_SLOT(slotMarkTransactionCleared()), actionCollection(), "transaction_mark_cleared");
+ new TDEAction(i18n("Mark transaction reconciled", "Reconciled"), "", TDEShortcut("Ctrl+Shift+Space"), this, TQ_SLOT(slotMarkTransactionReconciled()), actionCollection(), "transaction_mark_reconciled");
+ new TDEAction(i18n("Mark transaction not reconciled", "Not reconciled"), "", 0, this, TQ_SLOT(slotMarkTransactionNotReconciled()), actionCollection(), "transaction_mark_notreconciled");
+ new TDEAction(i18n("Select all transactions", "Select all"), 0, TDEShortcut("Ctrl+A"), this, TQ_SIGNAL(selectAllTransactions()), actionCollection(), "transaction_select_all");
+
+ new TDEAction(i18n("Goto account"), "goto", 0, this, TQ_SLOT(slotTransactionGotoAccount()), actionCollection(), "transaction_goto_account");
+ new TDEAction(i18n("Goto payee"), "goto", 0, this, TQ_SLOT(slotTransactionGotoPayee()), actionCollection(), "transaction_goto_payee");
+ new TDEAction(i18n("Create scheduled transaction..."), "bookmark_add", 0, this, TQ_SLOT(slotTransactionCreateSchedule()), actionCollection(), "transaction_create_schedule");
+ new TDEAction(i18n("Assign next number"), "", TDEShortcut("Ctrl+Shift+N"), this, TQ_SLOT(slotTransactionAssignNumber()), actionCollection(), "transaction_assign_number");
+ new TDEAction(i18n("Combine transactions", "Combine"), "", 0, this, TQ_SLOT(slotTransactionCombine()), actionCollection(), "transaction_combine");
+
+ new TDEAction(i18n("New investment"), "document-new", 0, this, TQ_SLOT(slotInvestmentNew()), actionCollection(), "investment_new");
+ new TDEAction(i18n("Edit investment..."), "edit", 0, this, TQ_SLOT(slotInvestmentEdit()), actionCollection(), "investment_edit");
+ new TDEAction(i18n("Delete investment..."), "delete", 0, this, TQ_SLOT(slotInvestmentDelete()), actionCollection(), "investment_delete");
+ new TDEAction(i18n("Online price update..."), "", 0, this, TQ_SLOT(slotOnlinePriceUpdate()), actionCollection(), "investment_online_price_update");
+ new TDEAction(i18n("Manual price update..."), "", 0, this, TQ_SLOT(slotManualPriceUpdate()), actionCollection(), "investment_manual_price_update");
+
+ new TDEAction(i18n("New scheduled transaction..."), "document-new", 0, this, TQ_SLOT(slotScheduleNew()), actionCollection(), "schedule_new");
+ new TDEAction(i18n("Edit scheduled transaction..."), "edit", 0, this, TQ_SLOT(slotScheduleEdit()), actionCollection(), "schedule_edit");
+ new TDEAction(i18n("Delete scheduled transaction..."), "delete", 0, this, TQ_SLOT(slotScheduleDelete()), actionCollection(), "schedule_delete");
+ new TDEAction(i18n("Duplicate scheduled transaction"), "edit-copy", 0, this, TQ_SLOT(slotScheduleDuplicate()), actionCollection(), "schedule_duplicate");
+ new TDEAction(i18n("Enter next transaction..."), "key_enter", 0, this, TQ_SLOT(slotScheduleEnter()), actionCollection(), "schedule_enter");
+ new TDEAction(i18n("Skip next transaction..."), "media-seek-forward", 0, this, TQ_SLOT(slotScheduleSkip()), actionCollection(), "schedule_skip");
+
+ new TDEAction(i18n("New payee"), "document-new", 0, this, TQ_SLOT(slotPayeeNew()), actionCollection(), "payee_new");
+ new TDEAction(i18n("Rename payee"), "edit", 0, this, TQ_SIGNAL(payeeRename()), actionCollection(), "payee_rename");
+ new TDEAction(i18n("Delete payee"), "delete", 0, this, TQ_SLOT(slotPayeeDelete()), actionCollection(), "payee_delete");
+
+ new TDEAction(i18n("New budget"), "document-new", 0, this, TQ_SLOT(slotBudgetNew()), actionCollection(), "budget_new");
+ new TDEAction(i18n("Rename budget"), "edit", 0, this, TQ_SIGNAL(budgetRename()), actionCollection(), "budget_rename");
+ new TDEAction(i18n("Delete budget"), "delete", 0, this, TQ_SLOT(slotBudgetDelete()), actionCollection(), "budget_delete");
+ new TDEAction(i18n("Copy budget"), "edit-copy", 0, this, TQ_SLOT(slotBudgetCopy()), actionCollection(), "budget_copy");
+ new TDEAction(i18n("Change budget year"), "", 0, this, TQ_SLOT(slotBudgetChangeYear()), actionCollection(), "budget_change_year");
+ new TDEAction(i18n("Budget based on forecast", "Forecast"), "forcast", 0, this, TQ_SLOT(slotBudgetForecast()), actionCollection(), "budget_forecast");
// ************************
// Currency actions
// ************************
- new TDEAction(i18n("New currency"), "document-new", 0, this, TQT_SLOT(slotCurrencyNew()), actionCollection(), "currency_new");
- new TDEAction(i18n("Rename currency"), "edit", 0, this, TQT_SIGNAL(currencyRename()), actionCollection(), "currency_rename");
- new TDEAction(i18n("Delete currency"), "delete", 0, this, TQT_SLOT(slotCurrencyDelete()), actionCollection(), "currency_delete");
- new TDEAction(i18n("Select as base currency"), "kmymoney2", 0, this, TQT_SLOT(slotCurrencySetBase()), actionCollection(), "currency_setbase");
+ new TDEAction(i18n("New currency"), "document-new", 0, this, TQ_SLOT(slotCurrencyNew()), actionCollection(), "currency_new");
+ new TDEAction(i18n("Rename currency"), "edit", 0, this, TQ_SIGNAL(currencyRename()), actionCollection(), "currency_rename");
+ new TDEAction(i18n("Delete currency"), "delete", 0, this, TQ_SLOT(slotCurrencyDelete()), actionCollection(), "currency_delete");
+ new TDEAction(i18n("Select as base currency"), "kmymoney2", 0, this, TQ_SLOT(slotCurrencySetBase()), actionCollection(), "currency_setbase");
#ifdef KMM_DEBUG
- new TDEAction("Test new feature", "", TDEShortcut("Ctrl+G"), this, TQT_SLOT(slotNewFeature()), actionCollection(), "new_user_wizard");
- new TDEToggleAction("Debug Traces", "", 0, this, TQT_SLOT(slotToggleTraces()), actionCollection(), "debug_traces");
- new TDEToggleAction("Debug Timers", "", 0, this, TQT_SLOT(slotToggleTimers()), actionCollection(), "debug_timers");
+ new TDEAction("Test new feature", "", TDEShortcut("Ctrl+G"), this, TQ_SLOT(slotNewFeature()), actionCollection(), "new_user_wizard");
+ new TDEToggleAction("Debug Traces", "", 0, this, TQ_SLOT(slotToggleTraces()), actionCollection(), "debug_traces");
+ new TDEToggleAction("Debug Timers", "", 0, this, TQ_SLOT(slotToggleTimers()), actionCollection(), "debug_timers");
#endif
// ************************
// Currently unused actions
// ************************
#if 0
- new TDEToolBarPopupAction(i18n("View back"), "back", 0, this, TQT_SLOT(slotShowPreviousView()), actionCollection(), "go_back");
- new TDEToolBarPopupAction(i18n("View forward"), "forward", 0, this, TQT_SLOT(slotShowNextView()), actionCollection(), "go_forward");
+ new TDEToolBarPopupAction(i18n("View back"), "back", 0, this, TQ_SLOT(slotShowPreviousView()), actionCollection(), "go_back");
+ new TDEToolBarPopupAction(i18n("View forward"), "forward", 0, this, TQ_SLOT(slotShowNextView()), actionCollection(), "go_forward");
action("go_back")->setEnabled(false);
action("go_forward")->setEnabled(false);
@@ -630,7 +630,7 @@ bool KMyMoney2App::queryExit(void)
}
/////////////////////////////////////////////////////////////////////
-// TQT_SLOT IMPLEMENTATION
+// SLOT IMPLEMENTATION
/////////////////////////////////////////////////////////////////////
void KMyMoney2App::slotFileInfoDialog(void)
{
@@ -1075,8 +1075,8 @@ bool KMyMoney2App::slotFileSaveAs(void)
TQHBox* labelBox = new TQHBox(vbox);
m_additionalKeyLabel = new TQLabel(i18n("Additional encryption key(s) to be used: %1").arg(m_additionalGpgKeys.count()), labelBox);
m_additionalKeyButton = new KPushButton(i18n("Manage additional keys"), labelBox);
- connect(m_additionalKeyButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotManageGpgKeys()));
- connect(m_saveEncrypted, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotKeySelected(int)));
+ connect(m_additionalKeyButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotManageGpgKeys()));
+ connect(m_saveEncrypted, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotKeySelected(int)));
// fill the secret key list and combo box
TQStringList keyList;
@@ -1109,7 +1109,7 @@ bool KMyMoney2App::slotFileSaveAs(void)
TQString("%1|%2\n").arg("*.anon.xml").arg(i18n("Anonymous (Filefilter)", "Anonymous files")) +
TQString("%1|%2\n").arg("*").arg(i18n("All files")),
this, "filedialog", true, vbox);
- connect(&dlg, TQT_SIGNAL(filterChanged(const TQString&)), this, TQT_SLOT(slotFileSaveAsFilterChanged(const TQString&)));
+ connect(&dlg, TQ_SIGNAL(filterChanged(const TQString&)), this, TQ_SLOT(slotFileSaveAsFilterChanged(const TQString&)));
if ( !specialDir )
dlg.setSelection( prevDir ); // may also be a filename
@@ -1525,7 +1525,7 @@ void KMyMoney2App::slotQifImport(void)
// remove all kmm-statement-#.txt files
d->unlinkStatementXML();
- connect(m_qifReader, TQT_SIGNAL(importFinished()), this, TQT_SLOT(slotQifImportFinished()));
+ connect(m_qifReader, TQ_SIGNAL(importFinished()), this, TQ_SLOT(slotQifImportFinished()));
m_qifReader->setURL(dlg->filename());
@@ -1774,7 +1774,7 @@ void KMyMoney2App::slotQifExport(void)
if(dlg->exec()) {
if(okToWriteFile(dlg->filename())) {
MyMoneyQifWriter writer;
- connect(&writer, TQT_SIGNAL(signalProgress(int, int)), this, TQT_SLOT(slotStatusProgressBar(int, int)));
+ connect(&writer, TQ_SIGNAL(signalProgress(int, int)), this, TQ_SLOT(slotStatusProgressBar(int, int)));
writer.write(dlg->filename(), dlg->profile(), dlg->accountId(),
dlg->accountSelected(), dlg->categorySelected(),
@@ -1830,9 +1830,9 @@ void KMyMoney2App::slotSettings(void)
dlg->addPage(forecastPage, i18n("Forecast"), "forcast");
dlg->addPage(pluginsPage, i18n("Plugins"), "connect_no");
- connect(dlg, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(slotUpdateConfiguration()));
- connect(dlg, TQT_SIGNAL(okClicked()), pluginsPage, TQT_SLOT(slotSavePlugins()));
- connect(dlg, TQT_SIGNAL(defaultClicked()), pluginsPage, TQT_SLOT(slotDefaultsPlugins()));
+ connect(dlg, TQ_SIGNAL(settingsChanged()), this, TQ_SLOT(slotUpdateConfiguration()));
+ connect(dlg, TQ_SIGNAL(okClicked()), pluginsPage, TQ_SLOT(slotSavePlugins()));
+ connect(dlg, TQ_SIGNAL(defaultClicked()), pluginsPage, TQ_SLOT(slotDefaultsPlugins()));
dlg->show();
}
@@ -2124,9 +2124,9 @@ void KMyMoney2App::slotFindTransaction(void)
{
if(m_searchDlg == 0) {
m_searchDlg = new KFindTransactionDlg();
- connect(m_searchDlg, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotCloseSearchDialog()));
- connect(m_searchDlg, TQT_SIGNAL(transactionSelected(const TQString&, const TQString&)),
- myMoneyView, TQT_SLOT(slotLedgerSelected(const TQString&, const TQString&)));
+ connect(m_searchDlg, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotCloseSearchDialog()));
+ connect(m_searchDlg, TQ_SIGNAL(transactionSelected(const TQString&, const TQString&)),
+ myMoneyView, TQ_SLOT(slotLedgerSelected(const TQString&, const TQString&)));
}
m_searchDlg->show();
m_searchDlg->raise();
@@ -2467,10 +2467,10 @@ void KMyMoney2App::slotAccountNew(void)
void KMyMoney2App::slotAccountNew(MyMoneyAccount& account)
{
NewAccountWizard::Wizard* wizard = new NewAccountWizard::Wizard();
- connect(wizard, TQT_SIGNAL(createInstitution(MyMoneyInstitution&)), this, TQT_SLOT(slotInstitutionNew(MyMoneyInstitution&)));
- connect(wizard, TQT_SIGNAL(createAccount(MyMoneyAccount&)), this, TQT_SLOT(slotAccountNew(MyMoneyAccount&)));
- connect(wizard, TQT_SIGNAL(createPayee(const TQString&, TQString&)), this, TQT_SLOT(slotPayeeNew(const TQString&, TQString&)));
- connect(wizard, TQT_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)), this, TQT_SLOT(slotCategoryNew(MyMoneyAccount&, const MyMoneyAccount&)));
+ connect(wizard, TQ_SIGNAL(createInstitution(MyMoneyInstitution&)), this, TQ_SLOT(slotInstitutionNew(MyMoneyInstitution&)));
+ connect(wizard, TQ_SIGNAL(createAccount(MyMoneyAccount&)), this, TQ_SLOT(slotAccountNew(MyMoneyAccount&)));
+ connect(wizard, TQ_SIGNAL(createPayee(const TQString&, TQString&)), this, TQ_SLOT(slotPayeeNew(const TQString&, TQString&)));
+ connect(wizard, TQ_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)), this, TQ_SLOT(slotCategoryNew(MyMoneyAccount&, const MyMoneyAccount&)));
wizard->setAccount(account);
@@ -3038,8 +3038,8 @@ void KMyMoney2App::slotAccountEdit(void)
}
} else {
KEditLoanWizard* wizard = new KEditLoanWizard(m_selectedAccount);
- connect(wizard, TQT_SIGNAL(newCategory(MyMoneyAccount&)), this, TQT_SLOT(slotCategoryNew(MyMoneyAccount&)));
- connect(wizard, TQT_SIGNAL(createPayee(const TQString&, TQString&)), this, TQT_SLOT(slotPayeeNew(const TQString&, TQString&)));
+ connect(wizard, TQ_SIGNAL(newCategory(MyMoneyAccount&)), this, TQ_SLOT(slotCategoryNew(MyMoneyAccount&)));
+ connect(wizard, TQ_SIGNAL(createPayee(const TQString&, TQString&)), this, TQ_SLOT(slotPayeeNew(const TQString&, TQString&)));
if(wizard->exec() == TQDialog::Accepted) {
MyMoneySchedule sch = file->schedule(m_selectedAccount.value("schedule").latin1());
if(!(m_selectedAccount == wizard->account())
@@ -3122,8 +3122,8 @@ void KMyMoney2App::slotAccountReconcileStart(void)
delete m_endingBalanceDlg;
m_endingBalanceDlg = new KEndingBalanceDlg(account, this);
if(account.isAssetLiability()) {
- connect(m_endingBalanceDlg, TQT_SIGNAL(createPayee(const TQString&, TQString&)), this, TQT_SLOT(slotPayeeNew(const TQString&, TQString&)));
- connect(m_endingBalanceDlg, TQT_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)), this, TQT_SLOT(slotCategoryNew(MyMoneyAccount&, const MyMoneyAccount&)));
+ connect(m_endingBalanceDlg, TQ_SIGNAL(createPayee(const TQString&, TQString&)), this, TQ_SLOT(slotPayeeNew(const TQString&, TQString&)));
+ connect(m_endingBalanceDlg, TQ_SIGNAL(createCategory(MyMoneyAccount&, const MyMoneyAccount&)), this, TQ_SLOT(slotCategoryNew(MyMoneyAccount&, const MyMoneyAccount&)));
if(m_endingBalanceDlg->exec() == TQDialog::Accepted) {
if(myMoneyView->startReconciliation(account, m_endingBalanceDlg->statementDate(), m_endingBalanceDlg->endingBalance())) {
@@ -3534,8 +3534,8 @@ void KMyMoney2App::slotScheduleEdit(void)
case MyMoneySchedule::TYPE_LOANPAYMENT:
loan_wiz = new KEditLoanWizard(schedule.account(2));
- connect(loan_wiz, TQT_SIGNAL(newCategory(MyMoneyAccount&)), this, TQT_SLOT(slotCategoryNew(MyMoneyAccount&)));
- connect(loan_wiz, TQT_SIGNAL(createPayee(const TQString&, TQString&)), this, TQT_SLOT(slotPayeeNew(const TQString&, TQString&)));
+ connect(loan_wiz, TQ_SIGNAL(newCategory(MyMoneyAccount&)), this, TQ_SLOT(slotCategoryNew(MyMoneyAccount&)));
+ connect(loan_wiz, TQ_SIGNAL(createPayee(const TQString&, TQString&)), this, TQ_SLOT(slotPayeeNew(const TQString&, TQString&)));
if (loan_wiz->exec() == TQDialog::Accepted) {
MyMoneyFileTransaction ft;
try {
@@ -3733,7 +3733,7 @@ KMyMoneyUtils::EnterScheduleResultCodeE KMyMoney2App::enterSchedule(MyMoneySched
}
TQString newId;
- connect(m_transactionEditor, TQT_SIGNAL(balanceWarning(TQWidget*, const MyMoneyAccount&, const TQString&)), d->m_balanceWarning, TQT_SLOT(slotShowMessage(TQWidget*, const MyMoneyAccount&, const TQString&)));
+ connect(m_transactionEditor, TQ_SIGNAL(balanceWarning(TQWidget*, const MyMoneyAccount&, const TQString&)), d->m_balanceWarning, TQ_SLOT(slotShowMessage(TQWidget*, const MyMoneyAccount&, const TQString&)));
if(m_transactionEditor->enterTransactions(newId, false)) {
if(!newId.isEmpty()) {
MyMoneyTransaction t = MyMoneyFile::instance()->transaction(newId);
@@ -4442,10 +4442,10 @@ void KMyMoney2App::slotTransactionsNew(void)
payeeEdit->completion()->hide();
}
if(m_transactionEditor) {
- connect(m_transactionEditor, TQT_SIGNAL(statusProgress(int, int)), this, TQT_SLOT(slotStatusProgressBar(int, int)));
- connect(m_transactionEditor, TQT_SIGNAL(statusMsg(const TQString&)), this, TQT_SLOT(slotStatusMsg(const TQString&)));
- connect(m_transactionEditor, TQT_SIGNAL(scheduleTransaction(const MyMoneyTransaction&, MyMoneySchedule::occurenceE)), this, TQT_SLOT(slotScheduleNew(const MyMoneyTransaction&, MyMoneySchedule::occurenceE)));
- connect(m_transactionEditor, TQT_SIGNAL(transactionDataSufficient(bool)), this, TQT_SLOT(slotUpdateActions()));
+ connect(m_transactionEditor, TQ_SIGNAL(statusProgress(int, int)), this, TQ_SLOT(slotStatusProgressBar(int, int)));
+ connect(m_transactionEditor, TQ_SIGNAL(statusMsg(const TQString&)), this, TQ_SLOT(slotStatusMsg(const TQString&)));
+ connect(m_transactionEditor, TQ_SIGNAL(scheduleTransaction(const MyMoneyTransaction&, MyMoneySchedule::occurenceE)), this, TQ_SLOT(slotScheduleNew(const MyMoneyTransaction&, MyMoneySchedule::occurenceE)));
+ connect(m_transactionEditor, TQ_SIGNAL(transactionDataSufficient(bool)), this, TQ_SLOT(slotUpdateActions()));
}
slotUpdateActions();
}
@@ -4461,7 +4461,7 @@ void KMyMoney2App::slotTransactionsEdit(void)
// as soon as we edit a transaction, we don't remember the last payee entered
d->m_lastPayeeEntered = TQString();
m_transactionEditor = myMoneyView->startEdit(m_selectedTransactions);
- connect(m_transactionEditor, TQT_SIGNAL(transactionDataSufficient(bool)), this, TQT_SLOT(slotUpdateActions()));
+ connect(m_transactionEditor, TQ_SIGNAL(transactionDataSufficient(bool)), this, TQ_SLOT(slotUpdateActions()));
slotUpdateActions();
}
}
@@ -4490,7 +4490,7 @@ void KMyMoney2App::slotTransactionsEditSplits(void)
MyMoneyFileTransaction ft;
try {
TQString id;
- connect(m_transactionEditor, TQT_SIGNAL(balanceWarning(TQWidget*, const MyMoneyAccount&, const TQString&)), d->m_balanceWarning, TQT_SLOT(slotShowMessage(TQWidget*, const MyMoneyAccount&, const TQString&)));
+ connect(m_transactionEditor, TQ_SIGNAL(balanceWarning(TQWidget*, const MyMoneyAccount&, const TQString&)), d->m_balanceWarning, TQ_SLOT(slotShowMessage(TQWidget*, const MyMoneyAccount&, const TQString&)));
m_transactionEditor->enterTransactions(id);
ft.commit();
} catch(MyMoneyException* e) {
@@ -4526,7 +4526,7 @@ void KMyMoney2App::slotTransactionsEnter(void)
if(m_transactionEditor) {
TQString accountId = m_selectedAccount.id();
TQString newId;
- connect(m_transactionEditor, TQT_SIGNAL(balanceWarning(TQWidget*, const MyMoneyAccount&, const TQString&)), d->m_balanceWarning, TQT_SLOT(slotShowMessage(TQWidget*, const MyMoneyAccount&, const TQString&)));
+ connect(m_transactionEditor, TQ_SIGNAL(balanceWarning(TQWidget*, const MyMoneyAccount&, const TQString&)), d->m_balanceWarning, TQ_SLOT(slotShowMessage(TQWidget*, const MyMoneyAccount&, const TQString&)));
if(m_transactionEditor->enterTransactions(newId)) {
KMyMoneyPayeeCombo* payeeEdit = dynamic_cast<KMyMoneyPayeeCombo*>(m_transactionEditor->haveWidget("payee"));
if(payeeEdit && !newId.isEmpty()) {
@@ -5676,12 +5676,12 @@ void KMyMoney2App::slotDataChanged(void)
void KMyMoney2App::slotCurrencyDialog(void)
{
KCurrencyEditDlg dlg(this, "Currency Editor");
- connect(&dlg, TQT_SIGNAL(selectObject(const MyMoneySecurity&)), this, TQT_SLOT(slotSelectCurrency(const MyMoneySecurity&)));
- connect(&dlg, TQT_SIGNAL(openContextMenu(const MyMoneySecurity&)), this, TQT_SLOT(slotShowCurrencyContextMenu()));
- connect(this, TQT_SIGNAL(currencyRename()), &dlg, TQT_SLOT(slotStartRename()));
- connect(&dlg, TQT_SIGNAL(renameCurrency(TQListViewItem*, int, const TQString&)), this, TQT_SLOT(slotCurrencyRename(TQListViewItem*,int,const TQString&)));
- connect(this, TQT_SIGNAL(currencyCreated(const TQString&)), &dlg, TQT_SLOT(slotSelectCurrency(const TQString&)));
- connect(&dlg, TQT_SIGNAL(selectBaseCurrency(const MyMoneySecurity&)), this, TQT_SLOT(slotCurrencySetBase()));
+ connect(&dlg, TQ_SIGNAL(selectObject(const MyMoneySecurity&)), this, TQ_SLOT(slotSelectCurrency(const MyMoneySecurity&)));
+ connect(&dlg, TQ_SIGNAL(openContextMenu(const MyMoneySecurity&)), this, TQ_SLOT(slotShowCurrencyContextMenu()));
+ connect(this, TQ_SIGNAL(currencyRename()), &dlg, TQ_SLOT(slotStartRename()));
+ connect(&dlg, TQ_SIGNAL(renameCurrency(TQListViewItem*, int, const TQString&)), this, TQ_SLOT(slotCurrencyRename(TQListViewItem*,int,const TQString&)));
+ connect(this, TQ_SIGNAL(currencyCreated(const TQString&)), &dlg, TQ_SLOT(slotSelectCurrency(const TQString&)));
+ connect(&dlg, TQ_SIGNAL(selectBaseCurrency(const MyMoneySecurity&)), this, TQ_SLOT(slotCurrencySetBase()));
dlg.exec();
@@ -5917,8 +5917,8 @@ void KMyMoney2App::loadPlugins(void)
{
d->m_pluginLoader = new KMyMoneyPlugin::PluginLoader(this);
- connect( d->m_pluginLoader, TQT_SIGNAL( plug(KPluginInfo*) ), this, TQT_SLOT( slotPluginPlug(KPluginInfo*) ) );
- connect( d->m_pluginLoader, TQT_SIGNAL( unplug(KPluginInfo*) ), this, TQT_SLOT( slotPluginUnplug(KPluginInfo*) ) );
+ connect( d->m_pluginLoader, TQ_SIGNAL( plug(KPluginInfo*) ), this, TQ_SLOT( slotPluginPlug(KPluginInfo*) ) );
+ connect( d->m_pluginLoader, TQ_SIGNAL( unplug(KPluginInfo*) ), this, TQ_SLOT( slotPluginUnplug(KPluginInfo*) ) );
d->m_pluginLoader->loadPlugins();
}
@@ -5988,7 +5988,7 @@ void KMyMoney2App::slotDateChanged(void)
TQDateTime dt = TQDateTime::currentDateTime();
TQDateTime nextDay( TQDate(dt.date().addDays(1)), TQTime(0, 0, 0) );
- TQTimer::singleShot(dt.secsTo(nextDay)*1000, this, TQT_SLOT(slotDateChanged()));
+ TQTimer::singleShot(dt.secsTo(nextDay)*1000, this, TQ_SLOT(slotDateChanged()));
myMoneyView->slotRefreshViews();
}
diff --git a/kmymoney2/plugins/interfaces/kmmviewinterface.cpp b/kmymoney2/plugins/interfaces/kmmviewinterface.cpp
index 51d4a7d..acc7e7a 100644
--- a/kmymoney2/plugins/interfaces/kmmviewinterface.cpp
+++ b/kmymoney2/plugins/interfaces/kmmviewinterface.cpp
@@ -38,15 +38,15 @@ KMyMoneyPlugin::KMMViewInterface::KMMViewInterface(KMyMoney2App* app, KMyMoneyVi
m_app(app),
m_view(view)
{
- connect(app, TQT_SIGNAL(accountSelected(const MyMoneyAccount&)), this, TQT_SIGNAL(accountSelected(const MyMoneyAccount&)));
- connect(app, TQT_SIGNAL(transactionsSelected(const KMyMoneyRegister::SelectedTransactions&)), this, TQT_SIGNAL(transactionsSelected(const KMyMoneyRegister::SelectedTransactions&)));
- connect(app, TQT_SIGNAL(accountReconciled(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&, const MyMoneyMoney&, const TQValueList<TQPair<MyMoneyTransaction, MyMoneySplit> >&)),
- this, TQT_SIGNAL(accountReconciled(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&, const MyMoneyMoney&, const TQValueList<TQPair<MyMoneyTransaction, MyMoneySplit> >&)));
+ connect(app, TQ_SIGNAL(accountSelected(const MyMoneyAccount&)), this, TQ_SIGNAL(accountSelected(const MyMoneyAccount&)));
+ connect(app, TQ_SIGNAL(transactionsSelected(const KMyMoneyRegister::SelectedTransactions&)), this, TQ_SIGNAL(transactionsSelected(const KMyMoneyRegister::SelectedTransactions&)));
+ connect(app, TQ_SIGNAL(accountReconciled(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&, const MyMoneyMoney&, const TQValueList<TQPair<MyMoneyTransaction, MyMoneySplit> >&)),
+ this, TQ_SIGNAL(accountReconciled(const MyMoneyAccount&, const TQDate&, const MyMoneyMoney&, const MyMoneyMoney&, const TQValueList<TQPair<MyMoneyTransaction, MyMoneySplit> >&)));
- connect(app, TQT_SIGNAL(institutionSelected(const MyMoneyInstitution&)), this, TQT_SIGNAL(institutionSelected(const MyMoneyInstitution&)));
+ connect(app, TQ_SIGNAL(institutionSelected(const MyMoneyInstitution&)), this, TQ_SIGNAL(institutionSelected(const MyMoneyInstitution&)));
- connect(m_view, TQT_SIGNAL(viewStateChanged(bool)), this, TQT_SIGNAL(viewStateChanged(bool)));
- connect(m_view, TQT_SIGNAL(kmmFilePlugin(unsigned int)), this, TQT_SIGNAL(kmmFilePlugin(unsigned int)));
+ connect(m_view, TQ_SIGNAL(viewStateChanged(bool)), this, TQ_SIGNAL(viewStateChanged(bool)));
+ connect(m_view, TQ_SIGNAL(kmmFilePlugin(unsigned int)), this, TQ_SIGNAL(kmmFilePlugin(unsigned int)));
}
KMyMoneyViewBase* KMyMoneyPlugin::KMMViewInterface::addPage(const TQString& item, const TQString& icon)
diff --git a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp
index 1503cce..11ed77f 100644
--- a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp
+++ b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp
@@ -109,9 +109,9 @@ void KOfxDirectConnectDlg::init(void)
}
m_job->addMetaData("content-type", "Content-type: application/x-ofx" );
- connect(m_job,TQT_SIGNAL(result(TDEIO::Job*)),this,TQT_SLOT(slotOfxFinished(TDEIO::Job*)));
- connect(m_job,TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),this,TQT_SLOT(slotOfxData(TDEIO::Job*,const TQByteArray&)));
- connect(m_job,TQT_SIGNAL(connected(TDEIO::Job*)),this,TQT_SLOT(slotOfxConnected(TDEIO::Job*)));
+ connect(m_job,TQ_SIGNAL(result(TDEIO::Job*)),this,TQ_SLOT(slotOfxFinished(TDEIO::Job*)));
+ connect(m_job,TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),this,TQ_SLOT(slotOfxData(TDEIO::Job*,const TQByteArray&)));
+ connect(m_job,TQ_SIGNAL(connected(TDEIO::Job*)),this,TQ_SLOT(slotOfxConnected(TDEIO::Job*)));
setStatus(TQString("Contacting %1...").arg(m_connector.url()));
kProgress1->setTotalSteps(3);
diff --git a/kmymoney2/plugins/ofximport/ofximporterplugin.cpp b/kmymoney2/plugins/ofximport/ofximporterplugin.cpp
index 6fb668b..148d81e 100644
--- a/kmymoney2/plugins/ofximport/ofximporterplugin.cpp
+++ b/kmymoney2/plugins/ofximport/ofximporterplugin.cpp
@@ -65,7 +65,7 @@ OfxImporterPlugin::~OfxImporterPlugin()
void OfxImporterPlugin::createActions(void)
{
- new TDEAction(i18n("OFX..."), "", 0, this, TQT_SLOT(slotImportFile()), actionCollection(), "file_import_ofx");
+ new TDEAction(i18n("OFX..."), "", 0, this, TQ_SLOT(slotImportFile()), actionCollection(), "file_import_ofx");
}
void OfxImporterPlugin::slotImportFile(void)
@@ -633,8 +633,8 @@ bool OfxImporterPlugin::updateAccount(const MyMoneyAccount& acc, bool moreAccoun
m_preferName = acc.onlineBankingSettings().value("kmmofx-preferName").toInt() != 0;
KOfxDirectConnectDlg dlg(acc);
- connect(&dlg, TQT_SIGNAL(statementReady(const TQString&)),
- this, TQT_SLOT(slotImportFile(const TQString&)));
+ connect(&dlg, TQ_SIGNAL(statementReady(const TQString&)),
+ this, TQ_SLOT(slotImportFile(const TQString&)));
dlg.init();
dlg.exec();
diff --git a/kmymoney2/plugins/ofximport/ofxpartner.cpp b/kmymoney2/plugins/ofximport/ofxpartner.cpp
index e04237a..ef5356a 100644
--- a/kmymoney2/plugins/ofximport/ofxpartner.cpp
+++ b/kmymoney2/plugins/ofximport/ofxpartner.cpp
@@ -314,9 +314,9 @@ OfxHttpsRequest::OfxHttpsRequest(const TQString& type, const KURL &url, const TQ
ts << "request:\n" << TQString(postData) << "\n" << "response:\n";
}
- connect(m_job,TQT_SIGNAL(result(TDEIO::Job*)),this,TQT_SLOT(slotOfxFinished(TDEIO::Job*)));
- connect(m_job,TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),this,TQT_SLOT(slotOfxData(TDEIO::Job*,const TQByteArray&)));
- connect(m_job,TQT_SIGNAL(connected(TDEIO::Job*)),this,TQT_SLOT(slotOfxConnected(TDEIO::Job*)));
+ connect(m_job,TQ_SIGNAL(result(TDEIO::Job*)),this,TQ_SLOT(slotOfxFinished(TDEIO::Job*)));
+ connect(m_job,TQ_SIGNAL(data(TDEIO::Job*, const TQByteArray&)),this,TQ_SLOT(slotOfxData(TDEIO::Job*,const TQByteArray&)));
+ connect(m_job,TQ_SIGNAL(connected(TDEIO::Job*)),this,TQ_SLOT(slotOfxConnected(TDEIO::Job*)));
tqApp->enter_loop();
}
@@ -398,8 +398,8 @@ OfxHttpRequest::OfxHttpRequest(const TQString& type, const KURL &url, const TQBy
m_job->request(header, postData, &f);
- connect(m_job, TQT_SIGNAL(requestFinished(int, bool)),
- this, TQT_SLOT(slotOfxFinished(int, bool)));
+ connect(m_job, TQ_SIGNAL(requestFinished(int, bool)),
+ this, TQ_SLOT(slotOfxFinished(int, bool)));
tqApp->enter_loop();
diff --git a/kmymoney2/plugins/pluginloader.cpp b/kmymoney2/plugins/pluginloader.cpp
index 2c80e1f..eb08595 100644
--- a/kmymoney2/plugins/pluginloader.cpp
+++ b/kmymoney2/plugins/pluginloader.cpp
@@ -79,8 +79,8 @@ PluginLoader::PluginLoader(TQObject* parent)
d->m_pluginSelector->addPlugins(d->m_pluginList);
d->m_pluginSelector->load();
- connect(d->m_pluginSelector, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(changed()));
- connect(d->m_pluginSelector, TQT_SIGNAL(configCommitted(const TQCString &)), this, TQT_SLOT(changedConfigOfPlugin(const TQCString &)));
+ connect(d->m_pluginSelector, TQ_SIGNAL(changed(bool)), this, TQ_SLOT(changed()));
+ connect(d->m_pluginSelector, TQ_SIGNAL(configCommitted(const TQCString &)), this, TQ_SLOT(changedConfigOfPlugin(const TQCString &)));
}
PluginLoader::~PluginLoader()
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()));
}
}
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;
}
diff --git a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp
index 377615a..e04e581 100644
--- a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp
+++ b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp
@@ -376,9 +376,9 @@ InstitutionPage::InstitutionPage(Wizard* wizard, const char* name) :
WizardPage<Wizard>(StepInstitution, this, wizard, name),
d(new Private())
{
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadWidgets()));
- connect(m_newInstitutionButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewInstitution()));
- connect(m_institutionComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSelectInstitution(int)));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadWidgets()));
+ connect(m_newInstitutionButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewInstitution()));
+ connect(m_institutionComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSelectInstitution(int)));
slotLoadWidgets();
m_institutionComboBox->setCurrentItem(0);
@@ -475,12 +475,12 @@ AccountTypePage::AccountTypePage(Wizard* wizard, const char* name) :
m_conversionRate->setValue(MyMoneyMoney(1,1));
slotUpdateCurrency();
- connect(m_typeSelection, TQT_SIGNAL(itemSelected(int)), this, TQT_SLOT(slotUpdateType(int)));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadWidgets()));
- connect(m_currencyComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotUpdateCurrency()));
- connect(m_conversionRate, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUpdateConversionRate(const TQString&)));
- connect(m_conversionRate, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotPriceWarning()));
- connect(m_onlineQuote, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotGetOnlineQuote()));
+ connect(m_typeSelection, TQ_SIGNAL(itemSelected(int)), this, TQ_SLOT(slotUpdateType(int)));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadWidgets()));
+ connect(m_currencyComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotUpdateCurrency()));
+ connect(m_conversionRate, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUpdateConversionRate(const TQString&)));
+ connect(m_conversionRate, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotPriceWarning()));
+ connect(m_onlineQuote, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotGetOnlineQuote()));
}
void AccountTypePage::slotUpdateType(int i)
@@ -633,7 +633,7 @@ BrokeragePage::BrokeragePage(Wizard* wizard, const char* name) :
KBrokeragePageDecl(wizard),
WizardPage<Wizard>(StepBroker, this, wizard, name)
{
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadWidgets()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadWidgets()));
}
void BrokeragePage::slotLoadWidgets(void)
@@ -670,16 +670,16 @@ CreditCardSchedulePage::CreditCardSchedulePage(Wizard* wizard, const char* name)
m_mandatoryGroup->add(m_payee);
m_mandatoryGroup->add(m_amount->lineedit());
m_mandatoryGroup->add(m_paymentAccount);
- connect(m_paymentAccount, TQT_SIGNAL(itemSelected(const TQString&)), object(), TQT_SIGNAL(completeStateChanged()));
- connect(m_payee, TQT_SIGNAL(itemSelected(const TQString&)), object(), TQT_SIGNAL(completeStateChanged()));
- connect(m_date, TQT_SIGNAL(dateChanged(const TQDate&)), object(), TQT_SIGNAL(completeStateChanged()));
+ connect(m_paymentAccount, TQ_SIGNAL(itemSelected(const TQString&)), object(), TQ_SIGNAL(completeStateChanged()));
+ connect(m_payee, TQ_SIGNAL(itemSelected(const TQString&)), object(), TQ_SIGNAL(completeStateChanged()));
+ connect(m_date, TQ_SIGNAL(dateChanged(const TQDate&)), object(), TQ_SIGNAL(completeStateChanged()));
- connect(m_payee, TQT_SIGNAL(createItem(const TQString&, TQString&)), wizard, TQT_SIGNAL(createPayee(const TQString&, TQString&)));
+ connect(m_payee, TQ_SIGNAL(createItem(const TQString&, TQString&)), wizard, TQ_SIGNAL(createPayee(const TQString&, TQString&)));
m_reminderCheckBox->setChecked(true);
- connect(m_reminderCheckBox, TQT_SIGNAL(toggled(bool)), object(), TQT_SIGNAL(completeStateChanged()));
+ connect(m_reminderCheckBox, TQ_SIGNAL(toggled(bool)), object(), TQ_SIGNAL(completeStateChanged()));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadWidgets()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadWidgets()));
m_method->insertItem(i18n("Write check"), MyMoneySchedule::STYPE_WRITECHEQUE);
#if 0
@@ -764,15 +764,15 @@ GeneralLoanInfoPage::GeneralLoanInfoPage(Wizard* wizard, const char* name) :
slotLoadWidgets();
- connect(m_payee, TQT_SIGNAL(createItem(const TQString&, TQString&)), wizard, TQT_SIGNAL(createPayee(const TQString&, TQString&)));
- connect(m_anyPayments, TQT_SIGNAL(activated(int)), object(), TQT_SIGNAL(completeStateChanged()));
- connect(m_recordings, TQT_SIGNAL(activated(int)), object(), TQT_SIGNAL(completeStateChanged()));
+ connect(m_payee, TQ_SIGNAL(createItem(const TQString&, TQString&)), wizard, TQ_SIGNAL(createPayee(const TQString&, TQString&)));
+ connect(m_anyPayments, TQ_SIGNAL(activated(int)), object(), TQ_SIGNAL(completeStateChanged()));
+ connect(m_recordings, TQ_SIGNAL(activated(int)), object(), TQ_SIGNAL(completeStateChanged()));
- connect(m_interestType, TQT_SIGNAL(activated(int)), object(), TQT_SIGNAL(completeStateChanged()));
- connect(m_interestChangeDateEdit, TQT_SIGNAL(dateChanged(const TQDate&)), object(), TQT_SIGNAL(completeStateChanged()));
- connect(m_openingBalance, TQT_SIGNAL(textChanged(const TQString&)), object(), TQT_SIGNAL(completeStateChanged()));
+ connect(m_interestType, TQ_SIGNAL(activated(int)), object(), TQ_SIGNAL(completeStateChanged()));
+ connect(m_interestChangeDateEdit, TQ_SIGNAL(dateChanged(const TQDate&)), object(), TQ_SIGNAL(completeStateChanged()));
+ connect(m_openingBalance, TQ_SIGNAL(textChanged(const TQString&)), object(), TQ_SIGNAL(completeStateChanged()));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadWidgets()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadWidgets()));
}
KMyMoneyWizardPage* GeneralLoanInfoPage::nextPage(void) const
@@ -854,16 +854,16 @@ LoanDetailsPage::LoanDetailsPage(Wizard* wizard, const char* name) :
// allow any precision for the interest rate
m_interestRate->setPrecision(-1);
- connect(m_paymentDue, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotValuesChanged()));
+ connect(m_paymentDue, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotValuesChanged()));
- connect(m_termAmount, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotValuesChanged()));
- connect(m_termUnit, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotValuesChanged()));
- connect(m_loanAmount, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotValuesChanged()));
- connect(m_interestRate, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotValuesChanged()));
- connect(m_paymentAmount, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotValuesChanged()));
- connect(m_balloonAmount, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotValuesChanged()));
+ connect(m_termAmount, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotValuesChanged()));
+ connect(m_termUnit, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(slotValuesChanged()));
+ connect(m_loanAmount, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotValuesChanged()));
+ connect(m_interestRate, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotValuesChanged()));
+ connect(m_paymentAmount, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotValuesChanged()));
+ connect(m_balloonAmount, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotValuesChanged()));
- connect(m_calculateButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCalculate()));
+ connect(m_calculateButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCalculate()));
}
void LoanDetailsPage::enterPage(void)
@@ -1233,7 +1233,7 @@ LoanPaymentPage::LoanPaymentPage(Wizard* wizard, const char* name) :
d->additionalFeesTransaction.addSplit(d->phonySplit);
- connect(m_additionalFeesButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAdditionalFees()));
+ connect(m_additionalFeesButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAdditionalFees()));
}
LoanPaymentPage::~LoanPaymentPage()
@@ -1285,7 +1285,7 @@ void LoanPaymentPage::slotAdditionalFees(void)
TQMap<TQString, MyMoneyMoney> priceInfo;
KSplitTransactionDlg* dlg = new KSplitTransactionDlg(d->additionalFeesTransaction, d->phonySplit, d->phonyAccount, false, !m_wizard->moneyBorrowed(), MyMoneyMoney(0), priceInfo);
- // connect(dlg, TQT_SIGNAL(newCategory(MyMoneyAccount&)), this, TQT_SIGNAL(newCategory(MyMoneyAccount&)));
+ // connect(dlg, TQ_SIGNAL(newCategory(MyMoneyAccount&)), this, TQ_SIGNAL(newCategory(MyMoneyAccount&)));
if(dlg->exec() == TQDialog::Accepted) {
d->additionalFeesTransaction = dlg->transaction();
@@ -1316,8 +1316,8 @@ LoanSchedulePage::LoanSchedulePage(Wizard* wizard, const char* name) :
{
m_mandatoryGroup->add(m_interestCategory->lineEdit());
m_mandatoryGroup->add(m_paymentAccount->lineEdit());
- connect(m_interestCategory, TQT_SIGNAL(createItem(const TQString&, TQString&)), this, TQT_SLOT(slotCreateCategory(const TQString&, TQString&)));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadWidgets()));
+ connect(m_interestCategory, TQ_SIGNAL(createItem(const TQString&, TQString&)), this, TQ_SLOT(slotCreateCategory(const TQString&, TQString&)));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadWidgets()));
}
void LoanSchedulePage::slotCreateCategory(const TQString& name, TQString& id)
@@ -1389,12 +1389,12 @@ LoanPayoutPage::LoanPayoutPage(Wizard* wizard, const char* name) :
m_createAssetButton->setGuiItem(createAssetButtenItem);
TQToolTip::add(m_createAssetButton, createAssetButtenItem.toolTip());
TQWhatsThis::add(m_createAssetButton, createAssetButtenItem.whatsThis());
- connect(m_createAssetButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCreateAssetAccount()));
+ connect(m_createAssetButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCreateAssetAccount()));
- connect(m_noPayoutTransaction, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotButtonsToggled()));
- connect(m_refinanceLoan, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotButtonsToggled()));
+ connect(m_noPayoutTransaction, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotButtonsToggled()));
+ connect(m_refinanceLoan, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotButtonsToggled()));
- connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadWidgets()));
+ connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotLoadWidgets()));
slotLoadWidgets();
}
@@ -1404,7 +1404,7 @@ void LoanPayoutPage::slotButtonsToggled(void)
// not defined. Using a single shot timer postpones the call of m_mandatoryGroup::changed()
// until the next round of the main loop so we can be sure to see all relevant changes
// that happened in the meantime (eg. widgets are enabled and disabled)
- TQTimer::singleShot(0, m_mandatoryGroup, TQT_SLOT(changed()));
+ TQTimer::singleShot(0, m_mandatoryGroup, TQ_SLOT(changed()));
}
void LoanPayoutPage::slotCreateAssetAccount(void)
diff --git a/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp b/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp
index abeb567..8179af7 100644
--- a/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp
+++ b/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp
@@ -176,8 +176,8 @@ GeneralPage::GeneralPage(Wizard* wizard, const char* name) :
{
m_userNameEdit->setFocus();
TDEABC::StdAddressBook *ab = TDEABC::StdAddressBook::self(true);
- connect(ab, TQT_SIGNAL(addressBookChanged(AddressBook*)), this, TQT_SLOT(slotAddressBookLoaded()));
- connect(m_loadAddressButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotLoadFromKABC()));
+ connect(ab, TQ_SIGNAL(addressBookChanged(AddressBook*)), this, TQ_SLOT(slotAddressBookLoaded()));
+ connect(m_loadAddressButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotLoadFromKABC()));
m_loadAddressButton->setEnabled(false);
}
@@ -280,8 +280,8 @@ AccountPage::AccountPage(Wizard* wizard, const char* name) :
WizardPage<Wizard>(stepCount, this, wizard, name) // don't inc. the step count here
{
m_mandatoryGroup->add(m_accountNameEdit);
- connect(m_mandatoryGroup, TQT_SIGNAL(stateChanged()), object(), TQT_SIGNAL(completeStateChanged()));
- connect(m_haveCheckingAccountButton, TQT_SIGNAL(toggled(bool)), object(), TQT_SIGNAL(completeStateChanged()));
+ connect(m_mandatoryGroup, TQ_SIGNAL(stateChanged()), object(), TQ_SIGNAL(completeStateChanged()));
+ connect(m_haveCheckingAccountButton, TQ_SIGNAL(toggled(bool)), object(), TQ_SIGNAL(completeStateChanged()));
m_accountNameEdit->setFocus();
m_openingDateEdit->setDate(TQDate(TQDate::currentDate().year(),1,1));
}
@@ -316,7 +316,7 @@ PreferencePage::PreferencePage(Wizard* wizard, const char* name) :
KPreferencePageDecl(wizard),
WizardPage<Wizard>(stepCount++, this, wizard, name)
{
- connect(m_openConfigButton, TQT_SIGNAL(clicked()), kmymoney2, TQT_SLOT(slotSettings()));
+ connect(m_openConfigButton, TQ_SIGNAL(clicked()), kmymoney2, TQ_SLOT(slotSettings()));
}
KMyMoneyWizardPage* PreferencePage::nextPage(void) const
@@ -329,7 +329,7 @@ FilePage::FilePage(Wizard* wizard, const char* name) :
WizardPage<Wizard>(stepCount++, this, wizard, name)
{
m_mandatoryGroup->add(m_dataFileEdit->lineEdit());
- connect(m_mandatoryGroup, TQT_SIGNAL(stateChanged()), object(), TQT_SIGNAL(completeStateChanged()));
+ connect(m_mandatoryGroup, TQ_SIGNAL(stateChanged()), object(), TQ_SIGNAL(completeStateChanged()));
KUser user;
m_dataFileEdit->setShowLocalProtocol(false);