Fix inadvertent "TQ" changes.

(cherry picked from commit 87f567cd9f)
v3.5.13-sru
Slávek Banko 13 years ago
parent 1d20e541f8
commit 6941909308

@ -81,7 +81,7 @@ public:
* into the MyMoney engine.
*
* This method also starts the user defined import filter program
* defined in the TQIF profile(when a TQIF file is selected). If none is
* defined in the QIF profile(when a QIF file is selected). If none is
* defined, the file is read as is (actually the UNIX command
* 'cat -' is used as the filter).
*

@ -825,7 +825,7 @@ void MyMoneyQifProfile::autoDetect(const TQStringList& lines)
TQString numericRecords = "BT$OIQ";
TQStringList::const_iterator it;
int datesScanned = 0;
// section: used to switch between different TQIF sections,
// section: used to switch between different QIF sections,
// because the Record identifiers are ambigous between sections
// eg. in transaction records, T identifies a total amount, in
// account sections it's the type.

@ -15,8 +15,8 @@
* *
***************************************************************************/
#ifndef MYMONEYTQIFPROFILE_H
#define MYMONEYTQIFPROFILE_H
#ifndef MYMONEYQIFPROFILE_H
#define MYMONEYQIFPROFILE_H
// ----------------------------------------------------------------------------
// QT Includes

