From fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 5 Jul 2011 06:00:29 +0000 Subject: TQt4 port kmymoney This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmymoney2/widgets/kmymoneygpgconfig.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kmymoney2/widgets/kmymoneygpgconfig.cpp') diff --git a/kmymoney2/widgets/kmymoneygpgconfig.cpp b/kmymoney2/widgets/kmymoneygpgconfig.cpp index f168e69..a64e709 100644 --- a/kmymoney2/widgets/kmymoneygpgconfig.cpp +++ b/kmymoney2/widgets/kmymoneygpgconfig.cpp @@ -18,8 +18,8 @@ // ---------------------------------------------------------------------------- // QT Includes -#include -#include +#include +#include // ---------------------------------------------------------------------------- // KDE Includes @@ -38,8 +38,8 @@ #define RECOVER_KEY_ID "0xD2B08440" -kMyMoneyGPGConfig::kMyMoneyGPGConfig(QWidget *parent, const char *name ) - : kMyMoneyGPGConfigDecl(parent, name), +kMyMoneyGPGConfig::kMyMoneyGPGConfig(TQWidget *tqparent, const char *name ) + : kMyMoneyGPGConfigDecl(tqparent, name), m_checkCount(0) { m_idGroup->setEnabled(KGPGFile::GPGAvailable()); @@ -48,8 +48,8 @@ kMyMoneyGPGConfig::kMyMoneyGPGConfig(QWidget *parent, const char *name ) m_userKeyFound->off(); m_recoverKeyFound->off(); - connect(m_useEncryption, SIGNAL(toggled(bool)), this, SLOT(slotStatusChanged(bool))); - connect(m_userId, SIGNAL(textChanged(const QString&)), this, SLOT(slotIdChanged(const QString&))); + 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&))); } void kMyMoneyGPGConfig::resetConfig(void) @@ -81,7 +81,7 @@ void kMyMoneyGPGConfig::writeConfig(void) config->writeEntry("GPG-Recipient", m_userId->text()); } -void kMyMoneyGPGConfig::slotIdChanged(const QString& /*txt*/) +void kMyMoneyGPGConfig::slotIdChanged(const TQString& /*txt*/) { // this looks a bit awkward. Here's why: KGPGFile::keyAvailable() starts // an external task and processes UI events while it waits for the external -- cgit v1.2.1