diff options
Diffstat (limited to 'kmymoney2/dialogs/kaccountselectdlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/kaccountselectdlg.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kmymoney2/dialogs/kaccountselectdlg.cpp b/kmymoney2/dialogs/kaccountselectdlg.cpp index 0b172f0..48cef18 100644 --- a/kmymoney2/dialogs/kaccountselectdlg.cpp +++ b/kmymoney2/dialogs/kaccountselectdlg.cpp @@ -23,7 +23,7 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qlabel.h> +#include <tqlabel.h> // ---------------------------------------------------------------------------- // KDE Includes @@ -48,8 +48,8 @@ #include <../kmymoney2.h> -KAccountSelectDlg::KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE accountType, const QString& purpose, QWidget *parent, const char *name ) - : KAccountSelectDlgDecl(parent, name), +KAccountSelectDlg::KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE accountType, const TQString& purpose, TQWidget *tqparent, const char *name ) + : KAccountSelectDlgDecl(tqparent, name), m_purpose(purpose), m_accountType(accountType), m_aborted(false) @@ -62,31 +62,31 @@ KAccountSelectDlg::KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE accountT KIconLoader* il = KGlobal::iconLoader(); KGuiItem skipButtonItem( i18n( "&Skip" ), - QIconSet(il->loadIcon("redo", KIcon::Small, KIcon::SizeSmall)), + TQIconSet(il->loadIcon("redo", KIcon::Small, KIcon::SizeSmall)), i18n("Skip this transaction"), i18n("Use this to skip importing this transaction and proceed with the next one.")); m_qbuttonCancel->setGuiItem(skipButtonItem); KGuiItem createButtenItem( i18n( "&Create..." ), - QIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)), + TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)), i18n("Create a new account/category"), i18n("Use this to add a new account/category to the file")); m_createButton->setGuiItem(createButtenItem); m_qbuttonOk->setGuiItem(KStdGuiItem::ok()); KGuiItem abortButtenItem( i18n("&Abort" ), - QIconSet(il->loadIcon("stop", KIcon::Small, KIcon::SizeSmall)), + 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 QIF import.")); + i18n("Use this to abort the import. Your financial data will be in the state before you started the TQIF import.")); m_kButtonAbort->setGuiItem(abortButtenItem); - connect(MyMoneyFile::instance(), SIGNAL(dataChanged()), this, SLOT(slotReloadWidget())); + connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotReloadWidget())); - connect(m_createButton, SIGNAL(clicked()), this, SLOT(slotCreateAccount())); - connect(m_qbuttonOk, SIGNAL(clicked()), this, SLOT(accept())); - connect(m_qbuttonCancel, SIGNAL(clicked()), this, SLOT(reject())); - connect(m_kButtonAbort, SIGNAL(clicked()), this, SLOT(abort())); + 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())); } KAccountSelectDlg::~KAccountSelectDlg() @@ -110,17 +110,17 @@ void KAccountSelectDlg::slotReloadWidget(void) set.load(m_accountSelector->selector()); } -void KAccountSelectDlg::setDescription(const QString& msg) +void KAccountSelectDlg::setDescription(const TQString& msg) { m_descLabel->setText(msg); } -void KAccountSelectDlg::setHeader(const QString& msg) +void KAccountSelectDlg::setHeader(const TQString& msg) { m_headerLabel->setText(msg); } -void KAccountSelectDlg::setAccount(const MyMoneyAccount& account, const QString& id) +void KAccountSelectDlg::setAccount(const MyMoneyAccount& account, const TQString& id) { m_account = account; m_accountSelector->setSelectedItem(id); @@ -184,7 +184,7 @@ int KAccountSelectDlg::exec(void) return rc; } -const QString& KAccountSelectDlg::selectedAccount(void) const +const TQString& KAccountSelectDlg::selectedAccount(void) const { return m_accountSelector->selectedItem(); } |