summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDChartParams_frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kdchart/KDChartParams_frame.cpp')
-rw-r--r--kchart/kdchart/KDChartParams_frame.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kchart/kdchart/KDChartParams_frame.cpp b/kchart/kdchart/KDChartParams_frame.cpp
index c873a0a1..30aec04a 100644
--- a/kchart/kdchart/KDChartParams_frame.cpp
+++ b/kchart/kdchart/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 );