summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/settings/ksettingsgeneral.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/dialogs/settings/ksettingsgeneral.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/dialogs/settings/ksettingsgeneral.cpp')
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgeneral.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/dialogs/settings/ksettingsgeneral.cpp b/kmymoney2/dialogs/settings/ksettingsgeneral.cpp
index 5acdd08..e36530f 100644
--- a/kmymoney2/dialogs/settings/ksettingsgeneral.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsgeneral.cpp
@@ -17,7 +17,7 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qlabel.h>
+#include <tqlabel.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -31,8 +31,8 @@
#include <kmymoney/kmymoneydateinput.h>
#include "ksettingsgeneral.h"
-KSettingsGeneral::KSettingsGeneral(QWidget* parent, const char* name) :
- KSettingsGeneralDecl(parent, name)
+KSettingsGeneral::KSettingsGeneral(TQWidget* tqparent, const char* name) :
+ KSettingsGeneralDecl(tqparent, name)
{
// hide the internally used date field
kcfg_StartDate->hide();
@@ -43,20 +43,20 @@ KSettingsGeneral::KSettingsGeneral(QWidget* parent, const char* name) :
m_viewList->hide();
// setup connections, so that the sort optios get loaded once the edit fields are filled
- connect(kcfg_StartDate, SIGNAL(valueChanged(const QDate&)), this, SLOT(slotLoadStartDate(const QDate&)));
+ connect(kcfg_StartDate, TQT_SIGNAL(valueChanged(const TQDate&)), this, TQT_SLOT(slotLoadStartDate(const TQDate&)));
// setup connections, so that changes by the user are forwarded to the (hidden) edit fields
- connect(m_startDateEdit, SIGNAL(dateChanged(const QDate&)), kcfg_StartDate, SLOT(setDate(const QDate&)));
+ connect(m_startDateEdit, TQT_SIGNAL(dateChanged(const TQDate&)), kcfg_StartDate, TQT_SLOT(setDate(const TQDate&)));
}
KSettingsGeneral::~KSettingsGeneral()
{
}
-void KSettingsGeneral::slotLoadStartDate(const QDate&)
+void KSettingsGeneral::slotLoadStartDate(const TQDate&)
{
// only need this once
- disconnect(kcfg_StartDate, SIGNAL(valueChanged(const QDate&)), this, SLOT(slotLoadStartDate(const QDate&)));
+ disconnect(kcfg_StartDate, TQT_SIGNAL(valueChanged(const TQDate&)), this, TQT_SLOT(slotLoadStartDate(const TQDate&)));
m_startDateEdit->setDate(kcfg_StartDate->date());
}