@ -82,13 +82,13 @@ class MyMoneyQifReader::Private {
bool isTransfer(TQString& name, const TQString& leftDelim, const TQString& rightDelim);
/**
* Converts the TQIF specific N-record of investment transactions into
* Converts the QIF specific N-record of investment transactions into
* a category name
*/
TQString typeToAccountName(const TQString& type) const;
/**
* Converts the TQIF reconcile state to the KMyMoney reconcile state
* Converts the QIF reconcile state to the KMyMoney reconcile state
*/
MyMoneySplit::reconcileFlagE reconcileState(const TQString& state) const;
@ -202,7 +202,7 @@ TQString MyMoneyQifReader::Private::typeToAccountName(const TQString& type) cons
if(type == "sell" || type == "buy")
return i18n("Category name", "Investment fees");
return i18n("Unknown TQIF type %1").arg(type);
return i18n("Unknown QIF type %1").arg(type);
}
bool MyMoneyQifReader::Private::isTransfer(TQString& tmp, const TQString& leftDelim, const TQString& rightDelim)
@ -288,7 +288,7 @@ void MyMoneyQifReader::slotSendDataToFilter(void)
} else {
len = m_file->readBlock(m_buffer, sizeof(m_buffer));
if(len == -1) {
qWarning("Failed to read block from TQIF import file");
qWarning("Failed to read block from QIF import file");
m_filter.closeStdin();
m_filter.kill();
} else {
@ -363,7 +363,7 @@ void MyMoneyQifReader::slotProcessData(void)
qDebug("Selected date format: '%s'", list.first().data());
signalProgress(0, m_qifLines.count(), i18n("Importing TQIF ..."));
signalProgress(0, m_qifLines.count(), i18n("Importing QIF ..."));
TQStringList::iterator it;
for(it = m_qifLines.begin(); m_userAbort == false && it != m_qifLines.end(); ++it) {
++m_linenumber;
@ -419,7 +419,7 @@ bool MyMoneyQifReader::startImport(void)
while(!m_file->atEnd()) {
len = m_file->readBlock(m_buffer, sizeof(m_buffer));
if(len == -1) {
qWarning("Failed to read block from TQIF import file");
qWarning("Failed to read block from QIF import file");
} else {
slotReceivedDataFromFilter(0, m_buffer, len);
}
@ -439,7 +439,7 @@ bool MyMoneyQifReader::startImport(void)
if(m_filter.start(KProcess::NotifyOnExit, KProcess::All)) {
m_filter.resume();
signalProgress(0, m_file->size(), i18n("Reading TQIF ..."));
signalProgress(0, m_file->size(), i18n("Reading QIF ..."));
slotSendDataToFilter();
rc = true;
} else {
@ -571,12 +571,12 @@ void MyMoneyQifReader::processQifSpecial(const TQString& _line)
d->firstTransaction = true;
d->transactionType = m_entryType = EntryTransaction;
} else if(line.lower() == "oth l" || line.lower() == i18n("TQIF tag for liability account", "Oth L").lower()) {
} else if(line.lower() == "oth l" || line.lower() == i18n("QIF tag for liability account", "Oth L").lower()) {
d->accountType = MyMoneyAccount::Liability;
d->firstTransaction = true;
d->transactionType = m_entryType = EntryTransaction;
} else if(line.lower() == "invst" || line.lower() == i18n("TQIF tag for investment account", "Invst").lower()) {
} else if(line.lower() == "invst" || line.lower() == i18n("QIF tag for investment account", "Invst").lower()) {
d->transactionType = m_entryType = EntryInvestmentTransaction;
} else if(line.lower() == "invoice" || KMyMoneyGlobalSettings::qifInvoice().lower().contains(line.lower())) {
@ -589,19 +589,19 @@ void MyMoneyQifReader::processQifSpecial(const TQString& _line)
m_entryType = EntrySkip;
// exportable lists
} else if(line.lower() == "cat" || line.lower() == i18n("TQIF tag for category", "Cat").lower()) {
} else if(line.lower() == "cat" || line.lower() == i18n("QIF tag for category", "Cat").lower()) {
m_entryType = EntryCategory;
} else if(line.lower() == "security" || line.lower() == i18n("TQIF tag for security", "Security").lower()) {
} else if(line.lower() == "security" || line.lower() == i18n("QIF tag for security", "Security").lower()) {
m_entryType = EntrySecurity;
} else if(line.lower() == "prices" || line.lower() == i18n("TQIF tag for prices", "Prices").lower()) {
} else if(line.lower() == "prices" || line.lower() == i18n("QIF tag for prices", "Prices").lower()) {
m_entryType = EntryPrice;
} else if(line.lower() == "payee") {
m_entryType = EntryPayee;
} else if(line.lower() == "class" || line.lower() == i18n("TQIF tag for a class", "Class").lower()) {
} else if(line.lower() == "class" || line.lower() == i18n("QIF tag for a class", "Class").lower()) {
m_entryType = EntryClass;
} else if(line.lower() == "memorized") {
@ -617,7 +617,7 @@ void MyMoneyQifReader::processQifSpecial(const TQString& _line)
m_entryType = EntrySkip;
} else {
qWarning("Unknown export header '!Type:%s' in TQIF file on line %d: Skipping section.", line.data(), m_linenumber);
qWarning("Unknown export header '!Type:%s' in QIF file on line %d: Skipping section.", line.data(), m_linenumber);
m_entryType = EntrySkip;
}
@ -635,7 +635,7 @@ void MyMoneyQifReader::processQifSpecial(const TQString& _line)
void MyMoneyQifReader::processQifEntry(void)
{
// This method processes a 'TQIF Entry' which is everything between two caret
// This method processes a 'QIF Entry' which is everything between two caret
// signs
//
try {
@ -773,7 +773,7 @@ void MyMoneyQifReader::processMSAccountEntry(const MyMoneyAccount::accountTypeE
const MyMoneySecurity& sec = file->security(m_account.currencyId());
if ( KMessageBox::questionYesNo(
tqApp->mainWidget(),
i18n("The %1 account currently has an opening balance of %2. This TQIF file reports an opening balance of %3. Would you like to overwrite the current balance with the one from the TQIF file?").arg(m_account.name(), split.shares().formatMoney(m_account, sec),balance.formatMoney(m_account, sec)),
i18n("The %1 account currently has an opening balance of %2. This QIF file reports an opening balance of %3. Would you like to overwrite the current balance with the one from the QIF file?").arg(m_account.name(), split.shares().formatMoney(m_account, sec),balance.formatMoney(m_account, sec)),
i18n("Overwrite opening balance"),
KStdGuiItem::yes(),
KStdGuiItem::no(),
@ -817,7 +817,7 @@ void MyMoneyQifReader::processMSAccountEntry(const MyMoneyAccount::accountTypeE
// Lines 1-5 are processed via processQifEntry() and processAccountEntry()
// Then Quicken issues line 6 but since the account does not carry any
// transaction does not write an end delimiter. Arrrgh! So we end up with
// a TQIF entry comprising of lines 6-11 and end up in this routine. Actually,
// a QIF entry comprising of lines 6-11 and end up in this routine. Actually,
// lines 7-11 are the leadin for the next account. So we check here if
// the !Type:xxx record also contains an !Account line and process the
// entry as required.
@ -899,7 +899,7 @@ TQString MyMoneyQifReader::transferAccount(TQString name, bool useBrokerage)
m_qifEntry.clear(); // and construct a temp entry to create/search the account
m_qifEntry << TQString("N%1").arg(name);
m_qifEntry << TQString("Tunknown");
m_qifEntry << TQString("D%1").arg(i18n("Autogenerated by TQIF importer"));
m_qifEntry << TQString("D%1").arg(i18n("Autogenerated by QIF importer"));
accountId = processAccountEntry(false);
// in case we found a reference to an investment account, we need
@ -910,7 +910,7 @@ TQString MyMoneyQifReader::transferAccount(TQString name, bool useBrokerage)
m_qifEntry.clear(); // and construct a temp entry to create/search the account
m_qifEntry << TQString("N%1").arg(name);
m_qifEntry << TQString("Tunknown");
m_qifEntry << TQString("D%1").arg(i18n("Autogenerated by TQIF importer"));
m_qifEntry << TQString("D%1").arg(i18n("Autogenerated by QIF importer"));
accountId = processAccountEntry(false);
}
m_qifEntry = tmpEntry; // restore local copies
@ -927,14 +927,14 @@ void MyMoneyQifReader::createOpeningBalance(MyMoneyAccount::_accountTypeE accTyp
if(m_account.name().isEmpty()) {
TQString name = extractLine('L');
if(name.isEmpty()) {
name = i18n("TQIF imported, no account name supplied");
name = i18n("QIF imported, no account name supplied");
}
d->isTransfer(name, m_qifProfile.accountDelimiter().left(1), m_qifProfile.accountDelimiter().mid(1,1));
TQStringList entry = m_qifEntry; // keep a temp copy
m_qifEntry.clear(); // and construct a temp entry to create/search the account
m_qifEntry << TQString("N%1").arg(name);
m_qifEntry << TQString("T%1").arg(d->accountTypeToQif(accType));
m_qifEntry << TQString("D%1").arg(i18n("Autogenerated by TQIF importer"));
m_qifEntry << TQString("D%1").arg(i18n("Autogenerated by QIF importer"));
processAccountEntry();
m_qifEntry = entry; // restore local copy
}
@ -1053,7 +1053,7 @@ void MyMoneyQifReader::processTransactionEntry(void)
"date profile setting of \"%2\".\n\nPressing \"Continue\" will "
"assign todays date to the transaction. Pressing \"Cancel\" will abort "
"the import operation. You can then restart the import and select a different "
"TQIF profile or create a new one.")
"QIF profile or create a new one.")
.arg(extractLine('D')).arg(m_qifProfile.inputDateFormat()),
i18n("Invalid date format"));
switch(rc) {
@ -1081,7 +1081,7 @@ void MyMoneyQifReader::processTransactionEntry(void)
// t.setMemo(tmp);
// Assign the "#" field to the transaction's bank id
// This is the custom KMM extension to TQIF for a unique ID
// This is the custom KMM extension to QIF for a unique ID
tmp = extractLine('#');
if(!tmp.isEmpty())
{
@ -1101,7 +1101,7 @@ void MyMoneyQifReader::processTransactionEntry(void)
tmp = tmp.mid(1, tmp.length()-2);
s1.m_strCategoryName = tmp;
#endif
// TODO (Ace) Deal with currencies more gracefully. TQIF cannot deal with multiple
// TODO (Ace) Deal with currencies more gracefully. QIF cannot deal with multiple
// currencies, so we should assume that transactions imported into a given
// account are in THAT ACCOUNT's currency. If one of those involves a transfer
// to an account with a different currency, value and shares should be
@ -1300,7 +1300,7 @@ void MyMoneyQifReader::processInvestmentTransactionEntry(void)
"date profile setting of \"%2\".\n\nPressing \"Continue\" will "
"assign todays date to the transaction. Pressing \"Cancel\" will abort "
"the import operation. You can then restart the import and select a different "
"TQIF profile or create a new one.")
"QIF profile or create a new one.")
.arg(extractLine('D')).arg(m_qifProfile.inputDateFormat()),
i18n("Invalid date format"));
switch(rc) {
@ -1379,10 +1379,10 @@ void MyMoneyQifReader::processInvestmentTransactionEntry(void)
// abbreviations or ordered words differently, etc.
//
// If there is a perfect name match with a subordinate stock account, great.
// More likely, we have to rely on the TQIF file containing !Type:Security
// More likely, we have to rely on the QIF file containing !Type:Security
// records, which tell us the mapping from name to symbol.
//
// Therefore, generally it is not recommended to import a TQIF file containing
// Therefore, generally it is not recommended to import a QIF file containing
// investment transactions but NOT containing security records.
TQString securitysymbol = m_investmentMap[securityname];
@ -2042,7 +2042,7 @@ TQString MyMoneyQifReader::processAccountEntry(bool resetAccountId)
// in case it's a stock account, we need to setup a fix investment account
if(account.isInvest()) {
acc.setName(i18n("%1 (Investment)").arg(account.name())); // use the same name for the investment account
acc.setDescription(i18n("Autogenerated by TQIF importer from type Mutual account entry"));
acc.setDescription(i18n("Autogenerated by QIF importer from type Mutual account entry"));
acc.setAccountType(MyMoneyAccount::Investment);
parentAccount = file->asset();
kmymoney2->createAccount(acc, parentAccount, brokerage, MyMoneyMoney());
@ -2175,7 +2175,7 @@ void MyMoneyQifReader::selectOrCreateAccount(const SelectCreateMode mode, MyMone
}
} else {
accountSelect.setHeader(i18n("Import transactions to %1").arg(typeStr));
msg = i18n("No %1 information has been found in the selected TQIF file. "
msg = i18n("No %1 information has been found in the selected QIF file. "
"Please select an account using the selection box in the dialog or "
"create a new %2 by pressing the <b>Create</b> button.")
.arg(typeStr).arg(typeStr);
@ -2223,7 +2223,7 @@ void MyMoneyQifReader::selectOrCreateAccount(const SelectCreateMode mode, MyMone
const MyMoneySecurity& sec = file->security(account.currencyId());
if ( KMessageBox::questionYesNo(
tqApp->mainWidget(),
i18n("The %1 account currently has an opening balance of %2. This TQIF file reports an opening balance of %3. Would you like to overwrite the current balance with the one from the TQIF file?").arg(account.name(), split.shares().formatMoney(account, sec), balance.formatMoney(account, sec)),
i18n("The %1 account currently has an opening balance of %2. This QIF file reports an opening balance of %3. Would you like to overwrite the current balance with the one from the QIF file?").arg(account.name(), split.shares().formatMoney(account, sec), balance.formatMoney(account, sec)),
i18n("Overwrite opening balance"),
KStdGuiItem::yes(),
KStdGuiItem::no(),

@ -20,8 +20,8 @@
* *
***************************************************************************/
#ifndef MYMONEYTQIFREADER_H
#define MYMONEYTQIFREADER_H
#ifndef MYMONEYQIFREADER_H
#define MYMONEYQIFREADER_H
// ----------------------------------------------------------------------------
// QT Headers
@ -109,7 +109,7 @@ public:
* into the MyMoney engine.
*
* This method also starts the user defined import filter program
* defined in the TQIF profile. If none is defined, the file is read
* defined in the QIF profile. If none is defined, the file is read
* as is (actually the UNIX command 'cat -' is used as the filter).
*
* If data from the filter program is available, the slot
@ -152,7 +152,7 @@ private:
/**
* This method scans a transaction contained in
* a TQIF file formatted as an account record. This
* a QIF file formatted as an account record. This
* format is used by MS-Money. If the specific data
* is not found, then the data in the entry is treated
* as a transaction. In this case, the user will be asked to
@ -222,11 +222,11 @@ private:
/**
* This method is used to get the account id of the split for
* a transaction from the text found in the TQIF $ or L record.
* a transaction from the text found in the QIF $ or L record.
* If an account with the name is not found, the user is asked
* if it should be created.
*
* @param name name of account as found in the TQIF file
* @param name name of account as found in the QIF file
* @param value value found in the T record
* @param value2 value found in the $ record for splitted transactions
*

@ -20,8 +20,8 @@
* *
***************************************************************************/
#ifndef MYMONEYTQIFWRITER_H
#define MYMONEYTQIFWRITER_H
#ifndef MYMONEYQIFWRITER_H
#define MYMONEYQIFWRITER_H
// ----------------------------------------------------------------------------
// QT Headers
@ -44,7 +44,7 @@ class MyMoneySplit;
*/
/**
* This class represents the TQIF writer. All conversion between the
* This class represents the QIF writer. All conversion between the
* internal representation of accounts, transactions is handled in this
* object. The conversion is controlled using a MyMoneyQifProfile to allow
* the user to control the conversion.

@ -870,7 +870,7 @@ const TQString FinanceQuoteProcess::niceName(const TQString& crypticName) {
// Universal date converter
//
// In 'strict' mode, this is designed to be compatable with the TQIF profile date
// In 'strict' mode, this is designed to be compatable with the QIF profile date
// converter. However, that converter deals with the concept of an apostrophe
// format in a way I don't understand. So for the moment, they are 99%
// compatable, waiting on that issue. (acejones)

@ -77,7 +77,7 @@ KAccountSelectDlg::KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE accountT
KGuiItem abortButtenItem( i18n("&Abort" ),
TQIconSet(il->loadIcon("stop", KIcon::Small, KIcon::SizeSmall)),
i18n("Abort the import operation and dismiss all changes"),
i18n("Use this to abort the import. Your financial data will be in the state before you started the TQIF import."));
i18n("Use this to abort the import. Your financial data will be in the state before you started the QIF import."));
m_kButtonAbort->setGuiItem(abortButtenItem);

@ -71,7 +71,7 @@ KChooseImportExportDlg::~KChooseImportExportDlg()
void KChooseImportExportDlg::slotTypeActivated(const TQString& text)
{
if (text=="QIF") {
descriptionLabel->setText(i18n("TQIF files are created by the popular accounting program Quicken.\n"
descriptionLabel->setText(i18n("QIF files are created by the popular accounting program Quicken.\n"
"Another dialog will appear, if you choose this type, asking for further\n"
"information relevant to the Quicken format."));
} else {

@ -118,7 +118,7 @@ Once you have chosen an import type please press the OK button.</string>
<item>
<property>
<name>text</name>
<string>TQIF</string>
<string>QIF</string>
</property>
</item>
<item>

@ -101,7 +101,7 @@ KExportDlg::~KExportDlg()
void KExportDlg::slotBrowse()
{
TQString newName(KFileDialog::getSaveFileName(TQString(),"*.TQIF"));
TQString newName(KFileDialog::getSaveFileName(TQString(),"*.QIF"));
KMyMoneyUtils::appendCorrectFileExt(newName, TQString("qif"));
if (!newName.isEmpty())
m_qlineeditFile->setText(newName);
@ -109,7 +109,7 @@ void KExportDlg::slotBrowse()
void KExportDlg::slotNewProfile(void)
{
MyMoneyQifProfileEditor* editor = new MyMoneyQifProfileEditor(true, this, "TQIF Profile Editor");
MyMoneyQifProfileEditor* editor = new MyMoneyQifProfileEditor(true, this, "QIF Profile Editor");
if(editor->exec()) {
m_profileComboBox->setCurrentText(editor->selectedProfile());
loadProfiles();

@ -39,9 +39,9 @@
/**
* This class is used to select the required user input to export
* a specified account to the popular TQIF format.
* It relies upon the TQIF file handling routines in MyMoneyQifProfile and
* MyMoneyQifWriter to do the actual writing of TQIF files.
* a specified account to the popular QIF format.
* It relies upon the QIF file handling routines in MyMoneyQifProfile and
* MyMoneyQifWriter to do the actual writing of QIF files.
*
* It uses the global KConfig object to read and write the application
* settings.
@ -50,7 +50,7 @@
*
* @author Felix Rodriguez, Michael Edwardes, Thomas Baumgart 2000-2003
*
* @short A class to select user data required to export a specified account to the popular TQIF format.
* @short A class to select user data required to export a specified account to the popular QIF format.
**/
class KExportDlg : public KExportDlgDecl
{
@ -110,7 +110,7 @@ protected slots:
void slotOkClicked();
/**
* Called when the user needs to browse the filesystem for a TQIF file
* Called when the user needs to browse the filesystem for a QIF file
*/
void slotBrowse();

@ -159,7 +159,7 @@ void KImportDlg::slotFileTextChanged(const TQString& text)
void KImportDlg::slotNewProfile(void)
{
MyMoneyQifProfileEditor* editor = new MyMoneyQifProfileEditor(true, this, "TQIF Profile Editor");
MyMoneyQifProfileEditor* editor = new MyMoneyQifProfileEditor(true, this, "QIF Profile Editor");
if(editor->exec()) {
m_profileComboBox->setCurrentText(editor->selectedProfile());

@ -39,8 +39,8 @@
/**
* This class is used to import a qif file to an account.
* It relies upon the TQIF file handling routines in MyMoneyAccount to do
* the actual writing of TQIF files.
* It relies upon the QIF file handling routines in MyMoneyAccount to do
* the actual writing of QIF files.
*
* It uses the global KConfig object to read and write the application
* settings.
@ -74,7 +74,7 @@ public:
const TQString profile(void) const { return m_profileComboBox->currentText(); };
protected slots:
/** Called to let the user browse for a TQIF file to import from. */
/** Called to let the user browse for a QIF file to import from. */
void slotBrowse();
/** Test whether to enable the buttons */

@ -94,7 +94,7 @@ MyMoneyQifProfileEditor::MyMoneyQifProfileEditor(const bool edit, TQWidget *pare
KGuiItem newButtenItem( i18n( "&New" ),
TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
i18n("Create a new profile"),
i18n("Use this to create a new TQIF import/export profile"));
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&)));
@ -145,9 +145,9 @@ MyMoneyQifProfileEditor::~MyMoneyQifProfileEditor()
void MyMoneyQifProfileEditor::loadWidgets(void)
{
if(m_inEdit)
setCaption(i18n("TQIF Profile Editor"));
setCaption(i18n("QIF Profile Editor"));
else
setCaption(i18n("TQIF Profile Selector"));
setCaption(i18n("QIF Profile Selector"));
m_editDateFormat->clear();
m_editDateFormat->insertItem( "%d/%m/%yy" );
@ -233,7 +233,7 @@ void MyMoneyQifProfileEditor::loadProfileListFromConfig(void)
if(list.count() == 0) {
m_profile.clear();
m_profile.setProfileDescription(i18n("The default TQIF profile"));
m_profile.setProfileDescription(i18n("The default QIF profile"));
addProfile("Default");
config->setGroup("Profiles");
@ -400,7 +400,7 @@ const TQString MyMoneyQifProfileEditor::enterName(bool& ok)
{
MyMoneyQifProfileNameValidator val(TQT_TQOBJECT(this), "Validator");
#if KDE_IS_VERSION(3,2,0)
return KInputDialog::getText(i18n("TQIF Profile Editor"),
return KInputDialog::getText(i18n("QIF Profile Editor"),
i18n("Enter new profile name"),
TQString(),
&ok,

@ -15,8 +15,8 @@
* *
***************************************************************************/
#ifndef MYMONEYTQIFPROFILEEDITOR_H
#define MYMONEYTQIFPROFILEEDITOR_H
#ifndef MYMONEYQIFPROFILEEDITOR_H
#define MYMONEYQIFPROFILEEDITOR_H
// ----------------------------------------------------------------------------
// QT Includes

@ -84,7 +84,7 @@ void TransactionMatcher::match(MyMoneyTransaction tm, MyMoneySplit sm, MyMoneyTr
}
// ipwizard: I took over the code to keep the bank id found in the endMatchTransaction
// This might not work for TQIF imports as they don't setup this information. It sure
// This might not work for QIF imports as they don't setup this information. It sure
// makes sense for OFX and HBCI.
const TQString& bankID = si.bankID();
if (!bankID.isEmpty()) {

@ -316,13 +316,13 @@ void KMyMoney2App::initActions(void)
new KAction(i18n("Open database..."), "",0,TQT_TQOBJECT(this), TQT_SLOT(slotOpenDatabase()),actionCollection(),"open_database");
new KAction(i18n("Save as database..."), "",0,TQT_TQOBJECT(this), TQT_SLOT(slotSaveAsDatabase()),actionCollection(),"saveas_database");
new KAction(i18n("Backup..."), "backup",0,TQT_TQOBJECT(this), TQT_SLOT(slotFileBackup()),actionCollection(),"file_backup");
new KAction(i18n("TQIF..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifImport()), actionCollection(), "file_import_qif");
new KAction(i18n("QIF..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifImport()), actionCollection(), "file_import_qif");
new KAction(i18n("Gnucash..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotGncImport()), actionCollection(), "file_import_gnc");
new KAction(i18n("Statement file..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotStatementImport()), actionCollection(), "file_import_statement");
new KAction(i18n("Account Template..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotLoadAccountTemplates()), actionCollection(), "file_import_template");
new KAction(i18n("Account Template..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSaveAccountTemplates()), actionCollection(), "file_export_template");
new KAction(i18n("TQIF..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifExport()), actionCollection(), "file_export_qif");
new KAction(i18n("QIF..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifExport()), actionCollection(), "file_export_qif");
new KAction(i18n("Personal Data..."), "personal_data", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileViewPersonal()), actionCollection(), "view_personal_data");
#if KMM_DEBUG
@ -387,7 +387,7 @@ void KMyMoney2App::initActions(void)
// **************
// The tools menu
// **************
new KAction(i18n("TQIF Profile Editor..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifProfileEditor()), actionCollection(), "tools_qif_editor");
new KAction(i18n("QIF Profile Editor..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT(slotQifProfileEditor()), actionCollection(), "tools_qif_editor");
new KAction(i18n("Securities..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSecurityEditor()), actionCollection(), "tools_security_editor");
new KAction(i18n("Currencies..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotCurrencyDialog()), actionCollection(), "tools_currency_editor");
new KAction(i18n("Prices..."), "", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPriceDialog()), actionCollection(), "tools_price_editor");
@ -918,7 +918,7 @@ bool KMyMoney2App::isImportableFile( const KURL& url )
if ( MyMoneyStatement::isStatementFile( url.path() ) )
result = true;
// Place code here to test for TQIF and other locally-supported formats
// Place code here to test for QIF and other locally-supported formats
// (i.e. not a plugin). If you add them here, be sure to add it to
// the webConnect function.
@ -1559,7 +1559,7 @@ void KMyMoney2App::slotQifImportFinished(void)
KMessageBox::informationList(this, i18n("The statements have been processed with the following results:"), d->m_statementResults, i18n("Statement stats"));
#if 0
// fixme: re-enable the TQIF import menu options
// fixme: re-enable the QIF import menu options
if(m_qifReader->finishImport()) {
if(verifyImportedData(m_qifReader->account())) {
// keep the new data set, destroy the backup copy
@ -2104,7 +2104,7 @@ void KMyMoney2App::slotShowNextView(void)
void KMyMoney2App::slotQifProfileEditor(void)
{
MyMoneyQifProfileEditor* editor = new MyMoneyQifProfileEditor(true, this, "TQIF Profile Editor");
MyMoneyQifProfileEditor* editor = new MyMoneyQifProfileEditor(true, this, "QIF Profile Editor");
editor->exec();

@ -150,7 +150,7 @@ protected slots:
void slotQifImport(void);
/**
* Called when a TQIF import is finished.
* Called when a QIF import is finished.
*/
void slotQifImportFinished(void);
@ -180,7 +180,7 @@ protected slots:
/**
* Called when the user wishes to export some transaction to a
* TQIF formatted file. An account must be open for this to work.
* QIF formatted file. An account must be open for this to work.
* Uses MyMoneyQifWriter() for the actual output.
*/
void slotQifExport(void);

@ -446,7 +446,7 @@ public slots:
*
* @see KListSettingsDlg
* Refreshs all views. Used e.g. after settings have been changed or
* data has been loaded from external sources (TQIF import).
* data has been loaded from external sources (QIF import).
**/
void slotRefreshViews();

Loading…
Cancel
Save