summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartParams_frame.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 /libkdchart/KDChartParams_frame.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 'libkdchart/KDChartParams_frame.cpp')
-rw-r--r--libkdchart/KDChartParams_frame.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkdchart/KDChartParams_frame.cpp b/libkdchart/KDChartParams_frame.cpp
index c873a0a..30aec04 100644
--- a/libkdchart/KDChartParams_frame.cpp
+++ b/libkdchart/KDChartParams_frame.cpp
@@ -119,7 +119,7 @@ KDChartParams::KDChartFrameSettings::~KDChartFrameSettings()
\param element the DOM element to read from
\param settings the frame settings object to read the data into
*/
-bool KDChartParams::KDChartFrameSettings::readFrameSettingsNode( const QDomElement& element,
+bool KDChartParams::KDChartFrameSettings::readFrameSettingsNode( const TQDomElement& element,
KDChartFrameSettings& settings,
uint& areaId )
{
@@ -132,11 +132,11 @@ bool KDChartParams::KDChartFrameSettings::readFrameSettingsNode( const QDomEleme
int tempOuterGapX, tempOuterGapY, tempInnerGapX, tempInnerGapY;
bool tempAddFrameWidthToLayout, tempAddFrameHeightToLayout;
- QDomNode node = element.firstChild();
+ TQDomNode node = element.firstChild();
while( !node.isNull() ) {
- QDomElement element = node.toElement();
+ TQDomElement element = node.toElement();
if( !element.isNull() ) { // was really an element
- QString tagName = element.tagName();
+ TQString tagName = element.tagName();
if( tagName == "Frame" ) {
ok = ok & KDFrame::readFrameNode( element, tempFrame );
} else if( tagName == "AreaId" ) {
@@ -248,18 +248,18 @@ bool KDChartParams::KDChartFrameSettings::readFrameSettingsNode( const QDomEleme
object for use in a DOM document.
\param document the DOM document to which the node will belong
- \param parent the parent node to which the new node will be appended
+ \param tqparent the tqparent node to which the new node will be appended
\param elementName the name of the new node
\param settings the frame settings to be represented
*/
-void KDChartParams::KDChartFrameSettings::createFrameSettingsNode( QDomDocument& document,
- QDomNode& parent,
- const QString& elementName,
+void KDChartParams::KDChartFrameSettings::createFrameSettingsNode( TQDomDocument& document,
+ TQDomNode& tqparent,
+ const TQString& elementName,
const KDChartParams::KDChartFrameSettings* settings,
uint areaId )
{
- QDomElement frameSettingsElement = document.createElement( elementName );
- parent.appendChild( frameSettingsElement );
+ TQDomElement frameSettingsElement = document.createElement( elementName );
+ tqparent.appendChild( frameSettingsElement );
if( settings->_frame )
KDFrame::createFrameNode( document, frameSettingsElement, "Frame",
*settings->_frame );