summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kgncimportoptionsdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kgncimportoptionsdlg.cpp')
-rw-r--r--kmymoney2/dialogs/kgncimportoptionsdlg.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kmymoney2/dialogs/kgncimportoptionsdlg.cpp b/kmymoney2/dialogs/kgncimportoptionsdlg.cpp
index e11ff69..9aaf5b6 100644
--- a/kmymoney2/dialogs/kgncimportoptionsdlg.cpp
+++ b/kmymoney2/dialogs/kgncimportoptionsdlg.cpp
@@ -17,11 +17,11 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qcheckbox.h>
-#include <qlineedit.h>
-#include <qlayout.h>
-#include <qapplication.h>
-#include <qcombobox.h>
+#include <tqcheckbox.h>
+#include <tqlineedit.h>
+#include <tqlayout.h>
+#include <tqapplication.h>
+#include <tqcombobox.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -35,8 +35,8 @@
#include "kgncimportoptionsdlg.h"
// dialog constructor
-KGncImportOptionsDlg::KGncImportOptionsDlg(QWidget *parent, const char *name)
- : KGncImportOptionsDlgDecl(parent, name)
+KGncImportOptionsDlg::KGncImportOptionsDlg(TQWidget *tqparent, const char *name)
+ : KGncImportOptionsDlgDecl(tqparent, name)
{
buttonInvestGroup->setRadioButtonExclusive (true);
buttonInvestGroup->setButton (0);
@@ -50,7 +50,7 @@ KGncImportOptionsDlg::KGncImportOptionsDlg(QWidget *parent, const char *name)
checkDebugXML->setChecked (false);
checkAnonymize->setChecked (false);
- connect (checkDecode, SIGNAL(toggled(bool)), this, SLOT(slotDecodeOptionChanged(bool)));
+ connect (checkDecode, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotDecodeOptionChanged(bool)));
}
KGncImportOptionsDlg::~KGncImportOptionsDlg()
@@ -71,12 +71,12 @@ void KGncImportOptionsDlg::slotDecodeOptionChanged(bool isOn) {
// try to get the others in some sort of order of likelihood
void KGncImportOptionsDlg::buildCodecList () {
- m_localeCodec = QTextCodec::codecForLocale();
+ m_localeCodec = TQTextCodec::codecForLocale();
m_codecList.setAutoDelete (true);
// retrieve all codec pointers
- QTextCodec *codec;
+ TQTextCodec *codec;
unsigned int i;
- for (i = 0; (codec = QTextCodec::codecForIndex(i)); i++) {
+ for (i = 0; (codec = TQTextCodec::codecForIndex(i)); i++) {
int rank;
if (codec == m_localeCodec) rank = 999; // ensure locale rank comes first
else rank = codec->heuristicNameMatch(m_localeCodec->name());
@@ -86,7 +86,7 @@ void KGncImportOptionsDlg::buildCodecList () {
}
m_codecList.sort();
for (i = 0; i < m_codecList.count(); i++) {
- QString name (m_codecList.at(i)->second->name());
+ TQString name (m_codecList.at(i)->second->name());
comboDecode->insertItem (name);
}
}
@@ -102,8 +102,8 @@ int codecDataList::compareItems (void *a, void *b) {
return (1);
}
// ranks are equal, sort on name, case insensitive
- QString sa(pa->second->name());
- QString sb(pb->second->name());
+ TQString sa(pa->second->name());
+ TQString sb(pb->second->name());
if (sa.lower() > sb.lower()) {
return (1);
} else {
@@ -112,7 +112,7 @@ int codecDataList::compareItems (void *a, void *b) {
}
// return selected codec or 0
-QTextCodec* KGncImportOptionsDlg::decodeOption(void) {
+TQTextCodec* KGncImportOptionsDlg::decodeOption(void) {
if (!checkDecode->isChecked()) {
return (0);
} else {