diff options
Diffstat (limited to 'kmymoney2/dialogs/kchooseimportexportdlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/kchooseimportexportdlg.cpp | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/kmymoney2/dialogs/kchooseimportexportdlg.cpp b/kmymoney2/dialogs/kchooseimportexportdlg.cpp index 0c390a8..1038bf1 100644 --- a/kmymoney2/dialogs/kchooseimportexportdlg.cpp +++ b/kmymoney2/dialogs/kchooseimportexportdlg.cpp @@ -19,17 +19,13 @@ ***************************************************************************/ #include <kglobal.h> #include <klocale.h> -#if QT_VERSION > 300 #include <kstandarddirs.h> -#else -#include <kstddirs.h> -#endif -#include <qpixmap.h> +#include <tqpixmap.h> -#include <qlabel.h> -#include <qcombobox.h> -#include <qpushbutton.h> +#include <tqlabel.h> +#include <tqcombobox.h> +#include <tqpushbutton.h> #include <kglobal.h> #include <kconfig.h> @@ -37,10 +33,10 @@ #include "kchooseimportexportdlg.h" -KChooseImportExportDlg::KChooseImportExportDlg(int type, QWidget *parent, const char *name ) - : KChooseImportExportDlgDecl(parent,name, true) +KChooseImportExportDlg::KChooseImportExportDlg(int type, TQWidget *tqparent, const char *name ) + : KChooseImportExportDlgDecl(tqparent,name, true) { - QString filename; + TQString filename; if (type==0) { // import topLabel->setText(i18n("Please choose the type of import you wish to perform. A simple explanation\n" @@ -60,11 +56,11 @@ KChooseImportExportDlg::KChooseImportExportDlg(int type, QWidget *parent, const readConfig(); slotTypeActivated(m_lastType); - typeCombo->setCurrentItem(((m_lastType=="QIF") ? 0 : 1)); + typeCombo->setCurrentItem(((m_lastType=="TQIF") ? 0 : 1)); - connect(typeCombo, SIGNAL(activated(const QString&)), this, SLOT(slotTypeActivated(const QString&))); - connect(okButton, SIGNAL(clicked()), this, SLOT(accept())); - connect(cancelButton, SIGNAL(clicked()), this, SLOT(reject())); + 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())); } KChooseImportExportDlg::~KChooseImportExportDlg() @@ -72,10 +68,10 @@ KChooseImportExportDlg::~KChooseImportExportDlg() writeConfig(); } -void KChooseImportExportDlg::slotTypeActivated(const QString& text) +void KChooseImportExportDlg::slotTypeActivated(const TQString& text) { - if (text=="QIF") { - descriptionLabel->setText(i18n("QIF files are created by the popular accounting program Quicken.\n" + if (text=="TQIF") { + descriptionLabel->setText(i18n("TQIF 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 { @@ -85,7 +81,7 @@ void KChooseImportExportDlg::slotTypeActivated(const QString& text) } } -QString KChooseImportExportDlg::importExportType(void) +TQString KChooseImportExportDlg::importExportType(void) { return typeCombo->currentText(); } |