summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneygpgconfig.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/widgets/kmymoneygpgconfig.cpp
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
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
Diffstat (limited to 'kmymoney2/widgets/kmymoneygpgconfig.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneygpgconfig.cpp14
1 files changed, 7 insertions, 7 deletions
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 <qcheckbox.h>
-#include <qgroupbox.h>
+#include <tqcheckbox.h>
+#include <tqgroupbox.h>
// ----------------------------------------------------------------------------
// 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